Bug 1561353

Summary: [RFE] Add SSH credentials to the oVirt Manager
Product: Red Hat CloudForms Management Engine Reporter: Martin Perina <mperina>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bthurber, fdupont, gblomqui, gmccullo, jfrey, jhardy, jocarter, mperina, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, Reopened, RFE, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1586085 (view as bug list) Environment:
Last Closed: 2019-02-11 14:09:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1586085    

Description Martin Perina 2018-03-28 07:38:53 UTC
oVirt is adding roles and playbooks to the oVirt Manager as a way to extend operations. Not all of them are available through the API (yet?). It would be great to add SSH credentials to the oVirt Manager, in order to run these extra playbooks on the oVirt Manager, as it has password-less credentials to the whole oVirt infrastructure.

The first use case is to leverage the oVirt.v2v-conversion-host role (https://github.com/oVirt/ovirt-ansible-v2v-conversion-host) from ManageIQ, from within the V2V plugin. We could enable/disable the role from custom (naitve?) buttons, by connecting to the oVirt Manager and running the corresponding playbooks.

Further, this would allow for quick prototyping of new actions in the oVirt environment by creating roles and playbooks. Once the action and its interface (inputs and outputs) is stable, it can be exposed through the oVirt API.

Ideally, the credentials type is SSH keys, as it works better with ProxyCommand or ProxyJump options.

Comment 2 Greg McCullough 2018-03-28 12:59:55 UTC
Related git issue: https://github.com/ManageIQ/manageiq-providers-ovirt/issues/229

Comment 3 Martin Perina 2018-05-22 13:46:57 UTC
Moving back to 5.9.3 as this is required for new v2v flow and we are planning to deliver that for the 2nd 5.9.3 build

Comment 8 Brett Thurber 2018-06-26 05:23:02 UTC

*** This bug has been marked as a duplicate of bug 1586085 ***

Comment 10 Kedar Kulkarni 2018-07-02 15:55:52 UTC
I could add a key file to RHV provider as expected, although there is NO VALIDATION on type of file that can be uploaded and also, there is NO VALIDATION on uploaded file before letting you save the provider.https://bugzilla.redhat.com/show_bug.cgi?id=1594343