Magdi Hajjaj e8f9208dd7 Fix subcloud redeploy ignoring --bmc-password
During subcloud redeploy, the user-supplied bmc_password from the
payload was not being merged into install_values before passing to
the install routine. The stale bmc_password from the database was
used instead.

Add an else branch in pre_deploy_install() to update install_values
with the user-supplied bmc_password when provided.

Test Plan:
- PASS: dcmanager subcloud add with wrong bmc password, dcmanager
  subcloud redeploy with correct password, verify it installs the
  subcloud with the correct BMC credentials

Closes-Bug: 2152258
Signed-off-by: Magdi Hajjaj <magdi.hajjaj@windriver.com>
Change-Id: Ibf5ef092b6018986f0f37d2902561fa0b3e368be
2026-05-14 14:30:08 -04:00
2019-04-19 19:52:44 +00:00
2018-08-07 11:51:21 -04:00
2022-11-21 16:58:49 +00:00
2019-03-15 10:56:03 -05:00
2026-04-15 10:19:59 -04:00
S
Description
StarlingX Distributed Cloud
42 MiB
Languages
Python 95.7%
Shell 4.2%
Makefile 0.1%