Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1093988

Summary: Generate vdsm-tool manual page
Product: [Retired] oVirt Reporter: Yaniv Bronhaim <ybronhei>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: adahms, bazulay, bugs, gklein, mgoldboi, rbalakri, ybronhei, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 13:48:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm-tool man page
none
full output none

Description Yaniv Bronhaim 2014-05-04 06:31:16 UTC
vdsm-tool provides various methods for admin user to configure Linux environment for vdsmd service. Currently it provides --help page which automatically generated from verbs comments. this can be used to provide basic manual page as well.

Comment 1 Andrew Dahms 2014-05-05 06:04:12 UTC
Hi Yaniv,

Thank you for creating this bug.

I have created a draft of the man page, and just need to smooth out a few details and formatting and I should be able to post a copy of it here for you.

I have one question about part of the content - who would you like me to add to the author group?

Let me know if you have a preference, and I will update the file and get it to you.

Kind regards,

Andrew

Comment 2 Yaniv Bronhaim 2014-05-05 09:20:28 UTC
It doesn't matter much, we will update it later or I'll comment on the patch itself when you post it

Comment 3 Andrew Dahms 2014-05-05 23:39:17 UTC
Created attachment 892728 [details]
vdsm-tool man page

Hi Yaniv,

Attached is the man page file for the vdsm-tool.

1. The text used is taken from the output for the command, which I have edited
   a little in some places to ensure overall consistency.

2. The man page type (1) reflects that of other, similar command line tools 
   such as vdsClient.

3. The copyright date and type are taken from the details in the vdsm-tool 
   source files.

4. The author group has been left blank for now, and contains only a 
   placeholder - <Author group>.

Please let me know if you have any questions!

Kind regards,

Andrew

Comment 4 Yaniv Bronhaim 2014-05-07 10:19:04 UTC
first, i just want to note that we intend to do more improvement to the tool arguments. such as -verbos and -logfile for the vdsm-tool call. those might require update. 

second, each subcommand, like configure, has its own parameters, which are not stated at all. if you call 'vdsm-tool configure -h' you should see it. maybe we should also add it in recursively for all command

Comment 5 Andrew Dahms 2014-05-08 00:08:52 UTC
Hi Yaniv,

Thank you for your feedback.

Understood - will there be a set date after which I can write up the finalized options for the tool?

For now, I will look into adding a description of each of the parameters for the options, and will upload the finished version when the work on the tool has finished up.

Thanks once again!

Kind regards,

Andrew

Comment 6 Yaniv Bronhaim 2014-05-12 05:42:12 UTC
Hey Andrew, 
No need for extra work! please hold.. we are currently working on few patches to improve the output. first I propose to patch in [1] and see the output. I attached it here.

we plan to take in also [2] which adds -v and -l to vdsm-tool root parameters.

[1] http://gerrit.ovirt.org/#/c/26575
[2] http://gerrit.ovirt.org/#/c/27481

take a look! it will be merged soon

Comment 7 Yaniv Bronhaim 2014-05-12 05:44:11 UTC
Created attachment 894550 [details]
full output

Comment 8 Andrew Dahms 2014-05-12 05:47:26 UTC
Hi Yaniv,

Thank you for the update!

Understood - thank you for posting the attachment! I will hold off on further changes for now, and will keep an eye on the two patches in Comment #6. 

Please let me know when you are ready for the man page file to be updated and I will work with the updated options for vdsm-tool. Otherwise, please me know if there is anything at all you would like me to do! :)

Kind regards,

Andrew

Comment 9 Yaniv Bronhaim 2014-05-22 09:20:48 UTC
Andrew, the documentation changes merged to master branch. please grab latest code and post a patch with updated manual page if possible

Comment 10 Andrew Dahms 2014-05-23 03:30:54 UTC
Hi Yaniv,

Thank you for the update!

Would you like me to post an actual patch to gerrit, or is it ok just to provide the man page as a file like my previous attachment?

I will get to work on updating the man page.

Kind regards,

Andrew

Comment 11 Andrew Dahms 2014-05-29 00:54:17 UTC
Hi Yaniv,

I have updated the man page and added the file to the make files and spec file so that the man page is now installed alongside the vdsm-python package.

The following oVirt gerrit contains the changes:

[1] http://gerrit.ovirt.org/#/c/28196/

Let me know if there is anything else I can do for you!

Kind regards,

Andrew

Comment 12 Yaniv Bronhaim 2014-05-29 13:12:57 UTC
thanks. under review

Comment 13 Jiri Belka 2014-09-25 09:59:54 UTC
ok

# rpm -qld vdsm-python
/usr/share/man/man1/vdsm-tool.1.gz
# rpm -q vdsm
vdsm-4.16.5-2.el6ev.x86_64

Comment 14 Sandro Bonazzola 2015-11-04 13:48:15 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.