Bug 1079522 - [RFE] Improve help for password-based ssh auth when collecting logs from hypervisors
Summary: [RFE] Improve help for password-based ssh auth when collecting logs from hype...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-logcollector
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.6.0
Assignee: Simone Tiraboschi
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-21 18:24 UTC by Vojtech Szocs
Modified: 2015-03-29 09:06 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-29 09:06:27 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Vojtech Szocs 2014-03-21 18:24:27 UTC
To enforce password-based ssh auth (fallback from key-based ssh auth) when collecting logs from hypervisors, user needs to do following:

  $ engine-log-collector -k ""

Note that -k option always requires some value (empty string in this case), otherwise it fails with following message:

  error: -k option requires an argument

Current help text for -k option says:

  If a identity file is not supplied the program will prompt for a password.

From above help text, it's not really obvious that user needs to specify empty string to enforce password-based ssh auth.

I suggest one of following (just ideas):

a, improve --help and man page documentation for -k option, for example:
   Provide empty string to make program prompt for a password.

b, introduce new option as shorthand for -k "", for example:
   $ engine-log-collector --use-pw-auth

Comment 1 Sandro Bonazzola 2014-06-11 06:50:56 UTC
This is an automated message:
This bug has been re-targeted from 3.4.2 to 3.5.0 since neither priority nor severity were high or urgent. Please re-target to 3.4.3 if relevant.

Comment 2 Itamar Heim 2015-03-29 09:06:27 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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