Actions
Bug #35534
closedRepo Deletion with no feed url causes a `ArgumentError`
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Deleting repositories that have no feed url causes the following error.
ArgumentError bad argument (expected URI object or URI string) - "/usr/share/ruby/uri/common.rb:739:in `URI'" - "/home/vagrant/katello/app/services/katello/pulp3/repository/yum.rb:15:in `remote_options'" - "/home/vagrant/katello/app/services/katello/pulp3/repository.rb:102:in `block in delete_remote'" - "/home/vagrant/katello/app/services/katello/pulp3/service_common.rb:51:in `ignore_404_exception'" - "/home/vagrant/katello/app/services/katello/pulp3/repository.rb:102:in `delete_remote'" - "/home/vagrant/katello/app/lib/actions/pulp3/repository/delete_remote.rb:11:in `invoke_external_task'"Steps to repro
- Create a custom repo with feed url
- Now remove feed url and update the repo
- Delete the repo
Expected:
Successful deletion
Actual:
Above error
Additional Notes:
When a repo has a feed url a repo remote is created in pulp. Possibly on repo update the remotes are not getting cleaned properly.
Updated by Samir Jha over 2 years ago
- Target version set to Katello 4.6.1
- Triaged changed from No to Yes
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10283 added
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.7.0 added
Updated by Samir Jha over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|ab0cce8386b53a919337dfa32ce914284bc4badc.
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/Katello/katello/pull/10375 added
Updated by Samir Jha about 2 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/10375)
Actions