Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Every time
Steps to Reproduce:
1. Deploy OpenShift 4.7.11 using OVNKubernetes, using an Active-Backup bond using fail_over_mac="active".
2. Create a vlan or bridge using nmstate
Actual results:
Bridge and/or VLANs are not created. The error reported is the following:
message: |-
error reconciling NodeNetworkConfigurationPolicy at desired state apply: , failed to execute nmstatectl set --no-commit --timeout 480: 'exit status 1' '' '2021-05-25 19:04:05,614 root DEBUG Interface br-ex found. Merging the interface information.
2021-05-25 19:04:05,615 root DEBUG Interface br-int found. Merging the interface information.
2021-05-25 19:04:05,615 root DEBUG Interface br-local found. Merging the interface information.
Traceback (most recent call last):
File "/usr/bin/nmstatectl", line 11, in <module>
load_entry_point('nmstate==0.3.4', 'console_scripts', 'nmstatectl')()
File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 67, in main
return args.func(args)
File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 267, in apply
args.save_to_disk,
File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 289, in apply_state
save_to_disk=save_to_disk,
File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 71, in apply
net_state = NetState(desired_state, current_state, save_to_disk)
File "/usr/lib/python3.6/site-packages/libnmstate/net_state.py", line 40, in __init__
save_to_disk,
File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py", line 107, in __init__
iface.pre_edit_validation_and_cleanup()
File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/bond.py", line 88, in pre_edit_validation_and_cleanup
self._fix_mac_restriced_mode()
File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/bond.py", line 114, in _fix_mac_restriced_mode
"MAC address cannot be specified in bond interface along "
libnmstate.error.NmstateValueError: MAC address cannot be specified in bond interface along with fail_over_mac active on active backup mode
Expected results:
VLAN or bridge is created instead.
Additional info:
Interface created with:
spec:
desiredState:
interfaces:
- description: vlan interface per https://github.com/nmstate/kubernetes-nmstate/blob/master/docs/user-guide-policy-configure-vlan-and-dynamic-ip.md
name: bond1.415
state: up
type: vlan
vlan:
base-iface: bond1
id: 415
- bridge:
options:
stp:
enabled: false
port:
- name: bond1.415
description: Linux bridge with bond1 vlan 415 for non-routable BigIP-HA
name: bigip-ha
state: up
type: linux-bridge
nodeSelector:
node-role.kubernetes.io/load-balancer: ""
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Deploy OpenShift 4.7.11 using OVNKubernetes, using an Active-Backup bond using fail_over_mac="active". 2. Create a vlan or bridge using nmstate Actual results: Bridge and/or VLANs are not created. The error reported is the following: message: |- error reconciling NodeNetworkConfigurationPolicy at desired state apply: , failed to execute nmstatectl set --no-commit --timeout 480: 'exit status 1' '' '2021-05-25 19:04:05,614 root DEBUG Interface br-ex found. Merging the interface information. 2021-05-25 19:04:05,615 root DEBUG Interface br-int found. Merging the interface information. 2021-05-25 19:04:05,615 root DEBUG Interface br-local found. Merging the interface information. Traceback (most recent call last): File "/usr/bin/nmstatectl", line 11, in <module> load_entry_point('nmstate==0.3.4', 'console_scripts', 'nmstatectl')() File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 67, in main return args.func(args) File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 267, in apply args.save_to_disk, File "/usr/lib/python3.6/site-packages/nmstatectl/nmstatectl.py", line 289, in apply_state save_to_disk=save_to_disk, File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 71, in apply net_state = NetState(desired_state, current_state, save_to_disk) File "/usr/lib/python3.6/site-packages/libnmstate/net_state.py", line 40, in __init__ save_to_disk, File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py", line 107, in __init__ iface.pre_edit_validation_and_cleanup() File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/bond.py", line 88, in pre_edit_validation_and_cleanup self._fix_mac_restriced_mode() File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/bond.py", line 114, in _fix_mac_restriced_mode "MAC address cannot be specified in bond interface along " libnmstate.error.NmstateValueError: MAC address cannot be specified in bond interface along with fail_over_mac active on active backup mode Expected results: VLAN or bridge is created instead. Additional info: Interface created with: spec: desiredState: interfaces: - description: vlan interface per https://github.com/nmstate/kubernetes-nmstate/blob/master/docs/user-guide-policy-configure-vlan-and-dynamic-ip.md name: bond1.415 state: up type: vlan vlan: base-iface: bond1 id: 415 - bridge: options: stp: enabled: false port: - name: bond1.415 description: Linux bridge with bond1 vlan 415 for non-routable BigIP-HA name: bigip-ha state: up type: linux-bridge nodeSelector: node-role.kubernetes.io/load-balancer: ""