Commit Graph

2265 Commits

Author SHA1 Message Date
Tsu-ba-me
59ce16f531 build: add netpbm-progs as node and DR dependency 2021-09-03 16:21:55 -04:00
Tsu-ba-me
089675d4d8 build: re-order python3-websockify in anvil specfile 2021-09-03 16:21:55 -04:00
Tsu-ba-me
f61527edf7 fix(tools): save screenshots to states table 2021-09-03 16:21:55 -04:00
Tsu-ba-me
c1859bc8d8 fix(tools): use netpbm tools instead of imagemagick 2021-09-03 16:21:55 -04:00
Tsu-ba-me
65613f501b fix(tools): add option to resize server screenshot 2021-09-03 16:21:55 -04:00
Tsu-ba-me
7467036054 build(tools): add anvil-get-server-screenshot script to build 2021-09-03 16:21:55 -04:00
Tsu-ba-me
256051a6ca build(cgi-bin): add get_server_screenshot endpoint to build 2021-09-03 16:21:55 -04:00
Tsu-ba-me
26d5c60696 fix(cgi-bin): rename response body screenshot property 2021-09-03 16:21:55 -04:00
Tsu-ba-me
da6b4d39c6 fix(tools): disable line wrap in image Base64 output 2021-09-03 16:21:55 -04:00
Tsu-ba-me
4ef231b567 fix(tools): prevent too frequent inserts of server VM screenshots 2021-09-03 16:21:55 -04:00
Tsu-ba-me
d195a53ba2 feat(cgi-bin): add endpoint for fetching server screenshot 2021-09-03 16:21:55 -04:00
Tsu-ba-me
1014299d38 fix(tools): enable anvil-get-server-screenshot to be a job 2021-09-03 16:21:55 -04:00
Tsu-ba-me
f97a820b48 feat(tools): add script to take screenshot of server VM 2021-09-03 16:21:55 -04:00
Digimer
1011ac06c5
Merge pull request #186 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/next-11.1.1
chore: bump next from 11.1.0 to 11.1.1 in /striker-ui
2021-09-03 16:18:27 -04:00
dependabot[bot]
6f36c1392b
chore: bump next from 11.1.0 to 11.1.1 in /striker-ui
Bumps [next](https://github.com/vercel/next.js) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v11.1.0...v11.1.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 19:57:33 +00:00
Digimer
221f468b6c * Fixed a bug where duplicate IPMI sensor names of type 'Volts' wasn't being processed properly, causing sensor data to not be recorded.
* Added a comment about disabling /etc/hosts management in anvil.conf.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-31 14:42:30 -04:00
Digimer
61d4eb7d7f
Merge pull request #185 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-31 01:23:21 -04:00
Digimer
2f8b1fb72e Updated anvil-provision-server so that when the OS type is 'win7', set the disk to sata and the NIC to e1000e. Also updated it to store the virt-install call in the 'variables' table and write it out to /mnt/shared/provision.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-31 00:32:15 -04:00
Digimer
06f679d7e7 * Added the ability to disable anvil-daemon management of /etc/hosts.
* Updated the OS variant list.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-30 22:40:35 -04:00
Digimer
8e5daa090a
Merge pull request #184 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-30 20:00:19 -04:00
Digimer
4427fe9f0d * Found the source of the vnet constantly cycling back to 'up' bug. The anvil-update-state tool was marking the vnet device operational state back to 'unknown' and scan-network was marking it back up.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-30 17:59:39 -04:00
Digimer
213babaaf2 Trying to fix a bug where vnet devices keep reporting as having returned.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-30 14:09:45 -04:00
Digimer
e40d0e2444 Fixed a bug where if a database is pingable but the pgsql database is down, and it's the first database tested (or local), then the DB handle used to read / quote fails.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-26 23:26:03 -04:00
Digimer
823c73d6d8
Merge pull request #183 from ClusterLabs/anvil-tools-dev
Fixed a race condition where configuring the IPMI BMC would appear to…
2021-08-25 22:00:56 -04:00
Digimer
acee16e05a
Merge branch 'master' into anvil-tools-dev 2021-08-25 21:25:51 -04:00
Digimer
4c7bb45ab9 Fixed a race condition where configuring the IPMI BMC would appear to fail because the BMC wouldn't report the user list after a cold reset.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-25 21:02:00 -04:00
Digimer
36db7c8239
Merge pull request #182 from Tsu-ba-me/issues/180-to-nextjs-11
Web UI: upgrade to Next.js major version 11
2021-08-25 15:37:44 -04:00
Tsu-ba-me
37926daca6 chore: rebuild web UI 2021-08-25 11:43:53 -04:00
Tsu-ba-me
2808fdd123 style(striker-ui): fix styling to make build succeed 2021-08-25 11:43:53 -04:00
Tsu-ba-me
34f7ece2f9 build(striker-ui): ignore out/ when linting 2021-08-25 11:43:53 -04:00
Josue
ed3a058937 chore(front-end): add ESlint next.js integration 2021-08-25 11:43:53 -04:00
Josue
89318d2617 chore(front-end): migrate to Next.js v11.1.0 2021-08-25 11:43:53 -04:00
Digimer
cd10a8850e
Merge pull request #181 from ClusterLabs/anvil-tools-dev
Fixed a bug where corosync's configuration of a backup ring was broken.
2021-08-24 16:16:40 -04:00
Digimer
6cbdc388d4 Fixed a bug where corosync's configuration of a backup ring was broken.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-24 15:52:44 -04:00
Digimer
789ac6e8ad
Merge pull request #179 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-19 01:18:36 -04:00
Digimer
bc2671c758
Merge branch 'master' into anvil-tools-dev 2021-08-19 01:00:34 -04:00
Digimer
04cb116c1b Updated anvil-parse-fence-agents to validate each fence agent's metadata is valid before adding it to the unified XML.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-19 00:58:26 -04:00
Digimer
8abb5b46e0 * Added support for setting per-agent log-level and log secure values in amvil.conf.
* Moved the check for an agent being disabled into ScanCore->agent_startup()

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-18 23:07:15 -04:00
Digimer
3674a47179 WIP - Working a tool to manually load updated server definition files.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-16 11:39:16 -04:00
Digimer
9e0f9d1d39
Merge pull request #176 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/path-parse-1.0.7
chore: bump path-parse from 1.0.6 to 1.0.7 in /striker-ui
2021-08-12 16:36:43 -04:00
Digimer
c449e2edf0 Resetting scan agent timeout to 30 seconds, 60 didn't help with a random
hang issue.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-12 15:11:46 -04:00
dependabot[bot]
5e54c65d1d
chore: bump path-parse from 1.0.6 to 1.0.7 in /striker-ui
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 17:58:57 +00:00
Digimer
38f95870bb Changed the agent runtime timeout to 60 seconds.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-11 22:39:23 -04:00
Digimer
15d8309095 This commit adds scan agent DB connection info caching to help minimize the number of unnecessary DB resync checks that happen.
* Created ScanCore->agent_shutdown() that writes out the time the scan agent last ran, and how many databases were available when it last ran.
* Updated ScanCore->agent_startup() to read the the last run data created above.
* Updated Database->connect() to set 'sys::database::last_db_count' to the scan agent's recorded last DB count.
* Updated all agents to call ScanCore->agent_shutdown() at the end of their run.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-11 21:14:35 -04:00
Digimer
f5f55d70b3
Merge pull request #177 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-11 21:14:08 -04:00
Digimer
b0b080a8c4
Merge branch 'master' into anvil-tools-dev 2021-08-11 20:42:46 -04:00
Digimer
f1af3d4e14
Merge pull request #175 from Tsu-ba-me/issues/151-vnc-frontend
Web UI: add the front-end counterpart for VNC
2021-08-11 18:25:46 -04:00
Tsu-ba-me
fb2aefa0a8 chore: rebuild web UI 2021-08-11 15:20:46 -04:00
Tsu-ba-me
8fd284ee86 fix(striker-ui): resolve createMuiTheme import error 2021-08-11 14:17:41 -04:00
Tsu-ba-me
6d18e80b98 build(striker-ui): change makefile to include server page 2021-08-11 12:44:21 -04:00