Add man page for diskless SBD option (bsc#1138353)#25
Add man page for diskless SBD option (bsc#1138353)#25liangxin1300 wants to merge 1 commit intotserong:masterfrom
Conversation
arbulu89
left a comment
There was a problem hiding this comment.
Hi @liangxin1300 . One question:
What will happen if the -S and -s /dev/my-sbd-device are used together?
As far as I know SBD will use the device defined in -s, isn't it?
Maybe we should consider adding something in the description to explain this
|
Hi @arbulu89 |
Ok, I don't see much problem on that since the priorities are clear. Should be document this somewhere else? We shoulnd't be checking the code every time we need to know the parameters usage hehe |
|
I incline to reject this PR, since I disagree the manual effort to duplicate information from the root source of I propose either delete this man page, or auto-generated based on |
This is good information I would suggest to add as a side note inside the man page. It will preserve a lot of incoming enquiries to the solutions architects and support teams.
+1! Best regards, |
Hi Zzhou1, Best regards, |
177b7ac to
87197a8
Compare
|
Hi @ab-mohamed , how does it look like this time? |
I would suggest the following form under '-S' section: NOTE: Using -s device and -S together will equal to use -s device only. Best regards, |
Understand, and fully agree. Well, the real situation is the man page is far more out-dated. The most up-to-date and detailed description actually is --help. The current PR is a duplicate effort and also error prone. That sounds waste time. The short term I feel make sense to delete the man page, instead of shipping a out-dated and misleading one. The error of no man page will naturally lead users to use "--help" on the other hand. In long run, better to auto generate the man page, eg. resource-agents is a good example. BR, |
|
Actually the man pages arealready generated from the help output, I guess maybe it does not cover the old aliases though. See the spec file: |
Hi Roger, Could you please check Kristoff's update. I still not agree to delete the man page. we could generate it from the help output, but (based on my experience with customers) deleting the man page and count in that user will use Best regards, |
According to this spec file, we've defined |
Great! May we have a try for that and see the output in a testing RPM? Best regards, |
Thanks Kristoffer for this low hanging fruit !!! Xin will propose the SEPC change firstly toward Factory and backport it to those related SLE versions then.
Much appreciate your feedback indeed! Thanks,
|
|
Sounds good! |
Great that we all agree on the same action now. ;) @liangxin1300 Is it possible to have the testing RPM today? :) Best regards, |
|
@ab-mohamed I've created request to Factory, you can temporary update it from my home branch here: https://build.opensuse.org/package/binaries/home:XinLiang:branches:network:ha-clustering:Factory/ha-cluster-bootstrap/SLE_15_SP1 |
Hi @liangxin1300, Thank you for your update. Is https://download.opensuse.org/repositories/home:/XinLiang:/branches:/network:/ha-clustering:/Factory/SLE_15/noarch/ha-cluster-bootstrap-0.5-101.1.noarch.rpm the correct link and RPM version for SLE15 as I am using SLE15 instead of SLE15 SP1? Best regards, |
|
For SL15, you can use this https://build.opensuse.org/package/binaries/home:XinLiang:branches:network:ha-clustering:Factory/ha-cluster-bootstrap/SLE_15 |
Hi Xin, Here are my testing steps and results executed on SLES 15:
@liangxin1300 : Well done! Best regards, |
Thanks!