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

Add a basic RHCOS upgrade test for kola run-upgrade #1158

Closed
jlebon opened this issue Feb 14, 2020 · 1 comment
Closed

Add a basic RHCOS upgrade test for kola run-upgrade #1158

jlebon opened this issue Feb 14, 2020 · 1 comment

Comments

@jlebon
Copy link
Member

jlebon commented Feb 14, 2020

All the basic framework is in place for this. Two bits of design discussions:

  1. How to fetch the previous RHCOS build. Note that this is not the same thing as the previous cosa build, so it's not just a matter of adding cosa buildprep --qemu or something. We want the starting image to be the latest "released" one, because that's the one that's actually going to perform the upgrade. The literal previous build might in fact be completely broken.

    The --find-parent-image switch on FCOS automatically determines the latest release on the stream being tested. The equivalent for RHCOS I guess would be to parse the build ID to find the release stream, query the OCP release stream API for the latest build ID released, then download the qcow2 for that build ID from S3.

  2. How to actually perform the upgrade (see: kola: add run-upgrade command mantle#1168 (comment)) -- but really, even just rpm-ostree rebase would be fine to start.

@cgwalters cgwalters transferred this issue from coreos/mantle Feb 27, 2020
jcajka pushed a commit to jcajka/coreos-assembler that referenced this issue Mar 24, 2020
kola/qemu: Add supportsSwtpm() and just exclude ppc64le+s390x
@cgwalters
Copy link
Member

This was done in #1467

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

No branches or pull requests

2 participants