Commit Graph

3068 Commits

Author SHA1 Message Date
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
Tsu-ba-me
5d54b5d855 fix(striker-ui-api): protect static files 2023-06-20 00:48:21 -04:00
Tsu-ba-me
feae630370 fix(striker-ui-api): allow override fail/succeed in assert authentication 2023-06-20 00:48:21 -04:00
Tsu-ba-me
0f223950e4 fix(striker-ui): correct /login to post with-credentials enabled 2023-06-20 00:48:21 -04:00
Tsu-ba-me
4bbdcc1687 fix(striker-ui-api): enable credentials in cors middleware 2023-06-20 00:48:21 -04:00
Tsu-ba-me
dc765b3719 fix(striker-ui-api): set session cookie options
* Set 'secure' because we don't have a certificate yet
* Set 'httpOnly' to avoid exposing the cookie in 'document'
2023-06-20 00:48:21 -04:00
Tsu-ba-me
2eb5b8a094 fix(striker-ui-api): make login respond with no-content (204) 2023-06-20 00:48:21 -04:00
Tsu-ba-me
9a0ca2f159 docs(striker-ui-api): label anvil-access-module daemon start sequence 2023-06-20 00:48:21 -04:00
Tsu-ba-me
82f4bdff04 refactor(striker-ui-api): organize types after complete migrate to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d8cc7d9979 fix(striker-ui-api): migrate job to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
7d73fc931e fix(striker-ui-api): migrate insert or update variable to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
3608d6e56e fix(striker-ui-api): accept manifest UUID as URI param in DELETE /manifest 2023-06-20 00:48:21 -04:00
Tsu-ba-me
aa49de761a fix(striker-ui-api): migrate sub to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f9d7449b7d fix(striker-ui-api): migrate get anvil data to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
66b02d4a77 fix(striker-ui-api): allow async callback in GET request builder 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f075e219de feat(striker-ui-api): add initial traverse function 2023-06-20 00:48:21 -04:00
Tsu-ba-me
bc42b40a5a fix(striker-ui-api): set cookie max age to 8 hours 2023-06-20 00:48:21 -04:00
Tsu-ba-me
1e84641157 fix(striker-ui-api): migrate getPeerData to use access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
cb6a699fc7 fix(striker-ui-api): connect data, subroutine wrappers to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
ea78090ac0 fix(striker-ui-api): remove not-implemented <array>.at() 2023-06-20 00:48:21 -04:00
Tsu-ba-me
3efc5d8bfa fix(striker-ui-api): mark session as deleted on destroy 2023-06-20 00:48:21 -04:00
Tsu-ba-me
da785218ec fix(striker-ui-api): migrate a/dbWrite to daemon write 2023-06-20 00:48:21 -04:00
Tsu-ba-me
dc4a49a94c fix(striker-ui-api): sanitize config striker input, rename rqbody->body 2023-06-20 00:48:21 -04:00
Tsu-ba-me
c4232916f9 fix(striker-ui-api): remove console calls 2023-06-20 00:48:21 -04:00
Tsu-ba-me
32ecfec762 fix(striker-ui-api): migrate dbQuery->query in access module 2023-06-20 00:48:21 -04:00