Bug 1021443 - display approriate message when you try to auto-attach on a deleted consumer
Summary: display approriate message when you try to auto-attach on a deleted consumer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.0
Assignee: Jesus M. Rodriguez
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-10-21 09:58 UTC by Shwetha Kallesh
Modified: 2014-06-18 00:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:47:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
error message after deleting the consumer (82.87 KB, image/png)
2013-10-21 09:58 UTC, Shwetha Kallesh
no flags Details
Error message updated (208.64 KB, image/png)
2014-02-04 16:43 UTC, Rehana
no flags Details

Description Shwetha Kallesh 2013-10-21 09:58:18 UTC
Created attachment 814509 [details]
error message after deleting the consumer

Description of problem:
display approriate message when you try to auto-attach on a deleted consumer

Version-Release number of selected component (if applicable):
[root@localhost ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.29-1
subscription-manager: 1.10.4-1.git.0.e94d2a9.el7
python-rhsm: 1.10.3-1.git.0.6ac2883.el7

How reproducible:


Steps to Reproduce:
1.[root@localhost ~]# curl -k -u admin:admin --request DELETE https://10.70.35.34:8443/candlepin/consumers/29600ad6-fa02-4983-8441-61104234b395

2.subscription-manager-gui
3.click on auto-attach

Actual results:


Expected results:


Additional info:

Comment 2 Jesus M. Rodriguez 2014-01-30 16:07:57 UTC
Pending code review:

https://github.com/candlepin/subscription-manager/pull/885

Comment 3 Jesus M. Rodriguez 2014-01-30 21:29:35 UTC
fixed by 871af2da6765c031d5bf9a03598f15213759168e

Comment 5 Rehana 2014-02-04 16:41:53 UTC
Retested on,

subscription-manager version 
server type: Red Hat Subscription Management
subscription management server: 0.9.2-1
subscription-manager: 1.10.13-1.el7
python-rhsm: 1.10.12-1.el7

1. subscription-manager register
Username: admin
Password: 
Organization: admin
The system has been registered with ID: aabf0d17-b75f-42e2-b11c-4799ce4ecdf3

2.curl -k -u admin:admin --request DELETE https://10.70.35.226:8443/candlepin/consumers/aabf0d17-b75f-42e2-b11c-4799ce4ecdf3

3.subscription-manager-gui
4.click on auto-attach

Observed that now auto-attach on GUI displayed an appropriate error message "Consumer has been deleted" (PFA)

Moving this bug to verified

Comment 6 Rehana 2014-02-04 16:43:31 UTC
Created attachment 859235 [details]
Error message updated

Comment 7 Ludek Smid 2014-06-13 12:47:48 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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