Description of problem: The SSH-publickey is not supported in action host install. It is supported in add / edit (update) through API and add / edir / install through the UI: [RHEVM shell]# action host MyHost install error: status: 400 reason: Bad Request detail: Action [rootPassword] required for install [RHEVM shell]# action host MyHost install root_password ssh-password Version-Release number of selected component (if applicable): is15 How reproducible: 100% Steps to Reproduce: 1. action host MyHost install 2. enter / auto completion / help 3. Actual results: help: Overload 1: [--root_password: string] [--image: string] Overload 2: [--ssh-password: string] [--image: string] [--correlation_id: anystring] Expected results: Overload 1: [--root_password: string] [--image: string] Overload 2: [--ssh-port: int] [--ssh-fingerprint: string] [--ssh-authentication_method: string] [--ssh-user-user_name: string] [--ssh-user-password: string] [--image: string] [--correlation_id: anystring] Additional info:
Alon, can you confirm the expected results? As it seems it should be as specified in the bug's description
(In reply to Yaniv Bronhaim from comment #1) > Alon, can you confirm the expected results? As it seems it should be as > specified in the bug's description Right. Behavior should be similar to api in this regard, I thought the cli automatically parses the api spec... If not functionality should be added.
(In reply to Alon Bar-Lev from comment #2) > (In reply to Yaniv Bronhaim from comment #1) > > Alon, can you confirm the expected results? As it seems it should be as > > specified in the bug's description > > Right. > > Behavior should be similar to api in this regard, I thought the cli > automatically parses the api spec... it is > If not functionality should be added. the problem is in api
yaniv, this BZ should not be modified till 3.3 patch gets merged, also please add a 3.3 gerrit patch ref to this BZ
Verified on RHEVM 3.3 IS22. [RHEVM shell]# action host MyHost install error: status: 400 reason: Bad Request detail: Action [rootPassword] required for install Overload 1: [--root_password: string] [--image: string] Overload 2: [--ssh-port: int] [--ssh-fingerprint: string] [--ssh-authentication_method: string] [--ssh-user-user_name: string] [--ssh-user-password: string] [--image: string] [--correlation_id: anystring] the option exists, the feature itself doesn't work yes due to bug: https://bugzilla.redhat.com/show_bug.cgi?id=987982 discussion regarding this should continue on bz 987982
Closing - RHEV 3.3 Released