ClusterLabs / anvil

The Anvil! Intelligent Availability™ Platform, mark 3
5 stars 6 forks source link

Crash on login to Striker #546

Closed digimer closed 7 months ago

digimer commented 7 months ago

There's a problem where, a striker that was working yesterday, is not crashing on login. This is effecting both Strikers. The logs from the crash are in the comment below.

image

digimer commented 7 months ago

Logs are too long, attaching as a file crash.txt

digimer commented 7 months ago

More context; I had used the Striker to build an Anvil! node that was then removed (ie: put in boxes). It seems like striker was trying to call their IPMI interfaces to determine their states and crashing. I purged the Anvil! node from the database, and the crashing went away.

ylei-tsubame commented 7 months ago

The basic auto-select algorithm in the provision server form is not considering null entries; it's exactly 1 record, but not usable. The simple solution is to add a null guard.