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>
3 years ago
Digimer
6ce2ed84d0
Merge pull request #170 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
1fae751599
Merge branch 'master' into anvil-tools-dev
3 years ago
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>
3 years ago
Digimer
e3d65d654c
* Continuing work on anvil-manage-server.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
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
3 years ago
Tsu-ba-me
92335b29cc
fix(Anvil): add clean up logic when failed to validate Apache conf after modify
3 years ago
Tsu-ba-me
d2d7a5380c
fix(Anvil): search all args for Access-Control value
3 years ago
Tsu-ba-me
18ec7b1c1a
fix(Anvil): abort when no new Apache conf created
3 years ago
Tsu-ba-me
3ee7edadb0
build(Anvil): include augeas as a Striker dependency
3 years ago
Tsu-ba-me
3de9912f51
fix(Anvil): use augeas to modify Apache conf
3 years ago
digimer-bot
70cfc282c0
Merge pull request #168 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
3f1c2dd38f
* Couple of small cleanups for fence_delay.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
77da40fc22
Merge branch 'master' into anvil-tools-dev
3 years ago
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>
3 years ago
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>
3 years ago
Tsu-ba-me
a27519cb77
fix(cgi-bin): correct typo in network bond link speed comparison
3 years ago
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>
3 years ago
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
3 years ago
Tsu-ba-me
62bc1a9579
fix(cgi-bin): correct typo in network bond link speed comparison
3 years ago
Digimer
c8f0a20e31
Merge pull request #167 from ClusterLabs/scancore-debugging
...
Fixed two small bugs that were preventing proactive live migration fr…
3 years ago
Digimer
ccd89f923b
Fixed two small bugs that were preventing proactive live migration from working.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
09c4b3fa57
Merge pull request #163 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
ef10765d8a
Fixed a bug with registering health scores against down links in scan-network.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
ad4609b39c
Fixed a bug where interfaces in bonds weren't recording their parent bond.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
623dbb0863
WIP; Restarted work on anvil-manage-server.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
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>
3 years ago
Digimer
1e159f548e
Added a couple notes for later dev.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
fc2a7f59ec
Merge pull request #161 from ClusterLabs/anvil-tools-dev
...
Switched default graphics for new servers to 'vnc' instead of spice.
3 years ago
Digimer
39236e9b3f
Switched default graphics for new servers to 'vnc' instead of spice.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
b4c1154ae6
Merge pull request #160 from ClusterLabs/scancore-debugging
...
Scancore debugging
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Digimer
a9ce76bd1b
* Finished fixing the scan-network interface to bridge mapping problem.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
fcdeb80808
Merge pull request #159 from ClusterLabs/scancore-debugging
...
* WIP - Fixing a bug in scan-network where vnet devices aren't being …
3 years ago
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>
3 years ago
Digimer
69899455ca
Merge pull request #158 from ClusterLabs/anvil-tools-dev
...
* Updates anvil-join-anvil to update corosync.conf to use the BCN1 li…
3 years ago
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>
3 years ago
digimer-bot
3fff621dd3
Merge pull request #157 from ClusterLabs/scancore-debugging
...
Scancore debugging
3 years ago
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>
3 years ago
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