Bug #9209
Repo create on renamed capsule ISEs
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Description
1) Install Katello
2) Rename default capsule to anything else
3) Go to repo create and try creating a new repo
Actual
Action not allowed for the default capsule. (RuntimeError)
/projects/katello/app/lib/actions/katello/capsule_content/add_repository.rb:20:in `plan'
Basically we identify the default capsule by using the host name and comparing it to satellite's host. A better approach is to check for Pulp feature to do the same,
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Target version set to 66
- Pull request https://github.com/Katello/katello/pull/4975 added
- Pull request deleted (
)
#2
Updated by Partha Aji about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|a9ee482323cfdc9f2bfbbfd1b09a3dba85dabc92.
#3
Updated by Eric Helms about 8 years ago
- Legacy Backlogs Release (now unused) set to 23
- Triaged changed from No to Yes
#4
Updated by Eric Helms about 8 years ago
- Has duplicate Bug #9096: Changing the name of the primary Katello smart proxy breaks Red Hat Repositories added
Fixes #9209 - Default capsule now checked using Pulp feature
Previously default capsules would be checked via matching hostnames of
the satellite and the hostname given to the capsule. This caused all
sorts of issues when customers did things like renaming hosts etc.
This is now fixed by using the fact that only the default capsule has
"Pulp" feature, as opposed to the other capsules that typically have the 'Pulp Node'
feature.