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
Tsu-ba-me
c39364a35b
fix(striker-ui): handle unchecked/empty file location
2023-11-17 16:09:55 -05:00
Tsu-ba-me
548e227f63
fix(striker-ui): add success message in edit file
2023-11-17 16:09:55 -05:00
Tsu-ba-me
48dfc1b76c
fix(striker-ui): clean up old file manager
2023-11-17 16:09:54 -05:00
Tsu-ba-me
3815cab856
fix(striker-ui-api): get updated config after adding peer
2023-11-17 16:09:54 -05:00
Digimer
4192e946d2
Merge pull request #531 from ClusterLabs/aman_branch
...
anvil-configure-host man page updated with correct name
2023-11-17 11:50:08 -05:00
amanjot
7890895cfe
changing the file name to appropriate file
2023-11-16 15:43:15 -05:00
digimer-bot
53fa0755ce
Merge pull request #530 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2023-11-14 21:21:44 -05:00
digimer
ef0f04117f
Added '--list' to anvil-manage-dr
...
* Updated Database->get_hosts() to store hosts in a host_type hash.
* Updated Database->get_servers() to store servers by name, regardless
of host Anvil! node.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-14 17:50:48 -05:00
digimer
d9aa8aee74
Updated anvil-manage-keys to work from the command line
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-13 18:59:24 -05:00
Digimer
c2b86e57e1
Merge pull request #528 from ClusterLabs/anvil-tools-dev
...
Fixed a log print
2023-11-11 22:37:49 -05:00
digimer
438507ea80
Fixed a log print
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-10 16:12:39 -05:00
Digimer
b04f12141d
Merge pull request #464 from ClusterLabs/auto_grow_pv
...
This branch resolves issue #462 ; Auto growing PVs. Specifically, it l…
2023-11-09 10:38:02 -05:00
digimer
3b6da64780
Added parted and util-linux to core dependencies.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 21:38:54 -05:00
digimer
9bd98951b5
Added backup/restore of partition table in Storage->auto_grow_pv
...
* Auto-growing PVs (and the backing partition) is now supported by
anvil-manage-host '--auto-grow-pv'.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 20:59:40 -05:00
digimer
ac84d5ba0a
Removed Storage->auto_grow_pv from anvil-version-changes.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 12:05:03 -05:00
digimer
edc544255e
Rebased with main and resolved conflicts.
...
This branch resolves issue #462 ; Auto growing PVs. Specifically, it looks at the LVM PVs on the host and checks to see if there is unused free space after the backing partition. If there is, it auto-grows the partition and then resizes the PV. This featu
re is designed to make life easier for users who deleted the auto-created '/home' partition during the anaconda disk partitioning tool.
* Created Storage->auto_grow_pv() that does the above.
* Added the missing hidden method name _create_rsync_wrapper in the Storage module POD.
* Added a call to Storage->auto_grow_pv() in anvil-configure-host and anvil-version-changes for nodes and DR.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 12:00:48 -05:00