sergevs / ansible-openstack Goto Github PK
View Code? Open in Web Editor NEWOpenstack made easy
License: MIT License
Openstack made easy
License: MIT License
Hi,
First thx a lot for your work, I don't have yet a functionnal openstack PIKE cluster, but from what I saw everything is clear and simple.
Please let me share with you some info you should maybe consider, and one issue I have.
from:
"shell: rabbitmqctl cluster_status | grep running_nodes | grep {{ item }}"
to:
"shell: rabbitmqctl cluster_status | grep {{ item }}"
to have my deployment working. I was setting up a 3 nodes cluster, and when I do "rabbitmqctl cluster_status" from each node, the related hostname was not in the same line (it was in "running nodes" section, but on the line just after).
Example from my node openstack-1:
#rabbitmqctl cluster_status
Cluster status of node 'rabbit@openstack-1' ...
[{nodes,[{disc,['rabbit@openstack-1']},
{ram,['rabbit@openstack-3','rabbit@openstack-2']}]},
{running_nodes,['rabbit@openstack-3','rabbit@openstack-2',
'rabbit@openstack-1']},
{cluster_name,<<"[email protected]">>},
and from my node openstack-2:
#rabbitmqctl cluster_status
Cluster status of node 'rabbit@openstack-2' ...
[{nodes,[{disc,['rabbit@openstack-1']},
{ram,['rabbit@openstack-3','rabbit@openstack-2']}]},
{running_nodes,['rabbit@openstack-3','rabbit@openstack-1',
'rabbit@openstack-2']},
{cluster_name,<<"[email protected]">>},
{partitions,[]},
{alarms,[{'rabbit@openstack-3',[]},
{'rabbit@openstack-1',[]},
{'rabbit@openstack-2',[]}]}]
So I agree the change I did is really dirty but it was a simple workaround for me.
Example:
grep "neutron " roles/neutron/tasks/controller.yml | grep "command"
- command: "openstack role add --project service --user neutron admin"
- command: "openstack service create --name neutron --description 'OpenStack Networking' network"
command: "neutron net-list"
- command: "neutron net-create --shared --provider:physical_network {{ provider_network }} --provider:network_type flat {{ provider_network }} --router:external True"
- command: "neutron subnet-create --name {{ provider_network }} --allocation-pool {{ provider_allocation_pool }} --dns-nameserver {{ provider_nameserver }} --gateway {{ provider_gateway }} {{ provider_network }} {{ provider_network_cidr }}"
- command: "neutron net-create {{ selfservice_network }}"
- command: "neutron subnet-create --name {{ selfservice_network }} --dns-nameserver {{ selfservice_nameserver }} --gateway {{ selfservice_gateway }} {{ selfservice_network }} {{ selfservice_network_cidr }}"
- command: "neutron router-create router"
- command: "neutron router-interface-add router {{ selfservice_network }}"
- command: "neutron router-gateway-set router {{ provider_network }}"
all the commands "neutron something" are not working anymore so impossible to run the playbook.
Do you have any change to commit about that?
Thx a lot in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.