digimer
66c82e5e22
* Fixed a bug in anvil-update-system where updating a single package with --reboot wouldn't request a reboot. Finished reworking it so that a check is made to see if the kernel or DRBD kmod will be updated and, if so, removes the kmod-drbd RPMs prior to doing the update (as opposed to the sloppier check-on-error method).
...
* Fixed a bug in System->reboot_needed() where the cache file path had a typo in the hash key.
* Updated anvil-daemon to use the full path to dnf when determining if a dnf process was running.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
e278de4b5a
The main change in this commit deals with anvil-daemon startup. During OS updates, it would pick up the queued update job and run it while the other --no-db one was still running. This could become an issue for other tasks in the future, so updated anvil-daemon to not run any jobs for the first minute after startup. Also updated it to see if an OS update is underway (given how it can start mid-RPM update, before packages like kmod-drbd are ready to build). While doing this, implemented caching of daily tasks (like agine out data, archiving data, network scans, etc) to only run once per day, period. As it was before, they would always run on anvil-daemon startup, then wait 24 hours.
...
Note that work has started it reworking anvil-update-system, but it is incomplete (and broken) in this commit.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Tsu-ba-me
714ccdb5b6
chore(tools): log start/stop pipe errors in manage vnc pipe
1 year ago
Tsu-ba-me
1f13a416b9
chore(tools): remove unused anvil-manage-tunnel; missing from d2a61da
1 year ago
Tsu-ba-me
a906919095
fix(libvirt): correct log timestamp format
1 year ago
Tsu-ba-me
8a171dd8ae
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
9f676736a0
fix(striker-ui): use full host string instead of hostname when building server VNC url
1 year ago
Tsu-ba-me
9163cf4513
chore: remove anvil-manage-tunnel
1 year ago
Tsu-ba-me
da79a67c97
build: disable apache free ports for striker-ui-api
1 year ago
Tsu-ba-me
b9eb80f1f9
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
4c8a28f0f8
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
47f7c71e95
fix(tools): stop ws with source port when target port is unavailable
1 year ago
Tsu-ba-me
f509391600
fix(libvirt): pass domain UUID to avoid name->UUID conversion
1 year ago
Tsu-ba-me
99dc4ba6ba
fix(tools): handle possible remnant websockify daemon wrapper
1 year ago
Tsu-ba-me
e13c029049
fix(striker-ui): correct types on FullSize
1 year ago
Tsu-ba-me
6f62df3187
fix(striker-ui): correct VNC key-combo menu colours
1 year ago
Tsu-ba-me
e63fef101f
fix(striker-ui): auto-reconnect VNC upon failure
1 year ago
Tsu-ba-me
a1a00e375b
fix(striker-ui): restore server VNC to working state
1 year ago
Tsu-ba-me
652cce4efc
chore(striker-ui): reorder imports in /server page
1 year ago
Tsu-ba-me
57e52f29bf
fix(striker-ui-api): forward ws connections to /api/server/vnc/*
1 year ago
Tsu-ba-me
9330feee75
chore(striker-ui-api): install http-proxy-middleware
1 year ago
Tsu-ba-me
e4ce6e1014
fix(striker-ui-api): correct reversed check on get server VNC info
1 year ago
Tsu-ba-me
ba335cc411
fix(tools): match server vncinfo variable name
1 year ago
Tsu-ba-me
563438327e
fix(striker-ui-api): disconnect vnc-related management, only fetch vnc info
1 year ago
Tsu-ba-me
25f5c38ade
chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe
1 year ago
Tsu-ba-me
c29041d2f7
fix(tools): start websockify as daemon, re-find its pid and ports
1 year ago
Tsu-ba-me
cb98d28eb0
fix(tools): add target host to vnc info variable
1 year ago
Tsu-ba-me
0b91ee0314
fix(tools): remove all tunnel-related tasks
1 year ago
Tsu-ba-me
084394c66f
fix(tools): hoist find server vnc port
1 year ago
Tsu-ba-me
ee091d4e7b
fix(tools): format output of existing tunnel
1 year ago
Tsu-ba-me
d42f202609
fix(tools): flip ports based on forward type
1 year ago
Tsu-ba-me
0210323730
fix(tools): pass tunnel list to start, stop tunnel
1 year ago
Tsu-ba-me
19f6cefd8d
fix(tools): isolate prepare tunnel parents
1 year ago
Tsu-ba-me
9f8a153fe0
fix(tools): replace tilda with home path
1 year ago
Tsu-ba-me
f8e65416c4
fix(tools): correct receiving find tunnels output
1 year ago
Tsu-ba-me
1854cf4872
fix(tools): enable search full command in find tunnel parent processes
1 year ago
Tsu-ba-me
02f89b24b1
fix(tools): pass debug level to find, start, stop tunnel in start pipe
1 year ago
Tsu-ba-me
6dbec289a1
fix(tools): treat empty tunnel list as no tunnels
1 year ago
Tsu-ba-me
3debdb846d
fix(tools): start background processes with system call
1 year ago
Tsu-ba-me
b695414c86
fix(tools): improve debug hashes
1 year ago
Tsu-ba-me
e86219c484
fix(libvirt): match hook with changes made to manage vnc pipes
1 year ago
Tsu-ba-me
8c37b49132
fix(tools): remove extra space in find tunnel parent sed
1 year ago
Tsu-ba-me
55bc44fc6e
fix(tools): correct typos in manage vnc pipes
1 year ago
Tsu-ba-me
bedbf576ab
fix(tools): correct loop over tunnel list
1 year ago
Tsu-ba-me
4de0b675f1
fix(tools): don't find when tunnel list doesn't exist
1 year ago
Tsu-ba-me
2eb96f9d10
fix(tools): reuse existing tunnels in manage vnc pipes
1 year ago
Tsu-ba-me
834e1a568a
fix(tools): improve debug log of start processes in manage vnc pipes
1 year ago
Tsu-ba-me
7baa52e37d
fix(tools): ignore mismatches when find websockify, tunnel parent processes
1 year ago
Tsu-ba-me
41abd4f9e4
fix(tools): correct websockify command in manage vnc pipes
1 year ago
Tsu-ba-me
75b6ab94df
fix(tools): correct reversed set, delete operations in manage vnc pipes
1 year ago