Commit Graph

3858 Commits

Author SHA1 Message Date
Tsu-ba-me
28f36c6d85 fix(striker-ui): restyle buttons in VNC window 2023-12-01 16:04:48 -05:00
Tsu-ba-me
0ed354c8f4 fix(striker-ui): add return home to VNC window, reorganize RFB disconnect 2023-12-01 16:04:48 -05:00
Tsu-ba-me
1d606ea20d fix(striker-ui): allow open VNC connection in new tab from dashboard 2023-12-01 16:04:48 -05:00
Tsu-ba-me
f56cf55f04 fix(striker-ui-api): min VG sizes instead of sum when getting anvil node storage 2023-12-01 16:04:48 -05:00
Digimer
2d478e40a1
Merge pull request #544 from ylei-tsubame/issues/541-autoselect-in-provserver
Web UI: patch 489, 537, 538, 541
2023-11-29 17:00:39 -05:00
Tsu-ba-me
da3e2eda7c build(striker-ui): rebuild 2023-11-29 14:38:19 -05:00
Tsu-ba-me
45f184509d fix(striker-ui): restyle mono texts in provision server confirm 2023-11-29 14:32:10 -05:00
Tsu-ba-me
f51af47b51 fix(striker-ui): add edge prop to inline mono text 2023-11-29 14:32:10 -05:00
Tsu-ba-me
8c380db940 fix(striker-ui): auto-select only prop in provision server 2023-11-29 14:32:10 -05:00
Tsu-ba-me
cfaa492a12 fix(striker-ui): don't crop content of select in input with select 2023-11-29 14:32:10 -05:00
Tsu-ba-me
f8f4f8cd80 fix(striker-ui): remove invalid prop from confirm grid in provision server 2023-11-29 14:32:10 -05:00
Tsu-ba-me
21e410784f fix(striker-ui): swap slider with autocomplete for cores in provision server 2023-11-29 14:32:10 -05:00
Tsu-ba-me
331c961995 fix(striker-ui): identify required fields for input tests in provision server 2023-11-29 14:32:10 -05:00
Digimer
d89f687e85
Merge pull request #542 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-11-29 13:37:13 -05:00
digimer
fd880e2fdf Finished anvil-watch-servers
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-29 11:37:00 -05:00
digimer
26f4446bf9 Continued work on anvil-watch-servers; Parsed server data now.
* Updated Cluster->parse_cib() to store DRBD fence node restrictions by
  server/node. Also updated to make it easier to get the server's
  preferred node.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-29 01:27:21 -05:00
digimer
207a014ae0 Got anvil-watch-servers showing the status of subnodes.
* Updated System->maintenance_mode() to take 'host_uuid' so that the
  maintenance mode of remote machines can be checked/set.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-27 23:47:29 -05:00
