update/software/software/utilities
Luis Eduardo Bonatti f99f8377d0 Software deploy host validation
This commit validates pre-conditions when software
deploy-host <hostname> is issued.

The pre-conditions are:
The host state is in pending state.
The specified host target is locked and online.
Nodes deployed to major release in the order below in DX system:
Controller-1 -> Controller-0 -> Storage nodes -> Compute nodes.
Nodes deployed to patch release in the order below in DX system:
Controllers -> Storages nodes -> Compute nodes.

Test Plan:

PASS: Deploy host to controller-1 validation.
PASS: Validated target locked and online checker.
PASS: Validated start-done deploy state checker.

Story: 2010676
Task: 49795

Change-Id: I8fe8faa85c594472bb6c8c021416205bf4a61fbb
Signed-off-by: Luis Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com>
2024-04-18 14:17:28 -03:00
..
__init__.py data migration worker 2023-12-20 17:15:57 +00:00
constants.py data migration worker 2023-12-20 17:15:57 +00:00
migrate.py Improve logging for deploy python scripts 2024-02-28 11:00:50 -03:00
update_deploy_state.py Software deploy host validation 2024-04-18 14:17:28 -03:00
utils.py Restrict software commands to keystone admin role 2024-03-25 03:24:32 -04:00