Bug 1021443

Summary: display approriate message when you try to auto-attach on a deleted consumer
Product: Red Hat Enterprise Linux 7 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: ckozak, jesusr, redakkan
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:47:48 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 863175    
Attachments:
Description Flags
error message after deleting the consumer
none
Error message updated none

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.