Bug 842599
Summary: | rhc alter domain command should not check ssh key | ||
---|---|---|---|
Product: | OKD | Reporter: | Rony Gong 🔥 <qgong> |
Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jinzhang, rmillner, xtian |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-17 21:28:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rony Gong 🔥
2012-07-24 09:24:39 UTC
Prefer not check ssh key while altering domain, let rhc sshkey do adding or updating ssh key related things, and remove this line "OpenShift key found at /root/.ssh/id_rsa. Reusing.." since it will not compare the ssh key in the client with the server side ssh key. As design has been changed, change it to ON_QA to verify it. As the design has been changed, alter domain won't change and update sshkey with the latest version. We can use "rhc sshkey add" to update sshkey. Please refer to follow steps: 1.Create a domain 2.Use ssh-keygen to overwrite the default ~/.ssh/id_rsa* 3.Add new sshkey to domain: #rhc sshkey add -i keyname -k ~/.ssh/id_rsa.pub -p redhat 4.Check the generated local key can match with the updated key in server. Actual results: The generated key has been updated to server and can match with the local key. The app can be created successfully without the "Permission denied" problem again. So mark it as Verified. Thanks. Update the verified build version : rhc-0.97.5.gem int.openshift.redhat.com Here's the message when updating domain for the reference, it won't check sshkey by this command. # rhc domain update -n test9 -p redhat Updating domain 'test7' to namespace 'test9' RESULT: Success! |