Skip to content

Commit c50ebf0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Enable response validation in Nova"
2 parents 4a18166 + 3566a15 commit c50ebf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/nova

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ function create_nova_conf {
453453
iniset $NOVA_CONF DEFAULT metadata_listen "$NOVA_SERVICE_LISTEN_ADDRESS"
454454
iniset $NOVA_CONF DEFAULT shutdown_timeout $NOVA_SHUTDOWN_TIMEOUT
455455

456+
# Enable errors if response validation fails. We want this enabled in CI
457+
# and development contexts to highlights bugs in our response schemas.
458+
iniset $NOVA_CONF api response_validation error
459+
456460
iniset $NOVA_CONF key_manager backend nova.keymgr.conf_key_mgr.ConfKeyManager
457461

458462
iniset $NOVA_CONF DEFAULT report_interval $NOVA_SERVICE_REPORT_INTERVAL

0 commit comments

Comments
 (0)