Bug 1015583
Summary: | Consumers can't request applicability generation for themselves | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Justin Sherrill <jsherril> |
Component: | consumers | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cperry, pthomas, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-09 06:54:20 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
Justin Sherrill
2013-10-04 14:24:44 UTC
build: 2.4.0-0.7.beta verified [root@yttrium ~]# rpm -qa pulp-server pulp-server-2.4.0-0.23.beta.el6.noarch [root@yttrium ~]# >>> headers=dict({'pulp-user':'el5'}.items()) >>> pic.POST('/v2/consumers/el5/actions/content/regenerate_applicability/', 'headers=headers') Request Body "headers=headers" Response Body { "spawned_tasks": [ { "_href": "/pulp/api/v2/tasks/f78aef25-5358-430d-87a9-705bbbf94793/", "task_id": "f78aef25-5358-430d-87a9-705bbbf94793" } ], "result": null, "error": null } (202, {u'spawned_tasks': [{u'_href': u'/pulp/api/v2/tasks/f78aef25-5358-430d-87a9-705bbbf94793/', u'task_id': u'f78aef25-5358-430d-87a9-705bbbf94793'}], u'result': None, u'error': None}) >>> >>> >>> [root@yttrium ~]# pulp-admin tasks details --task-id f78aef25-5358-430d-87a9-705bbbf94793 +----------------------------------------------------------------------+ Task Details +----------------------------------------------------------------------+ Operations: consumer_content_applicability_regeneration Resources: State: Successful Start Time: 2014-07-10T17:11:21Z Finish Time: 2014-07-10T17:11:21Z Result: N/A Task Id: f78aef25-5358-430d-87a9-705bbbf94793 Progress Report: >>> pic.POST('/v2/consumers/content/applicability/', body={"criteria":{"filters":{"id":{"$in":["el5"]}},}}) Request Body { "criteria": { "filters": { "id": { "$in": [ "el5" ] } } } } Response Body [] (200, []) >>> This has been fixed in Pulp 2.4.0-1. |