Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1494639

Summary: Remove documentation for removed vdo command options.
Product: Red Hat Enterprise Linux 7 Reporter: Joe Shimkus <jshimkus>
Component: doc-Storage_Administration_GuideAssignee: Marek Suchánek <msuchane>
Status: CLOSED CURRENTRELEASE QA Contact: Zhang Kexin <kzhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: jshimkus, rhel-docs
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-10 18:25:15 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:
Bug Depends On:    
Bug Blocks: 1495322, 1552784    
Attachments:
Description Flags
vdo man page
none
vdostats man page none

Description Joe Shimkus 2017-09-22 17:38:02 UTC
Describe the issue: 
Changes to the vdo management command (vdo) include the removal of the following command options:

    --albireoBinaryPath
    --mdRaid5Mode
    --port
    --upgrade
    --syslog

Suggestions for improvement: 
References to and descriptions of the affected options should be removed from the documentation.

Comment 2 Joe Shimkus 2017-10-18 13:38:03 UTC
Additional options have been removed from the vdo management command (vdo):
  --customFile
  --initializeBlockMap

References to these should be removed from the documentation.
Note that, for --initializeBlockMap, this change supersedes that described in Bugzilla #1494645.

Comment 3 Joe Shimkus 2017-10-18 15:08:15 UTC
Further options that have been removed from the vdo management command (vdo).
Any references in Bugzilla prior to the date of this comment are superseded.

--albireoIndexDir
--albireoSize
--lvIndex
--lvVdo
--vdoPhysicalSize
--address

Comment 4 Marek Suchánek 2017-11-16 18:09:15 UTC
Thanks.

I'm setting this bug as a blocker for the VDO docs tracking bug.

Comment 5 Marek Suchánek 2018-02-06 13:33:57 UTC
All the options listed in previous comments should now be deleted from the VDO Integration Guide.

Preview of the documentation:
https://access.qa.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/storage_administration_guide/#VDO-integration

Joe, can you please check that the documentation lists no other removed options?

Comment 6 Joe Shimkus 2018-02-06 15:24:11 UTC
Created attachment 1392158 [details]
vdo man page

Comment 7 Joe Shimkus 2018-02-06 15:26:38 UTC
Resulting from qa requests the format of the vdo command has changed.
Additionally, "Section 29.7.1 vdo" does not list some of the commands that are provided by vdo. 

I have attached a .pdf of the man page generated for vdo as a reference.

Comment 8 Joe Shimkus 2018-02-06 16:28:28 UTC
There are some additional issues with individual commands; e.g., the --activate option for create takes a value (enabled | disabled) rather than being a boolean.  Also, --device and --indexMem are missing from create's description.

The enable/disable commands have been renamed as activate/deactivate.
The status command is missing --verbose.

As painful as it might be, I'm going to suggest going through the .pdf I attached and cross-referencing or (maybe) copy-paste. :-)

Comment 9 Joe Shimkus 2018-02-06 16:31:35 UTC
Created attachment 1392199 [details]
vdostats man page

Adding the vdostats man page as additional reference.

Comment 10 Marek Suchánek 2018-02-06 19:22:29 UTC
Thanks for the comments; I'm fixing the issues right now.

Our general rule in cases like this is to keep references like section 29.7 just in man pages to avoid duplication. I'm fine with keeping the reference up to date until all the information has been included in the man page, but after that, it would be much more maintainable to rely just on the man page and delete 29.7.

Do you think we could eventually do that? In other words, how complete is the man page now? It looks pretty comprehensive to me.

Of course, it's still important to fix the command and option names because of other parts of the documentation that reference them.

Comment 11 Joe Shimkus 2018-02-06 20:25:16 UTC
The man pages are (barring oversight) complete.  So, relying on the man page would be reasonable.

Comment 12 Marek Suchánek 2018-02-08 13:16:25 UTC
That's great to hear. I'm going to discuss with Andy Walsh if/when we can remove the reference. I'm keeping it in place until then.

Comment 13 Marek Suchánek 2018-08-10 18:25:15 UTC
I've compared the commands reference section with what's in the man page on my RHEL 7.5 and fixed a couple of inconsistencies. See the following commit for details:
https://gitlab.cee.redhat.com/red-hat-enterprise-linux-documentation/doc-Red_Hat_Enterprise_Linux-7-Storage_Administration_Guide/commit/bc066f775df71e477c42ac9ce83f14bd00ce31ca

I think I can close this bug now.

You can find the published content here:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/vdo-ig-commands