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
Tsu-ba-me
c3c69733d9
fix: correct base port check, server info extract, vnc alive assign in Server.pm
1 year ago
Tsu-ba-me
4647062111
fix(tools): set script source in anvil-access-module
1 year ago
Tsu-ba-me
3cce3c39b8
fix: add Server subroutine to extract server VM info from qemu-kvm process(es)
1 year ago
Yanhao Lei
90a0c19cd7
Merge pull request #357 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/semver-5.7.2
...
build(deps): bump semver from 5.7.1 to 5.7.2 in /striker-ui
1 year ago
dependabot[bot]
c627b7258a
build(deps): bump semver from 5.7.1 to 5.7.2 in /striker-ui
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
digimer
d56b7f9a84
* Created (but not finished!) the new striker-update-cluster tool.
...
* Updated Cluster->get_primary_host_uuid() to only load anvils if not already loaded.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
292b2b6342
Merge pull request #356 from ylei-tsubame/ducktape-libvirt-deadlock
...
Disable web VNC, screenshot pieces to avoid libvirt deadlock
1 year ago
digimer
3215e178ef
* Updated striker-collect-debug to support '--output-file /path/to/file.tar.bz2'.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
a7ebe45f76
This adds the new 'striker-collect-debug' tool that collects all potentially useful debug info into a single tarball.
...
* Fixed a bug in Get->anvil_from_switch() to work when the Anvil! name is passed.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Tsu-ba-me
d95eb699f9
chore: disable web VNC, screenshot pieces to avoid libvirt deadlock
1 year ago
Digimer
6076a45ccf
Merge pull request #350 from ylei-tsubame/replace-cgi-bin
...
Web UI: pre-3.0-beta
1 year ago
Tsu-ba-me
9009fd23cb
build(striker-ui-api): rebuild web UI API
1 year ago
Tsu-ba-me
a6e0cfac35
build(striker-ui): rebuild web UI
1 year ago
Tsu-ba-me
22f85171c7
fix(striker-ui): correct, organize file location checkboxes
1 year ago
Tsu-ba-me
f7350bef9f
fix(striker-ui-api): correct update file location (pre an to per host)
1 year ago
Tsu-ba-me
76ab36e1f9
fix(striker-ui): test after repop in general, network config forms
1 year ago
Tsu-ba-me
ffe7f1884e
fix(striker-ui): repop, connect reconfig striker
1 year ago