SM - Control Data interface is not used in provisioning

Bug #1414241 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Critical
Thilak Raj
R2.1
Fix Released
Critical
Thilak Raj

Bug Description

On provisioning contrail using SM with control-data interface, vhost comes up using management interface
the yaml and json files are as below

Version 2.10 build 10

root@cmbu-esx18-lnx3:/config# cat /etc/puppet/environments/contrail_ice_210/hieradata/cmbu-starwars-01.englab.juniper.net-openstack.yaml

openstack::region: 'RegionOne'

######## Networks
openstack::network::api: '10.87.140.215/255.255.224.0'
openstack::network::external: '10.87.140.215/255.255.224.0'
openstack::network::management: '10.87.140.215/255.255.224.0'
openstack::network::data: '10.87.140.215/255.255.224.0'

openstack::network::external::ippool::start: ''
openstack::network::external::ippool::end: ''
openstack::network::external::gateway: ''
openstack::network::external::dns: ''

######## Private Neutron Network
openstack::network::neutron::private: '192.168.0.0/24'

######## Fixed IPs (controllers)
openstack::controller::address::api: '10.87.140.215'
openstack::controller::address::management: '10.87.140.215'
openstack::storage::address::api: '10.87.140.215'
openstack::storage::address::management: '10.87.140.215'

######## Database
openstack::mysql::root_password: 'c0ntrail123'
openstack::mysql::service_password: 'c0ntrail123'
##### TBD has hard-coded vaue. need to plug in local interface network.
openstack::mysql::allowed_hosts: ['localhost', '127.0.0.1', '10.87.140.215']

######## RabbitMQ
openstack::rabbitmq::user: 'guest'
openstack::rabbitmq::password: 'guest'

######## Keystone
openstack::keystone::admin_token: 'contrail123'
openstack::keystone::admin_email: '<email address hidden>'
openstack::keystone::admin_password: 'n1keenA'

openstack::keystone::tenants:
    "test":
        description: "Test tenant"

openstack::keystone::users:
    "test":
        password: "test123"
        tenant: "test"
        email: "<email address hidden>"
        admin: true
    "demo":
        password: "demo123"
        tenant: "test"
        email: "<email address hidden>"
        admin: false

######## Glance
openstack::glance::password: 'n1keenA'

######## Cinder
openstack::cinder::password: 'n1keenA'
openstack::cinder::volume_size: '8G'

######## Swift
openstack::swift::password: 'n1keenA'
openstack::swift::hash_suffix: 'pop-bang'

######## Nova
openstack::nova::libvirt_type: 'kvm'
openstack::nova::password: 'n1keenA'

######## Neutron
openstack::neutron::password: 'n1keenA'
openstack::neutron::shared_secret: 'by-sa-bo'

######## Ceilometer
openstack::ceilometer::mongo::password: 'n1keenA'
openstack::ceilometer::password: 'n1keenA'
openstack::ceilometer::meteringsecret: 'ceilometersecretkey'

######## Heat
openstack::heat::password: 'n1keenA'
openstack::heat::encryption_key: 'heatsecretkey'

######## Horizon
openstack::horizon::secret_key: 'n1keenA'

######## Tempest
openstack::tempest::configure_images : true
openstack::tempest::image_name : 'Cirros'
openstack::tempest::image_name_alt : 'Cirros'
openstack::tempest::username : 'demo'
openstack::tempest::username_alt : 'demo2'
openstack::tempest::username_admin : 'test'
openstack::tempest::configure_network : true
openstack::tempest::public_network_name : 'public'
openstack::tempest::cinder_available : true
openstack::tempest::glance_available : true
openstack::tempest::horizon_available : true
openstack::tempest::nova_available : true
openstack::tempest::neutron_available : true
openstack::tempest::heat_available : false
openstack::tempest::swift_available : false

