71 lines
3.8 KiB
Markdown
71 lines
3.8 KiB
Markdown
# Fast homelab status
|
|
|
|
Run on the Debian server (or use the same arguments after `./jeannie remote`):
|
|
|
|
```sh
|
|
./jeannie status
|
|
./jeannie status debian
|
|
./jeannie status opi5
|
|
./jeannie status rpi
|
|
./jeannie status oci
|
|
./jeannie status cluster
|
|
```
|
|
|
|
`status` and `status all` check all five areas. A scope runs only its checks.
|
|
Use `--json` after the scope for structured output; text output lists checks as
|
|
`OK` or `FAILED` without remediation advice. Warnings are displayed as failed
|
|
checks and skipped checks are omitted. `--details` remains accepted but does
|
|
not expand text output.
|
|
For example: `./jeannie remote status opi5 --json`. Scoped reports display
|
|
passing checks too and do not invoke an AI model. Checks run concurrently and
|
|
use configured inventory addresses, ports and the selected cluster profile.
|
|
Warnings return exit status zero; checks classified internally as failures
|
|
return a nonzero status. JSON preserves the underlying warning and skip states
|
|
for existing consumers.
|
|
|
|
Each host scope lists discovered Docker Compose containers by project and
|
|
service, including Docker health when available. One-off containers are
|
|
excluded. Stopped, starting, or unhealthy containers are warnings because
|
|
they may have been stopped intentionally. Discovery uses one Docker snapshot
|
|
per host; services with no container cannot be inferred from that snapshot.
|
|
Remote snapshots require noninteractive SSH and sudo and warn when access is
|
|
unavailable. The OCI edge snapshot uses its inventoried Tailscale address.
|
|
SSH diagnostics are kept separate from the container data, and login banners
|
|
are ignored only before the remote snapshot marker. Unexpected data inside
|
|
the snapshot remains an error.
|
|
|
|
For Debian Compose services, record the operator's expected state explicitly:
|
|
`./jeannie compose-intent stopped PROJECT/SERVICE` or
|
|
`./jeannie compose-intent running PROJECT/SERVICE`. Use `list` to inspect and
|
|
`clear PROJECT/SERVICE` to forget it. These commands only record intent and do
|
|
not operate containers. A recorded stopped service that is actually stopped is
|
|
reported as expected; if it is running, the discrepancy is a warning. Services
|
|
without a record remain unknown when stopped. Intent is stored locally under
|
|
the Jeannie state directory and is not inferred from Docker's exit code. Remote
|
|
hosts are not covered by this record.
|
|
|
|
The cluster scope lists Argo CD application health and sync state from one
|
|
snapshot. Degraded or missing applications are failures; progressing, unknown,
|
|
or out-of-sync applications are warnings. These are Argo CD's reported states,
|
|
not a separate endpoint probe. Applications outside Argo CD are not included.
|
|
|
|
The optional Kubernetes Gitea runner is an exception: status accepts its
|
|
`Progressing` state only when Argo CD is synced to the local committed
|
|
zero-replica configuration, the live Deployment also requests zero replicas,
|
|
no other application resources report trouble, and the Debian runner service
|
|
is active. If those facts cannot be verified, the warning remains. The service
|
|
being active alone does not prove it is registered or processing jobs.
|
|
|
|
The Orange Pi K3s service and storage checks are skipped when the selected
|
|
profile does not put K3s on that host. The cluster scope checks the selected
|
|
profile, which can be mixed, all-Pimox, or K3s. The OCI scope checks the
|
|
inventoried edge peer, Compose containers, and public HTTP endpoint; it does not inspect
|
|
other OCI instances or their cloud lifecycle. HTTP checks do not validate TLS
|
|
certificates. An SSH warning can indicate an unavailable host, credentials or
|
|
an untrusted host key. These quick probes are point-in-time observations.
|
|
|
|
Existing unscoped options such as `status --json`, `status --deep`,
|
|
and `status --heal-plan` retain their existing machine-readable and healing
|
|
behavior. Focused status accepts `--json`, `--details`,
|
|
`--all`, and `--no-local-rca`.
|