SM: Fab Gap - Use Externally Provisioned/Managed AMQP Cluster
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Nitish Krishna Kaveri | |||
R3.1 |
Fix Committed
|
High
|
Nitish Krishna Kaveri | |||
Trunk |
Fix Committed
|
High
|
Nitish Krishna Kaveri |
Bug Description
Fab supports the following scenarios:
1. Contrail(Config) and Openstack nodes are provisioned with separate RabbitMQ clusters which only Contrail/Openstack uses respectively. (manage_amqp = True & no contrail_
2. Externally provisioned AMQP cluster is configured for both Contrail and Openstack nodes to use. (contrail_
3. Externally provisioned AMQP cluster is configured only for Contrail to use. Openstack uses self provisioned local RabbitMQ cluster (manage_amqp = True & contrail_
4. Externally provisioned AMQP cluster is configured only for Openstack to use. Contrail uses self provisioned local RabbitMQ cluster (manage_amqp = False & openstack_
Use below configs in testbed.py
# In environments where openstack services are deployed independently
# from contrail, you can use the below options
# service_token : Common service token for for all services like nova,
# neutron, glance, cinder etc
# amqp_host : IP of AMQP Server to be used in openstack
# manage_amqp : Default = 'no', if set to 'yes' provision's amqp in openstack nodes and
# openstack services uses the amqp in openstack nodes instead of config nodes.
# amqp_host is neglected if manage_amqp is set
# service_dbpass: Default = 'c0ntrail123'; DB password of all openstack service users
#
#env.openstack = {
# 'service_token' : '33c57636fbc2c5
# 'amqp_host' : '10.204.217.19', #IP of AMQP Server to be used in openstack
# 'manage_amqp' : 'yes', #Default no, Manage seperate AMQP for openstack services in openstack nodes.
# 'osapi_
# 'conductor_workers' : 40, #Default 40, For low memory system reduce the conductor workers thread.
# 'service_dbpass' : 'c0ntrail123', #DB password of all openstack service users
#}
#Config node related config knobs
#amqp_hosts : List of customer deployed AMQP servers to be used by config services.
#amqp_port : Port of the customer deployed AMQP servers.
#env.cfgm = {
# 'amqp_hosts' : ['10.10.10.1', '10.10.10.2']
# 'amqp_port' : '5672'
#}
External Openstack implementation means manage_amqp = True will be default. rabbit_ hosts parameter should point to this openstack amqp for NOVA COMPUTE ONLY
Also On the CFGM nodes on the contrail cluster, new external_