commit e7167fdc7382b2e0f88ee29d8520a3d8bfb6198c
Author: Victor Romano <email address hidden>
Date: Fri Nov 24 14:39:18 2023 -0300
Enforce password change when installing via rvmc
When installing a subcloud via rvmc, it's possible that the BMC
reports a successful operation when booting with new install media
without actually installing the subcloud. To prevent this, a new
variable called enforce_password_change was created, failing the
installation if there is an error during initial password change
(observed if the system wasn't correctly reinstalled).
Test plan:
- PASS: Perform a subcloud add with install forcing a failure by changing the password before the playbook and verify the installation fails as expected.
- PASS: Perform a normal subcloud add with install and verify
the operation completed successfully.
- PASS: Deploy a standalone SX and verify the bootstrap completed successfully.
- PASS: Upgrade a subcloud from stx6 to stx8 and verify the operation completed successfully.
Closes-Bug: 2044564
Change-Id: I80bee246dedfdf9688507c3529d7d080992da08b
Signed-off-by: Victor Romano <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/901864 /opendev. org/starlingx/ ansible- playbooks/ commit/ e7167fdc7382b2e 0f88ee29d8520a3 d8bfb6198c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e7167fdc7382b2e 0f88ee29d8520a3 d8bfb6198c
Author: Victor Romano <email address hidden>
Date: Fri Nov 24 14:39:18 2023 -0300
Enforce password change when installing via rvmc
When installing a subcloud via rvmc, it's possible that the BMC password_ change was created, failing the
reports a successful operation when booting with new install media
without actually installing the subcloud. To prevent this, a new
variable called enforce_
installation if there is an error during initial password change
(observed if the system wasn't correctly reinstalled).
Test plan:
changing the password before the playbook and verify the
installation fails as expected.
successfully.
operation completed successfully.
- PASS: Perform a subcloud add with install forcing a failure by
- PASS: Perform a normal subcloud add with install and verify
the operation completed successfully.
- PASS: Deploy a standalone SX and verify the bootstrap completed
- PASS: Upgrade a subcloud from stx6 to stx8 and verify the
Closes-Bug: 2044564
Change-Id: I80bee246dedfdf 9688507c3529d7d 080992da08b
Signed-off-by: Victor Romano <email address hidden>