中文日本語

Docs · 1.0

Troubleshooting

When something goes wrong, start here and find the section for the symptom. Each section says where to look first and how to recover. If you cannot find the cause, make a support bundle and send it to us.

1. Where to look first

  • Overview: things that need attention are listed on the page, for example Storage pool … is DEGRADED, Network port … has no link, N virtual machines failed, corrected and uncorrected memory errors of a module (Memory module …: N uncorrected memory error(s): replace the module), and configuration problems. Configuration problems come with Fix…; see Configuration: problems and advanced.
  • Logs: the host's and every virtual machine's logs, with search, errors only and live follow; see Logs.
  • System → Audit log: who did what and when; see Accounts, tokens and permissions.
  • Support bundle: Download the support bundle at the top right of the Logs page (or keel support-bundle on the host) packs the versions, logs, ZFS, network and settings into one file, always without passwords, tokens and keys. Upload it on the Send us logs page with a few words about what happened.

2. The installation fails

Symptom What to do
The boot menu does not show the USB stick Turn off CSM/Legacy and Secure Boot in the firmware; on Lenovo machines check that the stick is not under Excluded from boot order. See Hardware requirements
The installer cannot find the keelOS install medium (no ISO9660 volume KEELOS) The stick was written with Ventoy or Rufus's "ISO image mode". Write it again with dd or Rufus's DD mode; see Installation
Fresh install says there is no empty disk The disk still holds something: erase it in Disk tools first; see Installation
After the install the machine boots an old system from disk Another disk still holds an earlier keelOS or another system and the firmware started that. Pick the new disk in the firmware's boot menu, or boot from the stick and erase the old disk in Disk tools

3. The web page does not open

  1. Look at the host's screen (or serial console): at the end of the boot it shows the web page's address. If the address changed (DHCP gave another one), use the new one; better reserve an address for the host in the router or give it a static one, see Network.
  2. Without DHCP on the network, the first boot asks for the network settings on the screen. To change them later, run keel host net setup in the host console.
  3. The browser says the connection is not private: that is keel's self-signed certificate; choose Advanced → Proceed. To get rid of the warning, import your own certificate, see Network.
  4. No connection after changing the management network: a change made with keel host net set … --test SECONDS is rolled back unless confirmed in time; a change made in the web page counts as confirmed only when the new address opens, otherwise it is rolled back too.
  5. The web page opens but many pages are missing: the token you logged in with lacks permissions (the top bar shows read-only). Log in with the admin password or a token that has them.

4. Forgotten admin password

On the host's local console (monitor and keyboard, or the IPMI remote console; not ssh), log in as root and run:

keel admin reset

It clears the admin password and all tokens (tokens for kRDPclient, the manager and scripts have to be made again); whoever opens the web page next sets a new password. If you can still log in with an ssh key or have an admin token, use that and change the password under System → Tokens instead; no reset needed.

5. Back on the old version after an upgrade

If the new version does not come up, hangs or crashes after a switch, the host returns to the slot it came from. The web page says The switch to slot X did not come up: the host went back to slot Y.

  1. On the host, run keel upgrade --status to see the recorded reason.
  2. The host coming back means the old version is fine and the virtual machines run as before. For the problem with the new version, send us a support bundle.
  3. To try again: System → Upgrade, switch to the new version's slot once more.

See System: upgrade and restart.

6. The host started in native mode (hyp: off)

The bottom of System → Upgrade says hyp: off, or the hardware page says the host does not run on keelOS's hypervisor: the last boot on hyp did not finish (a hang, a crash, a power cut), so for safety the host started without hyp this time. Virtual machines still run, but they shut down when the host restarts, and keelRM is not available.

  1. On the host, run keel hyp log --boot to see where the last boot stopped.
  2. Click Try hyp once (or keel host hyp-try): the next boot through the firmware tries it once; if it fails again, the host once more starts without hyp and does not get stuck.
  3. If it fails every time, send us the output of keel hyp log --boot and a support bundle.

7. The host hangs, restarts by itself or crashes

  • Look at the screen: with keelRM, open its page for the screen, the serial console and hyp's log; you can also reset there or start from the other slot next time. On servers use the BMC's (IPMI) remote console.
  • Record of a root crash: when the host system's kernel crashes or hangs, the hypervisor keeps its last kernel messages and brings the host back. After the next boot, open the host's root-crash.log under Logs.
  • During the host check: if the host restarted or froze under stress, a red bar at the top of System → Maintenance says The host restarted or hung during the last check, with the item that ran and the temperature. Cooling, the power supply or memory are the usual causes; see System: maintenance, time and host console.
  • It keeps failing to start: on the keelRM page, have the host start in safe mode next time (no autostart, passthrough devices stay with the host) to bring it back first; see the keelRM management port.
  • Supermicro X10 boards: the hardware page shows no sensors: the BMC's in-band IPMI interface is stuck. On the BMC card under Configuration → Hardware, click Restart BMC… and choose a cold restart; the host and the virtual machines are not affected. See Hardware requirements.

8. Virtual machine problems

Symptom What to do
A virtual machine does not start Open its page: Logs at the top has the start and error records; N virtual machines failed on the Overview points to it too
A virtual machine did not resume after a host restart Its page offers Start fresh: it boots from the start, and the suspended state (the checkpoint) is set aside, not lost
No picture Try all three ways: the web console, RDP and the host's monitor; see Console and remote desktop
No network Check which network the NIC is on and on which port that network is; see Network

9. Storage pool errors

When the Overview says a storage pool is DEGRADED, a disk in it has failed or dropped out: the data is still there but there is no redundancy left, so replace the disk soon. FAULTED or UNAVAIL means the pool cannot be used. Replacing disks and repairs: see Storage.

Note: the host's settings are on the boot partition, not in a storage pool. With a broken pool the host still starts and you can log in to the web page and deal with it there.