Bug 771186

Summary: [system info] - activation keys list is empty
Product: [Retired] Katello Reporter: Garik Khachikyan <gkhachik>
Component: ClientAssignee: Lukas Zapletal <lzap>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: bkearney, hhovsepy, mkoci, mmccune, syeghiay
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-29 14:00:28 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 Garik Khachikyan 2012-01-02 11:29:29 UTC
Description of problem:
For a system being registered by using --activationkey parameter "system info " returns empty list there.

Version-Release number of selected component (if applicable):
katello-0.1.155-1.el6.noarch
katello-cli-0.1.31-1.el6.noarch
candlepin-0.5.8-1.el6.noarch
pulp-0.0.255-1.el6.noarch
katello-configure-0.1.48-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
2.create activation key called: ak_1
3.register a system by using: --activationkey=ak_1 
4. execute system info --org ACME_Corporation --name <system-name-registered>
  
Actual results:
The section of: "Activation Keys:" is empty

Expected results:
should correctly illustrate the list of activation key(s) used during system registration

Additional info:
For bug verification: test scenario with multiple ak-s

Comment 1 Lukas Zapletal 2012-01-20 13:42:15 UTC
Not able to reproduce, RHEL 6.2:

[root@ofed ~]# subscription-manager register --activationkey=ak --force --org ACME_Corporation
The system with UUID 7b14ac3e-ba12-4280-9194-f02c44819cfb has been unregistered
The system has been registered with id: 302c9446-5d32-4891-8baf-65a07c2a7a52 
[root@ofed ~]# kk system list
-----------------------------------------------------------------------------------------------
                           Systems List For Org [ ACME_Corporation ]

 Name      
-----------------------------------------------------------------------------------------------
 ofed.lan  
[root@ofed ~]# kk system info --name ofed.lan
-----------------------------------------------------------------------------------------------
                        System Information For Org [ ACME_Corporation ]
-----------------------------------------------------------------------------------------------

Name:            ofed.lan
Uuid:            302c9446-5d32-4891-8baf-65a07c2a7a52
Location:        None
Registered:      2012/01/20 14:39:21
Last updated:    2012/01/20 14:39:21
Description:
    Initial Registration Params
Activation Keys:
    [ ak ]

Will work on similar (but not the same) bug: https://bugzilla.redhat.com/show_bug.cgi?id=767946

Please give me more info how to repeat that, or provide me a machine with reproducer, thanks!

Comment 2 Hayk Hovsepyan 2012-08-17 14:27:35 UTC
Still was able to duplicate it on revision above and version RHEL6.2, by the same scenario described previously.

pulp-common-1.1.11-1.el6.noarch
katello-common-1.1.5-1.git.3.9ca86f9.el6.noarch
qpid-cpp-server-ssl-0.14-14.el6_2.x86_64
candlepin-tomcat6-0.7.6.2-1.el6.noarch
katello-selinux-1.1.0-1.git.18.d10e8a3.el6.noarch
katello-repos-1.1.1-1.el6.noarch
katello-glue-pulp-1.1.5-1.git.3.9ca86f9.el6.noarch
qpid-cpp-client-ssl-0.14-14.el6_2.x86_64
katello-configure-1.1.4-1.el6.noarch
pulp-1.1.11-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-agent-1.1.0-1.git.22.d10e8a3.el6.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
katello-glue-foreman-1.1.5-1.git.3.9ca86f9.el6.noarch
qpid-cpp-server-0.14-14.el6_2.x86_64
pulp-selinux-server-1.1.11-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-1.1.2-1.el6.noarch
katello-cli-tests-1.1.2-1.el6.noarch
python-oauth2-1.5.170-2.pulp.el6.noarch
python-qpid-0.14-7.el6_2.noarch
katello-certs-tools-1.1.8-1.el6.noarch
katello-glue-candlepin-1.1.5-1.git.3.9ca86f9.el6.noarch
candlepin-0.7.6.2-1.el6.noarch
qpid-cpp-client-0.14-14.el6_2.x86_64
katello-1.1.5-1.git.3.9ca86f9.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.1.2-1.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64

Comment 4 Lukas Zapletal 2012-08-20 14:50:27 UTC
https://github.com/Katello/katello/pull/488

Comment 5 Lukas Zapletal 2012-10-29 14:27:27 UTC
Part of Katello 1.1 release