This commit adds the command "subcloud deploy install" to dcmanager.
It runs the subcloud install step only. The install values file is
optional if it has already been provided in the previous phase
using subcloud deploy create.
Test Plan:
Success cases:
- PASS: Install passing install_values and verify that the subcloud
was successfully installed.
- PASS: Install without passing install_values and verify that the
subcloud was successfully installed using install data
previously saved in db.
- PASS: Install passing current release and verify that the
subcloud was successfully installed.
- PASS: Install passing previous release and verify that the
subcloud was successfully installed.
- PASS: Repeat previous tests but directly call the API (using
CURL) instead of using the CLI.
Failure cases:
- PASS: Verify that it's not possible to run the install if deploy
state is not 'create-complete', 'pre-install-failed',
'install-failed' or 'install-complete'.
- PASS: Call the API directly, passing bmc-password as plain text
as opposed to b64encoded and verify that the response
contains the correct error code and message.
Story: 2010756
Task: 48056
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
Change-Id: I3a9f4e8c2f39964b2b0b784181bc78494f3078a2