Skip to content
Troubleshooting

Troubleshooting

SymptomSection
privilege level not granted in the logThe iDRAC refuses the privilege level
gpsu can’t log in to the iDRAC and waits longer between triesThe iDRAC refuses the login
The fans ignore gpsu’s speedThe fans ignore gpsu
The server shows No readingsgpsu can’t read a CPU temperature
The fans stay at one speed and the metrics stop updatinggpsu can’t reach the iDRAC
The browser shows This address isn't served heregpsu is opened at another address
A web UI form fails its CSRF checkA form fails the CSRF check
The SQLite database sits on NFS or another network file systemThe database is on a network file system
A server shows Stopped in Settings › ServersA server is stopped

The iDRAC refuses the privilege level

lanplus: privilege level not granted: administrator ... (0x81)

Cause: The iDRAC user’s privilege on the LAN channel is lower than the level gpsu asks for. Fan commands need Administrator.

Fix: Do one of these:

  • Raise the user’s privilege in the iDRAC’s user settings.
  • If the server runs in passive mode, set its privilege to User with gpsu server edit NAME --privilege user.

Run gpsu probe to check. It asks for Administrator and reports whether the user has it.

The iDRAC refuses the login

Cause: The username or password is wrong. After a refusal, gpsu waits 1 minute before it tries again. Each further refusal doubles the wait, up to 16 minutes.

Fix:

  1. Test the credentials once with gpsu probe.
  2. Correct the password. Do one of these:
    • Save it with gpsu server edit NAME --password or on the server’s Edit page.
    • If the password is in Vault, correct it there. gpsu uses it at its next login attempt.

Warning

An iDRAC can block an address after a few failed logins. Test with gpsu probe once before you try other fixes.

The fans ignore gpsu

CauseHow to tellFix
Passive mode is onThe server’s page says Passive. The log line “Fan control changed” shows "passive": true.Set Fan control mode to Active on the server’s Edit page. If gpsu runs with gpsu serve --passive, remove that flag. It puts every server in passive mode.
Another program controls the fansThe fan speed changes when gpsu didn’t set itStop the other program. Only one program may control a server’s fans.
The firmware rejects Dell’s fan commandsgpsu_send_errors_total risesgpsu can’t control this firmware. Requirements lists the supported versions.

gpsu can’t read a CPU temperature

Cause: gpsu couldn’t read any CPU temperature for over 15 seconds. It hands off the fans to the iDRAC until it can.

An iDRAC sometimes marks a sensor unavailable for a moment. gpsu tries once more after half a second. For a shorter gap it keeps the last fan speed and logs “CPU readings missing. The last fan speed holds”. How It Works lists the conditions. If handoffs keep happening, the server’s CPU sensor settings may match no sensor on the iDRAC.

Fix:

  1. List the iDRAC’s sensors with gpsu server test or gpsu probe.
  2. Pick the CPU sensors with Read sensors on the server’s Edit page. Sensors explains the choices.

gpsu can’t reach the iDRAC

Cause: gpsu can’t reach the iDRAC over the network. A handoff needs gpsu to log in to the iDRAC. Until it can, the fans stay at the last speed gpsu set.

Fix: Restore the network path to the iDRAC on UDP port 623.

Tip

Alert when gpsu_last_control_success_timestamp_seconds stops advancing. Monitoring lists the metrics.

gpsu is opened at another address

Cause: gpsu answers only at the host of GPSU_PUBLIC_URL. A request for any other host gets 421 Misdirected Request. One example is localhost when GPSU_PUBLIC_URL names 127.0.0.1. The same happens when a reverse proxy passes on a host of its own.

Fix: Open gpsu at the host of GPSU_PUBLIC_URL. Point GPSU_SERVER at it for the command line.

A reverse proxy must pass on the browser’s Host header. A proxy listed in GPSU_TRUSTED_PROXIES may send it as X-Forwarded-Host instead.

  • The check guards against DNS rebinding. A page on another site can’t use the browser to reach gpsu.
  • The response names neither gpsu nor its address. That page could read it.
  • gpsu answers at one host only. Sign-In and the API sets it.

A form fails the CSRF check

gpsu answers with a page that names what went wrong. Over HTTPS, the CSRF check needs to know which page a form came from. gpsu sends Referrer-Policy: same-origin, so the browser tells gpsu and no other site.

Page titleCauseFix
This page expiredThe page was open longer than its session, or the user signed out in another tab.Reload the page and try again.
This form came from another addressThe browser reached gpsu at the right host with another scheme or port than GPSU_PUBLIC_URL. One example is http:// when GPSU_PUBLIC_URL names https://. At GPSU_LOG_LEVEL=debug, the log records “Form refused from another origin”.Open the web UI at the exact GPSU_PUBLIC_URL.
This form didn’t say where it came fromA proxy in front of gpsu replaces its Referrer-Policy header with no-referrer. The browser then hides which page a form came from. A browser setting can hide it too. At GPSU_LOG_LEVEL=debug, the log records “Form refused without its origin”.Let gpsu’s Referrer-Policy through, or set it to same-origin at the proxy. If no proxy changes it, allow referrers for gpsu’s address in the browser’s privacy settings.
Your browser sent a header gpsu can’t checkThe browser or an extension sent a Sec-Fetch-Site header with a value no browser uses. At GPSU_LOG_LEVEL=debug, the log records “Form refused for its Sec-Fetch-Site header”.Reload the page. If it keeps happening, turn off extensions that change headers or try another browser.

A server is stopped

gpsu didn’t start fan control for the server. The iDRAC keeps running its fans. The other servers run as usual. The list says why under the server’s name, and the log records the full error.

Reason shownCauseFix
Its password is in Vault, and Vault isn’t set upThe server’s password is a key in Vault, and gpsu started without VaultSet GPSU_VAULT_ADDRESS and its sign-in settings, then restart gpsu
Its password is encrypted with the seal key, and gpsu has no seal keygpsu started without the seal keySet GPSU_SEAL_KEY_FILE or GPSU_SEAL_KEY_VAULT, then restart gpsu
Its template doesn’t existThe server names a template this version of gpsu doesn’t haveEdit the server and choose another template
Its stored settings don’t readThe stored settings hold a key gpsu doesn’t know. A backup from an older version of gpsu can hold one.Edit the server and enter its settings again, or remove it and add it again
Its settings aren’t validA stored setting doesn’t hold in this version of gpsuEdit the server and save. The form names the setting to fix.
Fan control didn’t startAnything elseRead the log line “A server did not start”

The database is on a network file system

Cause: SQLite’s write-ahead log doesn’t work on network file systems.

Fix: Do one of these:

  • Keep the SQLite file on local block storage. In Kubernetes, a ReadWriteOnce volume works.
  • Use PostgreSQL. gpsu then keeps no state on its own volume.

Storage and Backups covers both.