Commit Graph

2628 Commits

Author SHA1 Message Date
Digimer
0c77736dc8 * Fixed a bug in Cluster->manage_fence_delay() where removing the 'delay="15"' attribute was failing, now set it to 0 instead.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-15 19:39:05 -04:00
Digimer
a9ce76bd1b * Finished fixing the scan-network interface to bridge mapping problem.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-15 12:19:57 -04:00
Digimer
fcdeb80808
Merge pull request #159 from ClusterLabs/scancore-debugging
* WIP - Fixing a bug in scan-network where vnet devices aren't being …
2021-07-15 00:51:25 -04:00
Digimer
cebae28716 * WIP - Fixing a bug in scan-network where vnet devices aren't being recorded against their bridge.
* Updated scan-server to record the VNC port it is using in the database.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-15 00:42:47 -04:00
Digimer
69899455ca
Merge pull request #158 from ClusterLabs/anvil-tools-dev
* Updates anvil-join-anvil to update corosync.conf to use the BCN1 li…
2021-07-14 12:24:41 -04:00
Digimer
7e7b91b286 * Updates anvil-join-anvil to update corosync.conf to use the BCN1 link as the main knet network with the SN1 link as the backup link.
* Fixed a bug in Cluster->parse_cib() where the local machine's ready state was being set to the node name.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-14 12:17:19 -04:00
digimer-bot
3fff621dd3
Merge pull request #157 from ClusterLabs/scancore-debugging
Scancore debugging
2021-07-09 01:26:18 -04:00
Digimer
fd5d3c0434 * Finished (though testing still needed) scan-network.
* Updated Alert-register so that, if 'sort_position' is not set (or set to 9999), an internal counter for each alert level is created and used so that alert entries sort naturally by the order they're registered.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-09 01:20:25 -04:00
Digimer
d7d418ee1b * Fixed a bug in DRBD->gather_data() where the peer node's data was being recorded where the local node's data should have been saved.
* Fixed a bug in anvil-delete-server where, if a server was off already, the server would not be removed from pacemaker.
* WIP - continuing on scan-network

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-30 14:58:36 -04:00
Digimer
a697011b08 * Disabled debug logging in anvil-daemon.
* WIP - working on new scan-network scan agent.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-30 02:36:06 -04:00
digimer-bot
5ab5f1180f
Merge pull request #156 from ClusterLabs/scancore-debugging
* Fixed a bug in anvil-daemon where, when an anvil-manage-power reboo…
2021-06-28 20:28:17 -04:00
Digimer
f7b8a053b0
Merge branch 'master' into scancore-debugging 2021-06-28 20:22:37 -04:00
Digimer
6777104398 * Fixed a bug in anvil-daemon where, when an anvil-manage-power reboot run had triggered a reboot, anvil-daemon didn't set the job_progress to '100', causing constant reboots. Also fixed a bug where the log level was hard-set to '1' instead of '2' needed during debugging.
* Updated Jobs->get_job_uuid() to accept the new 'incomplete' parameter that, when set, will look for jobs whose progress is > 1 and < 100.
* Updated ScanCore-agent_startup() to take the new 'no_db_ok' parameter which returns with '0' if no DB is available and that parameter is set to '1'.
* Fixed a logging bug in 'anvil-join-anvil'.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-28 20:04:11 -04:00
kronosnet CI bot
bafef445bb
Merge pull request #155 from ClusterLabs/drbd-fixes
Fix drbd-kmod build corner case
2021-06-28 13:52:40 +02:00
Fabio M. Di Nitto
1b94abca06 Fix drbd-kmod build corner case
On fresh install from a CD or an image, it is very likely that a new
kernel is installed on the system. kernel-devel will point to the new
kernel (not the running one) and akmods would fail to build the drbd
kmod.

On reboot, akmods run before Network is available and because drbd
kmod needs network to build, the build would fail.

This hack triggers a rebuild of the kmod at the first boot after
the system install/update safely.

Further updates will trigger the right builds at the right time

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2021-06-28 10:43:33 +02:00
kronosnet CI bot
8d89e6fb7c
Merge pull request #154 from ClusterLabs/drbd-fixes
Switch to kmod-drdb
2021-06-28 07:10:05 +02:00
Fabio M. Di Nitto
7aea5e1b11 Switch to kmod-drdb
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2021-06-27 07:36:36 +02:00
digimer-bot
bc0760a826
Merge pull request #153 from ClusterLabs/scancore-debugging
Scancore debugging
2021-06-25 21:44:54 -04:00
Digimer
04f7571097 * Fixed a typo causing anvil-manage-power to not compile.
* Updated anvil-configure-host to register a reboot job when needed.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-25 21:40:55 -04:00
Tsu-ba-me
b6f60f1bb1 chore: rebuild web UI 2021-06-25 21:40:55 -04:00
Josue
dd88105d1b fix(front-end): avoid sending a set_power request when closing the power menu 2021-06-25 21:40:55 -04:00
Josue
d46e16fefc fix(front-end): adjust logic to perform set action and change prop name sent to the back-end 2021-06-25 21:40:55 -04:00
Josue
ad3b85d9f3 style(front-end): change icon for edit mode, and fix problem with capitalized text in power button 2021-06-25 21:40:55 -04:00
Josue
e12d0db2b6 refactor(front-end): add fetcher to set power and refactor power buttons 2021-06-25 21:40:55 -04:00
Josue
6e2b787ad3 refactor(front-end): add colours to main theme, add select all functionality and fix style errors 2021-06-25 21:40:55 -04:00
Josue
cd3773f7e0 style: fix colours when enabling edit mode 2021-06-25 21:40:55 -04:00
Josue
91282daeb2 fix: improve server selection in the server component 2021-06-25 21:40:55 -04:00
Josue
70be48e0e2 feat: add controls to turn servers on or off 2021-06-25 21:40:55 -04:00
Josue
1fdf473e79 chore: add mui icons: 2021-06-25 21:40:55 -04:00
Tsu-ba-me
e8f18d7aa1 fix(cgi-bin): enable sending power on/off server VM jobs 2021-06-25 21:40:55 -04:00
Tsu-ba-me
c07e72bab9 fix(cgi-bin): add logic to power on/off server VM 2021-06-25 21:40:55 -04:00
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