Bug 1092467
Summary: | An exception is raised when orphaned content is removed by type and id | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Ina Panova <ipanova> |
Component: | API/integration | Assignee: | Chris Duryee <cduryee> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ina Panova <ipanova> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cduryee, mhrivnak |
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:57:12 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-04-29 11:33:06 UTC
Fix this, and also mark all other orphan removal API endpoints as deprecated. The fix for this bug is included in the pulp-2.4.0-0.14.beta builds. Tested in 2.4.0-0.17.beta $ curl -H "Accept: application/json" -X POST -k -u admin:admin -d '[{"content_type_id": "rpm", "unit_id": "d692be5f-f585-4e6d-b816-0285ffecd847"}]' 'https://example.com/pulp/api/v2/content/actions/delete_orphans/' | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 251 100 172 100 79 177 81 --:--:-- --:--:-- --:--:-- 177 { "error": null, "result": null, "spawned_tasks": [ { "_href": "/pulp/api/v2/tasks/08ed610f-ec35-4feb-b152-181f37da086f/", "task_id": "08ed610f-ec35-4feb-b152-181f37da086f" } ] } Moving to Verified. This has been fixed in Pulp 2.4.0-1. |