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

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る