What version of the mysql
module do you have installed? (check its Modulefile)
Looks like the openstack
modules depend on behavior of older versions of the mysql
module, and declare that correctly in their dependencies - they seem to be happy only with 0.9.0.
Assuming you're not using the mysql module elsewhere, try downgrading to that version.
Final Edit
Not sure what I did to get it to work last time but the true cause of my misfortune was omitting this step,
http://docs.openstack.org/havana/install-guide/install/apt/content/basics-packages.html
which guides you through the process of installing the havana ubuntu cloud archive.
Thanks for reading!
old post starts here
I managed to fix the issue.
In the keystone database, the endpoints table more specifically there was a mix of localhoist/and ip address based entries in the "url" field, they look like this x.x.x.x:9292, x.x.x.x:8776/v1/%(tenant_id)s and so on. I replaced the ip address with localhost in all cases making it uniform and I'm now able to log into the dashboard from the machine itself. I can't login other than from localhost but I'm assuming this is a separate issue because I tried replacing localhost with other entries (the public ip address for example and I can still login via dashboard from localhost).
To summarize, although I could be misinterpreting what happened, I think the fact that the endpoints url fields weren't uniform was causing the initial connection refused issue. I believe the specific endpoints that were written out as localhost caused the problem, unfortunately I didn't take note of which were which at the time.
Edit: I tried accessing the dashboard from my browser in a incognito window using chrome and I could log in no problem, I tried internet explorer and it works great. But even after clearing out all my history/cache/etc from chrome I still get the error. Not sure why but at least I've narrowed things down a bit, and it works, kinda!
Best Answer
You can use heat to create large number of instances.
How to use heat? I start from the cli.
Heat use template file. I create template file to create 3 instances:
I save this file as template.yaml.
I use here flavor min, image centos7 and network id 80bcc12b-b546-47be-8a24-0c0e278e57dd.
Now I create 3 instances. I exec
Stack test was created. Next images was created:
You can change template file and add more instances. All instances will be created by 1 call: use heat stack-create.
Now remove instances you can use heat stack-delete call:
It's from cli. How we can use dashboard?
You can open http://ip_address/dashboard/project/stacks/ page.
Stack page was open. Launch stack button click: select template form was opened. Select template source: direct input. Into the template data set content of the template.json file. Press next button, into the next page enter the stack name, admin password and press launch button. New heat stack will be created. It's the same as heat stack-create call.