Summary:
Original commit a98768e721014671b9eff00bb27675d42b6e0702/D32637
This diff introduces the command to specify linux version in create universe configuration, and trigger Linux OD upgrades
`./yba universe upgrade linux-os`
```
VM Linux OS patch for a YugabyteDB Anywhere Universe. Supported only for universes of cloud type AWS, GCP and Azure.
Usage:
yba universe upgrade linux-os [flags]
Aliases:
linux-os, vm-image, os
Flags:
--primary-linux-version string [Required] Primary cluster linux OS version name to be applied.
--inherit-from-primary [Optional] Apply the same linux OS version of primary cluster to read replica cluster. (default true)
--rr-linux-version string [Optional] Read replica cluster linux OS version name to be applied. Ignored if inherit-from-primary is set to true.
--delay-between-master-servers int32 [Optional] Upgrade delay between Master servers (in miliseconds). (default 18000)
--delay-between-tservers int32 [Optional] Upgrade delay between Tservers (in miliseconds). (default 18000)
-h, --help help for linux-os
Global Flags:
-a, --apiToken string YugabyteDB Anywhere api token.
--config string Config file, defaults to $HOME/.yba-cli.yaml
--debug Use debug mode, same as --logLevel debug.
--disable-color Disable colors in output. (default false)
-f, --force [Optional] Bypass the prompt for non-interactive usage.
-H, --host string YugabyteDB Anywhere Host (default "http://localhost:9000")
-l, --logLevel string Select the desired log level format. Allowed values: debug, info, warn, error, fatal. (default "info")
-n, --name string [Required] The name of the universe to be ugraded.
-o, --output string Select the desired output format. Allowed values: table, json, pretty. (default "table")
-s, --skip-validations [Optional] Skip validations before running the CLI command.
--timeout duration Wait command timeout, example: 5m, 1h. (default 168h0m0s)
--wait Wait until the task is completed, otherwise it will exit immediately. (default true)
```
Test Plan:
Testing commands of the following kind:
`./yba universe upgrade linux-os -n dkumar-config --primary-linux-version YBA-Managed-AlmaLinux-8.9_20240303 --inherit-from-primary`
Reviewers: svarshney
Reviewed By: svarshney
Subscribers: yugaware
Differential Revision: https://phorge.dev.yugabyte.com/D37468