update/software/software
junfeng-li 63b4a741c9 Improve software upload-dir error handling
This commit is to enhance the 'software upload-dir' to handle when
the given parameter is invalid, and to improve the error messages to
indicate the error that occurred.

[sysadmin@controller-0 ~(keystone_admin)]$ software upload-dir abc
Invalid release directory: abc
No files to upload
[sysadmin@controller-0 ~(keystone_admin)]$

Test Plan:

PASS: run 'software upload-dir' with invalid directory
PASS: run 'software upload-dir' with valid directory

Task: 49527
Story: 2010676
Change-Id: I73a82eac713ec90e3df1ea70b033c3ddf1368910
2024-02-14 20:13:45 +00:00
..
api Merge "Unified error handling" 2024-02-13 15:11:41 +00:00
authapi Unified error handling 2024-02-06 20:13:19 +00:00
db Software deploy host list implementation 2023-12-05 20:43:05 -03:00
templates USM State Machine 2023-06-29 17:53:39 +00:00
tests Improve software upload-dir error handling 2024-02-14 20:13:45 +00:00
utilities data migration worker 2023-12-20 17:15:57 +00: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 Use "apt-ostree" to manage software deploy start 2024-01-10 21:23:24 +00:00
exceptions.py Unified error handling 2024-02-06 20:13:19 +00:00
messages.py Add deploy state msgtype to software messages 2023-12-27 11:27:17 -03:00
ostree_utils.py Add retry logic for mount 2023-11-29 21:09:06 +00:00
release_signing.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
release_verify.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
software_agent.py Fix invalid patch alarm on unlocked AIO-SX 2023-05-16 15:59:45 +00:00
software_controller.py Improve software upload-dir error handling 2024-02-14 20:13:45 +00:00
software_entities.py Ensure all tox is passing 2023-12-14 14:50:09 +00:00
software_functions.py Print deb packages on software show 2024-02-14 16:01:20 -03:00
software_worker.py Create wrapper to run commands and log structured output 2023-11-24 16:26:07 -03:00
sysinv_utils.py Implement USM software deploy start for upgrade 2023-12-27 16:07:53 -03:00
utils.py Unified error handling 2024-02-06 20:13:19 +00:00