Commit Graph

2500 Commits

Author SHA1 Message Date
Digimer
f6797ab06e
Merge pull request #275 from ClusterLabs/fix-nm-deps
Update NM requirements to pull in ifup/down on fresh installs
2022-12-25 13:39:51 -05:00
Fabio M. Di Nitto
070427a417 Update NM requirements to pull in ifup/down on fresh installs
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2022-12-25 08:03:23 +01:00
Digimer
6d59399c73 * Updated the short OS list.
* Created Get->virsh_list_net() and Get->virsh_list_os() that call and parse osinfo-query directly to create lists of supported network interfaces and OS optimization options used when provisioning VMs. The later of which is used to replace the old language list of OSes, which was clunky and prone to missing valid options.
* Updated Get->available_resources() to remove the old anvil_dr1_host_uuid mechanism of finding and referencing DR resources.
* Started adding --network support to anvil-provision-server to allow users to specify a specific network bridge, MAC address and model to use for a new VM.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-24 10:08:06 -05:00
Digimer
3663cde250
Merge pull request #266 from Seneca-CDOT/issues/263-override-ram-constraint
Override anvil_resources::<anvil_uuid>:🐏:reserved by anvil.conf entry
2022-12-16 13:31:29 -05:00
Digimer
9194eb3d09 * Updated System->check_if_configured() to record that a host is configured in /etc/anvil to make the system auto-mark as configured if the host is removed from the DB (or, more specifically, variables -> system::configured is lost).
* Updated Database->get_anvils() to record dr_links to reference DR hosts to Anvil! systems.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-15 19:28:00 -05:00
Deezzir
fa71148537 fix: improved validatation for ram_reserved in anvil.conf 2022-12-15 18:31:29 -05:00
Iurii Kondrakov
91e3551e75
Merge branch 'main' into issues/263-override-ram-constraint 2022-12-14 03:15:48 -05:00
Deezzir
9e8d10a025 feat: check if anvil_resources::<anvil_uuid>:🐏:allocated overridenfrom anvil.conf 2022-12-14 03:09:30 -05:00
Digimer
6a8dd07f36
Merge pull request #260 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/qs-and-express-6.11.0
build(deps): bump qs and express in /striker-ui-api
2022-12-13 22:19:44 -05:00
Digimer
590879a47b
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui-api/qs-and-express-6.11.0 2022-12-13 19:32:01 -05:00
Digimer
211edf009c
Merge pull request #254 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/loader-utils-1.4.2
build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /striker-ui-api
2022-12-13 19:31:45 -05:00
Digimer
f9ca6fb170 * This adds the new anvil-version-change tool which anvil-daemon will call on startup to handle checks for changes made over releases/updates.
* Added the new 'dr_link_note" column to the dr_links tables so that links can be marked as DELETED.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-13 17:36:43 -05:00
dependabot[bot]
d4680dbbd8
build(deps): bump qs and express in /striker-ui-api
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 06:21:59 +00:00
dependabot[bot]
93d22abde5
build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /striker-ui-api
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 06:21:56 +00:00
Digimer
561fa1a9ec
Merge branch 'main' into anvil-tools-dev 2022-12-13 01:21:40 -05:00
Digimer
f9c5a30ea4
Merge pull request #258 from ylei-tsubame/web-ui-bundle-20221125
Web UI bundle 20221125
2022-12-13 01:21:03 -05:00
Digimer
eae2ab4d9f * Undid the #!no_value!# -> !!no_value!! change as it broke language processing.
* Fixed a bug in scan-apc-pdu that was preventing it from compiling.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-07 21:52:14 -05:00
Digimer
33b4516dea Fix a variable quoting bug in Database->locking().
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-07 18:52:51 -05:00
Digimer
4528f07508 * Fixed a bug where fence-handler was repeatedly added by scan-drbd.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-06 21:30:16 -05:00
Digimer
02e371ac56 Updated virsh OS list.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-06 18:08:52 -05:00
Digimer
7504978af7 Increased the size change detection wait to to reduce the risk of premature addition to the DB if there's a network hiccup.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-06 15:31:35 -05:00
Digimer
f6cbe7d1d2 * Fixed a bug in System->collect_ipmi_data() where double-quoted passwords were preventing reading of the sensor data.
* Added a new table to the main SQL schema to allow for more dynamic tracking of which Anvil! node pairs can use which DR hosts.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-12-06 15:07:05 -05:00
Digimer
4fa8d7a446 * This completes the rework of DRBD triggered fencing to use / clear location constraints instead of triggering a power fence.
* Added the new unfence_pacemaker DRBD unfence handler.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-30 16:13:38 -05:00
Digimer
4ba1982183 This is the start of a set of changes needed to rework how we handle DRBD fence requests, so that they create location constraints instead of triggering a full stonith fence.
* In Cluster->parse_cib(), added parsers for node attributes and resource rules. Also stored the existence of and details of each under the server resources for easier referencing.
* Updated scan-server to check for / add DRBD fence rules as needed.