######## Log levels
openstack::verbose: 'True'
openstack::debug: 'True'
root@cmbu-esx18-lnx3:/config# cat cmbu-sw1
cmbu-sw1.json cmbu-sw1-new.json
root@cmbu-esx18-lnx3:/config# cat cmbu-sw1-new.json
{
    "server": [
        {
            "id": "cmbu-starwars-01",
            "contrail": {
                "control_data_interface": "eth7"
            },
            "network": {
                "management_interface": "eth0",
                "provisioning": "kickstart",
                "interfaces": [
                    {
                        "name": "eth0",
                        "ip_address": "10.87.129.228/19",
                        "mac_address": "00:25:90:ca:2c:88",
                        "default_gateway": "10.87.159.254",
                        "dhcp": true
                    },
                    {
                        "name": "eth7",
                        "ip_address": "8.0.0.3/24",
                        "gateway": "",
                        "mac_address": "00:25:90:e5:b8:55"
                    }
                              ]
                       },
            "paramaters" : {
                "disks": [
                "/dev/sdb:/dev/sdc",
                "/dev/sdd:/dev/sdc",
                "/dev/sde:/dev/sdc"
                ],
            "storage_repo_id": "storage_ice_210",
            "partition": "/dev/sda",
            "kernel_upgrade": "yes",
            "kernel_version": "3.13.0-35"
            },
            "roles" : ["compute", "storage-compute"],
            "cluster_id": "vinod-cluster1",
            "subnet_mask": "255.255.224.0",
            "gateway": "10.87.159.254",
            "password": "n1keenA",
            "domain": "englab.juniper.net",
            "ipmi_address": "10.87.129.229",
            "ipmi_user": "ADMIN",
            "ipmi_password": "ADMIN",
            "tag" : {
                 "datacenter" : "demo-dc",
                 "floor" : "demo-floor",
                 "hall" : "demo-hall",
                 "rack" : "demo-rack",
                 "user_tag" : "demo-user"
             }
        }
    ]
}

Vinod Nair (vinodnair)
Changed in juniperopenstack:
milestone: none → r2.1-fcs
milestone: r2.1-fcs → none
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/6589
Committed: http://github.org/Juniper/contrail-server-manager/commit/ea82107479d44d78a4a58c596639814169c9baa9
Submitter: Zuul
Branch: R2.1

commit ea82107479d44d78a4a58c596639814169c9baa9
Author: tsurendra <email address hidden>
Date: Sat Jan 24 20:11:14 2015 -0800

Partial-Bug: #1414241
SM - Control Data interface is not used in provisioning

Issue: Data/Control Interface IP wasnot used in the new framework.

Fix: Pass the Data/control ip in the new framework.

TODO:
Test if non-mgmt gw is picked by vrouter.

Change-Id: Ie7a8288c77f0bfcff17cbfd8acb45f1674986bb5

information type: Proprietary → Public
tags: added: server-manager
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/6590
Committed: http://github.org/Juniper/contrail-server-manager/commit/720500c4b31dde17af646583df0e3484cfe15fff
Submitter: Zuul
Branch: master

commit 720500c4b31dde17af646583df0e3484cfe15fff
Author: tsurendra <email address hidden>
Date: Sat Jan 24 20:11:14 2015 -0800

Partial-Bug: #1414241
SM - Control Data interface is not used in provisioning

Issue: Data/Control Interface IP wasnot used in the new framework.

Fix: Pass the Data/control ip in the new framework.

TODO:
Test if non-mgmt gw is picked by vrouter.

Change-Id: Ie7a8288c77f0bfcff17cbfd8acb45f1674986bb5

Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: Abhay Joshi (abhayj) → Thilak Raj (tsurendra)
Revision history for this message
Abhay Joshi (abhayj) wrote :

code change submitted.

Revision history for this message
Abhay Joshi (abhayj) wrote :

critical change to address this is already checked in and available in official builds. Bug being kept open till testing completes.

Changed in juniperopenstack:
status: New → In Progress
Revision history for this message
Abhay Joshi (abhayj) wrote :

Based on testing done so far, multiple interfaces is working in general. This bug is being closed. Any outstanding issues found for multi-interface can now be separately tracked by new bugs.

Revision history for this message
Thilak Raj (tsurendra) wrote :

Fixed in mainline as well

Changed in juniperopenstack:
status: In Progress → Fix Committed
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.