Fix Traceback exceptions in g-api and g-reg
The log_context format specified in glance-api and glance-reistry are causing tracebacks. This fix changes the project_id and user_id to tenant and user which are supported in oslo-context. This is the format used by other projects Change-Id: Ifbf268e9765039a0085c9af930dabf8a5cc681b8 Closes-Bug: #1431784
This commit is contained in:
parent
f6fd39f974
commit
1577663f4a
@ -185,8 +185,8 @@ function configure_glance {
|
||||
|
||||
# Format logging
|
||||
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
|
||||
setup_colorized_logging $GLANCE_API_CONF DEFAULT "project_id" "user_id"
|
||||
setup_colorized_logging $GLANCE_REGISTRY_CONF DEFAULT "project_id" "user_id"
|
||||
setup_colorized_logging $GLANCE_API_CONF DEFAULT tenant user
|
||||
setup_colorized_logging $GLANCE_REGISTRY_CONF DEFAULT tenant user
|
||||
fi
|
||||
|
||||
cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI
|
||||
|
Loading…
Reference in New Issue
Block a user