Skip to content

MCO add info on upgrade ack for updated boot images #94207

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

Merged

Conversation

mburke5678
Copy link
Contributor

@mburke5678 mburke5678 commented Jun 3, 2025

https://issues.redhat.com/browse/OSDOCS-14891

During upgrade from 4.18 to 4.19, on GCP and AWS clusters, if there is no configuration of the managedBootImages in the the MachineConfiguration object, the upgrade is blocked. The user needs to disable managed boot images or perform an admin-ack. The error message that accompanies the pause has a hard-coded link to the "Disabling updated boot images" module in the 4.18 docs. This PR adds information to that specific version on how to restart the upgrade.

DO NOT MERGE UNTIL 4.19 GAs

Preview: Disabling updated boot images -- See NOTE

QE review:

  • QE has approved this change.

@mburke5678 mburke5678 added this to the Continuous Release milestone Jun 3, 2025
@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 3, 2025
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Jun 3, 2025

@mburke5678 mburke5678 changed the title MCO add info on upgrade pause for updated boot images MCO add info on upgrade block for updated boot images Jun 4, 2025
@mburke5678
Copy link
Contributor Author

@ptalgulk01 Can you take a look, please?


To start the update, perform one of the following tasks:

* If you do not want the updated boot image feature enabled, explicitly disable the feature as described in this section.
Copy link

Choose a reason for hiding this comment

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

Suggested change
* If you do not want the updated boot image feature enabled, explicitly disable the feature as described in this section.
* If you do not want the managed boot images feature enabled, explicitly disable the feature as described in this section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@djoshy I will look into changing the name to match 4.19 in a separate PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

"this section" might be confusing. I was expecting a link but then I assumed it's "Disabling updated boot images" steps. How about:

explicitly disable the feature as described in the "Disabling updated boot images" procedure.

@ptalgulk01
Copy link

looks good

@mburke5678 mburke5678 force-pushed the mco-boot-image-admin-ack branch 2 times, most recently from 73be813 to beed966 Compare June 6, 2025 11:59
@mburke5678 mburke5678 added the peer-review-needed Signifies that the peer review team needs to review this PR label Jun 6, 2025
@dfitzmau dfitzmau added peer-review-in-progress Signifies that the peer review team is reviewing this PR and removed peer-review-needed Signifies that the peer review team needs to review this PR labels Jun 6, 2025

To start the update, perform one of the following tasks:

* If you do not want the updated boot image feature enabled, explicitly disable the feature as described in this section.
Copy link
Contributor

Choose a reason for hiding this comment

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

"this section" might be confusing. I was expecting a link but then I assumed it's "Disabling updated boot images" steps. How about:

explicitly disable the feature as described in the "Disabling updated boot images" procedure.

@dfitzmau dfitzmau added peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR labels Jun 6, 2025
@mburke5678 mburke5678 changed the title MCO add info on upgrade block for updated boot images MCO add info on upgrade ack for updated boot images Jun 9, 2025
@mburke5678 mburke5678 force-pushed the mco-boot-image-admin-ack branch from beed966 to c8c0fb2 Compare June 9, 2025 12:29
@mburke5678 mburke5678 added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Jun 9, 2025
@mburke5678 mburke5678 force-pushed the mco-boot-image-admin-ack branch from c8c0fb2 to 1292bbb Compare June 9, 2025 13:15
====
If you are upgrading a {GCP} or {AWS} cluster from {product-title} 4.18 to 4.19, and you have not configured the `managedBootImages` parameter, the upgrade is blocked with the _This cluster is GCP or AWS but lacks a boot image configuration._ message. The update is blocked intentionally in order to alert you that the default updated boot image behavior is changing between version 4.18 and 4.19 to enable updated boot images by default.

To restart the update, perform one of the following tasks:
Copy link

Choose a reason for hiding this comment

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

Want to clarify one more thing here, since I have a feeling I may have mislead you. To upgrade the cluster after you receive this message, you have to do one of the following steps and then the oc command you typically do to start the upgrade.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@djoshy What triggers this message? When and where do I see it?

Copy link

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
To restart the update, perform one of the following tasks:
To allow the update, perform one of the following tasks:

The message shows up before the upgrade it proposed and inhibits the update until acknowledged. BTW did we test that disabling the feature removes the admin ack requirement once it's already been created?

Copy link

Choose a reason for hiding this comment

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

Yes, that was tested when we worked on openshift/machine-config-operator#5027

@@ -9,6 +9,21 @@

To disable the updated boot image feature, edit the `MachineConfiguration` object so that the `machineManagers` field is an empty array.

[NOTE]
====
If you are updating a {GCP} or {AWS} cluster from {product-title} 4.18 to 4.19, and you have not configured the `managedBootImages` parameter, the update is blocked with a _This cluster is GCP or AWS but lacks a boot image configuration._ message. The update is blocked intentionally in order to alert you that the default updated boot image behavior is changing between version 4.18 and 4.19 to enable updated boot images by default.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe

Suggested change
If you are updating a {GCP} or {AWS} cluster from {product-title} 4.18 to 4.19, and you have not configured the `managedBootImages` parameter, the update is blocked with a _This cluster is GCP or AWS but lacks a boot image configuration._ message. The update is blocked intentionally in order to alert you that the default updated boot image behavior is changing between version 4.18 and 4.19 to enable updated boot images by default.
If you are updating a {GCP} or {AWS} cluster from {product-title} 4.18 to 4.19, and you have not configured the `managedBootImages` parameter, the update is blocked with a _This cluster is GCP or AWS but lacks a boot image configuration._ message. The update is blocked intentionally in order to alert you that the default updated boot image behavior is changing between version 4.18 and 4.19 to enable updated boot images by default on those platforms.

or something that makes it more clear in that sentence that we're only talking about AWS/GCP, even for folks who skim past the opening of this paragraph?


To allow the update, perform one of the following tasks:

* If you do not want the updated boot image feature enabled, explicitly disable the feature by using the following procedure.
Copy link
Member

Choose a reason for hiding this comment

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

nit: can we flip the order of these two list entries? First, I think we prefer the MCO management, because it conveniently keeps things current in the cluster, and opening with our preferred option saves the folks taking that path some reading. Second, it makes the "using the following procedure" more clearly "the following Procedure subsection about editing the MachineConfiguration", when it feels like the current ordering might have some readers confuse this to mean "the admin-acks patch in the following list entry".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wking PTAL: 381f89b

@mburke5678 mburke5678 force-pushed the mco-boot-image-admin-ack branch from 381f89b to 99e0a30 Compare June 10, 2025 17:41
Copy link

openshift-ci bot commented Jun 10, 2025

@mburke5678: all tests passed!

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-sigs/prow repository. I understand the commands that are listed here.

@mburke5678 mburke5678 merged commit 96a7878 into openshift:enterprise-4.18 Jun 10, 2025
2 checks passed
@mburke5678 mburke5678 deleted the mco-boot-image-admin-ack branch June 10, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch/enterprise-4.18 do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. peer-review-done Signifies that the peer review team has reviewed this PR size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants