From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has posted comments on this change.
Change subject: net: getIfaceCfg: logging a warning on missing ifcfg file
......................................................................
Patch Set 20:
# python -c 'from vdsm.network.netinfo.misc import getIfaceCfg;print
getIfaceCfg("eths0")'
ERROR:root:error reading ifcfg file /etc/sysconfig/network-scripts/ifcfg-eths0
Traceback (most recent call last):
File "vdsm/network/netinfo/misc.py", line 43, in ifcfg_config
with open(ifcfg_file) as f:
IOError: [Errno 2] No such file or directory:
'/etc/sysconfig/network-scripts/ifcfg-eths0'
{}
--
To view, visit
https://gerrit.ovirt.org/66320
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I1fc3b58e99e4e045e6f2b1b6afe75fd46a48d0c5
Gerrit-PatchSet: 20
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Leon Goldberg <lgoldber(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Leon Goldberg <lgoldber(a)redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda(a)redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
Gerrit-HasComments: No