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 1604060 - Introducing new parameters to the vdo config file breaks compatability with RHEL7.5
Summary: Introducing new parameters to the vdo config file breaks compatability with R...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: vdo
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Joe Shimkus
QA Contact: Jakub Krysl
URL:
Whiteboard:
Depends On:
Blocks: 1604122 1619603
TreeView+ depends on / blocked
 
Reported: 2018-07-19 20:52 UTC by corwin
Modified: 2019-03-06 02:06 UTC (History)
5 users (show)

Fixed In Version: 6.1.1.117
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1604122 1619603 (view as bug list)
Environment:
Last Closed: 2018-10-30 09:40:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3094 0 None None None 2018-10-30 09:40:40 UTC

Description corwin 2018-07-19 20:52:28 UTC
Description of problem:

The vdo script's config file parsing is overly restrictive in that adding any new
fields will cause old versions of the script to reject the entire file. In any scenario which involves making VDO devices on RHEL7.5, upgrading the OS to a later version, and then later moving back to RHEL7.5 can encounter a problem.
These issues can occur in one of two ways:

Modifying the configuring of an existing volume with a newer vdo script, or creating new volumes with the newer script. Although we don't expect the old script to be able to manage newer volumes, this would also prevent managing the older volumes.


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

vdo-6.1.1.111


How reproducible:

Currently, there is no way to induce this problem. Once there is a change to the set of parameters in the vdo config file, this is 100% reproducable.

Steps to Reproduce:
1. Make a VDO volume on RHEL7.5
2. Move the volume and config file to a RHEL7.6 host (or upgrade the existing host).
3. Create a new VDO volume
4. Move the volume and config file back to a RHEL7.5 host (or downgrade the existing host).
5. Attempt to start the old volume.

Actual results:

vdo script fails to read the config file

Expected results:

vdo script correctly starts the old volume

Additional info:

Comment 2 Joe Shimkus 2018-07-26 12:51:18 UTC
Ignores (but preserves) unrecognized entries in the config file.

Comment 6 Jakub Krysl 2018-09-04 13:00:26 UTC
Tested with vdo-6.1.1.120-3.el7:

Adding line to /etc/vdoconf.yml (not breaking formatting, just adding new values) no longer prevents vdo from starting.

Comment 8 errata-xmlrpc 2018-10-30 09:40:03 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, 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-2018:3094


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