The releng and atomic groups had a meeting today to discuss several items that we have identified as things that are important to us in the (hopefully near) future. I'm going to try to summarize the meeting in this ticket and identify work items that can be worked on as a result.
There were several things that were discussed during the meeting:
It would be nice if we can start shipping media that reflects what ostree version or commit is baked into this media. This would help us highlight what ostree content was embedded as well as start getting people to think of OSTree as the real deliverable vs the combination of the rpms as the deliverable.
If we start to try to make the compose id match the version of the OSTree then we have to be careful in multi-arch scenarios where we may want to embed content from different arch trees and create media from these different trees. We have to make sure the arch trees all have synced versions. It was noted during the meeting that if we decide to couple the creation of OSTrees with the creation of the images then this is not a problem as we can generate all the arch ostrees and the images with the same OSTree version.
Pungi is somewhat limited in the compose IDs it can produce because of assumptions that we will follow and NVR model. During the meeting we decided that we might be able to adopt a model where N='Fedora Atomic' V='Fedora Version' and R=OSTree Version_0. One example would be: Fedora-Atomic-26-26.20170220.0_0.
It has been identified quite a few times that we would like to unify the processes that create ostrees within Fedora. We currently have pungi and fedmsg-atomic-composer (kicked off by bodhi runs). We would like to only have ostree's get created by pungi, even if that means that bodhi calls pungi somehow, it would be better to have a single code path and set of configs that is consulted to create the ostrees. The problem is that I don't believe this is a high priority for anyone, we need to sort out if this is a high priority so that we can avoid confusion here. This is also a blocker for multiarch. See https://github.com/fedora-infra/bodhi/issues/1182.
Currently in our process we create an ostree and then some time later we create images that pick up the latest ostree commits during the image creation process. We could continue using the current model but it may behoove us to start creating the ostrees and the images at the same time.
Identified Action Items
OK. Some time later - an update on this ticket
We will be setting an ostree version that corresponds to
the pungi compose ID. See OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN
in https://pagure.io/pungi/pull-request/592. We are already
using this for rawhide.
We are not planning to change the compose ID any longer. Additionally
with bodhi calling pungi we will be able to support multi-arch better.
Still using the same compose ID as in the past so no issues here
planned and in progress: https://pagure.io/atomic-wg/issue/300
Since we are also planning to move mash to pungi we might as well
add image/ISO creation to pungi and have it do everything all at
the same time. This would mean we no longer have timing issues
Same as above
No need. Just use OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN
We will get 26.20170320.0
Metadata Update from @dustymabe:
- Issue tagged with: infra, releng
luckily most of this work has been completed. The move to have bodhi call pungi was done in: https://github.com/fedora-infra/bodhi/pull/1900
Closing this issue for now.
Metadata Update from @dustymabe:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)
to comment on this ticket.