Commit Graph

1562 Commits

Author SHA1 Message Date
Digimer
2df52970f2
Merge pull request #171 from ClusterLabs/anvil-tools-dev
Updated scan-server to not check libvirtd status as it now auto stop/…
2021-08-03 14:04:25 -04:00
Digimer
e1aa4442ad Updated scan-server to not check libvirtd status as it now auto stop/starts as needed. Also fixed a pair of bugs that was preventing VNC checks from happening, or for stopped server definition checks from happening.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-03 13:36:32 -04:00
Digimer
6ce2ed84d0
Merge pull request #170 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-07-31 12:30:45 -04:00
Digimer
1fae751599
Merge branch 'master' into anvil-tools-dev 2021-07-31 12:24:32 -04:00
Digimer
8274aa8f79 Updated (but needs testing) scan-server to look for changes in the on-disk XML definition changes or database XML data for servers that are NOT running on a host or node.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-31 12:22:48 -04:00
Digimer
e3d65d654c * Continuing work on anvil-manage-server.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-29 17:15:02 -04:00
Digimer
179f7a17dc
Merge pull request #169 from Tsu-ba-me/issues/164-page-to-pagehtml
Web UI: revise logic to auto-config Apache on Anvil deployment
2021-07-28 19:44:42 -04:00
Tsu-ba-me
92335b29cc fix(Anvil): add clean up logic when failed to validate Apache conf after modify 2021-07-28 19:29:24 -04:00
Tsu-ba-me
d2d7a5380c fix(Anvil): search all args for Access-Control value 2021-07-28 19:17:25 -04:00
Tsu-ba-me
18ec7b1c1a fix(Anvil): abort when no new Apache conf created 2021-07-28 19:17:23 -04:00
Tsu-ba-me
3ee7edadb0 build(Anvil): include augeas as a Striker dependency 2021-07-28 18:46:18 -04:00
Tsu-ba-me
3de9912f51 fix(Anvil): use augeas to modify Apache conf 2021-07-28 18:41:28 -04:00
digimer-bot
70cfc282c0
Merge pull request #168 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-07-26 15:53:21 -04:00
Digimer
3f1c2dd38f * Couple of small cleanups for fence_delay.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-26 15:47:26 -04:00
Digimer
77da40fc22
Merge branch 'master' into anvil-tools-dev 2021-07-26 15:35:56 -04:00
Digimer
8d2e454d69 * Updated fence_delay to set the ownership of the log file to 'hacluster:haclient'. This should address https://github.com/digimer/fence_delay/issues/1
* WIP - COntinuing work on anvil-manage-server, far from done yet.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-26 15:35:04 -04:00
Digimer
bc8b9274cb WIP; Reworked anvil-manage-server to have a more interactive menu system (for the sections done so far).
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-26 15:35:04 -04:00
Tsu-ba-me
a27519cb77 fix(cgi-bin): correct typo in network bond link speed comparison 2021-07-26 15:35:04 -04:00
Digimer
28865780f8 * Updated Database->get_server_definitions() to take a specific server UUID, allowing just the one definition to be loaded. Also had it clear previous loads.
* Updated Server->parse_definition() to call DRBD->get_devices() so that referenced LVs can be loaded properly.
* Continued WIP in anvil-manage-server

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-20 23:19:29 -04:00
Digimer
733375a6f2
Merge pull request #166 from Tsu-ba-me/issues/165-networks-endpoint-typo
Web UI: correct typo in network bond link speed comparison
2021-07-20 16:49:12 -04:00
Tsu-ba-me
62bc1a9579 fix(cgi-bin): correct typo in network bond link speed comparison 2021-07-20 11:42:24 -04:00
Digimer
c8f0a20e31
Merge pull request #167 from ClusterLabs/scancore-debugging
Fixed two small bugs that were preventing proactive live migration fr…
2021-07-20 02:01:46 -04:00
Digimer
ccd89f923b Fixed two small bugs that were preventing proactive live migration from working.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-20 01:56:50 -04:00
Digimer
09c4b3fa57
Merge pull request #163 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-07-18 23:30:47 -04:00
Digimer
ef10765d8a Fixed a bug with registering health scores against down links in scan-network.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-18 23:25:46 -04:00
Digimer
ad4609b39c Fixed a bug where interfaces in bonds weren't recording their parent bond.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-18 16:30:45 -04:00
Digimer
623dbb0863 WIP; Restarted work on anvil-manage-server.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-18 16:21:00 -04:00
Digimer
548c52701a Updates Jobs->update_progress() to take a 'variables' hash reference, and to support logging as well.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-16 15:07:07 -04:00
Digimer
1e159f548e Added a couple notes for later dev.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-16 11:13:48 -04:00
Digimer
fc2a7f59ec
Merge pull request #161 from ClusterLabs/anvil-tools-dev
Switched default graphics for new servers to 'vnc' instead of spice.
2021-07-16 10:42:42 -04:00
Digimer
39236e9b3f Switched default graphics for new servers to 'vnc' instead of spice.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-16 00:08:02 -04:00
Digimer
b4c1154ae6
Merge pull request #160 from ClusterLabs/scancore-debugging
Scancore debugging
2021-07-15 23:14:23 -04:00
Digimer
d62900d712 Fixed a bug where the wrong string key was used when a network interface comes, goes or changes it's bond_uuid reference. Also changed the alert level of vnetX interfaces that disappear to notice level.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-15 23:04:23 -04:00
Digimer
6db16ca313 * Fixed a bug in Database->insert_or_update_network_interfaces() where the passed-in network_interface_uuid parameter was not being set properly.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-07-15 22:58:15 -04:00
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