Bug 824318
Summary: | The "rhc sshkey list " will be failed in Mac | ||
---|---|---|---|
Product: | OKD | Reporter: | yquan <yquan> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, rmillner |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhc-0.93.16+ | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-08 17:58:36 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
yquan
2012-05-23 09:37:05 UTC
checked with latest rhc client rhc-0.93.15, issue still can be reproduced. Fixed on rhc-0.93.15+, tested on a MacOSX Lion. It is not fixed on rhc-0.93.16.. output: OpenShiftmatoMacBook-Pro:~ root# rhc sshkey list Password: ** /Library/Ruby/Gems/1.8/gems/rhc-0.93.16/lib/rhc-common.rb:311:in `get_ssh_keys': undefined method `load_data_public_key' for Net::SSH::KeyFactory:Class (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rhc-0.93.16/bin/rhc-sshkey:71:in `show_key_list' from /Library/Ruby/Gems/1.8/gems/rhc-0.93.16/bin/rhc-sshkey:164 from /usr/bin/rhc-sshkey:23:in `load' from /usr/bin/rhc-sshkey:23 Worked on my Mac box yesterday, I will try to reproduce and fix. Fixed. I was *not* able to simulate this issue in the 2 Macbooks I got here, so I guess it's probably related to older versions of Mac OS, with older Ruby and net/ssh. Anyway I added a fallback to native tools (ssh-keygen) if the pure Ruby version fails. It fixed on rhc-0.93.18. OpenShiftmatoMacBook-Pro:~ root# rhc sshkey list Password: ** SSH keys ======== Name: default Type: ssh-rsa Fingerprint: 62:59:bf:8d:6a:d7:ce:15:7e:ba:71:8c:10:62:13:d9 |