Skip to content

status

Synopsis

The status command prints the current Olares system state by calling the local olaresd daemon's /system/status HTTP endpoint.

The endpoint is bound to 127.0.0.1:18088 and only accepts loopback traffic, so this command must run on the same host as the daemon (typically the master node).

bash
olares-cli status [options]

By default, the output is grouped into human-readable sections:

  • Olares: installation lifecycle, version, names, key timestamps.
  • System: hardware and OS facts about the host.
  • Network: wired/Wi-Fi connectivity, internal and external IP addresses.
  • Install / Uninstall: progress of an in-flight install or uninstall.
  • Upgrade: progress of an in-flight upgrade (download and install phases).
  • Logs collection: state of the most recent log collection job.
  • Pressures: active kubelet node pressure conditions, if any.
  • Other: FRP, container mode, etc.

Use --json to receive the raw payload returned by olaresd, suitable for scripting or piping to tools like jq.

Options

OptionUsageRequiredDefault
--endpointBase URL of the local olaresd daemon. Override only when olaresd is bound to a non-default address.Nohttp://127.0.0.1:18088
--jsonPrint the raw JSON payload returned by olaresd (the data field), suitable for piping to tools like jq.Nofalse
--timeoutMaximum time to wait for the olaresd response.No5s
--helpShow command help.NoN/A

Examples

bash
# Pretty-printed grouped report (default)
olares-cli status

# Raw JSON payload (forwarded verbatim from olaresd)
olares-cli status --json | jq

# Custom daemon endpoint and longer timeout
olares-cli status --endpoint http://127.0.0.1:18088 --timeout 10s

Field reference

The table below lists the fields returned by olaresd (the data object of the JSON response) and the labels they appear under in the grouped output.

Olares

FieldJSON keyMeaning
StateterminusStateHigh-level system state. See State values.
Olaresd stateterminusdStateLifecycle of the olaresd daemon itself: initialize while bootstrapping, running once ready.
NameterminusNameOlares ID of the admin user, e.g. [email protected].
VersionterminusVersionInstalled Olares version (semver).
Olaresd versionolaresdVersionRunning olaresd binary version. Useful for spotting drift after partial upgrades.
Installed atinstalledTimeUnix epoch (seconds) when Olares finished installing on this node.
Initialized atinitializedTimeUnix epoch (seconds) when the admin user finished initial activation.

System

FieldJSON keyMeaning
Devicedevice_nameUser-friendly device or chassis name.
Hostnamehost_nameKernel hostname.
OSos_type / os_arch / os_infoOS family, CPU architecture, distro string.
OS versionos_versionOS version string, e.g. 22.04.
CPUcpu_infoCPU model name.
MemorymemoryTotal physical memory, formatted as <N> G.
DiskdiskTotal filesystem size of the data partition, formatted as <N> G.
GPUgpu_infoGPU model name when one is detected.

Network

FieldJSON keyMeaning
WiredwiredConnectedyes when an Ethernet connection is active.
Wi-FiwifiConnectedyes when the active default route is over Wi-Fi.
Wi-Fi SSIDwifiSSIDSSID of the connected Wi-Fi network, when applicable.
Host IPhostIpInternal LAN IPv4 address used by Olares to reach other nodes.
External IPexternalIpPublic IPv4 address as observed by an external probe (refreshed at most once per minute).

Install / Uninstall

FieldJSON keyMeaning
InstallinginstallingStateLifecycle of the in-flight install: in-progress, completed, failed.
installingProgressFree-form description of the current install step (shown as the inline note).
UninstallinguninstallingStateLifecycle of the in-flight uninstall.
uninstallingProgressFree-form description of the current uninstall step.

Upgrade

FieldJSON keyMeaning
TargetupgradingTargetTarget version of the in-flight upgrade.
StateupgradingStateLifecycle of the install phase of the upgrade.
upgradingProgressFree-form progress message (inline note).
StepupgradingStepName of the current upgrade step.
Last errorupgradingErrorMost recent error from the install phase.
Download stateupgradingDownloadStateLifecycle of the download phase.
upgradingDownloadProgressFree-form progress message for the download (inline note).
Download stepupgradingDownloadStepName of the current download step.
Download errorupgradingDownloadErrorMost recent error from the download phase.
Retry countupgradingRetryNumNumber of times the upgrader has retried after a transient failure (only shown when > 0).
Next retry atupgradingNextRetryAtWall-clock time at which the next retry will fire (only shown when set).

Logs collection

FieldJSON keyMeaning
StatecollectingLogsStateLifecycle of the most recent log collection job triggered through olaresd.
collectingLogsErrorError from the most recent log collection job (inline note).

Pressures

The pressures array lists kubelet node-condition pressures that are currently true on this node. The grouped output shows (none) when the node is healthy.

FieldJSON keyMeaning
TypetypeKubernetes node condition type, e.g. MemoryPressure, DiskPressure.
MessagemessageHuman-readable explanation provided by kubelet.

Other

FieldJSON keyMeaning
FRP enabledfrpEnableWhether the FRP-based reverse tunnel is turned on (sourced from FRP_ENABLE).
FRP serverdefaultFrpServerFRP server address (sourced from FRP_SERVER).
Container modecontainerModeSet when olaresd is running inside a container (sourced from CONTAINER_MODE).

State values

The terminusState field can take one of the following values. The CLI sources its descriptions from the same enumeration, so the table below stays in sync with the CLI output.

ValueMeaning
checkingolaresd has not finished the first status probe yet.
network-not-readyNo usable internal IPv4 address detected.
not-installedOlares is not installed on this node.
installingOlares is currently being installed.
install-failedThe most recent install attempt failed.
uninitializedOlares is installed but the admin user has not been activated yet.
initializingThe admin user activation is in progress.
initialize-failedThe admin user activation failed.
terminus-runningOlares is running normally.
restartingThe node was just restarted; status will stabilize shortly.
invalid-ip-addressThe node IP changed since install; run change-ip to recover.
ip-changingA change-ip operation is in progress.
ip-change-failedThe most recent change-ip attempt failed.
system-errorOne or more critical pods are not running.
self-repairingolaresd is attempting automatic recovery.
adding-nodeA worker node is being joined.
removing-nodeA worker node is being removed.
uninstallingOlares is being uninstalled.
upgradingAn upgrade is being applied.
disk-modifingThe storage layout is being modified.
shutdownThe system is shutting down.