Commit Graph

2958 Commits

Author SHA1 Message Date
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
Tsu-ba-me
06ad2a5353 chore(striker-ui-api): add core-js and regenerator-runtime enable promises and async/await 2023-06-20 00:48:21 -04:00
Tsu-ba-me
60b2b36e6b fix(striker-ui-api): simplify POST /echo 2023-06-20 00:48:21 -04:00
Tsu-ba-me
2812b21f31 fix(striker-ui-api): export string regex patterns 2023-06-20 00:48:21 -04:00
Tsu-ba-me
ab5ded03cf fix(striker-ui-api): add label to stdoutVar, simplify uuidgen 2023-06-20 00:48:21 -04:00
Tsu-ba-me
efc8832321 fix(striker-ui-api): add fallback to sanitize 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d1b53b4a2c fix(striker-ui-api): apply getent to resolve uid:gid 2023-06-20 00:48:21 -04:00
Tsu-ba-me
8a8b2cbc4b fix(tools): identify line(s) with UUID in interactive/script anvil-access-module 2023-06-20 00:48:21 -04:00
Tsu-ba-me
fe9c4a758f docs(tools): explain the interactive/script function of anvil-access-database 2023-06-20 00:48:21 -04:00
Tsu-ba-me
b494f79ffe fix(tools): anvil-access-module: default interactive, handle non-existing on class object 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d9bc73ec2d feat(tools): add script capability to anvil-access-module 2023-06-20 00:48:21 -04:00