Tsu-ba-me
824213f205
fix(cgi-bin): add logic to power on/off server VM
3 years ago
Tsu-ba-me
900e24c7c1
chore(cgi-bin): set log level for debug
3 years ago
Tsu-ba-me
e33d6398d6
fix(cgi-bin): accept server UUID list in set_power
3 years ago
Digimer
607c097fc8
* Fixed a bug where, once a DRBD resource was allowed to be dual-primary for migration, that wasn't properly disabled post-migration.
...
* Updated DRBD->allow_two_primaries() to take the 'set_to' parameter which can be 'yes' to all and 'no' to disallow dual-primary.
* Updated ocf:alteeve:server to call allow_two_primaries() with 'set_to' = 'no' instead of calling 'adjust' after a migration completes.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
124e0435c4
Merge pull request #150 from ClusterLabs/scancore-debugging
...
* Fixed a couple logging bugs.
3 years ago
Digimer
0c475d2a2e
* Fixed a couple logging bugs.
...
* Updated scan-cluster to get the CIB from pcs instead of reading the CIB from disk.
* Updated anvil-daemon to always call striker-prep-database at log level 2 while trying to find the cause of rare postgres config failures. Also updated striker-prep-database to use the new method of initializing the DB.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
0ec825b869
Merge pull request #149 from ClusterLabs/scancore-debugging
...
* Finished Cluster->check_server_constraints() and added it to scan-c…
3 years ago
Digimer
d3052c0229
* Finished Cluster->check_server_constraints() and added it to scan-cluster. This now makes sure servers don't roll back to their old host after it has been fenced and recovers.
...
* Completely disabled Network->check_network(), it's causing more problems than it solves.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
97d20ccd71
Merge pull request #148 from ClusterLabs/scancore-debugging
...
* Disabling the periodic network health check in anvil-daemon.
3 years ago
Digimer
e7a06fce72
* Disabling the periodic network health check in anvil-daemon.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
ca6ef6ffd3
Merge pull request #147 from ClusterLabs/scancore-debugging
...
* Clear out the bond health in Network->check_network().
3 years ago
Digimer
bfa7a1f964
Merge branch 'master' into scancore-debugging
3 years ago
Digimer
87b31a16bb
* Clear out the bond health in Network->check_network().
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
fb4f0be206
Merge pull request #146 from ClusterLabs/scancore-debugging
...
* Forced anvil-daemon to log-level 2 and to enable secure logging to …
3 years ago
Digimer
30f478267a
* Forced anvil-daemon to log-level 2 and to enable secure logging to continue debugging setup issues.
...
* Fixed a undefined variable warning.
* Removed a debugging die from Database->resync_databases().
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
4db6528cd0
Merge pull request #145 from ClusterLabs/scancore-debugging
...
* Fixed a typo that blocked anvil-daemon from starting.
3 years ago
Digimer
f9cc99287e
Merge branch 'master' into scancore-debugging
3 years ago
Digimer
47fa126a3c
* Fixed a typo that blocked anvil-daemon from starting.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
6ef706723e
Merge pull request #144 from ClusterLabs/scancore-debugging
...
* In the never-ending attempt to resolve the build consistency issues…
3 years ago
Digimer
023f43eda9
* In the never-ending attempt to resolve the build consistency issues, this commit enables extra debugging logging and, hopefully, implements a fix in anvil-daemon where a job could be started repeatedly.
...
* Renamed the special job status 'scancore_startup' to 'anvil_startup', given it's handled by anvil-daemon.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
3080b2c0fd
Merge pull request #143 from ClusterLabs/scancore-debugging
...
* WIP; Started work on Cluster->check_server_constraints() that will …
3 years ago
Digimer
5a343d6d75
* WIP; Started work on Cluster->check_server_constraints() that will track when a server's location constraint needs to be updated when the old preferred node is lost.
...
* Removed (for now) setting MTU in the ifcfg-X files during anvil-configure-host runs.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
e2788f438e
Merge pull request #142 from ClusterLabs/scancore-debugging
...
* Added Cluster->manage_fence_delay() that reports back and, optional…
3 years ago
Digimer
b71ed28f64
* Added Cluster->manage_fence_delay() that reports back and, optionally, sets a preferred node in a fence race.
...
* Updated scan-cluster to check / set which node should be preferred if a netsplit causes a fence race.
* Fixed a bug in Server->shutdown_virsh() where a shutdown timeout would go into a loop.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
5ef2542d34
Merge pull request #141 from ClusterLabs/anvil-tools-dev
...
* I've decided that live reconfiguring of NetworkManager interfaces i…
3 years ago
Digimer
62564f1644
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
76689aa245
* I've decided that live reconfiguring of NetworkManager interfaces is too unreliable. This commit disables all attempts to reconfigure the network while it's up, and simply reboots on changes.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
a97c5bafef
Merge pull request #140 from ClusterLabs/anvil-tools-dev
...
* Moved up when the reboot happens, when it's needed, avoiding a netw…
3 years ago
Digimer
629c2b8e8c
* Moved up when the reboot happens, when it's needed, avoiding a network reload when a reboot is going to happen anyway.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
de94ce4fe8
Merge pull request #139 from ClusterLabs/anvil-tools-dev
...
* Re-enabled reboot
3 years ago
Digimer
8a56503f57
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
bbee77d265
* Re-enabled reboot
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
88f3050da9
Merge pull request #138 from ClusterLabs/anvil-tools-dev
...
* Finished updating Network->check_network() to check/heal bridges.
3 years ago
Digimer
08a958ec60
* Finished updating Network->check_network() to check/heal bridges.
...
* Updated anvil-configure-host to not reboot on network chane (will verify when this commit is function tested).
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
4099461ca1
Merge pull request #137 from ClusterLabs/scancore-debugging
...
* Added an explicit delete call when network changes.
3 years ago
Digimer
6a8a192cfd
* Added an explicit delete call when network changes.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
d6300461e3
Merge pull request #136 from ClusterLabs/anvil-tools-dev
...
* I _might_ have fixed the network configuration issue in anvil-confi…
3 years ago
Digimer
d2fc5150bf
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
bd24c1c5bb
* I _might_ have fixed the network configuration issue in anvil-configure-host... Updated it so that if 'nmcli' doesn't report a valid device name, it looks for it in the ifcfg-X file, and uses 'X' if not found there.
...
* Added the 'print' parameter to Log->variables() to allow printing to STDOUT when set.
* Renamed Network->check_bonds() to Network->check_networks() in anticipation of adding bridge monitoring / repair to it later.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
ab0adaf252
Merge pull request #134 from Tsu-ba-me/issues/133-fix-font
...
Web UI: include roboto condensed font in build
3 years ago
Tsu-ba-me
ee48529840
chore: rebuild web UI
3 years ago
つばめ
11900231c5
Merge pull request #12 from Seneca-CDOT/fix-fonts
...
Fix #133 : Fix font
3 years ago
Josue
4bd0093231
fix: modify eslintrc to work with new prettier settings
3 years ago
Josue
559cf3851a
chore: remove roboto font and add import to MUI theme
3 years ago
digimer-bot
17939f7911
Merge pull request #132 from ClusterLabs/anvil-tools-dev
...
* Reworked the attempt to repair the network in anvil-daemon to not t…
3 years ago
Digimer
c7c6c8dee5
* Reworked the attempt to repair the network in anvil-daemon to not touch the network until the machine has been running for at least two minutes.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
4fdc23ae3e
Merge pull request #131 from ClusterLabs/anvil-tools-dev
...
Note: Continuing to resolve the build issues with network startup. Ex…
3 years ago
Digimer
11b1900e1b
Note: Continuing to resolve the build issues with network startup. Expect breakage.
...
* Upped the aging of jobs and alerts data from 2 to 24 hours. Also added a check to prevent deleting a job of any age that is incomplete.
* Major update to anvil-configure-host to not touch the network unless something has actually changed. Not yet tested on a fresh system, will verify nothing broke in the CI tests this commit will trigger. Also changed it so that, if after reconfiguring the network it times out trying to reconnect to a database, it calls a reboot instead of simply exiting. Further, a reboot is now not called on exit unless something changed to require it.
* Updated Network->check_bonds() to return '1' if anything was done to heal a bond.
* Updated anvil-update-states to be more careful about clearing virsh bridges. Specifically, it checks to see if virsh is running and that the returned bridges aren't actually error codes.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
a612aa000a
Merge pull request #130 from ClusterLabs/anvil-tools-dev
...
* Continuing to try to get the network to reliably start during confi…
3 years ago
Digimer
0c0f2172ce
Merge branch 'master' into anvil-tools-dev
3 years ago