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!
I successfully installed openstack.
The problem is timeout meanings for db-sync.
So, do the following steps.
(Step 1) go to puppet stored directory. webtest- 2.0.23/ changelog. rst: No such file or directory puppet/ modules/ neutron/ manifests/ db/sync. pp: $db_sync_timeout = 300, puppet/ modules/ nova/manifests/ db/online_ data_migrations .pp: $db_sync_timeout = 300, puppet/ modules/ nova/manifests/ db/sync. pp: $db_sync_timeout = 300, puppet/ modules/ nova/manifests/ db/sync_ api.pp: $db_sync_timeout = 300, texmf-config/ web2c/updmap. cfg: No such file or 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-
openstack-
openstack-
openstack-
openstack-
grep: texlive/
(Step 3) change 300 to 0 (0 means infinite) for all files
for example, puppet/ modules/ neutron/ manifests/ db/sync. pp
vi openstack-
then,
change from $db_sync_timeout = 300 to $db_sync_timeout = 0
,then puppet/ modules/ nova/manifests/ db/online_ data_migrations .pp
vi openstack-
then, change the values...
(Step 4) remove installed files release- openstack- queens
sudo yum remove openstack-packstack
sudo yum remove centos-
sudo yum remove mariadb
rm -rf /var/lib/mysql
rm /root/.my.cnf
(Step 5) install packages release- openstack- queens
sudo yum install -y centos-
sudo yum install -y openstack-packstack
(Step 6) run packstack command file=/path/ to/answerfile( CHANGE THIS) --timeout=0 --debug
# packstack --answer-
done!