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
digimer
b7abc481e6
Updated scan-cluster to check to see that migrate_to and migrate_from are given a timeout of 600s and an on-fail of "block". Updated Cluster->add_server() to set migrate_from to timeout=600s and on-fail=block as well.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-08 20:30:25 -04:00
digimer-bot
ef84e63a7a
Merge pull request #333 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2023-06-07 09:38:38 -04:00
digimer
c82bd9d73a
* Created the new anvil-watch-power tool that shows the status of UPSes known on the system, including their "on battery" state, charge percentage, estimated hold up time, etc.
...
* Updated Database->get_power() and ->get_upses() to store both the time stamp and unix time stamps.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-06 23:40:15 -04:00
digimer
5bb1c631cf
* Updated anvil-delete-server to accept '--server' and '--force' to allow direct deletion of a server without interacting with the menu system.
...
This partially addresses issue #321 .
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-06 16:23:28 -04:00
digimer
bc3d04ad2e
* Updated Cluster->add_server() to wait up to 15 seconds for a server to appear to ensure that the pcs call to add the server with the right requested running state.
...
* Updated Cluster->recover_server() to set the desired recovery state before calling the crm_resource refresh.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-06 14:34:02 -04:00
Digimer
b3f3c9b24e
Merge pull request #332 from ClusterLabs/anvil-tools-dev
...
This commit addresses (hopefully) issue #329 .
2023-06-06 10:55:36 -04:00
digimer
0e57836c8f
This commit addresses (hopefully) issue #329 .
...
* Updated DRBD->get_status() to attempt to recompile the drbd kernel module if the drbdsetup status fails. If it continues to fail, it exits gracefully now.
* Updated ocf:alteeve:server to test access over a given IP before calling Server->find to avoid timeouts when the peer is down. Also updated it to set the constraints to keep the server on the new host when the old host returns to the cluster.
* Fixed a bug in scan-cluster where a server that is FAILED but not running is now properly recovered.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-05 22:53:34 -04:00
Fabio M. Di Nitto
7cee742b67
Merge pull request #331 from ClusterLabs/digimer-patch-1
...
Delete notes
2023-06-02 15:59:39 +02:00