Bug #21670
Allow non-RH hosts to NOT have content views
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
History
#1
Updated by The Foreman Bot over 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 over 4 years ago
- Legacy Backlogs Release (now unused) set to 329
#3
Updated by Anonymous over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|405a1bc7c6434cad3974b904beaca54e13c83e7d.
#4
Updated by Andrew Kofink about 4 years ago
- Has duplicate Bug #23457: Running bootstrap fails: Content view can't be blank added
#5
Updated by Andrew Kofink about 4 years ago
- Has duplicate deleted (Bug #23457: Running bootstrap fails: Content view can't be blank)
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).