Bug 1327459

Summary: Deploying with Nuage integration fails because overcloud-full image 7.3.1 contains incompatible Puppet code
Product: Red Hat OpenStack Reporter: David Gurtner <dgurtner>
Component: rhosp-directorAssignee: Mike Burns <mburns>
Status: CLOSED WONTFIX QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: aschultz, dbecker, mburns, morazi, rhel-osp-director-maint, rhos-maint, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-30 20:05:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Gurtner 2016-04-15 07:53:25 UTC
Description of problem:
Nuage deployment with director fails because the current Kilo 7.3.1 overcloud-full image:

1. Contains version incompatible code in the Neutron Puppet Module (upstream Liberty instead of upstream Kilo)
2. Is Missing the Nuage Module

Specifically the following two files:
/etc/puppet/modules/neutron/lib/puppet/provider/neutron_plugin_nuage/ini_setting.rb
/etc/puppet/modules/neutron/lib/puppet/type/neutron_plugin_nuage.rb
should be replaced with the version from upstream Kilo
https://github.com/openstack/puppet-neutron/blob/stable/kilo/lib/puppet/provider/neutron_plugin_nuage/ini_setting.rb
https://github.com/openstack/puppet-neutron/blob/stable/kilo/lib/puppet/type/neutron_plugin_nuage.rb

And Nuage Module from https://github.com/nuagenetworks/NuagePuppetModules/tree/master/modules/nuage
should be installed at /etc/puppet/modules/nuage


Version-Release number of selected component (if applicable):
openstack-puppet-modules-2015.1.8-51.el7ost.noarch
overcloud-full-7.3.1-59.tar


How reproducible:
Always


Steps to Reproduce:
1. Deploy with Nuage support: openstack overcloud deploy --templates ~/templates \
--environment-file ~/templates/environments/network-isolation.yaml \
--environment-file ~/templates/environments/network-environment.yaml \
--environment-file ~/templates/environments/neutron-nuage-config.yaml \
--environment-file ~/templates/environments/nova-nuage-config.yaml \
--ntp-server 0.fedora.pool.ntp.org \
--neutron-network-type vxlan \
--neutron-tunnel-types vxlan

Actual results:
Deployment fails with Puppet related errors.


Expected results:
Deployment succeeds, Nuage integration gets configured


Additional info:
Implementing the changes described in this BZ, I could successfully deploy with Nuage integration.
The following is required in addition though:
- A Nuage environment VSD, VSC, VSG
- The templates are missing some parameters. I described this in a different BZ
- Remove parts of the Neutron and OpenVSwitch bits:
openvswitch
openstack-neutron-lbaas
openstack-neutron-ml2
openstack-neutron-openvswitch
python-openvswitch
openstack-neutron-lbaas
- Install the Nuage bits, I use the following:
nuage-metadata-agent-3.2.6-232.el7.x86_64.rpm
nuagenetlib-2015.1.3.2.6_228-nuage.noarch.rpm
nuage-openstack-heat-2015.1.1818-nuage.noarch.rpm
nuage-openstack-horizon-2015.1.1818-nuage.noarch.rpm
nuage-openstack-neutron-2015.1.1818-nuage.noarch.rpm
nuage-openstack-neutronclient-2015.1.1818-nuage.noarch.rpm
nuage-openvswitch-3.2.6-232.el7.x86_64.rpm
perl-JSON-2.59-2.el7.noarch.rpm
perl-Sys-Syslog-0.33-3.el7.x86_64.rpm
protobuf-2.5.0-7.el7.x86_64.rpm
protobuf-c-1.0.1-1.el7.x86_64.rpm
protobuf-compiler-2.5.0-7.el7.x86_64.rpm
pyserial-2.6-5.el7.noarch.rpm
python-setproctitle-1.1.6-5.el7.x86_64.rpm
python-twisted-core-12.2.0-4.el7.x86_64.rpm

Comment 2 David Gurtner 2016-05-19 10:17:00 UTC
The part on the Neutron provider seems to be the same as https://bugzilla.redhat.com/show_bug.cgi?id=1310803