Project

General

Profile

Bug #21670

Allow non-RH hosts to NOT have content views

Added by Daniel Lobato Garcia about 4 years ago. Updated over 3 years ago.

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

Description

Currently the Content View and Lifecycle Environment are fields of a Content Facet. These fields have a NOT-NULL constraint, so they are validated on every host. This means that if I'm trying to create a CentOS, or Debian host, it will ask for a Content View and Lifecycle - which I may not want for hosts that don't use subscription-manager.

In fact for the CentOS case, it's harmful: having a Content View for a CentOS host changes the @mediapath variable (the parameter sent to --url in the kickstart) to point to Pulp, which means you're pointing to Red Hat and installing Red Hat instead of CentOS (unless you've synced CentOS).

Associated revisions

Revision 405a1bc7 (diff)
Added by Daniel Lobato Garcia about 4 years ago

Fixes #21670 - Allow non RH hosts to NOT have content views

Currently the Content View and Lifecycle Environment are fields of a
Content Facet. These fields have a NOT-NULL constraint, so they are
validated on every host. This means that if I'm trying to create a
CentOS, or Debian host, it will ask for a Content View and Lifecycle -
which I may not want for hosts that don't use subscription-manager.

In fact for the CentOS case, it's harmful: having a Content View for a
CentOS host changes the @mediapath variable (the parameter sent to --url
in the kickstart) to point to Pulp, which means you're pointing to
Red Hat and installing Red Hat instead of CentOS (unless you've synced
CentOS).

History

#1 Updated by The Foreman Bot about 4 years ago

  • Assignee set to Daniel Lobato Garcia
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7064 added

#2 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 329

#3 Updated by Anonymous about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#4 Updated by Andrew Kofink over 3 years ago

  • Has duplicate Bug #23457: Running bootstrap fails: Content view can't be blank added

#5 Updated by Andrew Kofink over 3 years ago

  • Has duplicate deleted (Bug #23457: Running bootstrap fails: Content view can't be blank)

Also available in: Atom PDF