Project

General

Profile

Bug #9209

Repo create on renamed capsule ISEs

Added by Partha Aji about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Has duplicate Katello - Bug #9096: Changing the name of the primary Katello smart proxy breaks Red Hat RepositoriesDuplicate2015-01-23

Associated revisions

Revision a9ee4823 (diff)
Added by Partha Aji about 8 years ago

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.

Revision fe98b768
Added by Partha Aji about 8 years ago

Merge pull request #4975 from parthaa/capsule-fix

Fixes #9209 - Default capsule now checked using Pulp feature

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

#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

Also available in: Atom PDF