Commit Graph

355 Commits

Author SHA1 Message Date
Tsu-ba-me
2306776c37 fix: rename load_interfces->load_interfaces of Network.pm 2024-01-30 16:16:14 -05:00
digimer
4398ffe70c Updated striker-boot-machine to support booting all machines.
* Wrote the man page for striker-boot-machine, changing --host-name to
  --host, and adding the '--host all' support.
* Updated anvil-manage-host to support checking/enabling/disabling
  network mapping mode.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-12 22:18:07 -04:00
digimer
a81a110261 * Remove forced log level and secure logging. This addresses issue #386
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-09 18:20:14 -04:00
digimer
64bb5ab8e1 * Updated striker to only complain about unconfigured networks on nodes, not DR hosts.
* Updated anvil-configure-host to ignore gracefully unconfigured networks.

Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2023-01-15 01:41:55 -05:00
digimer
b8b4352117 * Added support for Migration Network configs in old striker and anvil-configure-host
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2023-01-15 01:24:26 -05:00
digimer
b27a43eaf7 * Updated striker to only require 6 interfaces when configuring a node.
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2023-01-14 16:59:41 -05:00
Digimer
3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down.
* Also removed the variables for the database name and DB user name, setting them statically now.
* Created Database->shutdown() to more kindly stop a local database server.
* Added 'check_db_in_use_states()' to anvil-daemon to clean any stale entries marking a database as in use.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-14 16:41:37 -04:00
Digimer
763821a21d Fixed a variable substitution bug.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-24 22:25:37 -05:00
Digimer
dc989f0950 Added more logging to track when and how reboots happen in systems.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-16 21:55:33 -05:00
Digimer
831abd1981 Updated Striker to allow the DR host to not have an IP assisned.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-01-21 16:57:10 -05:00
Digimer
a633ab7f63 Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-01-21 14:27:58 -05:00
Digimer
3811b9b2da Minor update to make the fence device name marked as a mandatory field.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-01-04 21:02:24 -05:00
Digimer
32f29861a4 * Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI
* Fixed a bug (maybe) that was breaking initial DB setup on Strikers.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-15 01:01:23 -05:00
Tsu-ba-me
f61527edf7 fix(tools): save screenshots to states table 2021-09-03 16:21:55 -04:00
Tsu-ba-me
65613f501b fix(tools): add option to resize server screenshot 2021-09-03 16:21:55 -04:00
Tsu-ba-me
256051a6ca build(cgi-bin): add get_server_screenshot endpoint to build 2021-09-03 16:21:55 -04:00
Tsu-ba-me
26d5c60696 fix(cgi-bin): rename response body screenshot property 2021-09-03 16:21:55 -04:00
Tsu-ba-me
d195a53ba2 feat(cgi-bin): add endpoint for fetching server screenshot 2021-09-03 16:21:55 -04:00
Tsu-ba-me
70075ba690 fix(cgi-bin): add login cookie guard to manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
214ef00647 fix(cgi-bin): allow VNC pipes for different servers to be managed in parallel 2021-08-04 13:40:02 -04:00
Tsu-ba-me
b3b6da8259 chore(cgi-bin): remove debug log level from manage_vnc_pipes and its support scripts 2021-08-04 13:40:02 -04:00
Tsu-ba-me
1f8e35ad0a build(cgi-bin): include manage_vnc_pipes endpoint into makefile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
f8b45f5a74 fix(cgi-bin): avoid concat blank to job_data in manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e79a3989eb fix(cgi-bin): repair wait until job is complete before responding 2021-08-04 13:40:02 -04:00
Tsu-ba-me
b2555f2337 fix(cgi-bin): correct typo in job data in manage_vnc_pipes endpoint 2021-08-04 13:38:28 -04:00
Tsu-ba-me
2bef084118 fix(cgi-bin): always wait until job is done before responding 2021-08-04 13:38:28 -04:00
Tsu-ba-me
64de564472 fix(cgi-bin): avoid concat error on undefined --is-open 2021-08-04 13:38:28 -04:00
Tsu-ba-me
1d61c8fff7 fix(cgi-bin): modify manage_vnc_pipes endpoint to trigger a job 2021-08-04 13:38:28 -04:00
Tsu-ba-me
5cceb09f2a fix(cgi-bin): insert record on new of either websockify or ssh tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
fa15c715e4 fix(cgi-bin): revise is process checks to match tunnel script 2021-08-04 13:34:58 -04:00
Tsu-ba-me
d5724c1457 chore(tools): rename striker-start-ssh-tunnel->striker-open-ssh-tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
23d818cfff fix(cgi-bin): avoid direct SSH calls 2021-08-04 13:34:58 -04:00
Tsu-ba-me
c7f63f4a4b fix(cgi-bin): allow update all pipe pieces 2021-08-04 13:34:58 -04:00
Tsu-ba-me
742af987e9 fix(cgi-bin): provide proper params to check if websockify is in-use 2021-08-04 13:34:58 -04:00
Tsu-ba-me
b528456f45 fix(cgi-bin): update records after comparisons are done 2021-08-04 13:34:58 -04:00
Tsu-ba-me
4bd7cd6f62 fix(cgi-bin): respond with connect info after open VNC pipe 2021-08-04 13:34:58 -04:00
Tsu-ba-me
2ca5ee232b fix(cgi-bin): don't kill websockify instances in-use 2021-08-04 13:34:57 -04:00
Tsu-ba-me
9df976712a fix(cgi-bin): only insert when not repairing pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
2531252e3f fix(cgi-bin): compare UUID with string comparison operators 2021-08-04 13:34:57 -04:00
Tsu-ba-me
85375d69b1 fix(cgi-bin): param name mismatch in is_ssh_tunnel_exists 2021-08-04 13:34:57 -04:00
Tsu-ba-me
7f8532dbb9 fix(cgi-bin): draft pipe repair without destruction 2021-08-04 13:34:57 -04:00
Tsu-ba-me
dfa3990417 fix(cgi-bin): handle kill SSH tunnel on peer striker 2021-08-04 13:34:57 -04:00
Tsu-ba-me
ef27e30160 fix(cgi-bin): don't insert when using existing pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
6711b65151 fix(cgi-bin): include command when logging shell calls 2021-08-04 13:34:57 -04:00
Tsu-ba-me
699400a62c fix(cgi-bin): add missing field when recording VNC pipe 2021-08-04 13:34:57 -04:00
Tsu-ba-me
d2b43f1d59 fix(cgi-bin): add missing host_uuid param to start SSH tunnel 2021-08-04 13:34:57 -04:00
Tsu-ba-me
424fdd70dd fix(cgi-bin): try SIGTERM before SIGKILL when stopping processes 2021-08-04 13:34:57 -04:00
Tsu-ba-me
0f4198155f fix(cgi-bin): prevent start-websockify-in-background from hanging 2021-08-04 13:34:57 -04:00
Tsu-ba-me
3adbd8bca1 fix(cgi-bin): add missing server_uuid variables 2021-08-04 13:34:57 -04:00
Tsu-ba-me
6ba6819078 chore(cgi-bin): rename manage_vnc_ports->manage_vnc_pipes 2021-08-04 13:34:57 -04:00