Hide Forgot
+++ This bug was initially created as a clone of Bug #2081182 +++ Description of problem: Under the details page of a VM with SSH exposed there is a User credentials section with a copy to clipboard button specifying an ssh command in the form: ssh user@api-hostname -p <nodeport> In the case of my IPI installed baremetal cluster, this never works for me. The api VIP is grabbed by the control plane and attempts to reach nodeports on that IP fail. If I change to a worker node's hostname or IP, it will work. Version-Release number of selected component (if applicable): 4.10.0 How reproducible: Always Steps to Reproduce: 1. Create VM from template (e.g. Fedora) using wizard 2. Select checkbox to expose SSH to the VM 3. Follow through to create VM and select details page. 4. Copy and attempt to use User credentials ssh command Actual results: Timeout Expected results: Ssh connection to VM Additional info: Several others have run into this as well. I am not sure whether it is an IPI only problem.
moving to assign because the fix in https://github.com/openshift/console/pull/11567 show the vm ip, which is not accessible from outside the cluster fix should be: const command = `ssh ${user && `${user}@`}${consoleHostname} -p ${servicePort}`; but is: const command = `ssh ${user && `${user}@`}${nodeInternalIPAddress || consoleHostname} -p ${servicePort}`;
*** Bug 2089400 has been marked as a duplicate of this bug. ***
move this bug to verified as this is 4.10.z only bug
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069