Bug 798495

Summary: need contain ssh key info in 'rhc domain show' output
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 1.x   
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-03-01 03:30:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Meng Bo 2012-02-29 03:32:18 UTC
Description of problem:
'rhc domain show' command should also show ssh key info just like 'rhc-domain-info -i'

Version-Release number of selected component (if applicable):
rhc-0.87.6-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.install latest rhc client
2.create domain
#rhc domain create -n testdomain
3.check domain info
#rhc domain show
  
Actual results:
[bmeng@localhost ~]$ rhc domain show
Password: 

User Info
=========
Namespace: bmengdev6
  RHLogin: bmeng


Application Info
================
No applications found.  You can use 'rhc app create' to create new applications.


Expected results:
SSH key info should be contained as 'rhc-domain-info -i'

Additional info:
[bmeng@localhost ~]$ rhc-domain-info -i
Password: 
User Info
=========
Namespace: bmengdev6
  RHLogin: bmeng
Primary SSH key: AAAAB3NzaC1yc2EAAAADAQABAAABAQCvk6aI6mJplA2BqfLaf6XheT26VQvvVhToSWGEl09+tZ/pVLBiZf+tDX0duGj5y+ATlMKAZ/urahO4nliQ1Kjs8ZO/xHYiIrZPm9jTgLEOd5c/wQh8Nof4E/FVqQEpcqq3ZhIk3a0bODE5nHfYPUphWjgLawFqVr0eoEbXUSc4QZ8Pubet2km6/sGtaEusF4ThERBq9jLjA5q4Gt/856lCa1SXPKCBtMBRLvMt4H7RYWwLG7ahzzuxygVNUVrIdLzW+WEWWJdI5SSpBXCDsJbPwBxmJhRqkyNNzPbq5u8DY7g2eoAthtDS3wE3rWKFFNFMTScK9ANwvh3Tn+DEwBuX
Primary SSH key type: ssh-rsa

Additional SSH keys
===================

Comment 1 Abhishek Gupta 2012-02-29 18:14:39 UTC
This is intentional and by design. The ssh keys should not be tied with the domain but rather with the user. Though this decoupling has yet to happen on the server side, the new commands take this into account so as not to run into backward compatibility issues. The ssh keys can be listed using the "rhc sshkey list" command.

This is an invalid bug and should be closed as such.

Comment 2 Meng Bo 2012-03-01 03:30:20 UTC
closed this bug since the situation is by design.