SM: Fab Gap - Use Externally Provisioned Openstack Server

Bug #1566558 reported by Nitish Krishna Kaveri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Won't Fix
High
Nitish Krishna Kaveri
Trunk
Fix Committed
High
Nitish Krishna Kaveri

Bug Description

Fab Allows Contrail to be configured to use an externally provisioned openstack node(s).
Fab just configures contrail config files pointing to keystone config of the provisioned openstack node(s)

In the testbed.py config used are below sections:

#In environments where keystone is deployed outside of Contrail provisioning
#scripts , you can use the below options
#
# Note :
# "insecure" is applicable only when protocol is https
# The entries in env.keystone overrides the below options which used
# to be supported earlier :
# service_token
# keystone_ip
# keystone_admin_user
# keystone_admin_password
# region_name
#
#env.keystone = {
# 'keystone_ip' : 'x.y.z.a',
# 'auth_protocol' : 'http', #Default is http
# 'auth_port' : '35357', #Default is 35357
# 'admin_token' : '33c57636fbc2c5552fd2', #admin_token in keystone.conf
# 'admin_user' : 'admin', #Default is admin
# 'admin_password' : 'contrail123', #Default is contrail123
# 'nova_password' : 'contrail123', #Default is the password set in admin_password
# 'neutron_password': 'contrail123', #Default is the password set in admin_password
# 'service_tenant' : 'service', #Default is service
# 'admin_tenant' : 'admin', #Default is admin
# 'region_name' : 'RegionOne', #Default is RegionOne
# 'insecure' : 'True', #Default = False
# 'manage_neutron' : 'no', #Default = 'yes' , Does configure neutron user/role in keystone required.
#}
#

#env.nova = {
# 'cpu_mode': 'host-passthrough', # Possible options: none, host-passthrough, host-model, and custom
# # if cpu_mode is 'custom' specify cpu_model option too
# 'cpu_model': 'Nehalem', # relevant only if cpu_mode is 'custom'
#}

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

Review in progress for https://review.opencontrail.org/19341
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19342
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19341
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19342
Committed: http://github.org/Juniper/contrail-puppet/commit/5edfd9dcc7cf23fd1aa1f11e426580b6cbe8e195
Submitter: Zuul
Branch: R3.0

commit 5edfd9dcc7cf23fd1aa1f11e426580b6cbe8e195
Author: nitishkrishna <email address hidden>
Date: Fri Apr 15 16:43:00 2016 -0700

Closes-Bug: #1570541 - Separating RabbitMQ provision from Config

This will allow Openstack to Provision its own rabbitmq cluster.

To provision rabbitmq on openstack nodes:

In new params, add parameter as below:
"parameters": {
"provision": {
"openstack": {
"openstack_manage_amqp": true,
}
}
}

This will now allow SM to provision Openstack role independently in a cluster
Related-Bug: #1566558 - Use External Openstack
Related-Bug: #1566585 - Use External Rabbitmq

Change-Id: I9da4e922572630d5142804343faa3722cfa48068

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

Review in progress for https://review.opencontrail.org/19341
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19341
Committed: http://github.org/Juniper/contrail-puppet/commit/beda2ce3428588e4fc84cdb89eba835eed5aaf0d
Submitter: Zuul
Branch: master

commit beda2ce3428588e4fc84cdb89eba835eed5aaf0d
Author: nitishkrishna <email address hidden>
Date: Fri Apr 15 16:43:00 2016 -0700

Closes-Bug: #1570541 - Separating RabbitMQ provision from Config

This will allow Openstack to Provision its own rabbitmq cluster.

To provision rabbitmq on openstack nodes:

In new params, add parameter as below:
"parameters": {
"provision": {
"openstack": {
"openstack_manage_amqp": true,
}
}
}

This will now allow SM to provision Openstack role independently in a cluster
Related-Bug: #1566558 - Use External Openstack
Related-Bug: #1566585 - Use External Rabbitmq

Change-Id: I9da4e922572630d5142804343faa3722cfa48068

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19709
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19710
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19710
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19798
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19799
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19710
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19820
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19821
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/19822
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19821
Committed: http://github.org/Juniper/contrail-puppet/commit/a29f40305b1290d902c096e1bfb4dc9f9d8b90a6
Submitter: Zuul
Branch: R3.0

commit a29f40305b1290d902c096e1bfb4dc9f9d8b90a6
Author: nitishkrishna <email address hidden>
Date: Tue Apr 26 15:23:34 2016 -0700

Closes-Bug: #1566558 - Support for External Openstack Provisioning

With this check-in and SM changes, User can provision A node with only openstack node
Also a cluster can be provisioned without the openstack node and made to use an external openstack

The sample configs will be added as comments on the bug id

Change-Id: Iab34d6042fcee10bcba2a6e3d7948679cf2c076a

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19854
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19822
Committed: http://github.org/Juniper/contrail-puppet/commit/b362af9182e8257df4bd606cd6965e3e8818f15e
Submitter: Zuul
Branch: master

commit b362af9182e8257df4bd606cd6965e3e8818f15e
Author: nitishkrishna <email address hidden>
Date: Tue Apr 26 15:23:34 2016 -0700

Closes-Bug: #1566558 - Support for External Openstack Provisioning

With this check-in and SM changes, User can provision A node with only openstack node
Also a cluster can be provisioned without the openstack node and made to use an external openstack

The sample configs will be added as comments on the bug id

Change-Id: Iab34d6042fcee10bcba2a6e3d7948679cf2c076a

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

Reviewed: https://review.opencontrail.org/19820
Committed: http://github.org/Juniper/contrail-server-manager/commit/12cb5808aee07f6215a706602df62c4c000cd112
Submitter: Zuul
Branch: master

commit 12cb5808aee07f6215a706602df62c4c000cd112
Author: nitishkrishna <email address hidden>
Date: Tue Apr 26 16:55:26 2016 -0700

Closes-Bug: #1566558 - SM support for External Openstack Provision

This check-in allows Server Manager to support External Openstack.
The SM can provision a node with only Openstack role and also a node with all other nodes.
These nodes can then communicate with the external openstack if they are configured correctly.

The config for both Openstack node and Cfgm node is given in the bug id.

Change-Id: I27a6c3cae121281f6996da38cef062c18dd3fcef

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

Review in progress for https://review.opencontrail.org/21125
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19854
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/21125
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19854
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/21125
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/21125
Committed: http://github.org/Juniper/contrail-server-manager/commit/411dfb4837a2a7a0ef03c9d385d070d3c18bb02b
Submitter: Zuul
Branch: master

commit 411dfb4837a2a7a0ef03c9d385d070d3c18bb02b
Author: nitishkrishna <email address hidden>
Date: Mon Jun 13 16:10:38 2016 -0700

Closes-Bug: #1566558 : New params name change caused error in External Openstack Support

The name change meant the validation was broken
Related-Bug: #1588999

Patch 2:
Error in setting variables

Change-Id: I4337663cc7a0cfda732692016a992320fb15c927

Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :

Making it won't fix in 3.0 branch.
This feature is working and used in 3.1 branch onwards

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.