Fabio M. Di Nitto
1b4ac8ab56
ocf:alteeve:server: fix typo in the description
...
Resolves: https://github.com/ClusterLabs/anvil/issues/390
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:16:47 +02:00
Tsu-ba-me
58509176ea
build(striker-ui): rebuild
2023-08-07 01:52:15 -04:00
Tsu-ba-me
d7a5ce7471
build(striker-ui-api): rebuild
2023-08-07 01:49:27 -04:00
Tsu-ba-me
7160450c80
fix(striker-ui-api): revert debug code in create host connection
2023-08-07 01:47:35 -04:00
Tsu-ba-me
d04fef2372
fix(striker-ui-api): correct sanitize boolean
2023-08-07 01:47:35 -04:00
Tsu-ba-me
823f0780b1
fix(striker-ui): default user to 'root' in add peer
2023-08-07 01:47:35 -04:00
Tsu-ba-me
c8e0ed35c8
fix(striker-ui-api): handle access unordered outputs
2023-08-07 01:47:35 -04:00
Tsu-ba-me
d1bc6c0ce3
fix(striker-ui-api): avoid blank inputs by using sanitize fallback in create host connection
2023-08-07 01:47:35 -04:00
Tsu-ba-me
4a8f6b27dc
fix(striker-ui-api): log request method, path
2023-08-07 01:47:35 -04:00
Tsu-ba-me
29f907f003
fix(striker-ui-api): default to root user when add peer striker
2023-08-07 01:47:35 -04:00
Digimer
25b46058f1
Merge pull request #376 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2023-07-26 11:42:04 -04:00
digimer
6ee2ad75db
* Updated anvil-delete-server to actively check for and delete any drbd-fenced attributes left over in the CIB after a server is deleted. This addresses issue #374 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 21:45:34 -04:00
digimer
a0ff080741
* Deleted some old unused code from Cluster->assemble_storage_groups().
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 19:30:53 -04:00
digimer
ed480cf1cb
* Fixed a double-$ bug in Remote->_check_known_hosts_for_target()
...
* Updated striker-update-cluster to take '--timeout' and a number of seconds, or 'Xm' or 'Xh' for minutes or hourse, respectively. Also updated to show the remaining time while waiting, and added waiting timeout to the rest of the while loops that prior had no time limit. This addresses issue #383 and issue #382 .
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 19:13:41 -04:00
digimer
0471fb90ea
* Upped the logging in these three tools to help diagnose run errors. To be removed before tagging beta
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 13:07:38 -04:00
digimer
88e8978305
* Fixed a bug where getting the job_uuid after a no-db run wouldn't actually update the job progress.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 12:43:28 -04:00
digimer
6a7c9923ad
* Fixed second variable replacement bug, re issue #338 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-25 10:37:41 -04:00
digimer
be290bf561
This commit fixes a bug where the drbd kernel module build was being killed mid-compile, leaving DBRD unusable.
...
* Created System->wait_on_dnf() which was plucked from anvil-daemon, and now also called in scancore and anvil-safe-start.
* Updated scancore and anvil-safe-start to check on start that DRBD's kernel module is available (and build if not).
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-24 22:32:41 -04:00
digimer
d68adb5b4e
* Updated anvil-manage-power to not reboot if anvil-version-changes is running (which, if it's taking time, is generating new kmods).
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-24 20:44:40 -04:00
digimer
8b3d472b9c
Updated striker-update-cluster to set primary_host_uuid to node 1 if not returned from Cluster->get_primary_host_uuid.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-24 19:00:19 -04:00
digimer
556e91238d
* Updated Network->find_access() to clear the data from previous scans, which fixes a bug where checking multiple hosts could return stale data for the previous host.
...
* Updated anvil-manage-server-storage, striker-collect-debug, and striker-update-cluster to be able to find a connection on an interface when none were found on preferred networks.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-24 15:43:54 -04:00
digimer
9a5e617a2d
* Test fix for the issue #379
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-24 00:22:43 -04:00
digimer
f57ab1a78c
* Updated anvil-daemon to not hold jobs at startup is the host isn't configured yet.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-23 23:34:39 -04:00
Digimer
688e8509bf
Merge branch 'main' into anvil-tools-dev
2023-07-23 21:44:19 -04:00
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>
2023-07-23 21:43:26 -04:00
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>
2023-07-23 21:43:26 -04:00
Tsu-ba-me
714ccdb5b6
chore(tools): log start/stop pipe errors in manage vnc pipe
2023-07-23 21:43:26 -04:00
Tsu-ba-me
1f13a416b9
chore(tools): remove unused anvil-manage-tunnel; missing from d2a61da
2023-07-23 21:43:26 -04:00
Tsu-ba-me
a906919095
fix(libvirt): correct log timestamp format
2023-07-23 21:43:26 -04:00
Tsu-ba-me
8a171dd8ae
build(striker-ui): rebuild
2023-07-23 21:43:26 -04:00
Tsu-ba-me
9f676736a0
fix(striker-ui): use full host string instead of hostname when building server VNC url
2023-07-23 21:43:26 -04:00
Tsu-ba-me
9163cf4513
chore: remove anvil-manage-tunnel
2023-07-23 21:43:26 -04:00
Tsu-ba-me
da79a67c97
build: disable apache free ports for striker-ui-api
2023-07-23 21:43:26 -04:00
Tsu-ba-me
b9eb80f1f9
build(striker-ui): rebuild
2023-07-23 21:43:26 -04:00
Tsu-ba-me
4c8a28f0f8
build(striker-ui-api): rebuild
2023-07-23 21:43:26 -04:00
Tsu-ba-me
47f7c71e95
fix(tools): stop ws with source port when target port is unavailable
2023-07-23 21:43:26 -04:00
Tsu-ba-me
f509391600
fix(libvirt): pass domain UUID to avoid name->UUID conversion
2023-07-23 21:43:26 -04:00
Tsu-ba-me
99dc4ba6ba
fix(tools): handle possible remnant websockify daemon wrapper
2023-07-23 21:43:26 -04:00
Tsu-ba-me
e13c029049
fix(striker-ui): correct types on FullSize
2023-07-23 21:43:26 -04:00
Tsu-ba-me
6f62df3187
fix(striker-ui): correct VNC key-combo menu colours
2023-07-23 21:43:26 -04:00
Tsu-ba-me
e63fef101f
fix(striker-ui): auto-reconnect VNC upon failure
2023-07-23 21:43:26 -04:00
Tsu-ba-me
a1a00e375b
fix(striker-ui): restore server VNC to working state
2023-07-23 21:43:26 -04:00
Tsu-ba-me
652cce4efc
chore(striker-ui): reorder imports in /server page
2023-07-23 21:43:26 -04:00
Tsu-ba-me
57e52f29bf
fix(striker-ui-api): forward ws connections to /api/server/vnc/*
2023-07-23 21:43:26 -04:00
Tsu-ba-me
9330feee75
chore(striker-ui-api): install http-proxy-middleware
2023-07-23 21:43:26 -04:00
Tsu-ba-me
e4ce6e1014
fix(striker-ui-api): correct reversed check on get server VNC info
2023-07-23 21:43:26 -04:00
Tsu-ba-me
ba335cc411
fix(tools): match server vncinfo variable name
2023-07-23 21:43:26 -04:00
Tsu-ba-me
563438327e
fix(striker-ui-api): disconnect vnc-related management, only fetch vnc info
2023-07-23 21:43:26 -04:00
Tsu-ba-me
25f5c38ade
chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe
2023-07-23 21:43:26 -04:00
Tsu-ba-me
c29041d2f7
fix(tools): start websockify as daemon, re-find its pid and ports
2023-07-23 21:43:26 -04:00