Bug 1313099

Summary: During deployment, notice both compute and controller node is reporting nic3 address error
Product: Red Hat OpenStack Reporter: bigswitch <rhosp-bugs-internal>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED NOTABUG QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: dbecker, mburns, morazi, rhel-osp-director-maint, sbaker, shardy, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-29 23:59:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description bigswitch 2016-02-29 23:54:22 UTC
Description of problem:
During installation of rhosp8 with beta7, notice on both controller and compute nodes that it is reporting nic3 address error. yaml file has nic2 as ctrplane and nic3 and nic4 as bonded. The bond interface is up though

Version-Release number of selected component (if applicable):
rhosp 8 beta 7

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:
Feb 29 18:30:20 localhost os-collect-config: Traceback (most recent call last):
Feb 29 18:30:20 localhost os-collect-config: File "/usr/bin/os-net-config", line 10, in <module>
Feb 29 18:30:20 localhost os-collect-config: sys.exit(main())
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 185, in main
Feb 29 18:30:20 localhost os-collect-config: provider.add_object(obj)
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line 54, in add_object
Feb 29 18:30:20 localhost os-collect-config: self.add_object(member)
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line 64, in add_object
Feb 29 18:30:20 localhost os-collect-config: self.add_linux_bond(obj)
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line 296, in add_linux_bond
Feb 29 18:30:20 localhost os-collect-config: data = self._add_common(bond)
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line 148, in _add_common
Feb 29 18:30:20 localhost os-collect-config: primary_mac = utils.interface_mac(primary_name)
Feb 29 18:30:20 localhost os-collect-config: File "/usr/lib/python2.7/site-packages/os_net_config/utils.py", line 46, in interface_mac
Feb 29 18:30:20 localhost os-collect-config: with open('/sys/class/net/%s/address' % name, 'r') as f:
Feb 29 18:30:20 localhost os-collect-config: IOError: [Errno 2] No such file or directory: '/sys/class/net/nic3/address'
Feb 29 18:30:20 localhost os-collect-config: + RETVAL=1
Feb 29 18:30:20 localhost os-collect-config: + [[ 1 == 2 ]]
Feb 29 18:30:20 localhost os-collect-config: + [[ 1 != 0 ]]
Feb 29 18:30:20 localhost os-collect-config: + echo 'ERROR: os-net-config configuration failed.'


Expected results:


Additional info:

Comment 2 bigswitch 2016-02-29 23:59:21 UTC
known issue with linux bonding