Digimer
d70b9a4956
Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits.
...
* Updated Database->resync_databases() to never run on non-striker machines. On Strikers, before a resync, _age_out_data() is called to clear old data in long-off databases.
* Created System->check_memory() that is loosely based on anvil-check-memory, but checks to see if it's being controlled by a systemctl started daemon and, if so, reads the RAM in use from it's status output.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
0789e885cf
Merge pull request #215 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
a886653af1
* Updated scan-network to purge duplicate bridges and bonds.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
831abd1981
Updated Striker to allow the DR host to not have an IP assisned.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
a633ab7f63
Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
65e02d01ea
Merge pull request #212 from ClusterLabs/anvil-tools-dev
...
Fixed a bug in System->check_ssh_keys where the 'admin' user's RSA ke…
3 years ago
Digimer
7162ec55b0
Merge branch 'main' into anvil-tools-dev
3 years ago
digimer-bot
16377fa900
Merge pull request #211 from ClusterLabs/anvil-tools-dev
...
Added '#!no_value!#' to be handled properly by Convert->format_mmddyy…
3 years ago
Digimer
e37f487704
Fixed a bug in System->check_ssh_keys where the 'admin' user's RSA keys were owned by root.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
6229a0f6b6
Added '#!no_value!#' to be handled properly by Convert->format_mmddyy_to_yymmdd.
...
Added pciutils to the list of anvil-core requirements.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
7401c7f879
Merge pull request #210 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
892a475881
* Fixed a bug in Convert->format_mmddyy_to_yymmdd() where being passed '--' didn't return the same.
...
* Fixed a divide-by-zero bug in anvil-boot-server when no servers exist yet.
* Fixed a bug in anvil-daemon where the local databsae engine was being started when it shouldn't.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
2c76103a96
Fixed a bug where, if the host IPMI BMC wouldn't allow spaces in the password and the user had a space, IPMI would never configure or get used as a fence method.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
e8dcb8b24c
Fixed a bug in System->configure_ipmi() where it would fail to find the IPMI BMC admin username in some cases.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
861d565cce
Merge pull request #209 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
032f20a267
* Fixed a bug in Database->_age_out_data() where, when all records in the history schema would be purged, the most recent record would not be preserved. The result is that nothing was purged, allow tables to grow dramatically. The 'variables' table was also added to this age-out list.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
796814531e
Fixed a bug in Alert->check_condition_age() where, when the 'clear' parameter was set and the value was already 'clear', it would flip to 'set' erroniously.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
0a9f81d852
* Created the new striker-db-report that shows how many records are in each database table, and if passed a table name, report how many times each record has been recorded in the history schema.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
c7a1dbdebd
Merge pull request #208 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
652f87ec74
* Updated scan-network to also clean up the media type.
...
* Updated anvil-daemon to check for files in /mnt/shared/incoming on striker dashboards and add them to the media library if needed.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
3811b9b2da
Minor update to make the fence device name marked as a mandatory field.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
3f848aa194
Merge pull request #207 from ClusterLabs/anvil-tools-dev
...
* Fixed a bug where ethtool's Media type contained tab characters tha…
3 years ago
Digimer
a1195abf4e
Merge branch 'main' into anvil-tools-dev
3 years ago
Digimer
72038e8358
* Fixed a bug where ethtool's Media type contained tab characters that broke JSON when configuring the netowrk interfaces.
...
* Updated the copywrite date to 2022.
* Updated the database resync to not run on machines host VMs to help reduce the chance of oom-killer terminating a VM.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
つばめ
1ca572a167
Merge pull request #205 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/ansi-regex-5.0.1
...
chore: bump ansi-regex from 5.0.0 to 5.0.1 in /striker-ui
3 years ago
dependabot[bot]
5fcbc35884
chore: bump ansi-regex from 5.0.0 to 5.0.1 in /striker-ui
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
つばめ
6e675c2d95
Merge pull request #204 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/next-11.1.3
...
chore: bump next from 11.1.1 to 11.1.3 in /striker-ui
3 years ago
dependabot[bot]
b0a2bd8123
chore: bump next from 11.1.1 to 11.1.3 in /striker-ui
...
Bumps [next](https://github.com/vercel/next.js ) from 11.1.1 to 11.1.3.
- [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.1...v11.1.3 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Digimer
25d183dd49
Merge pull request #203 from ClusterLabs/anvil-tools-dev
...
Removed the anvil-daemon unit file attempt to compile DRBD's kernel m…
3 years ago
Digimer
8ded17b42d
Removed the anvil-daemon unit file attempt to compile DRBD's kernel module.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
0ab336cb1d
Merge pull request #202 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
3346d31194
* Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system.
...
* Created DRBD->_initialize_drbd() to makes sure the DRBD kernel module can load and tries to build the module, if necessary. This is meant to provide support for clients that can't access needed internet resource (or the internet at all).
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
cc4c3bd3e3
Added ssh askpass for Striker so VMM can ask to confirm fingerprints.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
9cfd7b9b94
Created the new (and still in development) striker-file-manager to manage files from a Striker dashboard's command line. So far. it will add files only.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
65dfc22a38
Added an eval{} call around Database->query()'s ->prepare() DBI call to better handle lost database handle.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
9eec6c4977
* Created ScanCore->check_temperature_direct() based around that start logic from ScanCore->post_scan_analysis_striker() temperature check, and updated the later to use the former.
...
* Updated the logic of when to boot a node or DR host that was found to be off for unknown reasons to require both poewr and temperature to be OK, and checks against the new 'feature::scancore::disable::boot-unknown-stop' config variable.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
2188c3491e
Merge pull request #201 from ClusterLabs/anvil-tools-dev
...
* Moved the logic to add the local database to a Striker's anvil.conf…
3 years ago
Digimer
521633f3eb
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
75a4c8d709
* Moved the logic to add the local database to a Striker's anvil.conf from striker-prep-database to Database->_add_to_local_config().
...
* Updated striker-prep-database to always set the user's password, independent of whether the database user was created.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
f36d32f291
Merge pull request #200 from ClusterLabs/fix-rpm
...
[build] fix FASEXECPREFIX handling and ship fence_ in -core rpm
3 years ago
Fabio M. Di Nitto
36bcaa587f
[build] fix FASEXECPREFIX handling and ship fence_ in -core rpm
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
3 years ago
Digimer
32effea185
Merge pull request #199 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
958267e38f
* Enabled scancore in the .spec file. Disabled calling striker-prep-database and anvil-update-state in the same.
...
* Updated striker-prep-database to check / wait until postgresql-server is installed.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
034c38fdeb
Disabled calling striker-prep-database from the spec file, and enabled scancore.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
91df8f1e70
Merge pull request #198 from ClusterLabs/anvil-tools-dev
...
Updated striker-prep-database to not configure the firewall if firewa…
3 years ago
Digimer
6225ce1943
Updated striker-prep-database to not configure the firewall if firewalld isn't running.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
8905146ef6
Merge pull request #197 from ClusterLabs/anvil-tools-dev
...
* Updated anvil-daemon->prep_database() to start the postgresql daemo…
3 years ago
Digimer
8e41814ca2
* Updated anvil-daemon->prep_database() to start the postgresql daemon if it's not running and no databases are available.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
73a4b211b4
Merge pull request #196 from ClusterLabs/anvil-tools-dev
...
* Did more work on trying to figure out why iniital setup of the data…
3 years ago
Digimer
b517117bc1
* Did more work on trying to figure out why iniital setup of the database was failing. I believe it was because, in anvil-daemon, after calling 'prep_database' we called ->connect() _without_ 'check_if_configured' set. Next round of function testing should help confirm is this was the case.
...
* Added 'configure_firewall()' to 'striker-prep-database' to explicitely open the postgresql service for all active zones.
* Did some general logging changes and cleanup around the same.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago