Pinning Deployments in OSTree Based Systems

Introduction RPM-OSTree/OSTree conveniently allows you to rollback if you upgrade and don’t like the upgraded software. This is done by keeping around the old deployment; the old software you booted in to. After a single upgrade you’ll have a booted deployement and the rollback deployment. On the next upgrade the current rollback deployment will be discarded and the current booted deployment will become the new rollback deployment. Typically these two deployments are all that is kept around. [Read More]

April Fedora Infrastructure Hackfest

Introduction Earlier this month I was lucky enough to attend the 2018 Fedora Infrastructure Hackfest. It’s always a treat to hang out with some of the people who really make Fedora tick. Sinny Kumari and I were there to help represent the Atomic Working Group, and also get some face time with each other to learn and hack on a few things related to the Atomic Working group. The Hackfest was held in Paul Frield’s hometown of Fredricksburg, VA. [Read More]

Pruning Policy for Specific Branches of OSTree Repos

Introduction In Fedora we are moving to a unified OSTree repo structure where there is a single OSTree repository that is the remote for all branches of Fedora (rawhide, branched, stable, etc). As part of this we want to be able to define different retention policies for different branches within the repository. For rawhide we’ll retain a few weeks worth of commits, but for stable we don’t want to prune any of the commits. [Read More]

Firewalld in Atomic Host

cross posted with this Project Atomic blog post TL;DR Fedora Atomic Host (and derivatives) will now include the firewalld package in the base OSTree that is tested, delivered, and released every two weeks. Existing users should observe no change as it won’t be enabled by default. Firewalld in Atomic Host In the past we have had requests to have firewalld in Atomic Host to enable a better interface into firewall management for administrators and management software. [Read More]

Fedora BTRFS+Snapper - The Fedora 27 Edition

History I’m back again with the Fedora 27 edition of my Fedora BTRFS+Snapper series. As you know, in the past I have configured my computers to be able to snapshot and rollback the entire system by leveraging BTRFS snapshots, a tool called snapper, and a patched version of Fedora’s grub2 package. I have some great news this time! You no longer need a patched version of Fedora’s grub package in order to pull this off. [Read More]

Fedora 26->27 Atomic Host Upgrade Guide

cross posted with this Project Atomic blog post Introduction This week we put out the first release of Fedora 27 Atomic Host. Some quick notes: In Fedora 27 Atomic Host we removed kubernetes from the base OSTree. See Appendix A: Upgrading Systems with Kubernetes for more information. For Fedora 27 we are currently sticking with the non-unified repo approach as opposed to a unified repo. TL;DR nothing is changing for now but we expect to implement a unified repo as described here during the F27 release cycle. [Read More]

Setting up an Atomic Host Build Server

Introduction Hosting your own Atomic Host OSTree can be useful from time to time. Maybe you want to try out something new or maybe you want to permanently build your own custom tree and use it forever. It can be quite easy to set up a build server and host the contents, especially for personal use. This post will walk through setting up a server to do builds and also hosting the content over http. [Read More]

Atomic Host 101 Lab Part 5: Containerized and Non-Containerized Applications

Introduction In Part 4 of this series we learned about package layering and experimental features of atomic host OSTree mutations. This included installing packages from external repositories as well as removing and replacing components of the base OSTree that was delivered with Atomic Host. We also converted our localweb service to be hosted by a local docker container running the httpd software rather than Python 3. In this section of the lab we’ll talk a litte bit more about Containerized and Non-Containerized Applications and the role Atomic Host plays. [Read More]

Atomic Host 101 Lab Part 4: Package Layering, Experimental Features

Introduction In Part 3 of this series we learned about rebasing, upgrading, and performing rollbacks on Atomic Host. We also learned how files are restored during a rollback operation and how to inspect the differences in RPM content between each commit in the OSTree history of an Atomic Host using the rpm-ostree command line tool. In this section we will cover the following topics from the outline in Part 0. [Read More]

Atomic Host 101 Lab Part 3: Rebase, Upgrade, Rollback

Introduction In Part 2 of this series we learned about configuring container storage on Atomic Host. In this section we will cover the following topics from the outline in Part 0. Atomic Host Rebasing Atomic Host Upgrades and Rollbacks Browsing OS History Rebasing One of the more fascinating aspects of Atomic Host techology is that you can rebase to completely different operating system trees. Let’s take this to an extreme and go from the newer technology in Fedora to the older (more stable) technology in CentOS. [Read More]