Chapter 7. Using Red Hat Lightspeed tasks to update image mode RHEL systems
When building systems by using image mode for RHEL, you can connect your systems to Red Hat Lightspeed. Once connected, use the Red Hat Lightspeed tasks, Initiate an update of your image mode RHEL host, to update your Red Hat Lightspeed-connected systems to the latest versions of RHEL. Red Hat Enterprise Linux version 9.4 and later includes image mode for RHEL.
Image mode for RHEL uses the terms update and upgrade interchangeably.
7.1. Running Red Hat Lightspeed tasks to update image mode for RHEL systems Copy linkLink copied to clipboard!
Red Hat Lightspeed also provides pre-built tasks to help you keep your image mode for Red Hat Enterprise Linux systems updated. From within the Red Hat Lightspeed UI, you can run a task to initiate an update to your image mode for RHEL systems, otherwise known as bootc images.
If you have a large number of image mode for Red Hat Enterprise Linux systems to update, run the Red Hat Lightspeed task titled "Initiate update of image mode for RHEL host" to automate the following actions:
- Checks the container repository for a new container image
- Downloads the image and extracts content for use on the next boot
- Reboots the host to pull in new image content if updated content is available
- Provides progress results about the image update
You might also want to use this Red Hat Lightspeed task when you want to avoid using the automatic upgrade option for your image mode for Red Hat Enterprise Linux systems.
Image mode for Red Hat Enterprise Linux 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 Technical Preview features 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.
- Completing the next step results in a reboot of the selected systems.
- If you need to roll back your systems to an earlier state, see Managing RHEL bootable images Red Hat Enterprise Linux 9 in Using image mode for RHEL to build, deploy, and manage operating systems.
Prerequisites
- You are logged in to the Red Hat Hybrid Cloud Console.
- You are a member of a User Access group that has the Tasks administrator role.
You have systems that are registered and connected to Red Hat Lightspeed by using one of the following methods:
-
The remote host configuration (rhc)
rhc-worker-playbookandansible-coretools. Satellite 6.11 or higher.
- For more information, see Enabling host communication with Red Hat Lightspeed in the Red Hat Lightspeed Remediations Guide.
-
The remote host configuration (rhc)
The target systems were built with Red Hat Enterprise Linux
bootcimages by using thebootcimage builder.For more information about how you can use Red Hat Enterprise Linux
bootcimages to build, deploy, and manage an operating system as if it were any other container, see the following documentation:
Procedure
- Navigate to Automation Toolkit > Tasks. The Available tab opens with a list of tasks available for you to run.
- Find the task Initiate update of image mode for RHEL host, and click Select systems. The systems on which you can run the task are displayed in a table.
Select the checkbox beside the systems you want to run the task on. By default, the table is filtered by
bootcsystems registered by using RHC. You can use filters to search and filter systems by:- Name
- Operating system
- Tags
- Task eligibility
- Click Run Task. A pop-up alerts you that the task is running.
- Review the information in the Status and Message fields on the Activity page.
Expand the caret beside the system name to view more details about the task, for example, the operating system version and the image hash.
NoteSometimes, when you run a task, Red Hat Lightspeed might report that there are zero updates because the system is already up to date.
Troubleshooting
- To view the detailed progress and history of all tasks in your Red Hat Lightspeed organization, navigate to Automation Toolkit > Tasks > Activity. From here, you can see whether any tasks failed and get more information to help you understand why.
- To resolve issues with the task, you can find the answers to some common issues in the linked documentation for other tasks. Red Hat Lightspeed tasks use a common framework of tools, language, and resources within the service.
- If you have trouble completing a task, open the activity results page for the last time the task ran, and then try rerunning the same task by clicking Run task again.
- For more information about how to resolve issues with similar error messages, review Troubleshooting issues with Red Hat Lightspeed conversions.