(Created page with "{{admon/note|Draft| This page is currently a draft. Once it's vetted through QA and the Atomic WG, it'll move to a more permanent location}} == Atomic WG Objectives == The ob...") |
No edit summary |
||
Line 18: | Line 18: | ||
All Fedora Atomic images (Installer and the various images) must correctly instantiate the storage pools for the installed container runtime. | All Fedora Atomic images (Installer and the various images) must correctly instantiate the storage pools for the installed container runtime. | ||
{{hidden|header=Container runtime|content=Currently the targeted container runtime is Docker, and docker-storage-setup is used to prepare the storage for containers. This criterion is worded such that if we change the runtime in the future, we don't have to change the criterion.|headerstyle=background:#e5e5e5|fw1=normal|ta1=left}} | {{hidden|header=Container runtime|content=Currently the targeted container runtime is Docker, and docker-storage-setup is used to prepare the storage for containers. This criterion is worded such that if we change the runtime in the future, we don't have to change the criterion.|headerstyle=background:#e5e5e5|fw1=normal|ta1=left}} | ||
{{hidden|header="Correctly?"|content=Fedora Atomic host uses the devicemapper backend for docker storage. Eventually we'll be moving to overlayfs to handle storage. Each of these requires a different setup, so the intent here is that whatever backend we ship gets set up properly.|headerstyle=background:#e5e5e5|fw1=normal|ta1=left}} | |||
{{anchor|docker-storage-setup}} | {{anchor|docker-storage-setup}} | ||
==== Upgrade ==== | |||
When a new ostree is composed, it must be possible to upgrade to it with an existing host via both the `atomic host upgrade` and `rpm-ostree upgrade` commands. | |||
{{anchor|ostree-upgrade}} | |||
==== Rollback ==== | |||
After upgrading to the latest tree, it must be possible to downgrade back to the previous tree with both the `atomic host rollback` and `rpm-ostree rollback` commands. | |||
{{hidden|header=Only on existing installs|content=Because an installer image or recently generated qcows/vagrant/raw image only ships the latest tree, it doesn't make sense to require these instances to be able to downgrade. This is only meant for existing Fedora Atomic Hosts that have installed a new tree.|headerstyle=background:#e5e5e5|fw1=normal|ta1=left}} | |||
{{anchor|ostree-rollback}} | |||
==== Cloud-init ==== | |||
On virtualized atomic host images cloud-init must support the following features: | |||
# pass user defined ssh key into the guest | |||
# set hostname | |||
# run arbitrary user defined scripts | |||
{{hidden|header=Why only those features?|content=cloud-init has a large variety of options that it can work with - not all of those options make sense when it comes to an Atomic host (like package installation). These are listed as the bare minimum of features that have to work for base functionality.|headerstyle=background:#e5e5e5|fw1=normal|ta1=left}} | |||
{{anchor|cloud-init}} |
Revision as of 20:00, 3 April 2017
Atomic WG Objectives
The objectives of the Atomic WG are to:
- Release a new OStree and images every two weeks
- Ensure that upgrades to the latest release work
- Ensure that rolling back to a previous OStree works
2 Week Release Criteria
Installer iso must work
All Fedora Atomic Host installer images must boot in their supported configurations.
The Fedora Atomic Host installer should follow all the same installation criteria used for Workstation and Server (where it makes sense).
A good example of something that Atomic would be allowed to break is "Package Set Selection" in the Beta criteria. Because of what ostree is, we don't care about installing packages with anaconda, just that the ostree gets written.
Atomic host must setup storage
All Fedora Atomic images (Installer and the various images) must correctly instantiate the storage pools for the installed container runtime.
Currently the targeted container runtime is Docker, and docker-storage-setup is used to prepare the storage for containers. This criterion is worded such that if we change the runtime in the future, we don't have to change the criterion.
Fedora Atomic host uses the devicemapper backend for docker storage. Eventually we'll be moving to overlayfs to handle storage. Each of these requires a different setup, so the intent here is that whatever backend we ship gets set up properly.
Upgrade
When a new ostree is composed, it must be possible to upgrade to it with an existing host via both the atomic host upgrade
and rpm-ostree upgrade
commands.
Rollback
After upgrading to the latest tree, it must be possible to downgrade back to the previous tree with both the atomic host rollback
and rpm-ostree rollback
commands.
Because an installer image or recently generated qcows/vagrant/raw image only ships the latest tree, it doesn't make sense to require these instances to be able to downgrade. This is only meant for existing Fedora Atomic Hosts that have installed a new tree.
Cloud-init
On virtualized atomic host images cloud-init must support the following features:
- pass user defined ssh key into the guest
- set hostname
- run arbitrary user defined scripts
cloud-init has a large variety of options that it can work with - not all of those options make sense when it comes to an Atomic host (like package installation). These are listed as the bare minimum of features that have to work for base functionality.