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.
DescriptionQuique Llorente
2022-06-06 12:22:17 UTC
Description of problem:
At an scenario with one bond with static IPv6 addresses and vlan on top of it and bridge on top of the vlan, if after the bridge is created at unmanaged interface is attached, a veth for example, if later on the state is re-apply the veth is detached from the bridge.
Version-Release number of selected component (if applicable):
- nmstate-1.0.2-18
- NetworkManager-1.30.0-14.el8_4.x86_64
- NetworkManager-libnm-1.30.0-14.el8_4.x86_64
How reproducible:
Steps to Reproduce:
1. apply the state
interfaces:
- description: Bond connection enslaving ens3f0 and ens3f1
ipv4:
enabled: false
ipv6:
address:
- ip: fe80::63f:72ff:fef2:f572
prefix-length: 64
- ip: fd8c:215d:178e:c0de:63f:72ff:fef2:f572
prefix-length: 64
autoconf: false
dhcp: false
enabled: true
link-aggregation:
mode: 802.3ad
options:
lacp_rate: "1"
miimon: "140"
xmit_hash_policy: "1"
slaves:
- eth1
- eth2
mtu: 9000
name: bond1
state: up
type: bond
- description: vlan 3201 interface connection on top of bond1
mtu: 9000
name: bond1.3201
state: up
type: vlan
vlan:
base-iface: bond1
id: 3201
- bridge:
options:
stp:
enabled: false
port:
- name: bond1.3201
vlan:
mode: trunk
trunk-tags:
- id-range:
max: 4094
min: 2
description: Linux bridge
name: br3201
state: up
type: linux-bridge
2. Create veth pair
ip link add dev vethfoo1 type veth peer name vethfoo2
3. Attach the veth to the bridge
ip link set dev vethfoo1 master br3201
4. Re apply the state from step 1
Actual results:
Bridge br3201 no longer contains the veth port
Expected results:
The veth port has to be kept even if it's unmanaged
Additional info:
NOT reproducible upstream with nmstate-1.2.1-1.el8.x86_64 or nmstate-1.0.2-6.el8.noarch versions
and NetworkManager-1.30.0-0.7.el8.x86_64
OCP 4.8 and OCP 4.9 use the same nmstate and NetworkManager version but at OCP 4.9 veth is not detached
This is the NetworkManager configuration difference between them
[ellorent@hades01 ocp]$ diff -urN ocp-4.8-nm.cfg ocp-4.9-nm.cfg
--- ocp-4.8-nm.cfg 2022-06-07 09:23:54.619577797 +0300
+++ ocp-4.9-nm.cfg 2022-06-07 09:24:23.556832399 +0300
@@ -92,15 +92,6 @@
grep -q "dhcp4-change" /etc/NetworkManager/dispatcher.d/20-chrony-dhcp && \
exit 0
-# If a dhclient installation is present, avoid a redundant operation
-# if dhclient handles NTP server config through its own chrony config script,
-# exec'ed by NetworkManager's 11-dhclient dispatcher script.
-# In RHCOS, 11-dhclient is excluded and not shipped with base image.
-[ -e /usr/sbin/dhclient ] && \
- [ -e /etc/dhcp/dhclient.d/chrony.sh ] && \
- [ -e /etc/NetworkManager/dispatcher.d/11-dhclient -o -e /usr/lib/NetworkManager/dispatcher.d/11-dhclient ] && \
- exit 0
-
interface=$1
action=$2
@@ -172,8 +163,8 @@
if [ "$IP" != "" ] ; then
grep -q $IP /etc/resolv.conf
if [ "$?" != "0" ] ; then
- sed -i 's/bz.qinqon.com//' /etc/resolv.conf
- sed -i 's/search /search bz.qinqon.com /' /etc/resolv.conf
+ sed -i 's/bz-4.9.qinqon.com//' /etc/resolv.conf
+ sed -i 's/search /search bz-4.9.qinqon.com /' /etc/resolv.conf
sed -i "/nameserver.* # coredns/d" /etc/resolv.conf
sed -i "0,/nameserver/s/nameserver/nameserver $IP #coredns\n&/" /etc/resolv.conf
fi
(In reply to Gris Ge from comment #2)
> CNV engineer confirmed this is due to outdated CNV build, and we are waiting
> customer's feedback for that.
>
> Please check https://bugzilla.redhat.com/show_bug.cgi?id=2092355#c44 for
> detail.
The comment referenced (#c44) in your link does not exist in that bug. The final comment (#c14) is from Petr Horáček in which it is stated to never mind the comment above (#c13) so there is no customer feedback needed here currently correct?
Closing this bug as there is no action required from nmstate side and I got approval on bug closure from
Petr Horacek.
Meanwhile, the original customer bug 2092355 is in VERIFY state.
Please feel free to re-open if you need more assistance.
Description of problem: At an scenario with one bond with static IPv6 addresses and vlan on top of it and bridge on top of the vlan, if after the bridge is created at unmanaged interface is attached, a veth for example, if later on the state is re-apply the veth is detached from the bridge. Version-Release number of selected component (if applicable): - nmstate-1.0.2-18 - NetworkManager-1.30.0-14.el8_4.x86_64 - NetworkManager-libnm-1.30.0-14.el8_4.x86_64 How reproducible: Steps to Reproduce: 1. apply the state interfaces: - description: Bond connection enslaving ens3f0 and ens3f1 ipv4: enabled: false ipv6: address: - ip: fe80::63f:72ff:fef2:f572 prefix-length: 64 - ip: fd8c:215d:178e:c0de:63f:72ff:fef2:f572 prefix-length: 64 autoconf: false dhcp: false enabled: true link-aggregation: mode: 802.3ad options: lacp_rate: "1" miimon: "140" xmit_hash_policy: "1" slaves: - eth1 - eth2 mtu: 9000 name: bond1 state: up type: bond - description: vlan 3201 interface connection on top of bond1 mtu: 9000 name: bond1.3201 state: up type: vlan vlan: base-iface: bond1 id: 3201 - bridge: options: stp: enabled: false port: - name: bond1.3201 vlan: mode: trunk trunk-tags: - id-range: max: 4094 min: 2 description: Linux bridge name: br3201 state: up type: linux-bridge 2. Create veth pair ip link add dev vethfoo1 type veth peer name vethfoo2 3. Attach the veth to the bridge ip link set dev vethfoo1 master br3201 4. Re apply the state from step 1 Actual results: Bridge br3201 no longer contains the veth port Expected results: The veth port has to be kept even if it's unmanaged Additional info: NOT reproducible upstream with nmstate-1.2.1-1.el8.x86_64 or nmstate-1.0.2-6.el8.noarch versions and NetworkManager-1.30.0-0.7.el8.x86_64 OCP 4.8 and OCP 4.9 use the same nmstate and NetworkManager version but at OCP 4.9 veth is not detached This is the NetworkManager configuration difference between them [ellorent@hades01 ocp]$ diff -urN ocp-4.8-nm.cfg ocp-4.9-nm.cfg --- ocp-4.8-nm.cfg 2022-06-07 09:23:54.619577797 +0300 +++ ocp-4.9-nm.cfg 2022-06-07 09:24:23.556832399 +0300 @@ -92,15 +92,6 @@ grep -q "dhcp4-change" /etc/NetworkManager/dispatcher.d/20-chrony-dhcp && \ exit 0 -# If a dhclient installation is present, avoid a redundant operation -# if dhclient handles NTP server config through its own chrony config script, -# exec'ed by NetworkManager's 11-dhclient dispatcher script. -# In RHCOS, 11-dhclient is excluded and not shipped with base image. -[ -e /usr/sbin/dhclient ] && \ - [ -e /etc/dhcp/dhclient.d/chrony.sh ] && \ - [ -e /etc/NetworkManager/dispatcher.d/11-dhclient -o -e /usr/lib/NetworkManager/dispatcher.d/11-dhclient ] && \ - exit 0 - interface=$1 action=$2 @@ -172,8 +163,8 @@ if [ "$IP" != "" ] ; then grep -q $IP /etc/resolv.conf if [ "$?" != "0" ] ; then - sed -i 's/bz.qinqon.com//' /etc/resolv.conf - sed -i 's/search /search bz.qinqon.com /' /etc/resolv.conf + sed -i 's/bz-4.9.qinqon.com//' /etc/resolv.conf + sed -i 's/search /search bz-4.9.qinqon.com /' /etc/resolv.conf sed -i "/nameserver.* # coredns/d" /etc/resolv.conf sed -i "0,/nameserver/s/nameserver/nameserver $IP #coredns\n&/" /etc/resolv.conf fi