Openshift: to support when Slaves have different interface names

Bug #1781305 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Pragash Vijayaragavan
Trunk
Fix Committed
High
Pragash Vijayaragavan

Bug Description

Currently, the OSE-inventory file assumes all the Slave nodes have same interface name which may not be case of deployment.

# Below are Contrail variables. Comment them out if you don't want to install Contrail through ansible-playbook
contrail_version=5.0
openshift_use_contrail=true
contrail_container_tag=ocata-5.0-122
contrail_registry=ci-repo.englab.juniper.net:5000
contrail_nodes=[10.87.36.10, 10.87.36.11, 10.87.36.12]
vrouter_physical_interface=eno1 >>>>>>>>>>>>>>>
#contrail_vip=10.87.36.10

Jeba Paulaiyan (jebap)
tags: added: beta-blocker provisioning
Revision history for this message
Sarath (nsarath) wrote :

>>> Below input from Jeba agreed by Dev,

if the user only specify global, and no node specifc, then the code can assume same interface name for all slaves. Actually what we have now makes life easier for deployments where the customer bought all the servers uniformly and we need to retain this capability as well.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] release-3.7-contrail

Review in progress for https://review.opencontrail.org/45181
Submitter: Pragash Vijayaragavan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] release-3.9-contrail

Review in progress for https://review.opencontrail.org/45184
Submitter: Pragash Vijayaragavan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45184
Committed: http://github.com/Juniper/openshift-ansible/commit/8b3e5104f5551b0a4e635dd6c21ecf7fe9690d99
Submitter: Zuul v3 CI (<email address hidden>)
Branch: release-3.9-contrail

commit 8b3e5104f5551b0a4e635dd6c21ecf7fe9690d99
Author: pvijayaragav <email address hidden>
Date: Wed Aug 1 14:50:32 2018 -0700

Removed contrail var groups

1. Removed contrail var groups as it had issues with accessing
2. closes support to have slaves different interface names,
you need to provide the contrail_masters group, and comment
the physical_interface so that contrail will be installed on
the subnet of the contrail_master

Change-Id: Ic9fe2c2bed0e91a90499d7066059d951a791b500
Closes-Bug: #1781305

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/45181
Committed: http://github.com/Juniper/openshift-ansible/commit/dd5952dbda9b031d7038ed8cef3ebef0638e407e
Submitter: Zuul v3 CI (<email address hidden>)
Branch: release-3.7-contrail

commit dd5952dbda9b031d7038ed8cef3ebef0638e407e
Author: pvijayaragav <email address hidden>
Date: Wed Aug 1 12:21:20 2018 -0700

Removed contrail var groups

1. Removed contrail var groups as it had issues with accessing
2. closes support to have slaves different interface names,
you need to provide the contrail_masters group, and comment
the physical_interface so that contrail will be installed on
the subnet of the contrail_master

Change-Id: I911f1d6207a7241ad2d0dfd9b2d5616541a06f8f
Closes-Bug: #1781305

Revision history for this message
Pragash Vijayaragavan (pvijayaragav) wrote :

Need to add support for multi interface, when interfaces are in different subnet as well. This is not supported right now. This will be done after 5.0.1

Jeba Paulaiyan (jebap)
tags: added: releasenote
Revision history for this message
Pragash Vijayaragavan (pvijayaragav) wrote :

Multi interface on different subnets cannot be supported in openshift ansible as we create daemonsets and we dont specify a config per node.

Revision history for this message
Pragash Vijayaragavan (pvijayaragav) wrote :

If user needs to support multi interface on a node, specify a list of "contrail_controllers" and your node will install vhost0 on the interface with the same subnet as the provided controllers.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.