Digimer
e83baeb54f
Merge branch 'main' into anvil-tools-dev
1 year ago
digimer
b0c54b6dae
* Updated anvil-update-system to check if another instance of anvil-update-system is running and, if so, exit.
...
* Removed the new tasks from anvil-special-operations.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
7bd76c10dc
Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available.
...
* Updated Server->shutdown_virsh() to work without a database connection.
* Updated System->reboot_needed() to store/read from a cache file when the database is not available.
* Updated anvil-safe-start to remove the old --enable/disable/status switches, now that we use anvil-safe-start.service systemd unit.
* Reworked anvil-safe-stop to work without a database connection, and to work on DR hosts.
* Updated anvil-special-operations to add new tasks, but it's likely these new tasks aren't needed and will be removed very shortly.
* Added/updated multiple man pages.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Tsu-ba-me
7ab70d100b
chore(tools): log start/stop pipe errors in manage vnc pipe
1 year ago
Tsu-ba-me
6f4fb35c6a
chore(tools): remove unused anvil-manage-tunnel; missing from d2a61da
1 year ago
Tsu-ba-me
9f9d377171
fix(libvirt): correct log timestamp format
1 year ago
Tsu-ba-me
5d0d521d91
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
37f427aa64
fix(striker-ui): use full host string instead of hostname when building server VNC url
1 year ago
Tsu-ba-me
d2a61da663
chore: remove anvil-manage-tunnel
1 year ago
Tsu-ba-me
9d3f5b6b7f
build: disable apache free ports for striker-ui-api
1 year ago
Tsu-ba-me
3a65915943
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
c8a6c09627
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
17b445c80d
fix(tools): stop ws with source port when target port is unavailable
1 year ago
Tsu-ba-me
adb71c7f80
fix(libvirt): pass domain UUID to avoid name->UUID conversion
1 year ago
Tsu-ba-me
3649526421
fix(tools): handle possible remnant websockify daemon wrapper
1 year ago
Tsu-ba-me
44fa698927
fix(striker-ui): correct types on FullSize
1 year ago
Tsu-ba-me
0ada0d4292
fix(striker-ui): correct VNC key-combo menu colours
1 year ago
Tsu-ba-me
a00a5721d6
fix(striker-ui): auto-reconnect VNC upon failure
1 year ago
Tsu-ba-me
eb907affbc
fix(striker-ui): restore server VNC to working state
1 year ago
Tsu-ba-me
04390bc416
chore(striker-ui): reorder imports in /server page
1 year ago
Tsu-ba-me
01addb706e
fix(striker-ui-api): forward ws connections to /api/server/vnc/*
1 year ago
Tsu-ba-me
9192212bde
chore(striker-ui-api): install http-proxy-middleware
1 year ago
Tsu-ba-me
d70c4cdc35
fix(striker-ui-api): correct reversed check on get server VNC info
1 year ago
Tsu-ba-me
9043023492
fix(tools): match server vncinfo variable name
1 year ago
Tsu-ba-me
7058ef0f4a
fix(striker-ui-api): disconnect vnc-related management, only fetch vnc info
1 year ago
Tsu-ba-me
f08319f41b
chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe
1 year ago
Tsu-ba-me
f549fc6b4c
fix(tools): start websockify as daemon, re-find its pid and ports
1 year ago
Tsu-ba-me
33c3eb1906
fix(tools): add target host to vnc info variable
1 year ago
Tsu-ba-me
99cee67b30
fix(tools): remove all tunnel-related tasks
1 year ago
Tsu-ba-me
7e6c19b6b0
fix(tools): hoist find server vnc port
1 year ago
Tsu-ba-me
7cd7b07d81
fix(tools): format output of existing tunnel
1 year ago
Tsu-ba-me
5220b6cbfc
fix(tools): flip ports based on forward type
1 year ago
Tsu-ba-me
e9807fff18
fix(tools): pass tunnel list to start, stop tunnel
1 year ago
Tsu-ba-me
da17b60ba6
fix(tools): isolate prepare tunnel parents
1 year ago
Tsu-ba-me
ef61801831
fix(tools): replace tilda with home path
1 year ago
Tsu-ba-me
0ffcb200ae
fix(tools): correct receiving find tunnels output
1 year ago
Tsu-ba-me
4afed0aa2b
fix(tools): enable search full command in find tunnel parent processes
1 year ago
Tsu-ba-me
e991bf4980
fix(tools): pass debug level to find, start, stop tunnel in start pipe
1 year ago
Tsu-ba-me
a321a3f404
fix(tools): treat empty tunnel list as no tunnels
1 year ago
Tsu-ba-me
b3cc8a7f7f
fix(tools): start background processes with system call
1 year ago
Tsu-ba-me
feba21ad7d
fix(tools): improve debug hashes
1 year ago
Tsu-ba-me
8b741eb04a
fix(libvirt): match hook with changes made to manage vnc pipes
1 year ago
Tsu-ba-me
f45a49dc11
fix(tools): remove extra space in find tunnel parent sed
1 year ago
Tsu-ba-me
4c0f48722e
fix(tools): correct typos in manage vnc pipes
1 year ago
Tsu-ba-me
da6c51ca73
fix(tools): correct loop over tunnel list
1 year ago
Tsu-ba-me
d3b67c198b
fix(tools): don't find when tunnel list doesn't exist
1 year ago
Tsu-ba-me
084cff98e0
fix(tools): reuse existing tunnels in manage vnc pipes
1 year ago
Tsu-ba-me
0f3397bb18
fix(tools): improve debug log of start processes in manage vnc pipes
1 year ago
Tsu-ba-me
42a0cbc8a2
fix(tools): ignore mismatches when find websockify, tunnel parent processes
1 year ago
Tsu-ba-me
a777410b7e
fix(tools): correct websockify command in manage vnc pipes
1 year ago