Commit Graph

2597 Commits

Author SHA1 Message Date
Tsu-ba-me
73103a898a chore(cgi-bin): set log level for debug 2021-06-25 21:40:55 -04:00
Tsu-ba-me
c45a2030e8 fix(cgi-bin): accept server UUID list in set_power 2021-06-25 21:40:55 -04:00
Digimer
4c03811a62
Merge pull request #152 from Tsu-ba-me/issues/135-server-power-control
Web UI: add power controls for server VMs
2021-06-25 17:35:05 -04:00
Tsu-ba-me
a5e0c85d40 chore: rebuild web UI 2021-06-25 17:18:08 -04:00
つばめ
441c327ec8
Merge pull request #13 from Seneca-CDOT/server-controls
Add server controls in the server component
2021-06-25 17:13:16 -04:00
Josue
8615bf9f20 fix(front-end): avoid sending a set_power request when closing the power menu 2021-06-25 16:52:23 -04:00
Josue
a1163916ab fix(front-end): adjust logic to perform set action and change prop name sent to the back-end 2021-06-25 16:52:23 -04:00
Josue
bf8a323c50 style(front-end): change icon for edit mode, and fix problem with capitalized text in power button 2021-06-25 16:52:23 -04:00
Josue
42d3a637d0 refactor(front-end): add fetcher to set power and refactor power buttons 2021-06-25 16:52:23 -04:00
Josue
68765a3408 refactor(front-end): add colours to main theme, add select all functionality and fix style errors 2021-06-25 16:52:23 -04:00
Josue
809bb1bb32 style: fix colours when enabling edit mode 2021-06-25 16:52:23 -04:00
Josue
025d64b0fc fix: improve server selection in the server component 2021-06-25 16:52:23 -04:00
Josue
b5770ab02d feat: add controls to turn servers on or off 2021-06-25 16:52:23 -04:00
Josue
3bbdd27ec4 chore: add mui icons: 2021-06-25 16:52:23 -04:00
Tsu-ba-me
2d1987f91a fix(cgi-bin): enable sending power on/off server VM jobs 2021-06-25 16:13:31 -04:00
Tsu-ba-me
824213f205 fix(cgi-bin): add logic to power on/off server VM 2021-06-25 16:13:30 -04:00
Tsu-ba-me
900e24c7c1 chore(cgi-bin): set log level for debug 2021-06-25 16:13:30 -04:00
Tsu-ba-me
e33d6398d6 fix(cgi-bin): accept server UUID list in set_power 2021-06-25 16:13:30 -04:00
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>
2021-06-25 00:45:52 -04:00
Digimer
124e0435c4
Merge pull request #150 from ClusterLabs/scancore-debugging
* Fixed a couple logging bugs.
2021-06-23 18:27:19 -04:00
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>
2021-06-23 18:22:55 -04:00
Digimer
0ec825b869
Merge pull request #149 from ClusterLabs/scancore-debugging
* Finished Cluster->check_server_constraints() and added it to scan-c…
2021-06-23 14:22:14 -04:00
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>
2021-06-23 14:19:58 -04:00
Digimer
97d20ccd71
Merge pull request #148 from ClusterLabs/scancore-debugging
* Disabling the periodic network health check in anvil-daemon.
2021-06-23 11:21:11 -04:00
Digimer
e7a06fce72 * Disabling the periodic network health check in anvil-daemon.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-23 11:01:33 -04:00
Digimer
ca6ef6ffd3
Merge pull request #147 from ClusterLabs/scancore-debugging
* Clear out the bond health in Network->check_network().
2021-06-23 01:24:28 -04:00
Digimer
bfa7a1f964
Merge branch 'master' into scancore-debugging 2021-06-23 01:15:47 -04:00
Digimer
87b31a16bb * Clear out the bond health in Network->check_network().
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-23 01:13:35 -04:00
Digimer
fb4f0be206
Merge pull request #146 from ClusterLabs/scancore-debugging
* Forced anvil-daemon to log-level 2 and to enable secure logging to …
2021-06-22 20:10:58 -04:00
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>
2021-06-22 19:41:00 -04:00
Digimer
4db6528cd0
Merge pull request #145 from ClusterLabs/scancore-debugging
* Fixed a typo that blocked anvil-daemon from starting.
2021-06-22 19:09:26 -04:00
Digimer
f9cc99287e
Merge branch 'master' into scancore-debugging 2021-06-22 19:02:16 -04:00
Digimer
47fa126a3c * Fixed a typo that blocked anvil-daemon from starting.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-22 19:00:26 -04:00
Digimer
6ef706723e
Merge pull request #144 from ClusterLabs/scancore-debugging
* In the never-ending attempt to resolve the build consistency issues…
2021-06-22 16:19:34 -04:00
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>
2021-06-22 16:12:12 -04:00
digimer-bot
3080b2c0fd
Merge pull request #143 from ClusterLabs/scancore-debugging
* WIP; Started work on Cluster->check_server_constraints() that will …
2021-06-21 23:29:04 -04:00
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>
2021-06-21 23:22:48 -04:00
Digimer
e2788f438e
Merge pull request #142 from ClusterLabs/scancore-debugging
* Added Cluster->manage_fence_delay() that reports back and, optional…
2021-06-21 21:33:28 -04:00
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>
2021-06-21 21:27:24 -04:00
digimer-bot
5ef2542d34
Merge pull request #141 from ClusterLabs/anvil-tools-dev
* I've decided that live reconfiguring of NetworkManager interfaces i…
2021-06-20 12:18:53 -04:00
Digimer
62564f1644
Merge branch 'master' into anvil-tools-dev 2021-06-20 12:14:49 -04:00
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>
2021-06-20 12:03:35 -04:00
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…
2021-06-19 15:03:14 -04:00
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>
2021-06-19 14:56:28 -04:00
digimer-bot
de94ce4fe8
Merge pull request #139 from ClusterLabs/anvil-tools-dev
* Re-enabled reboot
2021-06-19 00:42:33 -04:00
Digimer
8a56503f57
Merge branch 'master' into anvil-tools-dev 2021-06-18 23:19:32 -04:00
Digimer
bbee77d265 * Re-enabled reboot
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-18 23:18:53 -04:00
digimer-bot
88f3050da9
Merge pull request #138 from ClusterLabs/anvil-tools-dev
* Finished updating Network->check_network() to check/heal bridges.
2021-06-18 22:47:12 -04:00
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>
2021-06-18 22:42:10 -04:00
digimer-bot
4099461ca1
Merge pull request #137 from ClusterLabs/scancore-debugging
* Added an explicit delete call when network changes.
2021-06-18 21:16:57 -04:00