Project

Profile

Help

Test #4823

closed

Modulemd profiles not getting removed from the consumer

Added by bherring over 3 years ago. Updated 10 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Pulp 2
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1827":https://github.com/pulp/pulpcore/issues/1827


I have consumer "integration_test_consumer_support" registered to pulp. It has 1 module enabled. When I try to delete all modulemd profiles belonging to this consumer, it simple gets ignored.

# before profile delete
$ curl -k -u admin:admin https://localhost/pulp/api/v2/consumers/integration_test_consumer_support/profiles/
[{"profile": [{"context": "deadbeef", "version": "20180730223407", "arch": "noarch", "name": "kangaroo", "stream": "0"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/modulemd/", "_ns": "consumer_unit_profiles", "profile_hash": "f69375f21b302f40025ff8a2128004e81436407554972029cbfbe445d0a2b563", "consumer_id": "integration_test_consumer_support", "content_type": "modulemd", "_id": {"$oid": "5cab7b49db284e2341a2c0ac"}, "id": "5cab7b49db284e2341a2c0ac"}]

# Delete profile
curl -X "DELETE" -k -u admin:admin https://localhost/pulp/api/v2/consumers/integration_test_consumer_support/profiles/modulemd/ 

# after profile delete
curl -k -u admin:admin https://localhost/pulp/api/v2/consumers/integration_test_consumer_support/profiles/
[{"profile": [{"context": "deadbeef", "version": "20180730223407", "arch": "noarch", "name": "kangaroo", "stream": "0"}], "_href": "/pulp/api/v2/consumers/integration_test_consumer_support/profiles/modulemd/", "_ns": "consumer_unit_profiles", "profile_hash": "f69375f21b302f40025ff8a2128004e81436407554972029cbfbe445d0a2b563", "consumer_id": "integration_test_consumer_support", "content_type": "modulemd", "_id": {"$oid": "5cab7b49db284e2341a2c0ac"}, "id": "5cab7b49db284e2341a2c0ac"}]

Related issues

Copied from Pulp - Issue #4654: Modulemd profiles not getting removed from the consumerCLOSED - CURRENTRELEASEttereshcActions
Actions #1

Updated by bherring over 3 years ago

  • Copied from Issue #4654: Modulemd profiles not getting removed from the consumer added
Actions #2

Updated by bherring over 3 years ago

  • Status changed from MODIFIED to NEW
Actions #3

Updated by pulpbot 10 months ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF