Bug 854433
Summary: | Inappropriate error is shown when adding an sshkey with non-existing key file path | ||
---|---|---|---|
Product: | OKD | Reporter: | Jianwei Hou <jhou> |
Component: | oc | Assignee: | Hiro Asari <hasari> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | hasari, jizhao, jkeck, xtian |
Target Milestone: | --- | ||
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:30:11 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
Jianwei Hou
2012-09-05 03:32:58 UTC
The message indicates this, though. No such file or directory - /root/.ssh/newkey.pub (Errno::ENOENT) Are you saying that the command should hide the backtrace? The fix is quite easy, of course, but I will consult others before committing to a fix for this. This bug is verified on fork_ami_US2600_76. Steps to verify: 1.Add an non-existing pub key: $ rhc sshkey add newkey ~/.ssh/newkey.pub Results: 1. File '/root/.ssh/newkey.pub' does not exist. |