Bug 1148928
Summary: | 404 should be returned when non existent repo group is provided during publish | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Ina Panova <ipanova> |
Component: | API/integration | Assignee: | amacdona <austin> |
Status: | CLOSED UPSTREAM | QA Contact: | Irina Gulina <igulina> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.5 | CC: | austin, igulina, mhrivnak |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-28 22:37:41 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
Ina Panova
2014-10-02 16:28:19 UTC
fixed in pulp 2.6.0-0.2.beta >> rpm -qa pulp-server pulp-server-2.6.0-0.2.beta.el6.noarch >> pulp-admin repo group list +----------------------------------------------------------------------+ Repository Groups +----------------------------------------------------------------------+ Id: banda-group Display Name: None Description: None Repo Ids: Notes: Id: zoo-group Display Name: None Description: None Repo Ids: Notes: >> curl -i -H "Accept: application/json" -X POST -k -u admin:admin -d '{"id" : "d6376583-0f2b-4d31-a967-8f93b0f96101", "overrode_config": {} }' 'https://localhost/pulp/api/v2/repo_groups/non-zoo-group/actions/publish/' HTTP/1.1 404 Not Found Date: Tue, 13 Jan 2015 10:24:28 GMT Server: Apache/2.2.15 (Red Hat) Content-Encoding: utf-8 Content-Length: 437 Connection: close Content-Type: application/json {"http_request_method": "POST", "exception": null, "error_message": "Missing resource(s): repo_group=non-zoo-group", "_href": "/pulp/api/v2/repo_groups/non-zoo-group/actions/publish/", "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repo_group": "non-zoo-group"}}, "description": "Missing resource(s): repo_group=non-zoo-group", "sub_errors": []}, "traceback": null, "resources": {"repo_group": "non-zoo-group"}} Moved to https://pulp.plan.io/issues/560 |