digimer
1b8b0bc493
* Created the new 'anvil-manage-server-storage' with the first role of reload a DRBD resource.
...
* Updated Remote->call() to remove the 'background' parameter as it wasn't working.
* Updated anvil-manage-server-storage to use 'anvil-manage-server-storage' to adjust resources in a way that doesn't block.
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
digimer
7fbed10864
* Updated Remote->call() to take the new 'background' parameter.
...
* Continues work on adding new disks (DRBD volumes) to anvil-manage-server-storage.
* Updated DRBD->get_status() to record the peer-role.
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
Digimer
b74d6a6d66
Merge pull request #353 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2 years ago
Digimer
c4b79dc582
Merge branch 'main' into anvil-tools-dev
2 years ago
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>
2 years ago
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>
2 years ago
Digimer
fdddbffd9c
Merge pull request #351 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Digimer
25ea57d9c2
Merge pull request #348 from ClusterLabs/anvil-tools-dev
...
Added logging to help debug a DRBD resource config issue related to f…
2 years ago
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>
2 years ago
Digimer
169b8328e6
Merge pull request #346 from ClusterLabs/anvil-tools-dev
...
* This adds the new tool 'striker-check-machines' which simply walks …
2 years ago
Digimer
8f491e01ed
Merge branch 'main' into anvil-tools-dev
2 years ago
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>
2 years ago
Digimer
d9109db946
Merge pull request #345 from ylei-tsubame/build-login
...
Web UI: add login facilities and interface
2 years ago
digimer-bot
82114120be
Merge branch 'main' into build-login
2 years ago
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…
2 years ago
Tsu-ba-me
c6bcbc952b
fix(striker-ui-api): handle static file requests with file extension
2 years ago
Tsu-ba-me
bfadd3bacb
fix(striker-ui-api): use default cors origin handler
2 years ago
Tsu-ba-me
32ae8dd416
fix(striker-ui-api): handle set session without user
2 years ago
Tsu-ba-me
5d54b5d855
fix(striker-ui-api): protect static files
2 years ago
Tsu-ba-me
feae630370
fix(striker-ui-api): allow override fail/succeed in assert authentication
2 years ago
Tsu-ba-me
0f223950e4
fix(striker-ui): correct /login to post with-credentials enabled
2 years ago
Tsu-ba-me
4bbdcc1687
fix(striker-ui-api): enable credentials in cors middleware
2 years ago
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'
2 years ago
Tsu-ba-me
2eb5b8a094
fix(striker-ui-api): make login respond with no-content (204)
2 years ago
Tsu-ba-me
9a0ca2f159
docs(striker-ui-api): label anvil-access-module daemon start sequence
2 years ago
Tsu-ba-me
82f4bdff04
refactor(striker-ui-api): organize types after complete migrate to access interact
2 years ago
Tsu-ba-me
d8cc7d9979
fix(striker-ui-api): migrate job to access interact
2 years ago
Tsu-ba-me
7d73fc931e
fix(striker-ui-api): migrate insert or update variable to access interact
2 years ago
Tsu-ba-me
3608d6e56e
fix(striker-ui-api): accept manifest UUID as URI param in DELETE /manifest
2 years ago
Tsu-ba-me
aa49de761a
fix(striker-ui-api): migrate sub to access interact
2 years ago
Tsu-ba-me
f9d7449b7d
fix(striker-ui-api): migrate get anvil data to access interact
2 years ago
Tsu-ba-me
66b02d4a77
fix(striker-ui-api): allow async callback in GET request builder
2 years ago
Tsu-ba-me
f075e219de
feat(striker-ui-api): add initial traverse function
2 years ago
Tsu-ba-me
bc42b40a5a
fix(striker-ui-api): set cookie max age to 8 hours
2 years ago
Tsu-ba-me
1e84641157
fix(striker-ui-api): migrate getPeerData to use access interact
2 years ago
Tsu-ba-me
cb6a699fc7
fix(striker-ui-api): connect data, subroutine wrappers to access interact
2 years ago
Tsu-ba-me
ea78090ac0
fix(striker-ui-api): remove not-implemented <array>.at()
2 years ago
Tsu-ba-me
3efc5d8bfa
fix(striker-ui-api): mark session as deleted on destroy
2 years ago
Tsu-ba-me
da785218ec
fix(striker-ui-api): migrate a/dbWrite to daemon write
2 years ago
Tsu-ba-me
dc4a49a94c
fix(striker-ui-api): sanitize config striker input, rename rqbody->body
2 years ago
Tsu-ba-me
c4232916f9
fix(striker-ui-api): remove console calls
2 years ago
Tsu-ba-me
32ecfec762
fix(striker-ui-api): migrate dbQuery->query in access module
2 years ago
Tsu-ba-me
06ad2a5353
chore(striker-ui-api): add core-js and regenerator-runtime enable promises and async/await
2 years ago
Tsu-ba-me
60b2b36e6b
fix(striker-ui-api): simplify POST /echo
2 years ago