Tsu-ba-me
7575bf8aed
fix(striker-ui-api): add function to disassemble entity id
1 year ago
Tsu-ba-me
9e9b84604f
fix(striker-ui-api): add /manifest/template
1 year ago
Tsu-ba-me
db248efd96
fix(striker-ui-api): consolidate disassemble host name functions
1 year ago
Tsu-ba-me
7b0a7e711d
fix(striker-ui-api): add get host name to access module
1 year ago
Tsu-ba-me
b58a1cb63a
fix(striker-ui): add initial host config to add manifest form
1 year ago
Tsu-ba-me
172674db9a
refactor(striker-ui): rename manifest network object and network event handlers
1 year ago
Tsu-ba-me
20aba7c559
fix(striker-ui): hoist network list in manifest network config
1 year ago
Tsu-ba-me
adf01f9bdd
fix(striker-ui): complete edit/remove network(s) in manifest network config
1 year ago
Tsu-ba-me
81139bb1ad
fix(striker-ui): center add network button
1 year ago
Tsu-ba-me
b269770d3a
fix(striker-ui): enable add/remove networks
1 year ago
Tsu-ba-me
45a0d1a6c8
fix(striker-ui): add icon button mouse event handler type
1 year ago
Tsu-ba-me
8154fd4dbd
fix(striker-ui): allow remove key in object setter builder
1 year ago
Tsu-ba-me
768ef98f51
fix(striker-ui): add input groups to build add/edit manifest forms
1 year ago
Tsu-ba-me
f59d273ebb
fix(striker-ui): add 'add', 'close' presets to IconButton
1 year ago
Tsu-ba-me
17657388af
fix(striker-ui): add preset icon props in IconButton presets
1 year ago
Tsu-ba-me
e5d7014b9f
fix(striker-ui): run 'set validity on first render' in useEffect
1 year ago
Tsu-ba-me
ae07c8b66d
fix(striker-ui): add setMsgSetter in FormUtils
1 year ago
Tsu-ba-me
77abfdc933
fix(striker-ui): export buildMessageSetter()
1 year ago
Tsu-ba-me
29a3751524
fix(striker-ui): export buildNumberTestBatch()
1 year ago
Tsu-ba-me
15942d258d
fix(striker-ui): adjust inner panel margin
1 year ago
Tsu-ba-me
fb8e92ffb4
fix(striker-ui): consolidate network types
1 year ago
Tsu-ba-me
0ce470a034
fix(striker-ui): manifest list
1 year ago
Tsu-ba-me
6cdca8ee5f
feat(striker-ui-api): add /manifest
1 year ago
Digimer
58371d22b6
Merge pull request #335 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
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>
1 year ago
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>
1 year ago
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>
1 year ago
digimer
38d088a998
* Added anvil-watch-power to the makefile.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
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>
1 year ago
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>
1 year ago
digimer
929806cef7
Fixed variable substitution names in scan-server.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
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>
1 year ago
Digimer
133dbb121b
Merge pull request #334 from ClusterLabs/anvil-tools-dev
...
Updated scan-cluster to check to see that migrate_to and migrate_from…
1 year ago
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>
1 year ago
digimer-bot
ef84e63a7a
Merge pull request #333 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
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>
1 year ago
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>
1 year ago
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>
1 year ago
Digimer
b3f3c9b24e
Merge pull request #332 from ClusterLabs/anvil-tools-dev
...
This commit addresses (hopefully) issue #329 .
1 year ago
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>
1 year ago
Fabio M. Di Nitto
7cee742b67
Merge pull request #331 from ClusterLabs/digimer-patch-1
...
Delete notes
1 year ago
Digimer
711322f273
Delete notes
1 year ago
Digimer
91de6bb30e
Merge pull request #330 from ClusterLabs/anvil-tools-dev
...
* Fixes issue #329 ; When multiple attributes exist when checking if w…
2 years ago
digimer
284a2957d6
* Fixes issue #329 ; When multiple attributes exist when checking if we're in maintenance mode in fence_pacemaker, the expected hash reference was actually an array reference.
...
* Fixed a bug in anvil-version-changes where update_file_location_ready() needed to be called before update_file_locations().
* Added a bit more logging for future debugging.
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
Digimer
f3a65fc04d
Merge pull request #328 from ClusterLabs/anvil-tools-dev
...
This should resolve issue #271 .
2 years ago
digimer
8f375c58a9
* Fixed a typo in anvil-daemon that prevented compiling.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
digimer
110dceb55e
* Added a check to make sure files were ready before provisioning a server.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
digimer
c50a1936c0
* This adds the new 'file_locations' -> 'file_location_ready' column and associated methods. This is set to TRUE/1 when the file referenced is found on disk and it is the expected size and md5sum. This is meant to allow programs to wait/watch or a file to be ready if they need to use it. Files are now checked periodically via anvil-daemon.
...
* Removed hard-coded log levels in anvil-provision-server and anvil-manage-storage-groups.
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago
Digimer
dfc0c2c492
Merge pull request #326 from ClusterLabs/anvil-tools-dev
...
* Fixed a bug where, when DRBD->gather_data() calls 'drbdadm dump-xml…
2 years ago
digimer
26fa3c7e32
Fixed a bug where Get->available_resources() was missing LVM/storage group data in some cases.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2 years ago