Search

Chapter 6. Using Insights Tasks to update image-mode RHEL systems

download PDF

While building systems using image mode for RHEL, you can connect your systems to Red Hat Insights. Once connected, use the Red Hat Insights task, Initiate an update of your image mode RHEL host, to update your Insights-connected systems to the latest versions of RHEL. Red Hat Enterprise Linux Version 9.4 and later includes image mode for RHEL.

Note

Image mode for RHEL uses the terms update and upgrade interchangeably.

6.1. Running the Initiate Update for image mode RHEL for RHEL host task

You can initiate an upgrade for image-mode RHEL systems using Insights tasks. You might run the Initiate Update for image mode for RHEL host task if you have a large number of image-mode RHEL systems to update. Or, you might run the task if you want to avoid updating systems using the automatic upgrades option.

Running the task does the following:

  • Checks the container repository for a new container image.
  • Downloads the image and extracts content for use on next boot.
  • If updated content is available, reboots the host to pull in new image content.
  • Provides results about whether the image was updated.
Note

The image mode for RHEL update is sometimes referred to as a bootc update.

Important

Image mode for RHEL is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

Prerequisites

Procedure

  1. Go to Automation Toolkit > Tasks, and log in to the Red Hat Hybrid Cloud Console, if needed. The Available tab (the default view) shows you a list of tasks available for you to run. Click the Activity tab to show the history of all the tasks run on your account.
  2. Find the Initiate Update for image mode for RHEL host task.

    Initiate Update for image mode for RHEL task and details about the task. Option to download a preview of the playbook. Select Systems button.

  3. Click Select systems.
  4. Select the systems on which to run the task. You can use filters to search and filter systems by Name, Operating System, Group, Tags, and Task Eligibility (the default filter shows systems registered via RHC).
Note

The filter does not filter for image mode for RHEL (or bootc) systems. You can filter systems running 9.4 or later to create a better list of systems on which to run the task. If needed, click the system name to find out if there is a system fact with bootc information.

In this example, one system is selected.

Eligible RHEL 9.4 system selected

Important

Completing the next step results in a reboot of your selected systems. In addition, if you need to roll back your systems to the previous state, see Chapter 5. Managing RHEL bootable images Red Hat Enterprise Linux 9 in Using image mode for RHEL to build, deploy, and manage operating systems.

  1. Click Run Task. A pop-up alerts you that the task is running.

    List of all eligible systems with one eligible system selected. The Run Task button is highlighted.

  2. Review the information in the Status and Message fields on the Activity page. For this example, the message is Bootc upgrade complete. Expand for details.

    Message about the completed task that says the Bootc upgrade completed. Instructions to use the dropdown to get additional information. More details about when the task started and completed running.

  3. Click the drop-down arrow next to the system name to get more details about the task. You will see more details about the task results, such as the image hash.

    Partially highlighted image hash that the user can use to confirm the update. Running the task might result in no updates because the system is already up to date.

    Example of results when the bootc upgrade does not make any changes. Message that no changes were made because no update was available.

Troubleshooting

To resolve issues with the task, you can find the answers to some common issues within documentation for other tasks. Red Hat Insights tasks use a common framework of tools, language, and resources within the service, If you have trouble completing this task,

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.