Project

Profile

Help

Issue #1215

closed

Pulp - Refactor #765: Convert Pulp to use MongoEngine

Unit removal --type doesn't work with mongoengine converted types

Added by bmbouter about 9 years ago. Updated over 5 years ago.

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

Description

I was trying to do some orphan removal with --type for a converted mongoengine model (puppet in my case) and it didn't work for me

1. Assuming I have a puppet_module already orphaned
2. Try to remove it using orphan remove --type puppet_module as follow

[bmbouter@dhcp129-138 pulp]$ pulp-admin orphan remove --type puppet_module

You'll get the following error on the CLI:

The following resource(s) could not be found:

  puppet_module (content_type_id)

Related issues

Related to Pulp - Issue #1239: Pulp FileDistributor base class raises exception when operating on mongoengine based unitCLOSED - CURRENTRELEASEmhrivnakActions

Also available in: Atom PDF