CI: undercloud install fails in ovb jobs because no env is provided by te-broker

Bug #1614475 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

+ NET_CONFIG='{"network_config": [{"ovs_extra": ["br-set-external-id br-ctlplane bridge-id br-ctlplane"], "type": "ovs_bridge", "addresses": [{"ip_netmask": "192.0.2.1/24"}], "members": [{"type": "interface", "primary": "true", "name": "eth1"}], "name": "br-ctlplane"}]}'
 + '[' -n '{"network_config": [{"ovs_extra": ["br-set-external-id br-ctlplane bridge-id br-ctlplane"], "type": "ovs_bridge", "addresses": [{"ip_netmask": "192.0.2.1/24"}], "members": [{"type": "interface", "primary": "true", "name": "eth1"}], "name": "br-ctlplane"}]}' ']'
 + trap configure_safe_defaults EXIT
 + os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
[2016/08/18 04:00:03 AM] [INFO] Using config file at: /etc/os-net-config/config.json
[2016/08/18 04:00:03 AM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml
[2016/08/18 04:00:03 AM] [INFO] Ifcfg net config provider created.
[2016/08/18 04:00:03 AM] [INFO] nic1 mapped to: eth0
[2016/08/18 04:00:03 AM] [INFO] adding bridge: br-ctlplane
[2016/08/18 04:00:03 AM] [ERROR] Unable to read mac address: eth1
Traceback (most recent call last):
  File "/usr/bin/os-net-config", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 185, in main
    provider.add_object(obj)
  File "/usr/lib/python2.7/site-packages/os_net_config/__init__.py", line 57, in add_object
    self.add_bridge(obj)
  File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line 366, in add_bridge
    data = self._add_common(bridge)
  File "/usr/lib/python2.7/site-packages/os_net_config/impl_ifcfg.py", line 155, in _add_common
    mac = utils.interface_mac(base_opt.primary_interface_name)
  File "/usr/lib/python2.7/site-packages/os_net_config/utils.py", line 53, in interface_mac
    with open('/sys/class/net/%s/address' % name, 'r') as f:
IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
+ RETVAL=1
+ [[ 1 == 2 ]]
+ [[ 1 != 0 ]]
+ echo 'ERROR: os-net-config configuration failed.'
ERROR: os-net-config configuration failed.
+ exit 1

Failures were created by changes in tenants credentials on rh1:
https://github.com/openstack-infra/system-config/commit/398c082c1fc9f40b9369d4236bd56c519d07cdee

Affects: all ovb-ha and ovb-nonha jobs

Tags: ci
summary: - CI: undercloud install fails in HA jobs because no eth1 was found
+ CI: undercloud install fails in ovb jobs because no eth1 was found
description: updated
Changed in tripleo:
status: New → Confirmed
importance: Undecided → Critical
summary: - CI: undercloud install fails in ovb jobs because no eth1 was found
+ CI: undercloud install fails in ovb jobs because no env is provided by
+ te-broker
description: updated
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
tags: removed: alert
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

Reconfigured locally on the cloud

Changed in tripleo:
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
Changed in tripleo:
status: Fix Committed → 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.