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
Tsu-ba-me
e436b4de11
fix(striker-ui): connect prepare network submission with endpoint
1 year ago
Tsu-ba-me
9728f56927
fix(striker-ui): allow message setter override in submit form
1 year ago
Tsu-ba-me
750b0ac7c0
fix(striker-ui-api): create bridge for node's bcn/ifn with 2 ifaces
1 year ago
Tsu-ba-me
103474a4e2
fix(striker-ui-api): add create_bridge to build network config
1 year ago
Tsu-ba-me
d2cd24be44
fix(striker-ui-api): add string boolean type
1 year ago
Tsu-ba-me
823c293012
fix(striker-ui): get form data, add confirm in prepare network
1 year ago
Tsu-ba-me
aa5fa7d3e6
fix(striker-ui): repop gateway iface, iface name in network config
1 year ago
Tsu-ba-me
c35bc358b9
fix(striker-ui-api): add prepare subnode network, hoist utils from config striker
1 year ago
Tsu-ba-me
d90d2bc7c5
fix(striker-ui-api): ignore vnet/virbr when selecting network interfaces
1 year ago
Tsu-ba-me
99a82e3d75
fix(striker-ui): default to warning messages in GateForm
1 year ago
Tsu-ba-me
483f8db9ed
fix(striker-ui): set interfaces as applied during read from host detail in network config
1 year ago
Tsu-ba-me
84620d9542
fix(striker-ui): ignore DR host in prepare network
1 year ago
Tsu-ba-me
5f5d521c58
fix(striker-ui): repopulate network configs in network form
1 year ago
Tsu-ba-me
6874218e3c
fix(striker-ui-api): include network type, link uuid in host detail response
1 year ago
Tsu-ba-me
c1589eba3c
fix(striker-ui-api): organize networks in host detail response
1 year ago