Commit Graph

2992 Commits

Author SHA1 Message Date
Tsu-ba-me
a16d5160d4 feat(striker-ui-api): add insert or update user to access module 2023-07-03 04:46:06 -04:00
Tsu-ba-me
560d60c7e8 fix(tools): get server screenshots every minute and punt to strikers WIP 2023-07-03 04:46:06 -04:00
Tsu-ba-me
ffd41b1dfa fix(tools): enable anvil-get-server-screenshot to send screenshot to multiple hosts 2023-07-03 04:46:06 -04:00
Tsu-ba-me
d9e6061b6e fix(striker-ui-api): replace get anvil shared storage summary 2023-07-03 04:46:06 -04:00
Tsu-ba-me
0360b39598 fix(striker-ui-api): replace get anvil network summary endpoint 2023-07-03 04:46:06 -04:00
Tsu-ba-me
ab4a4cee9a refactor(striker-ui-api): organize middlewares 2023-07-03 04:46:06 -04:00
Tsu-ba-me
0b304251ff fix(striker-ui): use query param return-to in login 2023-07-03 04:46:06 -04:00
Tsu-ba-me
9337b3c881 fix(striker-ui-api): prefer original url over url/path of request 2023-07-03 04:46:06 -04:00
Tsu-ba-me
e460986e7c docs(striker-ui-api): adjust spacing in session logs 2023-07-03 04:46:06 -04:00
Tsu-ba-me
b72283a06c fix(striker-ui-api): set query param returnTo in assert authentication 2023-07-03 04:46:06 -04:00
Tsu-ba-me
5a51f9a31a fix(striker-ui-api): don't list get server screenshot jobs 2023-07-03 04:46:06 -04:00
Tsu-ba-me
db5d98d9d6 fix(striker-ui-api): add timeout to get server screenshot 2023-07-03 04:46:06 -04:00
Tsu-ba-me
4d9c2e79f0 fix(striker-ui-api): replace handle subnode cluster membership endpoint 2023-07-03 04:46:06 -04:00
Tsu-ba-me
8fff0f8624 fix(striker-ui-api): apply default job progress ENV variable 2023-07-03 04:46:06 -04:00
Tsu-ba-me
f49c510468 fix(striker-ui-api): add replacement for power control nodes, subnodes 2023-07-03 04:46:06 -04:00
Tsu-ba-me
408e3ba78e fix(striker-ui-api): consolidate config-able constants 2023-07-03 04:46:05 -04:00
Tsu-ba-me
dc6eb4a6d2 fix(striker-ui-api): correct hex regexp pattern 2023-07-03 04:46:05 -04:00
Tsu-ba-me
a56a38f4e6 fix(striker-ui-api): complete get anvil memory summary 2023-07-03 04:46:05 -04:00
Tsu-ba-me
1978983340 fix(striker-ui-api): convert server memory outside SQL in get anvil detail for provision server 2023-07-03 04:46:05 -04:00
Tsu-ba-me
7d79d9a2ce chore(striker-ui-api): install format-data-size 2023-07-03 04:46:05 -04:00
Tsu-ba-me
4e335f49f3 fix(striker-ui-api): add types for query field, row, and result 2023-07-03 04:46:05 -04:00
Tsu-ba-me
fc075d778a fix(striker-ui-api): add get anvil memory summary WIP 2023-07-03 04:46:05 -04:00
Tsu-ba-me
d4eeb2eb89 fix(striker-ui-api): add get anvil CPU summary 2023-07-03 04:46:05 -04:00
Tsu-ba-me
e35f326573 fix(striker-ui-api): file_location_anvil_uuid->_host_uuid in file/anvil request handlers 2023-07-03 04:46:05 -04:00
Tsu-ba-me
039d755e89 refactor(striker-ui-api): reduce repeat in get all servers 2023-07-03 04:46:05 -04:00
Tsu-ba-me
192e1b82cc fix(striker-ui-api): add type number boolean 2023-07-03 04:46:05 -04:00
Tsu-ba-me
83d572530b fix(striker-ui-api): allow get anvil status 2023-07-03 04:46:05 -04:00
Tsu-ba-me
27b11849e8 fix(striker-ui-api): allow get anvil data from access daemon 2023-07-03 04:46:05 -04:00
Digimer
b74d6a6d66
Merge pull request #353 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-06-27 10:58:22 -04:00
Digimer
c4b79dc582
Merge branch 'main' into anvil-tools-dev 2023-06-27 00:09:07 -04:00
digimer
ae55ca9187 * Applied the fix for TCP ports aging out reserved TCP ports properly to DRBD->get_next_resource().
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-27 00:04:48 -04:00
digimer
ea95d26cc5 * Fixed a bug in DRBD->get_next_resource() where reserved minor numbers were not being released. Also added a new parameter, "minor_only", that returns the next minor number but doesn't bother processing TCP ports.
* Did more work on adding support for adding new disk drives to servers in anvil-manage-server-storage.
* Updated anvil-manage-storage-groups To check for / delete duplicate storage groups with the same name.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-26 23:55:19 -04:00
Digimer
fdddbffd9c
Merge pull request #351 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-06-26 10:11:49 -04:00
digimer
65af56d5bd * Updated Database->insert_or_update_jobs() to not look for jobs that are complete when no job_uuid is passed.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-25 23:20:03 -04:00
digimer
88cc76914d This is an attempt to fix issue #341. It replaces the search for SN IPs from Network->find_matches() to Network->find_access(). The later of which doesn't care about the interface the IP was found on.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-24 21:24:37 -04:00
digimer
e0316da88b * Got anvil-manage-server-storage working enough to grow existing disk's hard drive sizes, and to insert/eject optical disks.
* Hit a bug where a server's definition file was written to disk while not being valid. Added logging in case it happens again, and additional safe-guards to help avoid it from recurring.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-23 23:09:55 -04:00
digimer
376660a120 * Removed the EXTRA_DIST argument from tools/Makefile.am
* Added a sanity check that a valid optical device was passed to anvil-manage-server-storage

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-22 21:20:10 -04:00
digimer
7a32d219fc Removed the old watch_drbd tool and added the new anvil-watch-drbd to the Makefiles.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-22 20:47:24 -04:00
digimer
1d12fb32b4 * Completed the new anvil-watch-drbd which replaces watch_drbd.
* Updated Email->get_current_server() to always load mail server data from the database.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-22 20:43:46 -04:00
Digimer
25ea57d9c2
Merge pull request #348 from ClusterLabs/anvil-tools-dev
Added logging to help debug a DRBD resource config issue related to f…
2023-06-21 13:51:21 -04:00
digimer
336699a0f2 Added logging to help debug a DRBD resource config issue related to finding matching SN IPs.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-21 10:29:44 -04:00
Digimer
169b8328e6
Merge pull request #346 from ClusterLabs/anvil-tools-dev
* This adds the new tool 'striker-check-machines' which simply walks …
2023-06-20 23:12:00 -04:00
Digimer
8f491e01ed
Merge branch 'main' into anvil-tools-dev 2023-06-20 20:00:10 -04:00
digimer
0aa72498db * This adds the new tool 'striker-check-machines' which simply walks through all known physical machines and checks to see if they're accessible and powered on.
* Updated Get->uptime() to work on remote targets.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-20 19:57:21 -04:00
Digimer
d9109db946
Merge pull request #345 from ylei-tsubame/build-login
Web UI: add login facilities and interface
2023-06-20 18:41:10 -04:00
digimer-bot
82114120be
Merge branch 'main' into build-login 2023-06-20 10:47:38 -04:00
digimer-bot
4a439f23b6
Merge pull request #344 from ClusterLabs/anvil-tools-dev
* Added checks to anvil-provision-server to fail out if either of the…
2023-06-20 10:47:22 -04:00
Tsu-ba-me
c6bcbc952b fix(striker-ui-api): handle static file requests with file extension 2023-06-20 00:48:22 -04:00
Tsu-ba-me
bfadd3bacb fix(striker-ui-api): use default cors origin handler 2023-06-20 00:48:21 -04:00
Tsu-ba-me
32ae8dd416 fix(striker-ui-api): handle set session without user 2023-06-20 00:48:21 -04:00