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>
3 years ago
Digimer
a697011b08
* Disabled debug logging in anvil-daemon.
...
* WIP - working on new scan-network scan agent.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
5ab5f1180f
Merge pull request #156 from ClusterLabs/scancore-debugging
...
* Fixed a bug in anvil-daemon where, when an anvil-manage-power reboo…
3 years ago
Digimer
f7b8a053b0
Merge branch 'master' into scancore-debugging
3 years ago
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>
3 years ago
kronosnet CI bot
bafef445bb
Merge pull request #155 from ClusterLabs/drbd-fixes
...
Fix drbd-kmod build corner case
3 years ago
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>
3 years ago
kronosnet CI bot
8d89e6fb7c
Merge pull request #154 from ClusterLabs/drbd-fixes
...
Switch to kmod-drdb
3 years ago
Fabio M. Di Nitto
7aea5e1b11
Switch to kmod-drdb
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
3 years ago
digimer-bot
bc0760a826
Merge pull request #153 from ClusterLabs/scancore-debugging
...
Scancore debugging
3 years ago
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>
3 years ago
Tsu-ba-me
b6f60f1bb1
chore: rebuild web UI
3 years ago
Josue
dd88105d1b
fix(front-end): avoid sending a set_power request when closing the power menu
3 years ago
Josue
d46e16fefc
fix(front-end): adjust logic to perform set action and change prop name sent to the back-end
3 years ago
Josue
ad3b85d9f3
style(front-end): change icon for edit mode, and fix problem with capitalized text in power button
3 years ago
Josue
e12d0db2b6
refactor(front-end): add fetcher to set power and refactor power buttons
3 years ago
Josue
6e2b787ad3
refactor(front-end): add colours to main theme, add select all functionality and fix style errors
3 years ago
Josue
cd3773f7e0
style: fix colours when enabling edit mode
3 years ago
Josue
91282daeb2
fix: improve server selection in the server component
3 years ago
Josue
70be48e0e2
feat: add controls to turn servers on or off
3 years ago
Josue
1fdf473e79
chore: add mui icons:
3 years ago
Tsu-ba-me
e8f18d7aa1
fix(cgi-bin): enable sending power on/off server VM jobs
3 years ago
Tsu-ba-me
c07e72bab9
fix(cgi-bin): add logic to power on/off server VM
3 years ago
Tsu-ba-me
73103a898a
chore(cgi-bin): set log level for debug
3 years ago
Tsu-ba-me
c45a2030e8
fix(cgi-bin): accept server UUID list in set_power
3 years ago
Digimer
4c03811a62
Merge pull request #152 from Tsu-ba-me/issues/135-server-power-control
...
Web UI: add power controls for server VMs
3 years ago
Tsu-ba-me
a5e0c85d40
chore: rebuild web UI
3 years ago
つばめ
441c327ec8
Merge pull request #13 from Seneca-CDOT/server-controls
...
Add server controls in the server component
3 years ago
Josue
8615bf9f20
fix(front-end): avoid sending a set_power request when closing the power menu
3 years ago
Josue
a1163916ab
fix(front-end): adjust logic to perform set action and change prop name sent to the back-end
3 years ago
Josue
bf8a323c50
style(front-end): change icon for edit mode, and fix problem with capitalized text in power button
3 years ago
Josue
42d3a637d0
refactor(front-end): add fetcher to set power and refactor power buttons
3 years ago
Josue
68765a3408
refactor(front-end): add colours to main theme, add select all functionality and fix style errors
3 years ago
Josue
809bb1bb32
style: fix colours when enabling edit mode
3 years ago
Josue
025d64b0fc
fix: improve server selection in the server component
3 years ago
Josue
b5770ab02d
feat: add controls to turn servers on or off
3 years ago
Josue
3bbdd27ec4
chore: add mui icons:
3 years ago
Tsu-ba-me
2d1987f91a
fix(cgi-bin): enable sending power on/off server VM jobs
3 years ago
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