Skip the remote ssh key check on Simplex local upgrade
The previous change to restore-more-data role [1] used by
platform_upgrade.yml playbook did not take into consideration of local
execution of this playbook during AIO-SX upgrade. This commit ensures
that known_hosts file update only occurs when platform_upgrade.yml
playbook runs remotely e.g. during orchestrated subcloud upgrade case.
Test Plan:
1. Ensure Simplex can be upgraded from N to N+1 without error
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/844332 /opendev. org/starlingx/ ansible- playbooks/ commit/ ac83f0b8159aa48 e84d9216d971271 a4d0f5850e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ac83f0b8159aa48 e84d9216d971271 a4d0f5850e
Author: BoYuan Chang <email address hidden>
Date: Wed Jun 1 14:43:58 2022 -0400
Skip the remote ssh key check on Simplex local upgrade
The previous change to restore-more-data role [1] used by upgrade. yml playbook did not take into consideration of local upgrade. yml
platform_
execution of this playbook during AIO-SX upgrade. This commit ensures
that known_hosts file update only occurs when platform_
playbook runs remotely e.g. during orchestrated subcloud upgrade case.
Test Plan:
1. Ensure Simplex can be upgraded from N to N+1 without error
[1] https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/838949 5950dae85e6d3e8 5c13312adc9
Closes-Bug: 1976520
Signed-off-by: BoYuan Chang <email address hidden>
Change-Id: Ie2dca2f3c07eaa