noobaa-core
noobaa-core copied to clipboard
NC | Online Upgrade CLI
Explain the changes
-
CLI
-- Added
upgrade
TYPE to noobaa-cli. - Added
upgrade
-start
,status
,history
actions. - Created upgrade CLI errors, responses, help and validations.
- Added
-
ConfigFS
- Added get_system_config_file() function used by status and history actions. -
Tests
- Added upgrade cli unit tests.
Issues: Fixed #xxx / Gap #xxx
- Gap - currently
start
throws not implemented error - its logic will be added in the PR that implements the upgrade process. - Gap - Documentation will be added after all the PRs are done.
- Gap/Idea - Currently on status/history we return the status/history of the config directory upgrade - we can also add
--hostname
/--all
flag for providing the status/history of the RPM upgrade record of a specific host/all hosts.
Testing Instructions:
- [ ] Doc added/updated
- [x] Tests added