Blog posts

Origin on Fedora, Part 1

This week was the Fedora Cloud Working Group’s Activity “Day” (FAD), where a dozen of us got together to work on the project’s adoption and innovation in the public and private cloud sectors. Discussions and decisions there covered a range of topics, including Fedora Atomic Host, public cloud images, Vagrant improvements, and automated testing of cloud base images, Atomic and container images. You’ll be seeing a bunch of changes resulting from this over the coming months.

One topic came up which is going to pretty much eat my time for at least a week, though: we don’t yet have a working, easy-to-deploy download of OpenShift Origin on Fedora Atomic Host. Clearly, we need to fix this; my goal is to have something working by this time next week, for DockerCon.

Building a Sub-Atomic Cluster, Part 1

While a lot of people use Atomic Host and OpenShift on public clouds, one of the ideas behind Project Atomic is to enable you to create your own container cloud. So for both testing and demos, we needed a container stack on “real hardware,” letting us test things like bare-metal deployment, Foreman integration, power-loss failover, and high availability in general. And this cluster needed to be small enough to bring with us to events. Given that, introducing the Sub-Atomic cluster:

picture of minnowboard cluster

Introducing Commissaire

What the heck is commissaire? I’m glad you asked! Commissaire is a new component of Project Atomic that aims to simplify life for cluster administrators. It provides a simple, script-friendly REST interface for cluster-wide maintenance operations like system upgrades and rolling restarts.

Instead of starting from scratch, Commissaire utilizes common technologies such as Ansible for communicating with cluster nodes, and interfaces with OpenShift and Kubernetes.

Using the Atomic CLI to Scan Virtual Machines

Recently on the Red Hat Developers blog, I wrote about the re-architecture of the atomic vulnerability scan feature. The primary function of atomic scan is to detect vulnerabilities in your images and containers using a plug-in enabled architecture.

Building upon that concept, we added an additional feature to atomic scan where you can now pass a chroot to it for the purposes of scanning. One immediate benefit from this change was that we can now use the same scanner for our images and containers to scan a virtual machine (VM) that has been mounted onto the host’s filesystem.

In this blog, I will show you how to scan a live VM with atomic scan.

App Development on OpenShift using ADB

The Atomic Developer Bundle (ADB) is a prepackaged development environment filled production-grade pre-configured tools that also include OpenShift origin. Using ADB app-developers can easily start building and developing their application on OpenShift platform.

In this blog post, we are going to learn step by step to create an application on OpenShift platform and deploy. Before we proceed any further, I highly recommend you to go through prerequisites guide. ADB provide a custom Vagrantfile to setup and provision OpenShift platform.

Working with Docker LVM Plugin

Recently Docker introduced a volume command (docker volume –help for more information) to allow users to create a logical volume and then bind-mount it inside the container at container creation/runtime. You can achieve this by:

local_volume_foobar

This will create a logical volume foobar mounted at filesystem location /var/lib/docker/volumes.

Now, you can bind mount the foobar volume into the /run directory inside the container.

bind_mount_foobar_local

GSOC Atomic, Cockpit Students Selected

The students have been selected for Google Summer of Code 2016. Through the Fedora Project, Project Atomic has three students who will be working on projects this summer:

We are very excited to be participating in GSOC with Fedora, and are looking forward to the amazing things these students will do.