Commit Graph

2865 Commits

Author SHA1 Message Date
Tsu-ba-me
18533ba0c8 fix(striker-ui): move scroll style offsets to ConfirmDialog 2023-06-19 15:15:32 -04:00
Tsu-ba-me
fc016ea719 fix(striker-ui): expose disableProceed in ConfirmDialog 2023-06-19 15:15:32 -04:00
Tsu-ba-me
952d95feac fix(striker-ui): add general loading prop to ConfirmDialog 2023-06-19 15:15:32 -04:00
Tsu-ba-me
85dde72db7 fix(striker-ui): add default DNS CSV 2023-06-19 15:15:32 -04:00
Tsu-ba-me
89c7f6b980 fix(striker-ui): build fence and ups list from manifest template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
c35b2d7969 fix(striker-ui): rearrange fence and ups inputs for host in manage manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
17a011e768 fix(striker-ui): correct types for manifest management 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a50321eb9f fix(striker-ui-api): add command to run manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
b7b4e13028 fix(striker-ui-api): add POST (create) and PUT (update) for /manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
5de6046715 fix(striker-ui-api): add install manifest builder 2023-06-19 15:15:32 -04:00
Tsu-ba-me
226c423af0 fix: allow param override in generate_manifest in Striker.pm 2023-06-19 15:15:32 -04:00
Tsu-ba-me
2e599971cc fix(striker-ui-api): add DELETE one or more manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
d368f8dd7b fix(striker-ui-api): ignore deleted manifest(s) when listing 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a4359b1fa4 docs(striker-ui-api): explain sorting networks in GET manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
340a04de47 fix(striker-ui-api): change sequence number type in manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
4104b87b2d fix(striker-ui-api): add next sequence number to manifest template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a066fb7ede fix(striker-ui-api): allow get manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
7575bf8aed fix(striker-ui-api): add function to disassemble entity id 2023-06-19 15:15:32 -04:00
Tsu-ba-me
9e9b84604f fix(striker-ui-api): add /manifest/template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
db248efd96 fix(striker-ui-api): consolidate disassemble host name functions 2023-06-19 15:15:32 -04:00
Tsu-ba-me
7b0a7e711d fix(striker-ui-api): add get host name to access module 2023-06-19 15:15:32 -04:00
Tsu-ba-me
b58a1cb63a fix(striker-ui): add initial host config to add manifest form 2023-06-19 15:15:32 -04:00
Tsu-ba-me
172674db9a refactor(striker-ui): rename manifest network object and network event handlers 2023-06-19 15:15:32 -04:00
Tsu-ba-me
20aba7c559 fix(striker-ui): hoist network list in manifest network config 2023-06-19 15:15:32 -04:00
Tsu-ba-me
adf01f9bdd fix(striker-ui): complete edit/remove network(s) in manifest network config 2023-06-19 15:15:31 -04:00
Tsu-ba-me
81139bb1ad fix(striker-ui): center add network button 2023-06-19 15:15:31 -04:00
Tsu-ba-me
b269770d3a fix(striker-ui): enable add/remove networks 2023-06-19 15:15:31 -04:00
Tsu-ba-me
45a0d1a6c8 fix(striker-ui): add icon button mouse event handler type 2023-06-19 15:15:31 -04:00
Tsu-ba-me
8154fd4dbd fix(striker-ui): allow remove key in object setter builder 2023-06-19 15:15:31 -04:00
Tsu-ba-me
768ef98f51 fix(striker-ui): add input groups to build add/edit manifest forms 2023-06-19 15:15:31 -04:00
Tsu-ba-me
f59d273ebb fix(striker-ui): add 'add', 'close' presets to IconButton 2023-06-19 15:15:31 -04:00
Tsu-ba-me
17657388af fix(striker-ui): add preset icon props in IconButton presets 2023-06-19 15:15:31 -04:00
Tsu-ba-me
e5d7014b9f fix(striker-ui): run 'set validity on first render' in useEffect 2023-06-19 15:15:31 -04:00
Tsu-ba-me
ae07c8b66d fix(striker-ui): add setMsgSetter in FormUtils 2023-06-19 15:15:31 -04:00
Tsu-ba-me
77abfdc933 fix(striker-ui): export buildMessageSetter() 2023-06-19 15:15:31 -04:00
Tsu-ba-me
29a3751524 fix(striker-ui): export buildNumberTestBatch() 2023-06-19 15:15:31 -04:00
Tsu-ba-me
15942d258d fix(striker-ui): adjust inner panel margin 2023-06-19 15:15:31 -04:00
Tsu-ba-me
fb8e92ffb4 fix(striker-ui): consolidate network types 2023-06-19 15:15:31 -04:00
Tsu-ba-me
0ce470a034 fix(striker-ui): manifest list 2023-06-19 15:15:31 -04:00
Tsu-ba-me
6cdca8ee5f feat(striker-ui-api): add /manifest 2023-06-19 15:15:31 -04:00
Digimer
58371d22b6
Merge pull request #335 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-06-16 16:02:17 -04:00
digimer
156a0ca201 Updated anvil-daemon's new job launching logic to allow the restart of a running job that failed out early.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-16 11:43:49 -04:00
digimer
cc15eca6fb * Added anvil-watch-power to git.
* Added a check to cleanup size input to Convert->human_readable_to_bytes() when passed pre-processed strings.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-15 21:35:42 -04:00
digimer
47f7a35df3 The main purpose of this commit is to add serial execution of similar jobs to help reduce race conditions for scripted jobs, like multiple server creation.
* Fixed a small logging bug in DRBD->allow_two_primaries().
* Updated Database->get_jobs() to record jobs sorted by modified_date so that jobs can be run in the order they were recorded.
* Updated anvil-daemon to track which commands need to be run, and when two or more of the same command need to be run, they're run serially, with each subsequent run starting after the previous one completes.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-15 21:13:53 -04:00
digimer
38d088a998 * Added anvil-watch-power to the makefile.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-15 10:17:02 -04:00
digimer
dda0fbd7d5 * Updated DRBD->allow_two_primaries() to be more careful at evaluating peer-node-id.
* Updated DRBD->manage_resource() to set allow-two-primaries=no when up'ing a resource (as no migration can be in progress during an up command).
* Updated scan-drbd to look for StandAlone resources and call DRBD->manage_resource({task = 'up'}) if a connection to a peer node is StandAlone or if the local disk state is detached.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-14 23:34:05 -04:00
digimer
b6a249d5e7 * Updated Cluster->add_server() to set the preferred host based first on if the server is running on a node, and if not, on the primary node (where before it defaulted to node 1).
* Updated DRBD->delete_resource() to call scan-drbd and scan-lvm to ensure that the database is updated with the newly freed resources.
* Updated anvil-delete-server and anvil-provision-server to call select scan agents to ensure freed resources are immediately recorded.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-11 23:46:21 -04:00
digimer
929806cef7 Fixed variable substitution names in scan-server.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-09 20:08:38 -04:00
digimer
b03587967b * Updated Cluster->add_server() to batch the creation of the server and the location constraints in one commit to the CIB.
* Updated scan-lvm to look for and delete duplicate entries.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-09 19:59:23 -04:00
Digimer
133dbb121b
Merge pull request #334 from ClusterLabs/anvil-tools-dev
Updated scan-cluster to check to see that migrate_to and migrate_from…
2023-06-09 10:22:43 -04:00