Bug 1871789 - It's not possible to SSH to master machines using core user
Summary: It's not possible to SSH to master machines using core user
Keywords:
Status: CLOSED DUPLICATE of bug 1871795
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: OCP on RHV Team
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-24 10:16 UTC by Jan Zmeskal
Modified: 2020-09-01 11:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-01 11:44:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Zmeskal 2020-08-24 10:16:31 UTC
Description of problem:
When master machines are created by the installer, it should be possible to SSH to them using `ssh core@<master_ip>`. However, this does not work for me with the current nightly build of OCP4.6. At the same time, I can SSH to bootstrap machine using the same method.

Version-Release number of the following components:
openshift-install: 4.6.0-0.nightly-2020-08-24-034934
RHV: 4.3.11.2-0.1.el7

How reproducible:
100 % (I tried it twice on different RHV environments)

Steps to Reproduce:
1. Prepare install-confing.yaml in a way that is contains your public SSH key. My install-config: http://pastebin.test.redhat.com/895896
2. Run the installer
3. Once the master VMs finish their ignition stage, open one of the master's console in RHV and take note of its IP address.
4. Try SSH to the master VM. I tried it while even explicitly providing my identity file to the ssh command:
ssh -i ~/.ssh/id_rsa core@<master_ip_address>
This is what I got though: http://pastebin.test.redhat.com/895904

Additional info:
I've been using this install-config.yaml for past several weeks and never before had a problem SSHing to master VMs.
Also, it's possible for me to SSH to the bootstrap VM. If I made some configuration mistake (e.g. typo in public SSH key in install-config.yaml), I shouldn't be able to SSH to the bootstrap machine.

Comment 1 Sandro Bonazzola 2020-09-01 11:44:27 UTC

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


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