Skip to content

Commit

Permalink
Configure nova to auto-calculate compute RPC upgrade levels
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mriedem committed Mar 6, 2018
1 parent e184e76 commit 21221d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/nova
Expand Up @@ -506,6 +506,8 @@ function create_nova_conf {
# Format logging
setup_logging $NOVA_CONF

iniset $NOVA_CONF upgrade_levels compute "auto"

write_uwsgi_config "$NOVA_UWSGI_CONF" "$NOVA_UWSGI" "/compute"
write_uwsgi_config "$NOVA_METADATA_UWSGI_CONF" "$NOVA_METADATA_UWSGI" "" ":${METADATA_SERVICE_PORT}"

Expand Down

0 comments on commit 21221d1

Please sign in to comment.