Katello OSTree plugin

The OSTree functionality has finally been merged to katello master. With the addition of this plugin one can now use katello to manage rpm-ostree repositories. Installer updates are being worked on this right now, but if you want to be able to play with ostree repos you need to have ostree/pulp-ostree-plugins installed. Note this functionality is only available on Rhel 7 / Centos 7. On my centos 7 dev box I have the following repo enabled to 'yum install -y ostree rpm-ostree'

[atomic7-testing]
name=atomic7-testing
baseurl=http://cbs.centos.org/repos/atomic7-testing/x86_64/os/
gpgcheck=0
enabled=1

You will also need pulp 2.8's - pulp-ostree-plugins package. You should be able to get this in master once -> https://github.com/Katello/katello-packaging/pull/165 goes through, but meanwhile you can get it from -> https://repos.fedorapeople.org/pulp/pulp/beta/2.8/$releasever/$basearch/

Stories covered in this install

  • UI/API - As a user I want to be able to CRUD an rpm-ostree. Same repo create UI. A good value fo the feed -> https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/

  • UI/API - As a user I want to be able to add/update ostree branches. There is now a "Manage Branches" in the repo details that lets you add remove branches. Right now the summary is not automatically populated. Going to be fixed in a future stories (Feature #13586: As a user I want to be able to see ostree branches from summary - Katello - Foreman, Feature #13587: As a user I want to be able to Add/Remove ostree branches from summary - Katello - Foreman, Feature #13588: As a user I want to be able to "Pull All" ostree branches from summary - Katello - Foreman ). You need figure out the available branches by following the "refs/heads/<path>/…". The branch name will be stuff that comes after refs/heads. For example a good value for the branch for the fedora project feed -> fedora-atomic/f22/x86_64/docker-host (considering this as the navigation path https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/refs/heads/fedora-atomic/f22/x86_64/docker-host)

  • UI/API - As a user I want to be able to sync an rpm-ostree repo -> Same as present. Check whether contents are available at /var/lib/pulp/published/ostree/web/ after sync. You should also be able to navigate to -> https://&lt;katello fqdn&gt;/pulp/ostree/web/Default_Organization/Library/custom/&lt;product&gt;/&lt;repo&gt;/...

  • UI/API - As a user I want to be able to import a manifest - Same as regular (make sure manifest has atomic stuff)

  • UI/API - As a user I want to be able to sync/enable an rpm-ostree repo via CDN manifest - There should be an ostree tab now and should let you enable/disable repos. You should then be able to navigate to the products and sync the remo

  • UI/API - As a user I want to be able to sync a CDN based rpm-ostree repo - Same enable + sync process as any other repo.

  • UI/API - As a user I want to be able to add/remove rpm-ostree repos to a content view - There should be a OSTree tab where you can add/remove ostree repos.

  • UI/API - As a user I want to be able to publish/promote rpm-ostree repos to a content view .

Coming Soon

··· ---------- Registering / managing hosts ->https://github.com/Katello/puppet-certs/pull/67 Installer Updates -> separating ostree plugin and katello Bug Fixes galore.

Acknowledgements

I would like to thank every one who helped us get this feature merged,

Contributors: David Davis, Dmitri Dolguik, Daniel Lobato Garcia, Partha Aji
Reviewers: Eric Helms, Chris Duryee, Brad Buckingham, Justin Sherrill
Moral Support: Every One :slight_smile: