Bug 969365
Summary: | provider refresh_manifest does not work | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ales Dujicek <adujicek> |
Component: | API | Assignee: | Petr Chalupa <pchalupa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | cwelton, jmontleo, mmccune, omaciel, tkolhar, tsanders |
Target Milestone: | Unspecified | Keywords: | Reopened, 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: | 2014-07-02 14:14:27 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: |
Description
Ales Dujicek
2013-05-31 10:01:25 UTC
Looks like it's already fixed. Moving this to be tested during MDP3, not critical for MDP2 success story The new command in latest builds is hammer subscription refresh-manifest --organization-id "ACME_Corporation" I think this fails. If I modify the command per above and try it twice, it errors and then gives a different error when I try again. [root@ibm-x3250m4-02 ~]# hammer subscription refresh-manifest --organization-id "ACME_Corporation" Task 3d4bdaa0-c7ee-4251-b77f-b46297d7b8e4: error [root@ibm-x3250m4-02 ~]# hammer subscription refresh-manifest --organization-id "ACME_Corporation" Manifest refresh failed: required lock: #<ForemanTasks::Lock:0x007fa954beedd0> conflicts wiht [#<ForemanTasks::Lock id: 11, task_id: "3d4bdaa0-c7ee-4251-b77f-b46297d7b8e4", name: "read", resource_type: "Katello::Provider", resource_id: 1, exclusive: true>] I don't get any errors of interest in candlepin.log or candlepin/error.log This is not necessary a bug. The `required lock` error means that the resource is still locked by the other task '3d4bdaa0-c7ee-4251-b77f-b46297d7b8e4' please try refresh-manifest later or investigate status of the task locking the resource. Corey, ping me if you need more information. Just tested this with SNAP9, works fine. 1) Imported manifest 2) Went to customer portal 3) Added 2 new subscriptions 4) refreshed manifest via hammer CLI 5) new subs showed up in Sat6 Subscription UI VERIFIED # hammer subscription refresh-manifest --organization ACME_Corporation [......................................................................] [100%] Task a31d4382-7d11-4353-bc38-62fc28bde3b8: success This was delivered with 6.0.3, which is the Satellite 6 Beta. This was delivered in 6.0.3, the Beta version of Satellite 6.0 This was delivered in the Satellite 6 Beta (6.0.3) |