Fix for hacluster issue

This commit is contained in:
viswesn 2016-11-02 12:06:08 +05:30
parent 469ca80347
commit 4acd7e1f69
2 changed files with 2 additions and 2 deletions

View File

@ -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']

View File

@ -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')