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 1817925 - RFE: Differentiate running config and saved config
Summary: RFE: Differentiate running config and saved config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On: 1913544
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 08:58 UTC by Gris Ge
Modified: 2023-09-15 01:29 UTC (History)
10 users (show)

Fixed In Version: nmstate-1.0.1-0.1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:16:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 1419 0 None closed query: new function for showing running config 2021-01-05 12:18:04 UTC
Github nmstate nmstate pull 1420 0 None open query: new function for showing saved config 2021-01-05 12:18:06 UTC

Description Gris Ge 2020-03-27 08:58:11 UTC
Description of problem:

The system could have:
 * Running network state.
 * Running config for above state.
 * Saved config to be effective after reboot.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Till Maas 2020-04-22 19:33:36 UTC
Is this about reporting? Setting different configs is handled in bug 1756687, isn't it?

Comment 3 Gris Ge 2020-04-24 14:47:18 UTC
(In reply to Till Maas from comment #2)
> Is this about reporting? Setting different configs is handled in bug
> 1756687, isn't it?

Yes. It's for network state querying.

Comment 5 Gris Ge 2020-11-18 10:23:04 UTC
Hi Dan,

I have posted the patch to upstream for this feature.

You may try it via:

dnf copr enable packit/nmstate-nmstate-1420
dnf install nmstate


For running config: `nmstatectl show eth1 -r` or `libnmstate.show_running_config()`.
For saved config: `nmstatectl show eth1 -s` or `libnmstate.show_saved_config()`.

The running config is holding activated configuration.
The saved config is holding start-up configuration.

Comment 6 Dan Kenigsberg 2020-11-18 11:29:42 UTC
Thanks. I'll have to ask @ellorent and @dholler to test usability of this in knmstate and vdsm, respectively.

Comment 7 Ales Musil 2020-12-01 11:29:31 UTC
For RHV, the most useful would be to have running that really reflects state of the host. We have our own persistence so saved is not that useful for us.

Comment 8 Gris Ge 2020-12-01 11:59:22 UTC
The reason to have saved config is nmstate support memory only profile, we need a way to detect the save(on-boot) config.

Comment 14 errata-xmlrpc 2021-05-18 15:16:54 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/RHBA-2021:1748

Comment 15 Mingyu Shi 2022-05-23 03:24:41 UTC
The --saved-config is dropped in https://bugzilla.redhat.com/show_bug.cgi?id=1913544
Only --running-config is implemented.

Comment 16 Red Hat Bugzilla 2023-09-15 01:29:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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