Bug 2174857
Summary: | nmstatectl service do not support "capture" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Quique Llorente <ellorent> |
Component: | nmstate | Assignee: | Gris Ge <fge> |
Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9.2 | CC: | ferferna, jiji, jishi, network-qe, sfaye, till |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-07 08:24:02 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
Quique Llorente
2023-03-02 14:06:51 UTC
Patch posted to upstream: https://github.com/nmstate/nmstate/pull/2264 To test this: * Create dummy interface with iproute or nmstate. * Store below content as /etc/nmstate/remove_dummy_iface.yml ```yml capture: dummy_iface: interfaces.type == "dummy" desired: interfaces: - name: "{{ capture.dummy_iface.interfaces.0.name }}" state: absent ``` * The dummy interface should be removed after `systemctl start nmstate`. Verified with: nmstate-2.2.9-1.el9.x86_64 nispor-1.2.10-1.el9.x86_64 NetworkManager-1.43.6-1.el9.x86_64 DISTRO=RHEL-9.3.0-20230423.30 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:6323 |