SM :: R4.0.1.0 ubuntu 16.04 11 Ocata :: preconfig.sh script fails while SMLite provisioning.

Bug #1712342 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Released
High
Abhay Joshi
R4.0
Fix Released
High
Abhay Joshi

Bug Description

preconfig.py script fails while using SMLite provisioning for ocata.

----> Pre provision checks to make sure setup is ready for contrail provisioning
Configuring => nodei20
Traceback (most recent call last):
  File "/opt/contrail/server_manager/client/preconfig.py", line 563, in <module>
    Utils.preconfig(args)
  File "/opt/contrail/server_manager/client/preconfig.py", line 92, in preconfig
    hostobj.preconfig()
  File "/opt/contrail/server_manager/client/preconfig.py", line 259, in preconfig
    self.setup_interface()
  File "/opt/contrail/server_manager/client/preconfig.py", line 444, in setup_interface
    self.exec_setup_interface(iface_info)
  File "/opt/contrail/server_manager/client/preconfig.py", line 400, in exec_setup_interface
    'Iface Info (%s)' % iface_info)
RuntimeError: Setup Interface failed for Iface Info ({u'bond_options': {u'miimon': u'100', u'mode': u'802.3ad', u'xmit_hash_policy': u'layer3+4'}, u'type': u'bond', u'ip_address': u'192.168.100.16/24', u'name': u'bond0', u'member_interfaces': [u'em2', u'p6p1', u'p6p2']})
root@nodei17:/opt/contrail/contrail_server_manager#

information type: Proprietary → Public
Changed in juniperopenstack:
milestone: r4.0.1.0 → r4.1.0.0-fcs
Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: nobody → Nitish Krishna Kaveri (nitishk)
importance: Critical → High
Changed in juniperopenstack:
assignee: Nitish Krishna Kaveri (nitishk) → Ramprakash R (ramprakash)
Revision history for this message
Abhay Joshi (abhayj) wrote :

Please provide setup details in failed state to look into this.

Changed in juniperopenstack:
status: New → Incomplete
assignee: Ramprakash R (ramprakash) → Ritam Gangopadhyay (ritam)
Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

These commits fixes the issue.

https://review.opencontrail.org/#/c/34784/
https://review.opencontrail.org/#/c/34713/

ifenslave 2.6, ethtool, python-netaddr are the libraries needed to configure interfaces. Setup was provided and fix was comitted and verified in build 15.

Changed in juniperopenstack:
assignee: Ritam Gangopadhyay (ritam) → Abhay Joshi (abhayj)
status: Incomplete → Fix Released
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.