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
| ... | ... |
@@ -185,8 +185,8 @@ function configure_glance {
|
| 185 | 185 |
|
| 186 | 186 |
# Format logging |
| 187 | 187 |
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then |
| 188 |
- setup_colorized_logging $GLANCE_API_CONF DEFAULT "project_id" "user_id" |
|
| 189 |
- setup_colorized_logging $GLANCE_REGISTRY_CONF DEFAULT "project_id" "user_id" |
|
| 188 |
+ setup_colorized_logging $GLANCE_API_CONF DEFAULT tenant user |
|
| 189 |
+ setup_colorized_logging $GLANCE_REGISTRY_CONF DEFAULT tenant user |
|
| 190 | 190 |
fi |
| 191 | 191 |
|
| 192 | 192 |
cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI |