| Summary: | Failed to delete the ssh key with name "." | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tian Feng <tfeng> |
| Component: | Master | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.2.0 | CC: | bleanhar, ccoleman, gpei, jdetiber, jliggitt, libra-onpremise-devel, pruan, xtian, yanpzhan, yujzhang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-openshift-origin-controller-1.9.16.3-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Keys with name "." or ".." were misinterpreted by the REST API.
Consequence:
Such keys could not be deleted.
Fix:
Disallow the creation of keys with names beginning with "."
Result:
Keys starting with "." can't be added, so there is no need to delete them.
|
Story Points: | --- |
| Clone Of: | 980306 | Environment: | |
| Last Closed: | 2014-06-04 00:39:27 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: | |
| Bug Depends On: | 980306 | ||
| Bug Blocks: | |||
|
Description
Tian Feng
2013-10-14 03:38:19 UTC
Sorry for the wrong version, it's ose-1.2.4. Patch applied. https://github.com/openshift/enterprise-server/pull/183 Cherry-picked from origin-server: commit 8bef57b441cd60187cbcbeea219c7a7045140b6b Author: Lili Nader <lnader> Date: Tue Oct 1 14:18:42 2013 -0700 Just need to rebuild controller. Verified on puddle 1-2-RHSCL11-2014-05-20 Verify steps: #rhc sshkey add . ~/.ssh/newid_rsa.pub #rhc sshkey add .. ~/.ssh/newid_rsa.pub #rhc sshkey add .newkey ~/.ssh/newid_rsa.pub actual results: all display this info: Invalid key name. Name cannot start with "." additional info: Also verified with rest API,web console method, have right prompt info:Invalid key name. Name cannot start with ".". 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0598.html |