Project Atomic is now sunset

The Atomic Host platform is now replaced by CoreOS. Users of Atomic Host are encouraged to join the CoreOS community on the Fedora CoreOS communication channels.

The documentation contained below and throughout this site has been retained for historical purposes, but can no longer be guaranteed to be accurate.

Project News

Important Notice for Users of Kubernetes on Fedora Atomic

UPDATE: This issue has been resolved. Please see the update blog post

One of the features of the Fedora Atomic Host 25 release was decoupling Kubernetes from the base ostree for Atomic (this is true of the current CentOS Atomic Host as well). That is, Kubernetes is no longer in the base install, you need to add it in as system containers and/or an overlay. This is a step forwards for Atomic because it means that users can continuously update Atomic, and update Kubernetes on a different schedule which works for their cluster. Since Kubernetes gets released four times a year, this lets developers update to the latest version, and production users stay on their production version.

However, when we released Fedora Atomic 25, the containerized install wasn’t quite ready, and there were issues with installing Kubernetes using package layering which we hadn’t anticipated. At the time, we expected those issues to be resolved within a few days. Instead, some have taken longer than expected and are still unresolved or waiting on PR review.

The Fedora Atomic team is hard at work on getting a solution out for Kubernetes users and expect to have one before the holidays. If you are able to help with building or testing, please speak up on the Atomic Development mailing list; we could use your help. If you can’t help, wait for us to publish documentation of the new containerized Kubernetes before you rebase to 25. Bug fixes are still available for the Fedora 24 tree.

If you use Fedora Atomic, but do not use Kubernetes, this issue does not affect you. If you are using Kubernetes based on a containerized install already (via Kubeadm or Hyperkube), this issue is also not a problem for you. Unaffected users should rebase to Fedora Atomic 25 for updated libraries and platforms, including the latest OpenShift and Docker support.

Thanks for your patience, and we’ll see you on the mailing lists and IRC with any other issues.

View article »

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

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. This blog post will show you the basics for getting a production installation of Origin running on Fedora 25 Atomic Host using the OpenShift Ansible Installer. The OpenShift Ansible installer will allow you to install a production-worthy OpenShift cluster. If you’d like to just try out OpenShift on a single node instead, you can set up OpenShift with the oc cluster up command, which we will detail in a later blog post.

Read More »

Cockpit 125 Now Available

Cockpit’s build 125 has been released.

Cockpit is the modern Linux admin interface. We release regularly. Here are the release notes from version 123, 124 and 125.

Cockpit is now properly translatable

Cockpit is now properly translatable. It was a big task to extract all the translatable strings and make translations work consistently between the browser and installed tools like the bridge.

We now start also run the login user session with a proper locale and LANG environment variables.

You can help translate cockpit in Zanata, or if you find text in the front end that isn’t translatable, then please do report it.

Changes:

Display OSTree signatures

Peter implement displaying OSTree tree signatures. You can tell where a certain update tree came from and who signed it.

New expandable views for storage partitions

Marius implemented expandable views in the Storage pages. These let you dive into the details of a particular partition without having to navigate away from the page describing where it lives.

Other storage fixes

Marius did work to fix many other storage related bugs. In particular Cockpit now deals properly with passphrases stored for LUKS encrypted devices, and also no longer offers to format read-only block devices.

Full testing on RHEL 7.3, Ubuntu 16.04 and Debian 8 Jessie

The Cockpit project started testing on Cockpit on RHEL 7.3, Ubuntu 16.04 and Debian 8 Jessie along the operating systems we tested earlier. These will be part of our usual continuous integration, where we boot thousands or tens of thousands of instances per day to test changes and contributions.

Marius fixed many bugs we found, and filed operating system bugs in the issue trackers for those operating systems.

You can see the which operating systems we test Cockpit on:

There’s no Debian Jessie repository yet, but hopefully we can have that ready as time permits.

System shutdown can be scheduled by date

Fridolin did work a long time ago, so that users could select a specific date and time to schedule a shutdown or reboot of the system. Stef finished that work added tests and it’s now in Cockpit.

Properly terminate user sessions on the Accounts page

The Accounts page now properly terminates user sessions when the Terminate Session button is clicked. We use the correct systemd loginctl commands.

Get it

You can get Cockpit here.

Cockpit 125 is available in Fedora 25.

Or download the tarball.

View article »

Fedora Atomic 25 released

Fedora 25 has been released, including Fedora Atomic 25, the latest build of Fedora’s container platform. Among the features added in this build are:

You can install Fedora Atomic 25 by any of the various methods listed on the GetFedora Atomic page. You can also upgrade an existing server to Atomic 25 from version 24:

