Aodh is not getting installed with packstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
Fix Released
|
High
|
Javier Peña |
Bug Description
Aodh doesnot gets installed with packstack (centos-
I enabled CONFIG_
[root@manik ~(keystone_admin)]# aodh alarm list
(pymysql.
[root@manik ~(keystone_admin)]#
No tables are getting created for Aodh.
MariaDB [(none)]> show databases;
+------
| Database |
+------
| aodh |
| cinder |
| glance |
| gnocchi |
| heat |
| information_schema |
| keystone |
| mysql |
| neutron |
| nova |
| nova_api |
| nova_cell0 |
| panko |
| performance_schema |
| placement |
| test |
+------
16 rows in set (0.005 sec)
MariaDB [(none)]> use aodh
Database changed
MariaDB [aodh]> show tables
-> ;
Empty set (0.000 sec)
MariaDB [aodh]>
I have reproduced the issue with stable/stein code. We have to add sync_db => true to the aodh::api class at https:/ /github. com/redhat- openstack/ packstack/ blob/master/ packstack/ puppet/ modules/ packstack/ manifests/ aodh.pp# L20-L23
I'll sent a patch asap.