Bug 1013637
| Summary: | [REST-API] no ssh-publickey support for install host action | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Barak Dagan <bdagan> |
| Component: | ovirt-engine-restapi | Assignee: | Yaniv Bronhaim <ybronhei> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, alonbl, bazulay, eedri, iheim, oramraz, pstehlik, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | is21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-21 22:19:41 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1019461, 1032811 | ||
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 Closing - RHEV 3.3 Released |
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: