Bug 840792 - Activation key delete displays error
Summary: Activation key delete displays error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Adam Price
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks: 860705
TreeView+ depends on / blocked
 
Reported: 2012-07-17 08:46 UTC by Tazim Kolhar
Modified: 2016-04-26 00:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 860705 (view as bug list)
Environment:
Last Closed: 2013-02-21 19:16:47 UTC
Embargoed:


Attachments (Terms of Use)
Activation key delete (103.87 KB, image/png)
2012-07-17 08:46 UTC, Tazim Kolhar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0544 0 normal SHIPPED_LIVE Important: Subscription Asset Manager 1.2 update 2013-02-26 04:08:04 UTC

Description Tazim Kolhar 2012-07-17 08:46:57 UTC
Created attachment 598587 [details]
Activation key delete

Description of problem:
A system is registered using the activation key. deleting 
that activation key displays unknown error
The error should be user friendly stating the reason
for not being deleted
Version-Release number of selected component (if applicable):
[root@nec-em9 ~]# rpm -qa | grep katello
katello-certs-tools-1.1.6-1.fc16.noarch
katello-configure-0.2.30-1.fc16.noarch
katello-headpin-all-0.2.24-1.fc16.noarch
katello-selinux-0.2.6-1.fc16.noarch
katello-cli-common-0.2.43-1.fc16.noarch
katello-glue-candlepin-0.2.45-1.fc16.noarch
katello-cli-headpin-0.1.19-1.fc16.noarch
katello-headpin-0.2.24-1.fc16.noarch
katello-common-0.2.45-1.fc16.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch


How reproducible:
yum install -y katello-headpin-all
katello-configure --deployment=sam

Steps to Reproduce:
1.Login to SAM WEB UI
2.Navigate to Content Tab 
3.select Activation key
4.Create a activation key
5.register a system using that activation key 
6.Remove that key

  
Actual results:
Activation key cannot be deleted
The error is not user friendly

Expected results:
Appropriate error should be displayed
to specify the reason for not deleting the key

Additional info:
screen shot attached

Comment 1 Adam Price 2012-09-27 17:25:42 UTC
Tazim,

Can you please check and see if this issue is still occurring? If it is, could I get some more specific instructions on how to reproduce the bug? Thanks. Currently, I'm unable to reproduce this issue.

Comment 2 Adam Price 2012-10-08 14:21:25 UTC
in an email sent from Tazim:

Verified with the packages:
   
   [root@dell-pesc1425-01 ~]# rpm -qa | grep katello-cli
   katello-cli-common-1.1.9-1.git.6.8db32c1.el6.noarch
   katello-cli-1.1.9-1.git.6.8db32c1.el6.noarch
  
   The activation key can be deleted successfully with appropriate error.
  
   Please, update the bug status accordingly to ON_QA so that I can verify and close it.

Comment 4 Tazim Kolhar 2012-10-10 05:53:46 UTC
VERIFIED with the packages:

# rpm -qa | grep katello
katello-configure-1.1.11-1h.el6_3.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.1.8-1h.el6_3.noarch
katello-glue-candlepin-1.1.14-2h.el6_3.noarch
katello-cli-common-1.1.10-1h.el6_3.noarch
katello-selinux-1.1.2-1h.el6_3.noarch
katello-cli-headpin-0.2.2-1.el6_2.noarch
katello-headpin-1.1.14-2h.el6_3.noarch
katello-common-1.1.14-2h.el6_3.noarch
katello-headpin-all-1.1.14-2h.el6_3.noarch



Steps used to verify :
1. login to SAM WEBUI
2. Navigate to Content Tab -> Activation Key
3. Create a key with name 'act_key'
4. Register a system with the key :
   # subscription-manager register --name localhost1234 --org ACME_Corporation  --activationkey act_key --autosubscribe --force

 The system has been registered with id: 87242894-7624-419c-a603-d7e836244abf 
 Installed Product Current Status:

 ProductName:         	Red Hat Enterprise Linux Server
 Status:               	Not Subscribed     

5. Delete the key via SAM WEB UI

6. The key is deleted successfully with appropriate errors

Comment 6 errata-xmlrpc 2013-02-21 19:16:47 UTC
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/RHSA-2013-0544.html


Note You need to log in before you can comment on or make changes to this bug.