I have been trying to setup OpenStack on 14.04 using one machine. I have managed to get MAAS setup and JUJU bootstrapped with two machines, one machine to MAAS and another node that I am trying to setup openstack on. I have read it can be done but I am having problems, basically after reading this https://help.ubuntu.com/community/UbuntuCloudInfrastructure and digging around the internet I found that nova-volume is deprecated so I have been trying to use cinder instead.
I have been using these commands:
juju deploy mysql --to 0 juju deploy rabbitmq-server --to 0 juju deploy --config=openstack.cfg keystone --to 0 juju deploy --config=openstack.cfg nova-cloud-controller --to 0 juju deploy --config=openstack.cfg cinder --to 0 juju deploy nova-compute --to 0 juju deploy glance --to 0 juju deploy openstack-dashboard --to 0 juju add-relation keystone mysql juju add-relation nova-cloud-controller mysql juju add-relation nova-cloud-controller rabbitmq-server juju add-relation nova-cloud-controller glance juju add-relation nova-cloud-controller keystone juju add-relation cinder nova-cloud-controller juju add-relation cinder mysql juju add-relation cinder rabbitmq-server juju add-relation cinder keystone juju add-relation nova-compute mysql juju add-relation nova-compute:amqp rabbitmq-server:amqp juju add-relation nova-compute glance juju add-relation nova-compute nova-cloud-controller juju add-relation glance mysql juju add-relation glance keystone juju add-relation openstack-dashboard keystone juju expose openstack-dashboard juju expose nova-cloud-controller
As you can see I have used
--to 0 to say I want them all on the same node. I can get everything started but after linking up all the relations I get this error:
hook failed: "shared-db-relation-changed"
I also in one of the logs a error message saying access denied for that user and that ip.
I believe the problem is juju is telling the other services that the IP is 192.168.2.101 but then mysql sets up the users with 127.0.0.1, meaning they cannot connect.
- This is hopefully going to be used for a private cloud at work, with half a dozen or so instances.
- I don't want to use devstack as everyone keeps saying that isn't for production.