Project

General

Profile

Bug #24376

Installation media and kickstart repository ID are not exclusive

Added by Stephen Benjamin over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Provisioning
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

For provisioning, you can use either synced content or installation media. The former is provided by Katello, and they should be an either-or prosition, however this isn't enforced anywhere. This causes bugs if you want to switch between them.

For example:

1. Sync a repository with a distribution (e.g. RHEL 7.3 Kickstart)
2. Create an operating system of a different version, say CentOS 7.5
3. Create a hostgroup with the synced content selected and save it
4. Try to change the host group to CentOS 7.5 using installation media, you'll get an error: "The selected kickstart repository is not part of the assigned content view, lifecycle environment, content source, operating system, and architecture"

Associated revisions

Revision 46dd0ff9 (diff)
Added by Stephen Benjamin over 1 year ago

fixes #24376 - ks repo and medium are mutually exlcusive

For provisioning, you can use either synced content or installation
media. The former is provided by Katello, and they should be an
either-or proposition, however this isn't enforced anywhere. This causes
bugs if you want to switch between them.

For example:

1. Sync a repository with a distribution (e.g. RHEL 7.3 Kickstart)

2. Create an operating system of a different version, say CentOS 7.5

3. Create a hostgroup with the synced content selected and save it

4. Try to change the host group to CentOS 7.5 using installation media,
you'll get an error: "The selected kickstart repository is not part of
the assigned content view, lifecycle environment, content source,
operating system, and architecture"

History

#1 Updated by Stephen Benjamin over 1 year ago

  • Bugzilla link set to 1267521

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7566 added

#3 Updated by Andrew Kofink over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0

#4 Updated by Stephen Benjamin over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF