Bug 1173613
| Summary: | Product subscription not deleted after product delete | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> |
| Component: | Content Management | Assignee: | Christine Fouant <cfouant> |
| Status: | CLOSED ERRATA | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.6 | CC: | bkearney, cwelton, jaudet, jmontleo, jsherril, mfuruta, mmccune, mtaru, pmoravec |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-20 18:32:13 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: | 1122832 | ||
|
Description
Peter Vreman
2014-12-12 14:07:11 UTC
Dynflow Console output:
Status: stopped
Result: success
Started at: 2014-12-12 13:50:43 UTC
Ended at: 2014-12-12 13:50:45 UTC
Plan
Run
Finalize
sequence concurrence
3: Actions::Candlepin::Product::DeletePools (success) [ 0.68s / 0.68s ]
5: Actions::Candlepin::Product::DeleteSubscriptions (success) [ 1.48s / 0.97s ]
Started at: 2014-12-12 13:50:43 UTC
Ended at: 2014-12-12 13:50:45 UTC
Real time: 1.48s
Execution time (excluding suspended state): 0.97s
Input:
---
cp_id: '1418391997927'
organization_label: Hilti
remote_user: hoici-b11965af
locale: en
Output:
---
task:
id: refresh_pools_6bac0d9e-e342-48de-84a1-a82cf99ff2e9
state: FINISHED
startTime: '2014-12-12T13:50:44.490+0000'
finishTime: '2014-12-12T13:50:45.020+0000'
result: Pools refreshed for owner Hilti
principalName: hoici-b11965af
targetType: owner
targetId: Hilti
done: true
group: async group
statusPath: /jobs/refresh_pools_6bac0d9e-e342-48de-84a1-a82cf99ff2e9
created: '2014-12-12T13:50:44.486+0000'
updated: '2014-12-12T13:50:45.055+0000'
poll_attempts:
total: 1
failed: 0
7: Actions::Candlepin::Product::Destroy (success) [ 0.11s / 0.11s ]
Back
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. WORKAROUND: You can run a re-index command to clean up the extra subscription: # foreman-rake katello:reindex *** Bug 1148371 has been marked as a duplicate of this bug. *** (In reply to Mahesh Taru from comment #6) > Hello, > > I tried to reproduce issue and it fixed with 'foreman-rake katello:reindex' > but for customer it is not working and still facing same issue. > Customer also tried applying latest patches and satellite reboot. > > Thank you. Same issue here (sfdc 01332743), workaround did not help to remove orphaned subscriptions. Any idea why workaround could be failing for more customers? The commit reference in Comment 13 was not committed to GA release, it was pushed in on Oct 22, 2014. Verified according to the procedure outlined in Comment 0. Verified against four Satellite 6.0.8 applications, two of which are running on RHEL 6.6, and two of which are running on RHEL 7.0. 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. https://access.redhat.com/errata/RHBA-2015:0247 |