Browse Source

Merge "Add post delay to reboot" into stable/victoria

changes/47/774647/1
Zuul 6 months ago
committed by Gerrit Code Review
parent
commit
d6b1429a7e
  1. 10
      deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml

10
deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml

@ -59,6 +59,12 @@ parameters:
description: Timeout (seconds) for the OS upgrade phase via Leapp
type: number
default: 3600
UpgradeLeappPostRebootDelay:
description: |
Maximum (seconds) to wait for machine to reboot and respond to a test
command.
type: number
default: 120
UpgradeLeappToRemove:
default: []
description: List of packages to remove during Leapp upgrade.
@ -131,6 +137,7 @@ outputs:
upgrade_leapp_devel_skip: {get_param: UpgradeLeappDevelSkip}
upgrade_leapp_command_options: {get_param: UpgradeLeappCommandOptions}
upgrade_leapp_reboot_timeout: {get_param: UpgradeLeappRebootTimeout}
upgrade_leapp_post_reboot_delay: {get_param: UpgradeLeappPostRebootDelay}
vars:
_upgradeLeappEnabled: {get_param: UpgradeLeappEnabled}
tags:
@ -213,6 +220,9 @@ outputs:
- name: reboot to perform the upgrade
reboot:
reboot_timeout: "{{upgrade_leapp_reboot_timeout}}"
test_command: >-
systemctl is-system-running | grep -e running -e degraded
post_reboot_delay: "{{ upgrade_leapp_post_reboot_delay }}"
- name: Package and repo update tasks
when: step|int == 0

Loading…
Cancel
Save