Task #1213
closedRefactor #765: Convert Pulp to use MongoEngine
Orphan listing and removal does not work with mongoengine converted models
0%
Description
If you have an orphan in your repo and attempt to list it and then remove it and both will fail. For example if testing against the in-development puppet conversion to mongoengine then you can run the following commands to cause these failures.
pulp-admin login -u admin -p admin
pulp-admin puppet repo create --repo-id=forge --feed=http://forge.puppetlabs.com --queries torssh
pulp-admin puppet repo sync run --repo-id forge
pulp-admin puppet repo remove --repo-id forge --str-eq="name=torssh"
pulp-admin orphan list
pulp-admin orphan remove --all
I expect 1 puppet orphan to be shown when the list occurs and for the remove to work correctly.
Updated by bmbouter about 9 years ago
- Blocked by Task #1212: Fix Unit removal. It does not work with mongoengine models added
Added by bcourt about 9 years ago
Added by bcourt about 9 years ago
Revision b53db554 | View on GitHub
add mongoengine orphan-cleanup support
re #1213
Updated by bmbouter about 9 years ago
I'm removing the unblocking relationship because the command that fails (see below) gives an error but accomplishes the unit removal from the repo as needed. This is the command that gives a failure although the unit does get removed.
pulp-admin puppet repo remove --repo-id forge --str-eq="name=torssh"
Updated by bmbouter about 9 years ago
- Blocked by deleted (Task #1212: Fix Unit removal. It does not work with mongoengine models)
Updated by bmbouter about 9 years ago
- Status changed from NEW to POST
- Assignee set to bcourt
PR available at: https://github.com/pulp/pulp/pull/2012
Updated by rbarlow almost 9 years ago
- Status changed from MODIFIED to 5
- Platform Release set to 2.8.0
Updated by dkliban@redhat.com over 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
add mongoengine orphan-cleanup support
re #1213