The --skip option expects the export_distributor to exist
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 email@example.com about 6 years ago
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 4 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.