Project

Profile

Help

Issue #667

closed

orphan remove by type does not validate the type provided

Added by pthomas@redhat.com about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.5
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

orphan remove --type does not validate the --type

Version-Release number of selected component (if applicable):
[root@rhsm-jenkins ~]# rpm -qa pulp-server
pulp-server-2.5.2-0.3.beta.el6.noarch
[root@rhsm-jenkins ~]#

How reproducible:

Steps to Reproduce:
1. Delete a repo that has some content
2. Try to run orphan remove by --type but provide a random name for the type
3.

Actual results:
[root@rhsm-jenkins ~]# pulp-admin orphan remove --type foo
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Succeeded

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1183072 +

Actions #1

Updated by bmbouter almost 9 years ago

  • Severity changed from Low to 1. Low

Added by bcourt almost 9 years ago

Revision 84351f74 | View on GitHub

Merge pull request #667 from barnabycourt/635

Fix import of scientific linux erratum that don't contain a description ...

Actions #2

Updated by ipanova@redhat.com almost 9 years ago

  • Project changed from RPM Support to Pulp
  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Platform Release set to 2.7.0
Actions #3

Updated by ipanova@redhat.com almost 9 years ago

  • Status changed from ASSIGNED to POST

Added by ipanova@redhat.com almost 9 years ago

Revision 81c4a401 | View on GitHub

Fixing behaviour of individual orphan removal and orphan removal by type

closes #667 closes #1035 https://pulp.plan.io/issues/667 https://pulp.plan.io/issues/1035

Added by ipanova@redhat.com almost 9 years ago

Revision 81c4a401 | View on GitHub

Fixing behaviour of individual orphan removal and orphan removal by type

closes #667 closes #1035 https://pulp.plan.io/issues/667 https://pulp.plan.io/issues/1035

Actions #4

Updated by ipanova@redhat.com almost 9 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by pthomas@redhat.com over 8 years ago

  • Status changed from 5 to 6

verified

[root@mgmt4 ~]# pulp-admin orphan list
+----------------------------------------------------------------------+
                                Summary
+----------------------------------------------------------------------+

Distribution:            0
Drpm:                    0
Erratum:                 4
Iso:                     0
Package Category:        1
Package Environment:     0
Package Group:           2
Puppet Module:           0
Rpm:                     32
Srpm:                    0
Yum Repo Metadata File:  0
Total:                   39

[root@mgmt4 ~]# pulp-admin orphan remove --type foo
The following resource(s) could not be found:

  foo (content_type_id)

[root@mgmt4 ~]# pulp-admin orphan remove --type rpm
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Succeeded

[root@mgmt4 ~]# 
Actions #7

Updated by amacdona@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF