Bug 880915

Summary: [ALL LANG][SAM Web GUI] Unexpected message : Resources::Candlepin::CandlepinResource: 410 Gone {"displayMessage":"Consumer xxxx has been deleted"...} occurred in Systems application tab.
Product: [Retired] Subscription Asset Manager Reporter: Lijun Li <lijli>
Component: katelloAssignee: Tom McKay <tomckay>
Status: CLOSED WORKSFORME QA Contact: SAM QE List <sam-qe-list>
Severity: urgent Docs Contact:
Priority: high    
Version: 1.2CC: qe-i18n-bugs, smaitra, tomckay
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 13:01:03 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: 816564    
Attachments:
Description Flags
Unexpected message :'Resources::Candlepin::CandlepinResource: 410 Gone' none

Description Lijun Li 2012-11-28 06:36:28 UTC
Description of problem:
Unexpected message : Resources::Candlepin::CandlepinResource: 410 Gone {"displayMessage":"Consumer xxxx has been deleted"...}. occurred in Systems application tab.

Version-Release number of selected component (if applicable):
Subscription Asset Manager Version: 1.2.5-1h.el6_3

How reproducible:
100%

Steps to Reproduce:
1. Log in SAM Web GUI and import the manifest.
2. Register the system to SAM via RHSM.
3. Delete the system (/delete consumer)
4. Click Systems application tab.
  
Actual results:
Unexpected message :
Resources::Candlepin::CandlepinResource: 410 Gone {"displayMessage":"Consumer 59cc3483-15b4-456c-905c-8eccdfb6bfdd has been deleted","deletedId":"59cc3483-15b4-456c-905c-8eccdfb6bfdd"} (GET /candlepin/consumers/59cc3483-15b4-456c-905c-8eccdfb6bfdd/compliance) (RestClient::Gone)
{"displayMessage":"Consumer 59cc3483-15b4-456c-905c-8eccdfb6bfdd has been deleted","deletedId":"59cc3483-15b4-456c-905c-8eccdfb6bfdd"} 


Expected results:
Should have no such errors always poped up.

Additional info:

Comment 1 Lijun Li 2012-11-28 06:40:34 UTC
Created attachment 653312 [details]
Unexpected message :'Resources::Candlepin::CandlepinResource: 410 Gone'

Comment 2 Tom McKay 2012-11-28 13:24:19 UTC
What command was specifically run at this step?
> 3. Delete the system (/delete consumer)

Comment 3 Lijun Li 2012-11-29 02:13:42 UTC
(In reply to comment #2)
> What command was specifically run at this step?
> > 3. Delete the system (/delete consumer)

Remove the system via Web GUI or Unregister the system via CLI:
headpin -u admin -p admin system unregister --org=test --name=i18nsamtest.redhat.com

OR after deleting the manifest and reproduce the above steps.

Thanks,
Robert

Comment 4 Tom McKay 2012-12-04 20:35:13 UTC
Unable to reproduce so far

Comment 5 Satyabrata Maitra 2012-12-05 10:27:22 UTC
Unable to reproduce. Please let the reporter make some further input.

Comment 6 Lijun Li 2012-12-11 03:54:02 UTC
Will verify it on the latest build.

Comment 7 Lijun Li 2012-12-11 04:57:22 UTC
This issue is not easy to reproduce and I'd like to check it on the latest build again and update the steps if it can be reproduced.

Comment 8 Tom McKay 2012-12-18 13:01:03 UTC
Please re-open if/when reproducible