DevStack ignores local.conf in first run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi DevStack Team
I really like your work around OpenStack, excellent job.
But I have just dumped almost 2 days to finalize installation of the following additional plugins on my fresh Ubuntu 16.04 VMs (running itself in an OpenStack Cloud VM)
- heat
- zaqar
- trove
- sahara
I have followed exactly the info I had found in the Openstack.
That was my simple local.conf:
[[local|localrc]]
ADMIN_PASSWORD=
DATABASE_
RABBIT_
SERVICE_
enable_plugin heat https:/
enable_plugin sahara git://git.
enable_plugin trove git://git.
enable_plugin zaqar https:/
enable_plugin murano git://git.
I have tried it at least 10 times... and it didn't work.
The script went through but
- I was always asked for the 4 Passwords in the Terminal
- Resulted in the vanilla Devstack installation, without any additionals.
- Horizon was working with the different paswords from the terminal, ignoring the ones from local.conf
I have searched the whole internet, tried stable/ocata, and and and couldn't find an error.
Each time I have deleted the VM entirely and started from scratch.
Finally, with progressing frustration, I tried to just ./unstack.sh the successful but vanilla Devstack and without changing anything, again started the ./stack.sh Installscript.
That worked out fine, without errors, installing successfully all 5 additional plugins.
It, then, even requested the correct ADMIN_PASSWORD from the local.conf.
I could repeat this workaround several times (which took long with installations between 30-45min).
It seems, that under mine, but simple and fresh conditions, the script ignored the local.conf completely in the first run, and then considered it in the second run, with then accepting the plugins and passwords.
1)
If this is a bug, please forward this to the correct people.
2)
If this is not a bug, please add some hints, or Q+A or links with known issues, what to consider...
These were hard and unpaid 2 days for me, but this might happen.
But it should be avoided to others if possible.
BR
Gernot
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [x] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following resources:
- Ask OpenStack: http://
- The mailing list: http://
- IRC: 'openstack' channel on Freenode
-------
Release: 0.0.1.dev8721 on Mon Aug 21 05:09:35 2017, commit c5aca3c
SHA: c5aca3c99660a65
Source: https:/
URL: https:/
Did you checked out the ocata by using '-b stable/ocata' switch like:
git clone https:/ /git.openstack. org/openstack- dev/devstack -b stable/ocata
This is working local.conf tested on stable/ocata. You can remove unnecessary service that did not suite for your deployment.
[[local|localrc]] secret PASSWORD= $ADMIN_ PASSWORD PASSWORD= $ADMIN_ PASSWORD PASSWORD= $ADMIN_ PASSWORD BACKEND= mongodb NOTIFICATION_ TOPICS= notifications, profiler /git.openstack. org/openstack/ ceilometer stable/ocata /git.openstack. org/openstack/ aodh stable/ocata /git.openstack. org/openstack/ neutron- lbaas stable/ocata /git.openstack. org/openstack/ octavia stable/ocata lbaas-dashboard https:/ /git.openstack. org/openstack/ neutron- lbaas-dashboard stable/ocata /git.openstack. org/openstack/ heat stable/ocata
ADMIN_PASSWORD=
DATABASE_
RABBIT_
SERVICE_
enable_service h-eng h-api h-api-cfn h-api-cw q-lbaasv2 octavia o-cw o-hk o-hm o-api
CEILOMETER_
CEILOMETER_
enable_plugin ceilometer https:/
enable_plugin aodh https:/
enable_plugin neutron-lbaas https:/
enable_plugin octavia https:/
enable_plugin neutron-
enable_plugin heat https:/
At this moment I`m unable to reproduce with stable/ocata.
Regards
Aizuddin