3.9. Accessing prerollback health check output in the system log


You can access the output of health check scripts in the system log. For example, check the results of a pre-rollback script using the following procedure.

Procedure

  • To access the results of a prerollback script, run the following command:

    $ sudo journalctl -o cat -u redboot-task-runner.service

    Example output of a prerollback script

    ...
    ...
    Running Red Scripts...
    STARTED
    GRUB boot variables:
    boot_success=0
    boot_indeterminate=0
    boot_counter=0
    The ostree status:
    * rhel c0baa75d9b585f3dd989a9cf05f647eb7ca27ee0dbd4b94fe8c93ed3a4b9e4a5.0
        Version: 9.6
        origin: <unknown origin type>
      rhel 6869c1347b0e0ba1bbf0be750cdf32da5138a1fcbc5a4c6325ab9eb647b64663.0 (rollback)
        Version: 9.6
        origin refspec: edge:rhel/9/x86_64/edge
    System rollback imminent - preparing MicroShift for a clean start
    Stopping MicroShift services
    Removing MicroShift pods
    Killing conmon, pause and OVN processes
    Removing OVN configuration
    Finished greenboot Failure Scripts Runner.
    Cleanup succeeded
    Script '40_microshift_pre_rollback.sh' SUCCESS
    FINISHED
    redboot-task-runner.service: Deactivated successfully.

    注意

    In case of a rollback, the pre-rollback script runs the sudo microshift-cleanup-data --ovn command to prepare the system for a potential software downgrade.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部