haproxy enabled by default for keystone, cinder, openstack-dashboard, nova-cloud-controller and glance breaks deploying multiple light services to the same node.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
New
|
Undecided
|
Unassigned |
Bug Description
haproxy is enabled by default for keystone, cinder, openstack-
cs:trusty/cinder-11
cs:trusty/glance-10
cs:trusty/
cs:trusty/
cs:trusty/
This is found when deploying these services on the same node. The haproxy config file for the new service overrides the previous one.
This was not the behavior when deploying
cs:trusty/cinder-10
cs:trusty/glance-9
cs:trusty/
cs:trusty/
cs:trusty/
The haproxy.cfg was not filled out.
Steps to reproduce:
1. juju bootstrap onto maas environment
2. juju deploy keystone --config=
juju deploy glance --to 1
juju deploy nova-cloud-
juju deploy openstack-dashboard --to 1
juju deploy cinder --to 1 --config=
juju status: http://
juju ssh into the unit to check /etc/haproxy/
I concur. To provide a little more detail, because this is enabled in the default charm, even non-HA openstacks become unusable when applying multiple services to the same machine outside of separate containers, which, until this point, has not really been an issue:
http:// pastebin. ubuntu. com/10040950/
To really quickly duplicate it, all you need to do is:
juju bootstrap openstack. cfg keystone openstack. cfg nova-cloud- controller
juju deploy --to=0 --config=
juju ssh keystone/0
source ./nova.rc
keystone tenant-list
exit
juju deploy --to=0 --config=
juju ssh keystone/0
source ./nova.rc
keystone tenant-list
This is the contents of my openstack.cfg and nova.rc:
http:// pastebin. ubuntu. com/10041027/
So I think now, the question is what is the suggested method for doing a non-HA installation? We were in the middle of working up a whitepaper with a customer when this change in the charms occurred. When we PoC'd our non-HA deployment and saved all the deployment steps for the whitepaper, this was not an issue.
Why do we simply not have charms called horizon and horizon-ha, nova-cloud- controller and nova-cloud- controller- ha and so on? (just curious why the decision to not rename them happened, was it a matter of maintenance in the future?)