Cinder needs to install memcached on upgrade-charm
The cinder charm recognizes it needs memecached with enable_memcached() but never installs the package when upgrading from previous versions of the charm. The upgrade-charm hooks was missing entirely. Add the hook and a call to install packages for upgrade-charm. Change-Id: I2dac0f2c7b3437c66be2c2f41822010ef19250ba Closes-bug: #1665392
This commit is contained in:
parent
4e58cbeaf7
commit
806d9a1cba
@ -572,6 +572,7 @@ def configure_https():
|
||||
@hooks.hook('upgrade-charm')
|
||||
@harden()
|
||||
def upgrade_charm():
|
||||
apt_install(determine_packages(), fatal=True)
|
||||
for rel_id in relation_ids('amqp'):
|
||||
amqp_joined(relation_id=rel_id)
|
||||
update_nrpe_config()
|
||||
|
1
hooks/upgrade-charm
Symbolic link
1
hooks/upgrade-charm
Symbolic link
@ -0,0 +1 @@
|
||||
cinder_hooks.py
|
Loading…
Reference in New Issue
Block a user