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.
Bug 2040305 - Nmstate rust should support ovsdb actions
Summary: Nmstate rust should support ovsdb actions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.6
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 12:31 UTC by Gris Ge
Modified: 2023-01-12 10:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 13:34:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/nmstate nmstate pull 1784 0 None None None 2022-01-18 07:50:07 UTC
Red Hat Issue Tracker RHELPLAN-107836 0 None None None 2022-01-13 12:35:07 UTC
Red Hat Product Errata RHEA-2022:1772 0 None None None 2022-05-10 13:35:11 UTC

Description Gris Ge 2022-01-13 12:31:42 UTC
Description of problem:

The nmstate rust should support the same feature supported by python one:
 * Interface level ovsdb external_ids modification.

---
interfaces:
- name: br0
  type: ovs-bridge
  state: up
  bridge:
    port:
    - name: ovs0
    - name: eth1
  ovs-db:
    external_ids:
      gris: 10
- name: eth1
  type: ethernet
  state: up
  ovs-db:
    external_ids:
      gris: abc
- name: ovs0
  type: ovs-interface
  state: up
  ovs-db:
    external_ids:
      gris: abc

 * Global external_ids and other_config modification.

ovs-db:
  external_ids:
    hostname: el8
    ovn-bridge-mappings: provider:br-provider
    ovn-remote: "1"
    rundir: /var/run/openvswitch
    system-id: 0c773599-80ac-450b-85f3-ff71192743cf
  other_config:
    stats-update-interval: "10000"

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fernando F. Mancera 2022-01-27 10:36:41 UTC
I have tested this with nmstate-rust. It is working fine, I didn't find any regression.

Comment 4 Mingyu Shi 2022-02-10 15:53:04 UTC
Verified with versions:
nmstate-1.2.1-0.2.alpha2.el8.x86_64
nispor-1.2.3-1.el8.x86_64
NetworkManager-1.36.0-0.7.el8.x86_64
openvswitch2.15-2.15.0-70.el8fdp.x86_64

The feature implemented, but there are some issues when compared the behavior with nmstate python, refer to:
https://bugzilla.redhat.com/show_bug.cgi?id=2053150
https://bugzilla.redhat.com/show_bug.cgi?id=2053100

Comment 6 errata-xmlrpc 2022-05-10 13:34:48 UTC
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 (nmstate bug fix and enhancement 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/RHEA-2022:1772


Note You need to log in before you can comment on or make changes to this bug.