Bug 1130153
Summary: | Cannot retrieve bindings between repo and consumer after repo deletion | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Ina Panova <ipanova> |
Component: | API/integration | Assignee: | Jeremy Cline <jcline> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ina Panova <ipanova> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | jcline, mhrivnak, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1080642 | Environment: | |
Last Closed: | 2014-11-24 21:33:50 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: | |||
Bug Depends On: | 1080642 | ||
Bug Blocks: |
Description
Ina Panova
2014-08-14 12:51:09 UTC
appeared in 2.4.1-0.1.alpha See related bugs : https://bugzilla.redhat.com/show_bug.cgi?id=1130084 https://bugzilla.redhat.com/show_bug.cgi?id=1130151 build: 2.5.0-0.6.beta Bindings before repo delete: # curl -H "Accept: application/json" -X GET -k -u admin:admin 'https://example.com/pulp/api/v2/consumers/c1/bindings/'|python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1187 100 1187 0 0 3342 0 --:--:-- --:--:-- --:--:-- 3353 [ { "_href": "/pulp/api/v2/consumers/c1/bindings/m1/yum_distributor/", "_id": { "$oid": "542d2064908a3a4ee66219cf" }, "_ns": "consumer_bindings", "binding_config": {}, "consumer_actions": [], "consumer_id": "c1", "deleted": false, "details": { "ca_cert": null, "client_cert": null, "gpg_keys": [], "protocols": [ "https" ], "relative_path": "/pulp/repos/repos/pulp/pulp/demo_repos/zoo/", "repo_name": "m1", "server_name": "ec2-54-217-44-62.eu-west-1.compute.amazonaws.com" }, "distributor_id": "yum_distributor", "id": "542d2064908a3a4ee66219cf", "notify_agent": true, "repo_id": "m1", "type_id": "yum_distributor" }, { "_href": "/pulp/api/v2/consumers/c1/bindings/m2/yum_distributor/", "_id": { "$oid": "542d2067908a3a4ee88c0b7b" }, "_ns": "consumer_bindings", "binding_config": {}, "consumer_actions": [], "consumer_id": "c1", "deleted": false, "details": { "ca_cert": null, "client_cert": null, "gpg_keys": [], "protocols": [ "https" ], "relative_path": "/pulp/repos/m2", "repo_name": "m2", "server_name": "ec2-54-217-44-62.eu-west-1.compute.amazonaws.com" }, "distributor_id": "yum_distributor", "id": "542d2067908a3a4ee88c0b7b", "notify_agent": true, "repo_id": "m2", "type_id": "yum_distributor" } ] Bindings after repo delete: # curl -H "Accept: application/json" -X GET -k -u admin:admin 'https://example.com/pulp/api/v2/consumers/c1/bindings/'|python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 579 100 579 0 0 1587 0 --:--:-- --:--:-- --:--:-- 1590 [ { "_href": "/pulp/api/v2/consumers/c1/bindings/m2/yum_distributor/", "_id": { "$oid": "542d2067908a3a4ee88c0b7b" }, "_ns": "consumer_bindings", "binding_config": {}, "consumer_actions": [], "consumer_id": "c1", "deleted": false, "details": { "ca_cert": null, "client_cert": null, "gpg_keys": [], "protocols": [ "https" ], "relative_path": "/pulp/repos/m2", "repo_name": "m2", "server_name": "ec2-54-217-44-62.eu-west-1.compute.amazonaws.com" }, "distributor_id": "yum_distributor", "id": "542d2067908a3a4ee88c0b7b", "notify_agent": true, "repo_id": "m2", "type_id": "yum_distributor" } ] Tested in 2.5.0-0.6.beta Moving to Verified. |