[root@overcloud-controller-0 ~]# os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
[2017/02/20 02:25:21 PM] [INFO] Using config file at: /etc/os-net-config/config.json
[2017/02/20 02:25:21 PM] [INFO] Using mapping file at: /etc/os-net-config/mapping.yaml
[2017/02/20 02:25:21 PM] [INFO] Ifcfg net config provider created.
Traceback (most recent call last):
File "/bin/os-net-config", line 10, in <module>
File "/usr/lib/python2.7/site-packages/os_net_config/cli.py", line 157, in main
iface_array = yaml.load(cf.read()).get("network_config")
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.
both patches have merged to THT stable/ocata
Lukas is this a blocker for OSP11? Does it impact any important scenarios in major way?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.