support for centOS/RHEL in openstack-network

Registered by Darren Birkett

This blueprint will track the work needed to add centOS/RHEL support to the openstack-network cookbook

Blueprint information

Status:
Complete
Approver:
Justin Shepherd
Priority:
Medium
Drafter:
Darren Birkett
Direction:
Approved
Assignee:
Darren Birkett
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon havana-stable
Started by
Darren Birkett
Completed by
Darren Birkett

Related branches

Sprints

Whiteboard

Neutron-server-setup

A work item that may be necessary is running the rhel specific neutron-server-setup script. I don't see this being run anywhere in the cookbook right now.
https://bugs.launchpad.net/openstack-chef/+bug/1271320 (marked invalid)
My other thought is to not use this script and have the recipes handle it all instead.

Other Scripts:

I also noticed the following scripts are being run

- recipes/dhcp_agent.rb:execute "neutron-dhcp-setup --plugin #{main_plugin}" do
- recipes/l3_agent.rb:execute "neutron-l3-setup --plugin #{main_plugin}" do
- recipes/openvswitch.rb:execute 'neutron-node-setup --plugin openvswitch' do

Notes on these:
- These 3 scripts are run only_if { platform?(%w(fedora redhat centos)) }
- They appear to be redundant and not needed as the recipes handle all of these config options.
- They are being called incorrectly, missing the q_host parameter, causing a prompt to occur during the Chef run

Recommendation
Remove the calls to these scripts and let the recipes handle this work as needed.
https://review.openstack.org/#/c/69490/

Gerrit topic: https://review.openstack.org/#q,topic:bp/centos-rhel-for-network,n,z

Addressed by: https://review.openstack.org/70142
    Explicitly set rpc_backend to kombu when using rabbitmq

Addressed by: https://review.openstack.org/69490
    Remove unneeded and redundant rhel setup scripts

Addressed by: https://review.openstack.org/70342
    Explicitly set auth_strategy

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.