Scancore APC agent bugs;
* For clarity, converted all '#!no_value!#' and '#!no_connection!#' to use '!!' instead in APC scan agents.
* Fixed a bug to set/clear alerts related to phases disappearing to deal with concurrent logins from different hosts triggering false phase loss alerts.
* Fixed missing variables not being passed to alerts/log entries.

Started more work on anvil-manage-server, but on hold again while the DRBD fencing work is completed.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-29 22:17:12 -05:00
Tsu-ba-me
9d418b276a build(tools): remove renamed striker-access-database script from Makefile 2022-11-29 14:39:40 -05:00
Tsu-ba-me
44acfe3e28 docs(tools): add in-script documentation to anvil-access-module 2022-11-28 20:09:41 -05:00
Tsu-ba-me
75602010e8 build(striker-ui): revise Makefile.am to include new pages and src files 2022-11-28 14:37:22 -05:00
Tsu-ba-me
97b94eae50 build: rebuild both front-end and back-end 2022-11-28 14:37:22 -05:00
Tsu-ba-me
9ba521839e fix(striker-ui): remove isEmpty() 2022-11-28 14:37:22 -05:00
Tsu-ba-me
f9c9855462 refactor(striker-ui): repair types in InputWithRef 2022-11-28 14:37:22 -05:00
Tsu-ba-me
abc7fdf54c refactor(striker-ui): repairs types in map to value converter 2022-11-28 14:37:22 -05:00
Tsu-ba-me
2e9a22373b fix(striker-ui): simplify CPU layout 2022-11-28 14:37:22 -05:00
Tsu-ba-me
3fe66c6500 refactor(striker-ui): repair types in Memory, Storage 2022-11-28 14:37:22 -05:00
Tsu-ba-me
6970b4f882 fix(striker-ui): add loading indicator to anvil Dashboard 2022-11-28 14:37:22 -05:00
Tsu-ba-me
87fd3bdc6b refactor(striker-ui): repair types in Network 2022-11-28 14:37:22 -05:00
Tsu-ba-me
673f88f6a7 fix(striker-ui): default refresh to 10s in JobSummary 2022-11-28 14:37:22 -05:00
Tsu-ba-me
151028ffe6 refactor(striker-ui): repair response data type in FileSystems 2022-11-28 14:37:22 -05:00
Tsu-ba-me
8315733040 chore(striker-ui): install released version of format-data-size 2022-11-28 14:37:22 -05:00
Tsu-ba-me
bb4b9f5441 refactor(striker-ui): apply mt in Spinner occurrences 2022-11-28 14:37:21 -05:00
Tsu-ba-me
383b4e938e fix(striker-ui): add request onProceed in AddPeerDialog 2022-11-28 14:37:21 -05:00
Tsu-ba-me
d5e9033466 fix(striker-ui): add loading indicator for actions in ConfirmDialog 2022-11-28 14:37:21 -05:00
Tsu-ba-me
ea00fb6edd fix(striker-ui): simplify set marginTop in Spinner 2022-11-28 14:37:21 -05:00
Tsu-ba-me
ac0c17396f fix(striker-ui): don't close onProceed by default in ConfirmDialog 2022-11-28 14:37:21 -05:00
Tsu-ba-me
4c13c7c15a fix(striker-ui): add input tests to AddPeerDialog 2022-11-28 14:37:21 -05:00
Tsu-ba-me
0156b7cd7e fix(striker-ui): add input test in InputWithRef to reduce duplication 2022-11-28 14:37:21 -05:00
Tsu-ba-me
fb16016ad0 feat(striker-ui): add buildMapToMessageSetter() 2022-11-28 14:37:21 -05:00
Tsu-ba-me
f87379fa98 fix(striker-ui): expose onBlur and onFocus in OutlinedInputWithLabel 2022-11-28 14:37:21 -05:00
Tsu-ba-me
1be005669e fix(striker-ui): revise input tests to handle optional, number fields 2022-11-28 14:37:21 -05:00
Tsu-ba-me
d3e4e51b86 fix(striker-ui): add inital AddPeerDialog 2022-11-28 14:37:21 -05:00
Tsu-ba-me
0f9da43ba8 fix(striker-ui): expose type, reduce spreading in OutlinedInputWithLabel 2022-11-28 14:37:21 -05:00