-bash-4.3# rpm-ostree status
State: idle
Deployments:
● fedora-atomic:fedora-atomic/24/x86_64/docker-host
       Version: 24.78 (2016-11-10 02:57:50)
        Commit: 5ac1aee3c8810f4da27b0dee0c70899409602b3bf6ef47c60ee23600be795d47
        OSName: fedora-atomic

-bash-4.3# ostree remote add --set=gpg-verify=false fedora-atomic-25 \
   https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/
-bash-4.3# rpm-ostree rebase fedora-atomic-25:fedora-atomic/25/x86_64/docker-host

2037 metadata, 10860 content objects fetched; 293397 KiB transferred in 301 seconds
Copying /etc changes: 24 modified, 0 removed, 49 added
Transaction complete; bootconfig swap: yes deployment count change: 1
Freed objects: 18.7 kB
Changed:
  NetworkManager 1:1.2.4-3.fc24 -> 1:1.4.2-1.fc25
...
timedatex-0.4-2.fc24.x86_64
Run "systemctl reboot" to start a reboot

-bash-4.3# rpm-ostree status
State: idle
Deployments:
● fedora-atomic-25:fedora-atomic/25/x86_64/docker-host
       Version: 25.42 (2016-11-16 10:26:30)
        Commit: c91f4c671a6a1f6770a0f186398f256abf40b2a91562bb2880285df4f574cde4
        OSName: fedora-atomic

  fedora-atomic:fedora-atomic/24/x86_64/docker-host
       Version: 24.78 (2016-11-10 02:57:50)
        Commit: 5ac1aee3c8810f4da27b0dee0c70899409602b3bf6ef47c60ee23600be795d47
        OSName: fedora-atomic

Package Layering is a feature which allows the installation of groups of packages on a running Atomic system without breaking upstream updateability. It requires that the packages be available from a configured repo. As a trivial example, since I’m an emacs guy, I wanted to install emacs on my kuberntes master so that I can edit my kubernetes configuration files with it:

-bash-4.3# rpm-ostree status
State: idle
Deployments:
● fedora-atomic:fedora-atomic/25/x86_64/docker-host
       Version: 25.26 (2016-10-15 10:27:51)
        Commit: c972fb623bd7973aa26f2dc6703a398719d39410191a2aad1943733ac54a9c5d
        OSName: fedora-atomic
-bash-4.3# rpm-ostree pkg-add emacs-nox

Downloading metadata: [===========================] 100%
Resolving dependencies... done
Will download: 7 packages (42.7 MB)

  Downloading from fedora: [======================] 100%

Importing: [====================================] 100%
Checking out tree c972fb6... done
Overlaying... done
Running %post for emacs-common...... done
Running %posttrans for emacs-common...... done
Running %posttrans for emacs-nox...... done
Writing rpmdb... done
Writing OSTree commit... done
Copying /etc changes: 25 modified, 0 removed, 50 added
Transaction complete; bootconfig swap: yes deployment count change: 1
Freed 1 pkgcache branch: 67.4 kB
Added:
  alsa-lib-1.1.1-2.fc25.x86_64
  emacs-common-1:25.1-2.fc25.x86_64
  emacs-nox-1:25.1-2.fc25.x86_64
  gpm-libs-1.20.7-9.fc24.x86_64
  libjpeg-turbo-1.5.1-0.fc25.x86_64
  liblockfile-1.09-4.fc24.x86_64
Run "systemctl reboot" to start a reboot
-bash-4.3# systemctl reboot

...

-bash-4.3# rpm-ostree status
State: idle
Deployments:
● fedora-atomic:fedora-atomic/25/x86_64/docker-host
       Version: 25.26 (2016-11-23 00:39:02)
    BaseCommit: c972fb623bd7973aa26f2dc6703a398719d39410191a2aad1943733ac54a9c5d
        Commit: 82b69e3d34f4b1389126f0c57e03175a7c60f935da19f0285e0beef4476207b7
        OSName: fedora-atomic
      Packages: emacs-nox

  fedora-atomic:fedora-atomic/25/x86_64/docker-host
       Version: 25.26 (2016-10-15 10:27:51)
        Commit: c972fb623bd7973aa26f2dc6703a398719d39410191a2aad1943733ac54a9c5d
        OSName: fedora-atomic
-bash-4.3# emacs --version
GNU Emacs 25.1.1

In the next couple weeks, we’ll post on how to use package layering to install your chosen release of Kubernetes, how to deploy Docker Swarm on Atomic, and other things you can do with the new release. In the meantime, download and play with it yourself.

View article »