Bug 1382581 - [RFE] Is there an option to pass an ssh key to new rhevm instance? (appliance upgrade to 4.0)
Summary: [RFE] Is there an option to pass an ssh key to new rhevm instance? (appliance...
Keywords:
Status: CLOSED DUPLICATE of bug 1331858
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.0.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: meital avital
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-07 05:38 UTC by Marcus West
Modified: 2016-11-14 23:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 10:00:12 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2262201 0 None None None 2016-11-14 23:22:17 UTC

Description Marcus West 2016-10-07 05:38:08 UTC
## Description of problem:

I recently upgraded from 3.6 to 4.0 (hosted-engine, rhv-h).  During the first attempt, new rhevm instance started successfully, but root logins were disabled, so I had to access via the console to put my key on there.

The upgrade did not complete successfully so I gave it another go.  The second time, it did not take the root password I gave it, so I had to start in single user mode to reset the password.

## Version-Release number of selected component (if applicable):

ovirt-hosted-engine-setup-2.0.2.2-2.el7ev.noarch
rhevm-appliance-20160922.0-1.x86_64.rhevm.ova

## How reproducible:

Always

## Steps to Reproduce:
1. install 3.6 (hosted-engine, rhv-h)
2. upgrade to 4.0

## Actual results:

Installation of new rhevm instance is successful, but there is no way to log in initially without console access.

## Expected results:

Best: prompt to enter an ssh key
Acceptable: allow root logins via ssh

## Additional info:

Both my upgrade attempts failed to finish clean, although I suspect this would still be the case if they worked.  I know it's best practice to use user accounts for access, but is this even possible with the installer?  I have a bad habit of using root for everything, but mostly because I just manage test systems.

Comment 2 Simone Tiraboschi 2016-10-10 10:00:12 UTC

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

Comment 3 Marina Kalinin 2016-11-07 04:26:09 UTC
Marcus, I think we should create a kcs here. Can you please?

The bug where it is going to be implemented is targeted to 4.1:
https://bugzilla.redhat.com/show_bug.cgi?id=1331858

And the documentation already mentions that the ssh keys need to be modified after the upgrade, but imo not in a clear way.


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