diff options
author | Ben Nemec <bnemec@redhat.com> | 2016-04-12 15:34:15 +0000 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2016-04-12 15:34:15 +0000 |
commit | 2af4ee4b873b30d56c24cf1dfcad7bfabfedab37 (patch) | |
tree | ae99743fd916efdf78f80ae4d5121b4efbe6065e /etc/os-net-config/samples/bond.yaml | |
parent | 1134091ff1a6a0fc9f8dc6fe4d70bf0274728fdd (diff) |
Normalize operstate value for interfaces
The previous check for an interface operstate only looked for the
literal "UP" in caps, but in my environments I'm seeing operstate
returned as "up" in lower-case, which causes the _is_active_nic
check to fail incorrectly. Example:
[root@overcloud-controller-0 heat-admin]# cat /sys/class/net/eth0/operstate
up
In this environment os-net-config is failing with the exception
in the linked bug.
Change-Id: I85c2d074ce43673c691523ca146ff7cdfdf1c7ca
Closes-Bug: 1569403
Diffstat (limited to 'etc/os-net-config/samples/bond.yaml')
0 files changed, 0 insertions, 0 deletions