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

docs/OSUpgrades.md: Update/reword #1896

Merged
merged 1 commit into from Aug 18, 2020

Conversation

cgwalters
Copy link
Member

Various updates/clarifications here. (If anyone wants to
do nontrivial edits, feel free to toss this into a hackmd.io
doc and we can collaborate!)

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2020
Copy link
Contributor

@yuqi-zhang yuqi-zhang left a comment

Choose a reason for hiding this comment

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

Overall lgtm, minor nits

@@ -14,83 +14,98 @@ These bootimages are built using [coreos-assembler](https://github.com/coreos/co
Today, [the installer](https://github.com/openshift/installer/) pins the "bootimages"
it uses, and released installers also pin the release image. As noted above,
release images contain `machine-os-content`, which can be a *different*
RHCOS version.
RHCOS version. You can find the installer-pinned bootimage in e.g. [this file](https://github.com/openshift/installer/blob/release-4.4/data/data/rhcos.json).
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe link to master instead of the release-4.4 branch

Copy link
Contributor

Choose a reason for hiding this comment

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

agree

Copy link
Member Author

Choose a reason for hiding this comment

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

But that file is highly likely to go away after openshift/enhancements#201 - seems more useful to have an old but valid link.

a daemon running on the host.

The MCD tries to watch the systemd journal for relevant service and proxy logs,
so you *should* be able to `oc -n openshift-machine-config-operator logs pod/machine-config-daemon-...`
Copy link
Contributor

Choose a reason for hiding this comment

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

should we specify oc -n openshift-machine-config-operator logs -c machine-config-daemon pod/machine-config-daemon-... for clarity

Copy link
Contributor

Choose a reason for hiding this comment

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

agree

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.

Some comments, this is amazing!!!

docs/OSUpgrades.md Outdated Show resolved Hide resolved
with the OSTree repository.
The reason we wrap an OSTree commit inside a container image is so that
the release image encapsulates basically everything about a cluster (except the bootimage).
This makes it easy to e.g. mirror updates offline.
Copy link
Contributor

Choose a reason for hiding this comment

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

"easy to mirror"

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not just about mirroring though. Having a single artifact means that for example in CI we can test exactly one thing - today the RHCOS dependency tends to "leak" outside of the release image.

docs/OSUpgrades.md Outdated Show resolved Hide resolved
docs/OSUpgrades.md Outdated Show resolved Hide resolved

When the administrator starts an `oc adm upgrade`, if a new `machine-os-content`
is provided in the release image, it will be rolled out to the control plane
and workers.

Every change now will be managed by a `machineconfigpool`, ensuring
that only 1 machine at a time is changed (via `maxUnavailable: 1` default).

Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to tell them to watch the oc get mcp for update rollouts?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the target audience for this doc is someone who understands operating systems and Kubernetes at a high level - they're just looking for an explanation of the radically novel and unique thing we've done to combine them 😄

So we should expect them to know how to oc get machineconfigpool.

a daemon running on the host.

The MCD tries to watch the systemd journal for relevant service and proxy logs,
so you *should* be able to `oc -n openshift-machine-config-operator logs pod/machine-config-daemon-...`
Copy link
Contributor

Choose a reason for hiding this comment

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

agree

Various updates/clarifications here.  (If anyone wants to
do nontrivial edits, feel free to toss this into a hackmd.io
doc and we can collaborate!)
@cgwalters
Copy link
Member Author

Pushed an update for various bits - in the future I'll probably put up a hackmd.io so we can do this more collaboratively.

@cgwalters
Copy link
Member Author

Any blockers for landing this?

@yuqi-zhang
Copy link
Contributor

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, yuqi-zhang

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,yuqi-zhang]

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

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@yuqi-zhang
Copy link
Contributor

/override ci/prow/e2e-aws-workers-rhel7

no reason to have this continue running for doc changes

@openshift-ci-robot
Copy link
Contributor

@yuqi-zhang: Overrode contexts on behalf of yuqi-zhang: ci/prow/e2e-aws-workers-rhel7

In response to this:

/override ci/prow/e2e-aws-workers-rhel7

no reason to have this continue running for doc changes

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 17, 2020

@cgwalters: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws-proxy 961fd27d8d1e0bec63e1237f9b8f8d78082cc3cc link /test e2e-aws-proxy
ci/prow/okd-e2e-aws 9cf72f1 link /test okd-e2e-aws

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@cgwalters
Copy link
Member Author

/override ci/prow/e2e-aws-scaleup-rhel7

@openshift-ci-robot
Copy link
Contributor

@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/e2e-aws-scaleup-rhel7

In response to this:

/override ci/prow/e2e-aws-scaleup-rhel7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cgwalters
Copy link
Member Author

/override ci/prow/e2e-gcp-upgrade

@openshift-ci-robot
Copy link
Contributor

@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/e2e-gcp-upgrade

In response to this:

/override ci/prow/e2e-gcp-upgrade

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit 5a04451 into openshift:master Aug 18, 2020
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants