centos71 - setup-vnc-compute messed up the interface bond configurations

Bug #1542142 reported by Jeba Paulaiyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Invalid
High
Senthilnathan Murugappan
Trunk
Invalid
High
Senthilnathan Murugappan

Bug Description

3.0 - 2710 Centos 71

While setting up the vhost0 interface, the provisioning script is messing up with the bonding configurations of the interface and hence the rest of the provisioning fails due to connectivity issue.

2016-02-04 06:15:49:750606: [root@10.204.217.3] out: [localhost] local: sudo echo "alias bridge off" > /etc/modprobe.conf
2016-02-04 06:15:49:754147: [root@10.204.217.3] out: [localhost] local: sudo mv /tmp/tmpaP_kiD/vrouter_nodemgr_param /etc/contrail/vrouter_nodemgr_param
2016-02-04 06:15:49:761802: [root@10.204.217.3] out: [localhost] local: sudo sed 's/dev=.*/dev=bond0/g' /etc/contrail/agent_param.tmpl > agent_param.new
2016-02-04 06:15:49:793652: [root@10.204.217.3] out: [localhost] local: sudo mv agent_param.new /etc/contrail/agent_param
2016-02-04 06:15:49:793822: [root@10.204.217.3] out: [localhost] local: sudo cp /tmp/tmpaP_kiD/vnswad.conf /etc/contrail/contrail-vrouter-agent.conf
2016-02-04 06:15:49:793948: [root@10.204.217.3] out: [localhost] local: sudo rm /tmp/tmpaP_kiD/vnswad.conf*
2016-02-04 06:15:49:797496: [root@10.204.217.3] out: [localhost] local: ifconfig bond0 | grep mtu | awk '{ print $NF }'
2016-02-04 06:15:49:805096: [root@10.204.217.3] out: [localhost] local: sudo mv /tmp/tmpaP_kiD/ifcfg-vhost0 /etc/sysconfig/network-scripts/ifcfg-vhost0
2016-02-04 06:15:49:836912: [root@10.204.217.3] out: [localhost] local: sync
2016-02-04 06:15:49:837078: [root@10.204.217.3] out: [localhost] local: sudo cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.rpmsave
2016-02-04 06:15:49:937568: [root@10.204.217.3] out: [localhost] local: sudo rm -f /etc/sysconfig/network-scripts/ifcfg-bond0
2016-02-04 06:15:49:937747: [root@10.204.217.3] out: [localhost] local: sudo mv -f /tmp/tmpaP_kiD/route-vhost0 /etc/sysconfig/network-scripts/route-vhost0
2016-02-04 06:15:49:937855: [root@10.204.217.3] out: [localhost] local: sudo mv /tmp/tmpaP_kiD/ifcfg-bond0 /etc/contrail/
2016-02-04 06:15:49:937944: [root@10.204.217.3] out: [localhost] local: sudo chkconfig network on
2016-02-04 06:15:49:953775: [root@10.204.217.3] out: [localhost] local: sudo chkconfig supervisor-vrouter on
2016-02-04 06:15:49:985552: [root@10.204.217.3] out: [localhost] local: groupadd -f nogroup
2016-02-04 06:15:50:017342: [root@10.204.217.3] out: [localhost] local: sed -i s/'Defaults requiretty'/'#Defaults requiretty'/g /etc/sudoers
2016-02-04 06:15:50:081385: [root@10.204.217.3] out: [localhost] local: sudo mv /tmp/tmpaP_kiD/contrail-vrouter-nodemgr.conf /etc/contrail/contrail-vrouter-nodemgr.conf
2016-02-04 06:15:50:081550: [root@10.204.217.3] out: [localhost] local: python /opt/contrail/utils/provision_vrouter.py --host_name nodec18.englab.juniper.net --host_ip 192.168.10.3 --api_server_ip 192.168.10.4 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin --openstack_ip 192.168.10.5
2016-02-04 06:15:50:097265: [root@10.204.217.3] out: Traceback (most recent call last):
2016-02-04 06:15:54:404158: [root@10.204.217.3] out: File "/opt/contrail/utils/provision_vrouter.py", line 185, in <module>
2016-02-04 06:15:54:404320: [root@10.204.217.3] out: main()
2016-02-04 06:15:54:404409: [root@10.204.217.3] out: File "/opt/contrail/utils/provision_vrouter.py", line 181, in main
2016-02-04 06:15:54:404494: [root@10.204.217.3] out: VrouterProvisioner(args_str)
2016-02-04 06:15:54:404575: [root@10.204.217.3] out: File "/opt/contrail/utils/provision_vrouter.py", line 32, in __init__
2016-02-04 06:15:54:404672: [root@10.204.217.3] out: auth_host=self._args.openstack_ip)
2016-02-04 06:15:54:404754: [root@10.204.217.3] out: File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 322, in __init__
2016-02-04 06:15:54:404834: [root@10.204.217.3] out: retry_on_error=False)
2016-02-04 06:15:54:404914: [root@10.204.217.3] out: File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 746, in _request
2016-02-04 06:15:54:404994: [root@10.204.217.3] out: self._headers = self._authenticate(content, self._headers)
2016-02-04 06:15:54:405079: [root@10.204.217.3] out: File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 568, in _authenticate
2016-02-04 06:15:54:405159: [root@10.204.217.3] out: raise RuntimeError('Unable to connect to keystone for authentication. Verify keystone server details')
2016-02-04 06:15:54:405240: [root@10.204.217.3] out: RuntimeError: Unable to connect to keystone for authentication. Verify keystone server details
2016-02-04 06:15:54:405321: [root@10.204.217.3] out:
2016-02-04 06:15:54:421704: [root@10.204.217.3] out: Fatal error: local() encountered an error (return code 1) while executing 'python /opt/contrail/utils/provision_vrouter.py --host_name nodec18.englab.juniper.net --host_ip 192.168.10.3 --api_server_ip 192.168.10.4 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin --openstack_ip 192.168.10.5'
2016-02-04 06:15:54:421836: [root@10.204.217.3] out:
2016-02-04 06:15:54:421928: [root@10.204.217.3] out: Aborting.
2016-02-04 06:15:54:422007: [root@10.204.217.3] out:
2016-02-04 06:15:54:453884:

Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: none → r3.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

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.