Description of problem: nmstate version out of date in CNV. There are some bug fixes that have been fixed in nmstate-1.0.2-11 and in our environments we have 1.0.2-5. This came up from our issue when trying to create a bridge on a bond defined with fail_over_mac option activated, we fail with an error (we don't specify any MAC address). This issue has been fixed from version nmstate-1.0.2-11. Version-Release number of selected component (if applicable): nmstate-1.0.2-5.el8 How reproducible: Always Steps to Reproduce: 1. Create bond defined with fail_over_mac activated (attached yaml - adjust accordingly to worker and slaves) > oc apply -f bond-fail-over-mac.yaml 2. Create bridge on the bond defined (attached yaml - adjust accordingly to worker) > oc apply -f bridge-on-bond.yaml Actual results: libnmstate.error.NmstateValueError: MAC address cannot be specified in bond interface along with fail_over_mac active on active backup mode ' Reason: FailedToConfigure (oc describe nnce <NNCE_NAME>) Expected results: Configures Successfuly (oc get nncp <nncp_name>) Additional info: * How to check for nmstate version in the cluster: 1. `oc exec -it -n openshift-cnv <nmstate-handler-pod-name> bash` 2. Once in bash: `rpm -qi nmstate` Output: Name : nmstate Version : 1.0.2 Release : 5.el8 * Same scenario as in bug: https://bugzilla.redhat.com/show_bug.cgi?id=1896619 which now has been fixed.
Created attachment 1790690 [details] bond-fail-over-mac.yaml
Created attachment 1790691 [details] bridge-on-bond
Verified the scenario with the nmstate and nmstate-handler version needed: Name : nmstate Version : 1.0.2 Release : 11.el8_4 nmstate-handler version is: v4.8.1-2 Scenario checked: 1. Created bond with fail_over_mac option activated (From attached yaml - adjusted node and slaves. Added MTU 1400) 2. Created bridge on bond (From attached yaml - adjusted node) 3. Verified both have been SuccessfullyConfigured.
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 (Moderate: OpenShift Virtualization 4.8.1 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3259