ClusterLabs/striker

If ScanCore hasn't run on Striker after adding an Anvil!, but the ScanCore on the nodes have, the WebUI hangs

Closed this issue · 1 comments

Once ScanCore runs on the Striker dashboard, the system works properly.

Handle this more gracefully.

[Thu Jan 04 16:58:47 2018] [error] [client 10.20.255.250] DBD::Pg::db do failed: ERROR:  insert or update on table "nodes_cache" violates foreign key constraint "nodes_cache_node_cache_host_uuid_fkey", referer: http://10.20.4.2/cgi-bin/configure?task=anvil
[Thu Jan 04 16:58:47 2018] [error] [client 10.20.255.250] DETAIL:  Key (node_cache_host_uuid)=(e2025b03-8e64-4774-aec7-123b25d2ca05) is not present in table "hosts". at /usr/share/perl5/AN/Tools/DB.pm line 1355., referer: http://10.20.4.2/cgi-bin/configure?task=anvil
[Thu Jan 04 16:58:47 2018] [error] [client 10.20.255.250] DBD::Pg::db do failed: ERROR:  insert or update on table "nodes_cache" violates foreign key constraint "nodes_cache_node_cache_host_uuid_fkey", referer: http://10.20.4.2/cgi-bin/configure?task=anvil
[Thu Jan 04 16:58:47 2018] [error] [client 10.20.255.250] DETAIL:  Key (node_cache_host_uuid)=(e2025b03-8e64-4774-aec7-123b25d2ca05) is not present in table "hosts". at /usr/share/perl5/AN/Tools/DB.pm line 1355., referer: http://10.20.4.2/cgi-bin/configure?task=anvil

This itself is not a bug, but likely related to the other nodes_cache bug(s). Closing it.