os-net-config fails on empty config file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Lukas Bezdicka |
Bug Description
[root@overcloud
[2017/02/20 02:25:21 PM] [INFO] Using config file at: /etc/os-
[2017/02/20 02:25:21 PM] [INFO] Using mapping file at: /etc/os-
[2017/02/20 02:25:21 PM] [INFO] Ifcfg net config provider created.
Traceback (most recent call last):
File "/bin/os-
sys.
File "/usr/lib/
iface_array = yaml.load(
AttributeError: 'NoneType' object has no attribute 'get'
During minor update yum_update.sh always calls os-net-config unconditionally and sometimes fails on empty config.json file.
Fix proposed to branch: master /review. openstack. org/436023
Review: https:/