Rolling conten view

I recently updated to Foreman 3.15.0 + katello 4.17.
I discovered a new type of ContentView (CV) which are Rolling Update CV.

My question is how to be able to use a Composite CV (CCV) including a Rolling Update CV. Because in some composite I need to have latest for OS for ex, and the rest shoud stays freezed.

Is there a way to do it ? If yes could you explain it to me ?

Thx a lot

The short answer is: It is not planned to allow the inclusion of rolling CVs within CCVs.

However, it is planned to achieve your use case of using a mix of rolling and traditional versioned content on a host. It should already be possible to register a host with multiple content views. This feature was initially added as a hammer only feature, but will also be added to the Katello UI. I don’t know by heart exactly what Katello version has what level of integration.

Right now there is another limitation affecting rolling CVs, namely that they are hard coded to use the “Library” lifecycle environment. Hosts are always associated with a single lifecycle environment, so even if you manage to register your host with both your rolling CV and your CCV, it will have to consume the version of your CCV that is promoted to “Library”.

We are working on extending rolling CVs to make it possible to expose them to arbitrary lifecycle environments, but that work is still in progress here: Fixes #38477 - Allow rolling CVs in arbitrary environments by quba42 · Pull Request #11407 · Katello/katello · GitHub This work will be part of Katello 4.18 at the earliest.

With hosts assigned to multiple content view environments, it is actually possible for the content view environments to be associated with different lifecycle environments. For example, if I assign my host to

rollingcv1/Library,CCV1/Test

then it will use the Library repos from rollingcv1, and the Test repos from CCV1.

1 Like