Project

Profile

Help

Issue #813

closed

pulp-admin doesn't show unassociated units in pulp-admin iso remove

Added by jluza about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.3
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

This is first attempt which should remove anything because isos units don't have filenames.

$ pulp-admin iso repo remove --repo-id rhs-3-for-rhel-6-server-isos__6Server__x86_64 --str-eq="filename=rhs-3.0-rhel-6-x86_64-dvd-1.iso"
This command may be exited via ctrl+c without affecting the request.

[-]
Waiting to begin...

[-]
Running...

Task Succeeded

Pulp didn't remove anything, but showed task as Succeeded.

Second attempt with correct attribute 'name' instead of filename

$ pulp-prod iso repo remove --repo-id rhs-3-for-rhel-6-server-isos__6Server__x86_64 --str-eq="name=rhs-3.0-rhel-6-x86_64-dvd-1.iso"
This command may be exited via ctrl+c without affecting the request.

[-]
Waiting to begin...

[-]
Running...

Task Succeeded

This time pulp removed desired iso. But output is the same as for case where no iso units were removed. I think there is showed list of rpms which will be removed when you call "pulp-admin rpm repo remove". Pulp should have consistent behaviour for similar calls like these.

Notice:
This bug was found in pulp-2.3 pulp-admin, but it's possible it's still applicable on pulp-2.5

Also available in: Atom PDF