Fedora BTRFS+Snapper - The Fedora 25 Edition

History I'm back again with the Fedora 25 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 updated the patchset (patches taken from SUSE) for Fedora 25's version of grub and the results are available in this git repo. [Read More]

Installing an OpenShift Origin Cluster on Fedora 25 Atomic Host: Part 2

Cross posted with this_ Project Atomic Blog post Introduction In part 1 of this series we used the OpenShift Ansible Installer to install Openshift Origin on three servers that were running Fedora 25 Atomic Host. The three machines we'll be using have the following roles and IP address configurations: +-------------+----------------+--------------+ | Role | Public IPv4 | Private IPv4 | +=============+================+==============+ | master,etcd | 54.175.0.44 | 10.0.173.101 | +-------------+----------------+--------------+ | worker | 52. [Read More]

Installing an OpenShift Origin Cluster on Fedora 25 Atomic Host: Part 1

Cross posted with this_ Project Atomic Blog post Introduction Openshift Origin is the upstream project that builds on top of the Kubernetes platform and feeds into the OpenShift Container Platform product that is available from Red Hat today. Origin is a great way to get started with Kubernetes, and what better place to run a container orchestration layer than on top of Fedora Atomic Host? We recently released Fedora 25, along with the first biweekly release of Fedora 25 Atomic Host. [Read More]

Kompose Up for OpenShift and Kubernetes

Cross posted with this_ Red Hat Developer Blog post Introduction Kompose is a tool to convert from higher level abstractions of application definitions into more detailed Kubernetes artifacts. These artifacts can then be used to bring up the application in a Kubernetes cluster. What higher level application abstraction should kompose use? One of the most popular application definition formats for developers is the docker-compose.yml format for use with docker-compose that communicates with the docker daemon to bring up the application. [Read More]

Fedora 25 available in DigitalOcean

Cross posted with this_ fedora magazine post Last week the Fedora Project released Fedora 25. This week Fedora Project Community members have worked with the DigitalOcean team to make Fedora 25 available on their platform. If you're not familiar with DigitalOcean already, it's a dead simple cloud hosting platform that's great for developers. Important Notes The image has some specific differences from others that Fedora ships. You may need to know about these differences before you use the image. [Read More]

Sharing a Go library to Python (using CFFI)

Disclaimer I am not a Go expert so I may not be able to answer questions you may have about this process. I am simply trying to reproduce and document what I saw. Additionally, it was actually recommended to not do this for long running processes because you'll have two runtimes that may work against each other eventually (garbage collection, etc). Be wary. Introduction Back in July I went to Go Camp that was a part of Open Camps in NYC. [Read More]

Booting Lenovo T460s after Fedora 24 Updates

Introduction I recently picked up a new Lenovo T460s work laptop. It is fairly light and has 20G of memory, which is great for running Virtual Machines. One of the first things I did on this new laptop was install Fedora 24 onto the system. After installing from the install media I was up and running and humming along. Soon after installing I updated the system to get all bugfixes and security patches. [Read More]

Non Deterministic docker Networking and Source Based IP Routing

Introduction In the open source docker engine a new networking model was introduced in docker 1.9 which enabled the creation of separate "networks" for containers to be attached to. This, however, can lead to a nasty little problem where a port that is supposed to be exposed on the host isn't accessible from the outside. There are a few bug reports that are related to this issue. Cause This problem happens because docker wires up all of these containers to each other and the various "networks" using port forwarding/NAT via iptables. [Read More]

Fedora BTRFS+Snapper - The Fedora 24 Edition

History In the past I have configured my personal computers to be able to snapshot and rollback the entire system. To do this I am leveraging the BTRFS filesystem, a tool called snapper, and a patched version of Fedora's grub2 package. The patches needed from grub2 come from the SUSE guys and are documented well in this git repo. This setup is not new. I have fully documented the steps I took in the past for my Fedora 22 systems in two blog posts: part1 and part2. [Read More]

Vagrant: Sharing Folders with vagrant-sshfs

cross posted from this_ fedora magazine post Introduction We're trying to focus more on developer experience in the Red Hat ecosystem. In the process we've started to incorporate the Vagrant into our standard offerings. As part of that effort, we're seeking a shared folder solution that doesn't include a bunch of if/else logic to figure out exactly which one you should use based on the OS/hypervisor you use under Vagrant. [Read More]