Issue #2412
closedThe --skip option expects the export_distributor to exist
Description
I have created RPM repos only with yum_distributor because I want to create ISO images with the export_distributor. When I run the pulp-admin rpm repo update --repo-id my_repo --skip erratum
, I get an error that the export_distributor doesn't exist:
$ pulp-admin rpm repo update --repo-id my_repo --skip erratum
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Updating distributor: yum_distributor
Task Succeeded
[\]
Running...
Updating distributor: export_distributor
Task Failed
Missing resource(s): repo_id=my_repo,
distributor_id=export_distributor
I believe that this action should walk through existing distributors instead of expecting that the yum and the export distributor exists within every repo.
Updated by amacdona@redhat.com over 7 years ago
- Severity changed from 2. Medium to 1. Low
- Triaged changed from No to Yes
Could be related to the expectation of the CLI that repositories were created with the CLI, which creates both distributors.
Updated by jiri.tyr@gmail.com over 7 years ago
amacdona@redhat.com wrote:
Could be related to the expectation of the CLI that repositories were created with the CLI, which creates both distributors.
It definitely is related to that but you can also delete any distributor through the CLI and then that expectation is false.
Updated by bmbouter almost 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.