Tsu-ba-me
db06747513
fix(tools): make target optional when using external parent in manage tunnel
1 year ago
Tsu-ba-me
4bdd206e0c
fix: replace ps|grep with pgrep to reduce run time
1 year ago
Tsu-ba-me
ea345a0476
fix: add ss, websockify paths to Tools.pm
1 year ago
Tsu-ba-me
d29dac4fa9
fix(tools): return code after port forward fails in manage tunnel
1 year ago
Tsu-ba-me
711cb5b696
refactor: rename striker-open-ssh-tunnel->anvil-manage-tunnel
1 year ago
Tsu-ba-me
40e94cda46
fix(tools): enable open parent connection, child tunnel in open ssh tunnel
1 year ago
Tsu-ba-me
54c98f89ab
fix: allow extend remote call with openssh options
1 year ago
Tsu-ba-me
e28f9a0cf7
docs(libvirt): note hooks execute with uid=0, gid=0
1 year ago
Tsu-ba-me
f2d3b06a10
fix(tools): remove all remote calls in manage vnc pipes
1 year ago
Tsu-ba-me
6c776e5a6a
fix(tools): enable remote forward in open ssh tunnel
1 year ago
Tsu-ba-me
7f9b418de1
fix: add signal INT, TERM hooks to Tools.pm
1 year ago
digimer
9ebe192306
This fixes a variable substitution but, addressing issue #338 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
7258781712
* Updated scan-cluster to detect stale drbd-fenced attributes in the CIB, generally left after a server is deleted. This addresses issue #374 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
b24b81c17c
Removed outer double-quotes from Anvil! node description in XML usage reporting. Related to issue #321 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
942c4c94bf
Escaped double-quotes in Anvil! node descriptions when reporting usage as XML format. Should resolve issue #321 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
f998a44077
Removed duplicate anvil-manage-keys.1 from the man 8 section.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
9b90647cc0
Fixed a bug where the XML output was not valid.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d07933a31c
* Updated anvil-report-usage to accept the new '--machine' which reports the usage information in XML format.
...
* Added the anvil-report-usage.8 man page
* Updated anvil-update-system to enable scancore when the OS update is complete.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
583547af30
Fixed typo, resolves issue #342
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
01b714f3b3
Fixed typo from issue #369 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
e83baeb54f
Merge branch 'main' into anvil-tools-dev
1 year ago
digimer
b0c54b6dae
* Updated anvil-update-system to check if another instance of anvil-update-system is running and, if so, exit.
...
* Removed the new tasks from anvil-special-operations.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
7bd76c10dc
Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available.
...
* Updated Server->shutdown_virsh() to work without a database connection.
* Updated System->reboot_needed() to store/read from a cache file when the database is not available.
* Updated anvil-safe-start to remove the old --enable/disable/status switches, now that we use anvil-safe-start.service systemd unit.
* Reworked anvil-safe-stop to work without a database connection, and to work on DR hosts.
* Updated anvil-special-operations to add new tasks, but it's likely these new tasks aren't needed and will be removed very shortly.
* Added/updated multiple man pages.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Yanhao Lei
a1f7ad41e3
Merge pull request #366 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/word-wrap-1.2.4
...
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui
1 year ago
dependabot[bot]
abf6e2ce96
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Digimer
5f40522cdb
Merge pull request #362 from ClusterLabs/anvil-tools-dev
...
* Updated anvil-update-system to detect kmod-drbd upgrade problems an…
1 year ago
digimer
541381e317
* Finished getting anvil-manage-server-storage to add new volumes to running servers.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
afaf129733
* Updated anvil-manage-server-storage to connect the new drive to the VM. Still need to update the on-disk and in-DB definitions though.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
de86cf88fe
* Updated anvil-manage-server-storage to now handle a new volume stuck in 'Negotiating', and to do the initial sync when there are three connected peers.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
9bc78860a6
* Updated anvil-update-system to detect kmod-drbd upgrade problems and fix them.
...
* Updated striker-update-cluster and anvil-update-system to take '--reboot' to request a reboot if any packages are updated.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
bf288fda49
Merge pull request #361 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
digimer
f262da544d
Removed '--best --allowerasing' from dnf update.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
42b44ac864
* Updated the log showing why anvil-daemon isn't exiting when a job is running with the job's current progress.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d741f4aa6f
* Updated anvil-daemon to not exit on high RAM use is any job is running.
...
* Updated anvil-update-system to reboot a target whose kernel updated using an anvil-manage-power job,
* Started making striker-update-cluster run as a job (not at all complete). Fixed a bug where the wrong IP was being used when finding access to a target.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
751687129a
* Updated anvil-daemon to not exit on RAM use if anvil-update-system is running.
...
* Fixed a bug in anvil-safe-stop where it wouldn't trigger a migration when the peer is online.
* Updated anvil-update-system to set job_data to 'failed' and exit with rc 4 if the os update failed.
* Got striker-update-cluster to error out and exit if a called 'anvil-update-system' job failed.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
c1e4380a64
Merge branch 'main' into anvil-tools-dev
1 year ago
digimer
458cb267da
* Fixed a bug in Cluster->get_primary_host_uuid() where servers were not loaded before trying to calculate RAM use.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
4dc1b0e117
* Added a check to Network->get_company_from_mac() to manually set the company to KVM/qemu if the prefix is 52:54:00.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
02c3d204ea
* Updated anvil-update-system to set 'job_data' to track reboots, and striker-update-cluster to read it.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
3016fb875b
* Reworded striker-update-cluster to use anvil-update-system for on-system OS updates.
...
* Updated DRBD->get_status() to take the new 'host' paramter to allow the caller to define the hash key string used in the stored data.
* Updated Get->anvil_version() (and a few other places) to use the new 'striker-ui-api' shell user, replacing the 'apache' user.
* Updated Remote->test_access() to take the new 'close' parameter to close the SSH session used when testing access to the target.
* Fixed a logging bug in anvil-manage-power.
* Updated anvil-update-system to take the '--no-reboot' and 'clear-cache' command line switches.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Fabio M. Di Nitto
12635e0a0a
Merge pull request #360 from ylei-tsubame/server-vm-screenshot
...
Move server screenshot fetching to `scan-server`
1 year ago
Tsu-ba-me
a8523843ac
build: set 'netcat' package as conflict to 'nmap-ncat'
1 year ago
Tsu-ba-me
7645f6adbe
build: add nmap-ncat as dependency to nodes/drs
1 year ago
Tsu-ba-me
e072f9ecf6
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
4b3343c421
fix(striker-ui-api): convert, read server screenshot in get server detail
1 year ago
Tsu-ba-me
4f46bb43eb
fix(tools): remove server screenshot fetching in anvil-daemon
1 year ago
Tsu-ba-me
dac247f66e
fix(scancore-agents): get screenshot of server(s) running on local node in scan-server
1 year ago
Tsu-ba-me
b549ff2c1f
fix(tools): reduce unnecessary operations in anvil-get-server-screenshot
1 year ago
Tsu-ba-me
09a9194ec2
build: move netpbm-progs (screenshot scale/convert) to striker dependencies
1 year ago
Tsu-ba-me
a7751da153
fix: rename, relocate function to find qemu-kvm processes
1 year ago