Commit Graph

14 Commits

Author SHA1 Message Date
Tsu-ba-me
7ef54f08a4 style(cgi-bin): remove excess indent in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
d1149d5978 fix(cgi-bin): release job dispatching logic in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
5a3daa3528 fix(cgi-bin): add switch support to set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
e80ebdb8b4 fix(cgi-bin): correct host_uuid existence check in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
f966ed12fb style(cgi-bin): format set_power to keep consistency 2021-06-01 14:13:29 -04:00
Tsu-ba-me
fae1c72986 docs(cgi-bin): rename hash->response_body in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
540129bb8f fix(cgi-bin): remove outdated logic 2021-06-01 14:13:29 -04:00
Tsu-ba-me
7c1e6e7c87 fix(cgi-bin): add proper error messages when given invalid UUID(s) 2021-06-01 14:13:29 -04:00
Tsu-ba-me
1ec32bfbaf fix(cgi-bin): filled in logic to power on/off target host(s) 2021-06-01 14:13:29 -04:00
Tsu-ba-me
12113e1dda fix(cgi-bin): parse set_power request body to get parameters 2021-06-01 14:13:29 -04:00
Tsu-ba-me
3ae54037ea fix(cgi-bin): improve verbosity in set_power 2021-06-01 14:13:29 -04:00
Tsu-ba-me
a8571863be fix(cgi-bin): add subs to handle set anvil/host power 2021-06-01 14:13:29 -04:00
Digimer
4a87ee71db * This commit started with work on webui endpoint set_power, but then switched to scancore debugging and I neglected to switch branches.
* Created Cluster->check_stonith_config() that checks and, if needed, reconfigures a cluster's fencing (stonith) config.
* Updated scan-cluster to call Cluster->check_stonith_config() at the end of each call.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-05-02 21:40:48 -04:00
Digimer
5536e8ff47 * Updated Cluster->assemble_storage_groups() and Cluster->anvil_name_from_uuid() and ->available_resources() to try to detect the anvil_uuid if not passed in.
* Updated Database->insert_or_update_storage_group_members() to use the host_uuid when trying to find existing members.
* Added the skeleton of a bunch of new json endpoints for the new UI features.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-03-16 02:40:50 -04:00