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
2021-06-16 13:11:42 UTC
Description of problem:
Creating a bond with "mode: balance-tl" and then creating a bridge in top of it returns the following error
libnmstate.error.NmstateLibnmError: Update profile uuid:d477a859-2497-429a-a8ad-57a78fb480af iface:bond3 type:bond failed with error=nm-connection-error-quark: bond.options: invalid value 'True' for option 'tlb_dynamic_lb' (7)
Version-Release number of selected component (if applicable):
nmstate 1.0.2
NetworkManager 1.30.0
libnm 1.30.0
How reproducible: Always
Steps to Reproduce:
nmstatectl set << EOF
interfaces:
- name: eth1
state: up
type: ethernet
- name: eth2
state: up
type: ethernet
- ipv4:
dhcp: false
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: balance-tlb
options:
miimon: "120"
slaves:
- eth1
- eth2
name: bond3
state: up
type: bond
EOF
nmstatectl set << EOF
interfaces:
- bridge:
options:
stp:
enabled: false
port:
- name: bond3
ipv4:
dhcp: false
enabled: false
ipv6:
enabled: false
name: br1bond
state: up
type: linux-bridge
EOF
Actual results:
Returning a failure
Expected results:
Not returning any failure
Additional info:
On nmstate master this is working fine
Doing it at one go works fine with 1.0.2
nmstatectl set << EOF
interfaces:
- name: eth1
state: up
type: ethernet
- name: eth2
state: up
type: ethernet
- ipv4:
dhcp: false
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: balance-tlb
options:
miimon: "120"
slaves:
- eth1
- eth2
name: bond3
state: up
type: bond
- bridge:
options:
stp:
enabled: false
port:
- name: bond3
ipv4:
dhcp: false
enabled: false
ipv6:
enabled: false
name: br1bond
state: up
type: linux-bridge
EOF
(In reply to Mingyu Shi from comment #1)
> Is this possible a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1892569 ?
> It now works fine with the latest versions:
> nmstate-1.0.2-11.el8_4.noarch and nmstate-1.1.0-0.3.alpha3.el8.noarch
Yep, it looks exactly the same.
Comment 3Fernando F. Mancera
2021-06-22 00:38:59 UTC
This is already fixed, the bug is duplicated. Please if you continue getting the same error re-open the existing bugzilla ticket. Thanks!
*** This bug has been marked as a duplicate of bug 1892569 ***
Description of problem: Creating a bond with "mode: balance-tl" and then creating a bridge in top of it returns the following error libnmstate.error.NmstateLibnmError: Update profile uuid:d477a859-2497-429a-a8ad-57a78fb480af iface:bond3 type:bond failed with error=nm-connection-error-quark: bond.options: invalid value 'True' for option 'tlb_dynamic_lb' (7) Version-Release number of selected component (if applicable): nmstate 1.0.2 NetworkManager 1.30.0 libnm 1.30.0 How reproducible: Always Steps to Reproduce: nmstatectl set << EOF interfaces: - name: eth1 state: up type: ethernet - name: eth2 state: up type: ethernet - ipv4: dhcp: false enabled: false ipv6: enabled: false link-aggregation: mode: balance-tlb options: miimon: "120" slaves: - eth1 - eth2 name: bond3 state: up type: bond EOF nmstatectl set << EOF interfaces: - bridge: options: stp: enabled: false port: - name: bond3 ipv4: dhcp: false enabled: false ipv6: enabled: false name: br1bond state: up type: linux-bridge EOF Actual results: Returning a failure Expected results: Not returning any failure Additional info: On nmstate master this is working fine Doing it at one go works fine with 1.0.2 nmstatectl set << EOF interfaces: - name: eth1 state: up type: ethernet - name: eth2 state: up type: ethernet - ipv4: dhcp: false enabled: false ipv6: enabled: false link-aggregation: mode: balance-tlb options: miimon: "120" slaves: - eth1 - eth2 name: bond3 state: up type: bond - bridge: options: stp: enabled: false port: - name: bond3 ipv4: dhcp: false enabled: false ipv6: enabled: false name: br1bond state: up type: linux-bridge EOF