Ensure vgpu services restarted in package_upgrade action
Change-Id: I51382f70f019071f4442f717dbc749ff2e7b8202
This commit is contained in:
parent
da2142cca3
commit
06856f151c
@ -42,6 +42,7 @@ from nova_compute_hooks import (
|
||||
CONFIGS,
|
||||
neutron_plugin_joined,
|
||||
nova_ceilometer_joined,
|
||||
nova_vgpu_joined,
|
||||
)
|
||||
|
||||
|
||||
@ -63,6 +64,8 @@ def package_upgrade():
|
||||
neutron_plugin_joined(rid, remote_restart=True)
|
||||
for rid in relation_ids('nova-ceilometer'):
|
||||
nova_ceilometer_joined(rid, remote_restart=True)
|
||||
for rid in relation_ids('nova-vgpu'):
|
||||
nova_vgpu_joined(rid, remote_restart=True)
|
||||
# NOTE(ajkavanagh) - if unit is paused (usually true for managed
|
||||
# upgrade) then the config_changed() function is a no-op
|
||||
config_changed()
|
||||
|
Loading…
Reference in New Issue
Block a user