update/software/software
Bin Qian ebe177d918 USM deploy state
This change introduced state machines for release state, deploy state
and deploy host state.

This change removed the direct reference to the software metadata from
software-controller and other modules. Replaced with encapuslated
release_data module.

Also include changes:
1. removed required parameter for software deploy activate and software
deploy complete RestAPI.
2. ensure reload metadata for each request
3. added feed_repo and commit-id to the deploy entity, to be
   subsequently passed to deploy operations.
4. fix issues

TCs:
    passed: software upload major and patching releases
    passed: software deploy start major and patching releases
    passed: software deploy host (mock) major and patching release
    passed: software activate major and patching release
    passed: software complete major release and patching release
    passed: redeploy host after host deploy failed both major and
patching release

Story: 2010676
Task: 49849

Change-Id: I4b1894560eccb8ef4f613633a73bf3887b2b93fb
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2024-04-17 16:40:07 +00:00
..
api USM deploy state 2024-04-17 16:40:07 +00:00
authapi Restrict software commands to keystone admin role 2024-03-25 03:24:32 -04:00
db USM deploy state 2024-04-17 16:40:07 +00:00
templates USM State Machine 2023-06-29 17:53:39 +00:00
tests USM deploy state 2024-04-17 16:40:07 +00:00
utilities Restrict software commands to keystone admin role 2024-03-25 03:24:32 -04:00
__init__.py Package the pecan templates with the code 2023-07-17 15:33:45 +00:00
apt_utils.py Fix pep8 errors 2024-01-23 20:22:42 +00:00
base.py Update unit tests for new software component 2023-05-01 21:09:15 +00:00
certificates.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
config.py Use "apt-ostree" to manage software deploy start 2024-01-10 21:23:24 +00:00
constants.py USM deploy state 2024-04-17 16:40:07 +00:00
dc_utils.py Add deletion constraint 2024-03-20 22:41:48 +00:00
deploy_host_state.py USM deploy state 2024-04-17 16:40:07 +00:00
deploy_state.py USM deploy state 2024-04-17 16:40:07 +00:00
exceptions.py USM deploy state 2024-04-17 16:40:07 +00:00
messages.py deploy state changed update 2024-02-23 13:43:09 +00:00
ostree_utils.py Implement deploy host for major release deployment 2024-04-15 16:43:02 -03:00
parsable_error.py USM deploy state 2024-04-17 16:40:07 +00:00
release_data.py USM deploy state 2024-04-17 16:40:07 +00:00
release_signing.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
release_state.py USM deploy state 2024-04-17 16:40:07 +00:00
release_verify.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
software_agent.py Implement deploy host for major release deployment 2024-04-15 16:43:02 -03:00
software_controller.py USM deploy state 2024-04-17 16:40:07 +00:00
software_entities.py USM deploy state 2024-04-17 16:40:07 +00:00
software_functions.py USM deploy state 2024-04-17 16:40:07 +00:00
software_worker.py Create wrapper to run commands and log structured output 2023-11-24 16:26:07 -03:00
states.py USM deploy state 2024-04-17 16:40:07 +00:00
sysinv_utils.py Add deletion constraint 2024-03-20 22:41:48 +00:00
utils.py USM deploy state 2024-04-17 16:40:07 +00:00