Reimage and recover
Reinstall nodes, apply site-file changes, resume interrupted runs, replace hardware and collect logs for support.
Resume an interrupted run
Every argoctl command can be interrupted (Ctrl-C, a dropped SSH session, --timeout) and finished by running the same command again:
provisionwaits for deploys Ironic is still doing and continues; an interrupted--reimagefinishes only the nodes it hadn't done.create clusterre-runs every phase; each task checks the node first, so finished work is skipped. The report says where the last run stopped.deploy inferencere-applies the same Helm release and waits again.
Running commands inside tmux or screen on mgmt avoids most interruptions in the first place.
Apply a site-file change to installed nodes
When you change something a node was installed with (its addresses, SSH keys, the OS image), provision reports the node out of date and leaves it alone, because reinstalling wipes its disk. To apply the change:
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl provision /etc/argoctl/site.yaml --reimage --node gpu2
sudo argoctl create cluster /etc/argoctl/site.yaml # rejoins the reinstalled nodeMove inference off the node first (deploy inference ... --node to place replicas elsewhere, or delete inference): its replicas stop while it's reinstalled.
Add a node
- Add it to
nodesin the site file and validate. argoctl preflight <site-file> --node <new>.argoctl provision <site-file>: only the new node is installed.argoctl create cluster <site-file>: only the new node is prepared and joined.
Replace a server
If a server's hardware is replaced, its BMC, System or MACs change:
- Update the node's
bmc.address,system_idandmacs in the site file. provisionrefuses a node whose BMC or System no longer matches what Ironic has, and prints the command to delete the old node from Ironic. Run it.provisionagain enrols and installs the new server;create clusterjoins it.
Reinstall everything
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl provision /etc/argoctl/site.yaml --reimage
sudo argoctl create cluster /etc/argoctl/site.yaml--reimage without --node reinstalls every node and wipes their disks, the cluster included.
When Ironic lost track of nodes
After ironic uninstall --purge (or a reinstalled mgmt), Ironic no longer knows the installed nodes. provision sees their provisioning addresses answering SSH and refuses to enrol them, because enrolling would reinstall them. They keep running as they are. Bring a node back under Ironic only when you need to reinstall it anyway: --reimage --node <name>.
Collect logs for support
Every run's log is in /var/log/argoctl/ (or the path printed as Full log:). Copy them off mgmt with:
(umask 077; ssh ubuntu@<mgmt> 'sudo tar -C /var/log -czf - argoctl' > argoctl-logs.tar.gz)Logs never contain passwords or tokens (see Run logs), but they do contain addresses, MACs and the site file: share them accordingly. Include argoctl version.
Search logs and the audit log
Find any container's output, a node's system journal or who changed what in the cluster, in Grafana or from the command line, including after the pod is gone; add your own log alerts.
Troubleshooting
How to read an argoctl failure, and an index of common symptoms with their fixes.