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

daemon: Support unpivoted images #1155

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

cgwalters
Copy link
Member

Today the RHCOS bootimages come "prepivoted"; they have a custom
origin set to the machine-os-content that matches. The idea
here is to avoid an extra reboot.

In practice we're always going to be updating and rebooting today,
because we don't have a mechanism to update bootimages:
openshift/os#381

I plan to change the RHCOS build system to stop "prepivoting"; the
oscontainer will be pushed after the bootimages. This breaks
a complicated dependency and ensures that the RHCOS "source of truth"
is the cosa storage.

Also, this allows one to use the MCD when e.g. booting Fedora CoreOS.

Closes: #981

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 4, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 4, 2019
@cgwalters
Copy link
Member Author

Tested locally in a libvirt build with custom local RHCOS via

$ xokdinst launch -D -p libvirt -O file:///srv/walters/rhcos-4.3/builds/latest/x86_64/rhcos-43.80.20191002.0-qemu.x86_64.qcow2 -I registry.svc.ci.openshift.org/ocp/release:4.3.0-0.ci-2019-10-04-083724 osiris

where the bootimage isn't pivoted. Will let CI cover the current path.

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 4, 2019
@runcom
Copy link
Member

runcom commented Oct 6, 2019

/retest

@runcom
Copy link
Member

runcom commented Oct 6, 2019

/approve

Today the RHCOS bootimages come "prepivoted"; they have a custom
origin set to the `machine-os-content` that matches.  The idea
here is to avoid an extra reboot.

In practice we're always going to be updating and rebooting today,
because we don't have a mechanism to update bootimages:
openshift/os#381

I plan to change the RHCOS build system to stop "prepivoting"; the
oscontainer will be pushed *after* the bootimages.  This breaks
a complicated dependency and ensures that the RHCOS "source of truth"
is the cosa storage.

Also, this allows one to use the MCD when e.g. booting Fedora CoreOS.

Closes: openshift#981
Copy link
Contributor

@kikisdeliveryservice kikisdeliveryservice left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 7, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, kikisdeliveryservice, runcom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [cgwalters,kikisdeliveryservice,runcom]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't error out for non-oscontainer images
5 participants