def setup_amqp_req(amqp): """Use the amqp interface to request access to the amqp broker using our local configuration. """ amqp.request_access(username='******', vhost='openstack') aodh.assess_status()
def setup_amqp_req(amqp): """Use the amqp interface to request access to the amqp broker using our local configuration. """ amqp.request_access(username='******', vhost='openstack') aodh.assess_status()
def run_db_migration(): aodh.db_sync() aodh.restart_all() reactive.set_state('db.synced') aodh.assess_status()
def render(*args): aodh.render_configs(args) reactive.set_state('config.complete') aodh.assess_status()
def setup_endpoint(keystone): aodh.setup_endpoint(keystone) aodh.assess_status()
def setup_database(database): """On receiving database credentials, configure the database on the interface. """ database.configure('aodh', 'aodh', hookenv.unit_private_ip()) aodh.assess_status()
def run_db_migration(): aodh.db_sync() aodh.restart_all() reactive.set_state('db.synced') aodh.assess_status()
def render(*args): aodh.render_configs(args) reactive.set_state('config.complete') aodh.assess_status()
def setup_endpoint(keystone): aodh.setup_endpoint(keystone) aodh.assess_status()
def setup_database(database): """On receiving database credentials, configure the database on the interface. """ database.configure('aodh', 'aodh') aodh.assess_status()
def setup_endpoint(keystone): aodh.setup_endpoint(keystone) aodh.configure_ssl() aodh.assess_status()
def setup_endpoint(keystone): aodh.setup_endpoint(keystone) aodh.configure_ssl() aodh.assess_status()
def setup_database(database): """On receiving database credentials, configure the database on the interface. """ database.configure('aodh', 'aodh') aodh.assess_status()