Skip to content

Commit 21221d1

Browse files
committed
Configure nova to auto-calculate compute RPC upgrade levels
The openstack-ansible team found a regression in Queens when setting the compute RPC upgrade_levels to 'auto' on a fresh install before any computes had started up. The dependent change fixes the issue in nova but for future proofing against this sort of issue again, we can set the compute RPC upgrade levels in devstack to 'auto' for fresh installs as well. Note that grenade already sets 'auto' for compute upgrade levels, which is why we didn't catch this in grenade testing with the compute RPC 5.0 version bump that caused the issue. Depends-On: https://review.openstack.org/549737/ Change-Id: I07f34dbc09b6108ba8f5b2a83a28c75eb42be495 Related-Bug: #1753443
1 parent e184e76 commit 21221d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/nova

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ function create_nova_conf {
506506
# Format logging
507507
setup_logging $NOVA_CONF
508508

509+
iniset $NOVA_CONF upgrade_levels compute "auto"
510+
509511
write_uwsgi_config "$NOVA_UWSGI_CONF" "$NOVA_UWSGI" "/compute"
510512
write_uwsgi_config "$NOVA_METADATA_UWSGI_CONF" "$NOVA_METADATA_UWSGI" "" ":${METADATA_SERVICE_PORT}"
511513

0 commit comments

Comments
 (0)