Comment 6 for bug 1724272

Revision history for this message
niwa3 (niwatolli3) wrote :

I successfully installed openstack.

The problem is timeout meanings for db-sync.

So, do the following steps.

(Step 1) go to puppet stored directory.
# cd /usr/share/
(Step 2) find the timeout variable
[root@localhost share]# grep -Ri "timeout = 300"
[root@localhost share]# grep -Ri "db_sync_timeout = 0"
grep: doc/python-webtest-2.0.23/changelog.rst: No such file or directory
openstack-puppet/modules/neutron/manifests/db/sync.pp: $db_sync_timeout = 300,
openstack-puppet/modules/nova/manifests/db/online_data_migrations.pp: $db_sync_timeout = 300,
openstack-puppet/modules/nova/manifests/db/sync.pp: $db_sync_timeout = 300,
openstack-puppet/modules/nova/manifests/db/sync_api.pp: $db_sync_timeout = 300,
grep: texlive/texmf-config/web2c/updmap.cfg: No such file or directory

(Step 3) change 300 to 0 (0 means infinite) for all files

for example,
vi openstack-puppet/modules/neutron/manifests/db/sync.pp
then,
change from $db_sync_timeout = 300 to $db_sync_timeout = 0

,then
vi openstack-puppet/modules/nova/manifests/db/online_data_migrations.pp
then, change the values...

(Step 4) remove installed files
sudo yum remove openstack-packstack
sudo yum remove centos-release-openstack-queens
sudo yum remove mariadb
rm -rf /var/lib/mysql
rm /root/.my.cnf

(Step 5) install packages
sudo yum install -y centos-release-openstack-queens
sudo yum install -y openstack-packstack

(Step 6) run packstack command
# packstack --answer-file=/path/to/answerfile(CHANGE THIS) --timeout=0 --debug

done!