Bug 2053100
Summary: | nmstate rust removes untouched keys under `ovs-db` | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Mingyu Shi <mshi> |
Component: | nmstate | Assignee: | Gris Ge <fge> |
Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9.1 | CC: | ferferna, jiji, jishi, network-qe, sfaye, till |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 07:30:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mingyu Shi
2022-02-10 14:31:31 UTC
Change to RHEL 9 and targeting 9.2 Patch posted to upstream: https://github.com/nmstate/nmstate/pull/2015 Allowing partial editing on ovs-db global config: * Merging desire from current. * Will remove all ovs-db global configure for `ovs-db: {}`. * To remove single entry, use `foo: null` in yaml. Pretested nmstate-2.2.0-0.20220824093819832661.pr2015.11.g225cf980.el9.x86_64 NetworkManager-1.39.90-1.el9.x86_64 The only difference, or improvement, is that the value of `ovs-db.other_config.foo` cannot be integer in the python version, while the rust version can automatically convert integer 1 to string "1" and make it work. Verified with: nmstate-2.2.0-0.alpha.20221014.el9.x86_64 NetworkManager-1.40.0-1.el9.x86_64 openvswitch2.15-2.15.0-72.el9fdp.x86_64 Linux dell-per740-79.rhts.eng.pek2.redhat.com 5.14.0-176.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 12 05:23:43 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux DISTRO=RHEL-9.2.0-20221016.3 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/RHBA-2023:2190 |