Bug 1078833
Summary: | Update importer of unexistant repo should return 404 | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Ina Panova <ipanova> |
Component: | API/integration | Assignee: | Jeremy Cline <jcline> |
Status: | CLOSED UPSTREAM | QA Contact: | pulp-qe-list |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | jcline, mkovacik, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.6.1 | ||
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:03:40 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-03-20 11:31:44 UTC
Same behaviour with : 1)'association of importer to unexistant repo': # curl -i -H "Accept: application/json" -X POST -k -u admin:admin -d '{"importer_type_id":"yum_importer", "importer_config":{}}' 'https://example.com/pulp/api/v2/repositories/unexistant_repo/importers/' HTTP/1.1 202 Accepted Date: Thu, 20 Mar 2014 11:34:01 GMT Server: Apache/2.4.6 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 Content-Encoding: utf-8 Content-Length: 172 Content-Type: application/json {"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/329aacf1-b8d3-4ec5-92d5-10df8714b1ec/", "task_id": "329aacf1-b8d3-4ec5-92d5-10df8714b1ec"}], "result": null, "error": null} 2) 'disaasociate importer from unexistant repo': # curl -i -H "Accept: application/json" -X DELETE -k -u admin:admin 'https://example.com/pulp/api/v2/repositories/unexistant_repo/importers/yum_importer/' HTTP/1.1 202 Accepted Date: Thu, 20 Mar 2014 11:36:12 GMT Server: Apache/2.4.6 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 Content-Encoding: utf-8 Content-Length: 172 Content-Type: application/json {"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/69604e28-4485-4978-bade-a89d08092b1a/", "task_id": "69604e28-4485-4978-bade-a89d08092b1a"}], "result": null, "error": null} Hi, I've checked with pulp-server-2.6.0-0.5.beta.git.93.014a6ca.fc21.noarch and this seems fixed now --- is it expected in the beta build? If that's the case, I'll mark verified... pulled wrong pulp repo; all is OK Moved to https://pulp.plan.io/issues/406 |