digimer
b27a43eaf7
* Updated striker to only require 6 interfaces when configuring a node.
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
0fa6ddebc5
Updated scan-network to see an interface state of 'activated' as up (used to check specifically for 'active').
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
383a6df7c5
Updated Convert->bytes_to_human_readable() to accept already human-readable sizes and return that.
...
This resolves issue #282 .
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
a3988cc3e5
* Added System->configure_logind() to ensure that nodes are configured to ignore ACPI power button events so that IPMI-based fences work immediately.
...
* Added call to System->configure_logind() to anvil-join-anvil and anvil-version-changes.
* Updated fence_pacemaker to add '--reboot' to the 'stonith_admin' call to ensure DRBD-triggered fence requests reboot instead of just turning nodes off.
This commit address issue #279 .
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
c5fbf20615
* This inverts the --live logic on migrations in Server->migrate_virsh() to default to live.
...
* Adds a "sensitive" DB connection to ocf:alteeve:server when migrating a VM. This is needed so that migrations can be done cold or live, based on servers -> server_live_migration.
This resolves issue #284 .
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
dfa93a1837
* Added 'setsid' to all 'virsh' calls as nested calls (ie: crm_resource -> ocf:alteeve:server -> virsh) would fail because virsh couldn't connect to a terminal. See:
...
** https://serverfault.com/questions/1105733/virsh-command-hangs-when-script-runs-in-the-background
* Added explicity setting of $ENV{PATH} when it's null (as it is when pacemaker calls our tools).
* Updated the copyright to 2023.
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
dependabot[bot]
a24618f15e
build(deps): bump json5 from 1.0.1 to 1.0.2 in /striker-ui-api
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
f0a13a8d88
build(deps): bump json5 from 1.0.1 to 1.0.2 in /striker-ui
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
digimer
192cee090b
* Removed an unused code block.
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
b666caec64
* Updated anvil-provision-server to handle startup when the peer doesn't create/connect it's DRBD resource (ie: node is offline).
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
a5cee52153
* Fixed a bug in DRBD->get_devices() where old test host UUIDs were left hard-coded.
...
* Fixed a duplicate header in words.xml
* Fixed display bugs in anvil-report-usage and removed the old DR host display info.
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
digimer
65a483273e
* Updated anvil-version-changes to connect to the database with 'sensitive' so that the connection is unlikely to fail if schema changes are needed for normal operation.
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
Digimer
778e35ae83
Merge branch 'main' into anvil-tools-dev
2 years ago
Digimer
4d5dd8c6fa
* Finished adding support for manually selecting a network with --network in anvil-provision-server.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
f6797ab06e
Merge pull request #275 from ClusterLabs/fix-nm-deps
...
Update NM requirements to pull in ifup/down on fresh installs
2 years ago
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>
2 years ago
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>
2 years ago
Digimer
3663cde250
Merge pull request #266 from Seneca-CDOT/issues/263-override-ram-constraint
...
Override anvil_resources::<anvil_uuid>:🐏 :reserved by anvil.conf entry
2 years ago
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>
2 years ago
Deezzir
fa71148537
fix: improved validatation for ram_reserved in anvil.conf
2 years ago
Iurii Kondrakov
91e3551e75
Merge branch 'main' into issues/263-override-ram-constraint
2 years ago
Deezzir
9e8d10a025
feat: check if anvil_resources::<anvil_uuid>: 🐏 :allocated overridenfrom anvil.conf
2 years ago
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
2 years ago
Digimer
590879a47b
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui-api/qs-and-express-6.11.0
2 years ago
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
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Digimer
561fa1a9ec
Merge branch 'main' into anvil-tools-dev
2 years ago
Digimer
f9c5a30ea4
Merge pull request #258 from ylei-tsubame/web-ui-bundle-20221125
...
Web UI bundle 20221125
2 years ago
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>
2 years ago
Digimer
33b4516dea
Fix a variable quoting bug in Database->locking().
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
4528f07508
* Fixed a bug where fence-handler was repeatedly added by scan-drbd.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
02e371ac56
Updated virsh OS list.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
Tsu-ba-me
9d418b276a
build(tools): remove renamed striker-access-database script from Makefile
2 years ago
Tsu-ba-me
44acfe3e28
docs(tools): add in-script documentation to anvil-access-module
2 years ago
Tsu-ba-me
75602010e8
build(striker-ui): revise Makefile.am to include new pages and src files
2 years ago
Tsu-ba-me
97b94eae50
build: rebuild both front-end and back-end
2 years ago
Tsu-ba-me
9ba521839e
fix(striker-ui): remove isEmpty()
2 years ago
Tsu-ba-me
f9c9855462
refactor(striker-ui): repair types in InputWithRef
2 years ago
Tsu-ba-me
abc7fdf54c
refactor(striker-ui): repairs types in map to value converter
2 years ago
Tsu-ba-me
2e9a22373b
fix(striker-ui): simplify CPU layout
2 years ago
Tsu-ba-me
3fe66c6500
refactor(striker-ui): repair types in Memory, Storage
2 years ago
Tsu-ba-me
6970b4f882
fix(striker-ui): add loading indicator to anvil Dashboard
2 years ago
Tsu-ba-me
87fd3bdc6b
refactor(striker-ui): repair types in Network
2 years ago
Tsu-ba-me
673f88f6a7
fix(striker-ui): default refresh to 10s in JobSummary
2 years ago