Fix for hacluster issue
This commit is contained in:
parent
469ca80347
commit
4acd7e1f69
|
@ -107,7 +107,7 @@ class MuranoCharm(charms_openstack.charm.HAOpenStackCharm):
|
|||
release = 'mitaka'
|
||||
|
||||
# List of packages to install for this charm
|
||||
packages = ['murano-api', 'murano-engine', 'python-pymysql']
|
||||
packages = ['murano-api', 'murano-engine', 'python-pymysql', 'python-apt']
|
||||
|
||||
# Init services the charm manages
|
||||
services = ['haproxy', 'murano-api', 'murano-engine']
|
||||
|
|
|
@ -53,8 +53,8 @@ def init_db():
|
|||
charm_class.db_sync()
|
||||
|
||||
@reactive.when_not('io-murano.imported')
|
||||
@reactive.when('config.rendered')
|
||||
@reactive.when(*COMPLETE_INTERFACE_STATES)
|
||||
@reactive.when('config.rendered')
|
||||
def import_io_murano(*args):
|
||||
murano.import_io_murano()
|
||||
reactive.set_state('io-murano.imported')
|
||||
|
|
Loading…
Reference in New Issue