lbcli list upgrade-status

Lists upgrade-status. Provides detailed information on the upgrade operations running over the cluster’s servers.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--nameStringList information only for servers identified by server name.
--riskOfServiceLossStateString“None”(Optional) List information only for servers in a state of RiskOfServiceLoss.
--uuidStringList information only for servers identified by server UUID.
--help-hBoolHelp for upgrade-status.

This command returns both the upgrade status at the cluster level and a list of servers with their individual upgrade status and progress.

Note that the short notation of this command (the human-readable format) is targeted at extracting and highlighting the upgrade specific information. The long notation (-o json/yaml) will return identical information to invoking both get cluster and list servers.

Cluster Level

FieldTypeDescription
UUIDstringThe cluster UUID.
Min VersionstringThe minimum version used by one of the servers in the cluster.
Upgrade Statusstring

The current status of the cluster upgrade.

The possible valuables are:

  • Unknown
  • None
  • UpgradeFailed
  • Upgrading
Target VersionstringThe Lightbits version the server is being upgraded to.
Start TimetimestampThe start time of the upgrade on this cluster.
End TimetimestampThe end time of the upgrade on this cluster.
Error MessagestringDetailed error message if the upgrade operation failed (at the cluster level).

Server Level

FieldTypeDescription
NamestringThe server name.
UUIDstringThe server UUID.
Current VersionstringThe current Lightbits version.
LastUpgrade/Statusstring

The current status of the upgrade. The possible values are:

  • None
  • Upgrading
  • Rebooting
  • Recovering
  • UpgradeFailed

For a healthy upgrade flow, the upgrade should cycle through these statuses:

None > Upgrading > Rebooting > Recovering > None

LastUpgrade/TargetVersionstringThe Lightbits version the server is being upgraded to.
LastUpgrade/StartTimetimestampThe start time of the upgrade on this server.
LastUpgrade/ProgressStep/Totalint

Shows the current progress of the upgrade operation.

In json/yaml format, they are returned in separate fields.

In human-readable format, progress is shown as the current steps executed/total steps required to complete the upgrade.

LastUpgrade/EndTimeTimestampThe end time of the upgrade on this server.
ErrorMessagestring

Detailed error message if the upgrade operation failed (at the server level). Note that ErrorMessage is limited to 40 characters in table display, so in some cases long error messages will be concatenated.

In other output formats such as -o json or yaml, the entire error message is visible,

All upgrade information is structured into LastUpgrade. This will return either the information for a current ongoing upgrade, or if not, the upgrade in process will return information for the last upgrade that was run over this server.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard