Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kola: teach upgrades about oci-archive #2300

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

cgwalters
Copy link
Member

@cgwalters cgwalters commented Jul 16, 2021

Part of coreos/fedora-coreos-tracker#812

The code here is unfortunately actually more complicated,
but that's due to an ostree/ostree-ext bug.

It was easier to use sudo for everything instead of doing the


@openshift-ci
Copy link

openshift-ci bot commented Jul 16, 2021

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@cgwalters
Copy link
Member Author

Then in turn this blocks on a new rpm-ostree release since it hits

--- FAIL: fcos.upgrade.basic (155.87s)
    --- FAIL: fcos.upgrade.basic/setup (127.55s)
            cluster.go:143: error: Importing oci-archive:fedora-coreos-35.20210716.dev.1-ostree.x86_64.ociarchive: skopeo failed: exit status: 1
            cluster.go:143: time="2021-07-16T20:03:25Z" level=fatal msg="Error committing the finished image: write /var/tmp/ostree-rs-ext85bHEX/skopeo.pipe: broken pipe"

which is fixed by coreos/rpm-ostree#2993

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cgwalters
Copy link
Member Author

This is blocked on newer rpm-ostree which is presently blocked waiting for once-a-day bodhi and once-a-day FCOS builds.

@dustymabe
Copy link
Member

This is blocked on newer rpm-ostree which is presently blocked waiting for once-a-day bodhi and once-a-day FCOS builds.

That's part of the reason why we built ourselves the ability to fast-track things. We did it multiple times just yesterday.

@cgwalters cgwalters changed the title wip: teach upgrades about oci-archive kola: teach upgrades about oci-archive Jul 21, 2021
@cgwalters
Copy link
Member Author

OK, I manually built a newer rawhide image and this is now tested and working!

@cgwalters
Copy link
Member Author

(CI here will test the non-ostree-container path, which should also continue to work, so this shouldn't break anything)

@cgwalters cgwalters marked this pull request as ready for review July 21, 2021 19:47
Part of coreos/fedora-coreos-tracker#812

The code here is unfortunately actually *more* complicated,
but that's due to an ostree/ostree-ext bug.

It was easier to use `sudo` for everything instead of doing the
@jlebon jlebon merged commit a9f2bfb into coreos:main Jul 22, 2021
cgwalters added a commit to cgwalters/coreos-assembler that referenced this pull request Sep 1, 2021
I forgot that we forked the upgrade tests between FCOS/RHCOS
when doing coreos#2300

The ugly hack here is to downconvert the oci image on the kola
container side to the old tar format, because the rpm-ostree
in RHEL8 is too old to natively accept the ociarchive.

Once that is fixed, (which will be helped by us testing
this end-to-end) then this code will get nicer.
cgwalters added a commit to cgwalters/coreos-assembler that referenced this pull request Sep 2, 2021
I forgot that we forked the upgrade tests between FCOS/RHCOS
when doing coreos#2300

The ugly hack here is to downconvert the oci image on the kola
container side to the old tar format, because the rpm-ostree
in RHEL8 is too old to natively accept the ociarchive.

Once that is fixed, (which will be helped by us testing
this end-to-end) then this code will get nicer.
cgwalters added a commit that referenced this pull request Sep 3, 2021
I forgot that we forked the upgrade tests between FCOS/RHCOS
when doing #2300

The ugly hack here is to downconvert the oci image on the kola
container side to the old tar format, because the rpm-ostree
in RHEL8 is too old to natively accept the ociarchive.

Once that is fixed, (which will be helped by us testing
this end-to-end) then this code will get nicer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants