Git Product home page Git Product logo

ansible-openstack's People

Contributors

newsgate avatar sergevs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-openstack's Issues

"neutron net-list" : deprecated and wrong return code

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.

  • I needed to modify line 101 of roles/database/tasks/main.yml

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.

  • now I have real issue with some others things: the neutron commands, which is now deprecated and never return anything. (return code is not 0)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.