digimer
a8b1934352 Adding new anvil-watch-servers tool and man page
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-27 23:47:29 -05:00
Digimer
ba4addd653
Merge pull request #540 from ylei-tsubame/rebuild-web
Web UI: patch 520, 401, 518, 514, and additional small issues
2023-11-27 23:46:45 -05:00
Tsu-ba-me
be2fd4bbed build(striker-ui-api): rebuild 2023-11-27 17:14:09 -05:00
Tsu-ba-me
65f7b020e3 build(striker-ui): rebuild 2023-11-27 17:14:09 -05:00
Tsu-ba-me
af3ab2989a fix(striker-ui): apply session expiry check 2023-11-27 17:14:09 -05:00
Tsu-ba-me
3ee7a41895 fix(striker-ui): align cookie jar with API 2023-11-27 17:14:09 -05:00
Tsu-ba-me
0fad937554 fix(striker-ui-api): move user to session cookie 2023-11-27 17:14:09 -05:00
Tsu-ba-me
34bd441c83 fix(striker-ui-api): add session cookie to hold expiry 2023-11-27 17:14:09 -05:00
Tsu-ba-me
b5927cf0a3 fix(striker-ui): correct success message on reconfig 2023-11-27 17:14:09 -05:00
Tsu-ba-me
cb395fe1ac fix(striker-ui): disable network mapping on successful submission 2023-11-27 17:14:09 -05:00
Tsu-ba-me
cf1a64a1f3 fix(striker-ui): add success, error callbacks on submission in form utils 2023-11-27 17:14:09 -05:00
Tsu-ba-me
35469d2895 fix(striker-ui-api): disable caching /init; not including reinit 2023-11-27 17:14:09 -05:00
Tsu-ba-me
5550d6131c fix(striker-ui-api): redirect /login, /init requests for authenticated user 2023-11-27 17:14:09 -05:00
Tsu-ba-me
5ae128bcf4 fix(striker-ui-api): use ctor to handle number configs 2023-11-27 17:14:09 -05:00
Tsu-ba-me
44e8f626ea docs(striker-ui-api): run linter for README 2023-11-27 17:14:09 -05:00
Tsu-ba-me
6d878e8eb0 fix(striker-ui-api): disable toush session 2023-11-27 17:14:09 -05:00
Tsu-ba-me
a7709df2a6 fix(striker-ui-api): make cookie original max age configable 2023-11-27 17:14:09 -05:00
digimer-bot
5a1ad20d7f
Merge pull request #536 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-11-24 19:12:03 -05:00
digimer
8ce1f04335 Finished CPU support in anvil-manage-server-system!
* Updated Get->available_resources() to record the maximum cores that
  can be allocated to a server. This is N-1 for hosts with 4 or less
  cores, or N-2 cores otherwise.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-24 16:51:15 -05:00
digimer
b4037fade5 Added RAM change support to anvil-manage-server-system
* Updated Database->insert_or_update_servers() to error if the RAM being
  recorded is less than 640 KiB. This is because, somewhere yet
  undiscovered, the RAM is being recorded in KiB which breaks things.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-23 22:53:36 -05:00
digimer
b5ce2c4871 Added a call to Remote->add_target_to_known_hosts in Remote->test_access
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-23 20:40:57 -05:00
digimer
6bc2601d34 Updated anvil-manage-server-system to change boot device ordering.
* Updated Server->parse_definition() to store a hash to translate a
  device target to a device type.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-23 19:22:46 -05:00
digimer
1e376fc06b Updated anvil-manage-dr to change --list to --show for consistency
* Updated anvil-manage-dr to handle DR hosts without a VG in a given SG
* Fixed up minor display issues in anvil-manage-storage-groups

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-17 23:52:58 -05:00
Digimer
9590bf3260
Merge pull request #532 from ylei-tsubame/rebuild-webui
Web UI: patches #448, #517, #519, and #527
2023-11-17 19:30:21 -05:00
Tsu-ba-me
d398f0d962 build(striker-ui-api): rebuild 2023-11-17 16:09:55 -05:00
Tsu-ba-me
2b734ba8ae build(striker-ui): rebuild 2023-11-17 16:09:55 -05:00
Tsu-ba-me
c381de05ad fix(striker-ui): align styles in confirm in provison server 2023-11-17 16:09:55 -05:00
Tsu-ba-me
28ed37ef3b fix(striker-ui): rename 'virtual disk'->'disk' in provision server 2023-11-17 16:09:55 -05:00
Tsu-ba-me
efc3b46c2b fix(striker-ui-api): wait for access module setup before starting express app 2023-11-17 16:09:55 -05:00
Tsu-ba-me
36a2e7489a fix(striker-ui-api): enable auto restart, handle anvil-access-module events in access module 2023-11-17 16:09:55 -05:00
Tsu-ba-me
b7629e4c2b fix(tools): enable anvil-access-module to emit events 2023-11-17 16:09:55 -05:00
Tsu-ba-me
e670e0f94c fix(striker-ui-api): distinguish processes in messages 2023-11-17 16:09:55 -05:00
Tsu-ba-me
e4ae03a7f8 fix(striker-ui-api): add additional messages to access module 2023-11-17 16:09:55 -05:00