Commit Graph

3690 Commits

Author SHA1 Message Date
Digimer
7023ffb56b Further improved startup DRBD logic in ocf:alteeve:server. Specifically, it will startup if a local resource/volume is sync'ing.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-23 12:41:49 -05:00
Digimer
7fe1bbfbf4
Merge pull request #218 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/trim-off-newlines-1.0.3
chore: bump trim-off-newlines from 1.0.1 to 1.0.3 in /striker-ui
2022-02-22 11:52:37 -05:00
Digimer
fb7293f819
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/trim-off-newlines-1.0.3 2022-02-21 23:33:42 -05:00
Digimer
9b54813fe3
Merge pull request #219 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-02-21 23:33:28 -05:00
Digimer
7e99676435 Merge remote-tracking branch 'origin/anvil-tools-dev' into anvil-tools-dev
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-21 20:24:08 -05:00
Digimer
bc39c3fe5c Updated ocf:alteeve:server to better handle multi-peer DRBD configurations.
Cleaned up some logging in DRBD->get_status.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-21 19:18:28 -05:00
Digimer
e62e5d7b0c * Updated ocf:alteeve:server to better handle starting up DRBD resources before trying to boot a VM.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-21 19:18:28 -05:00
Digimer
87a2454a09 Moved anvil-configure-host reboot logging to use log_0687 to help grep for reboot causes.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-21 19:18:28 -05:00
Digimer
26f6d506d4
Merge branch 'main' into anvil-tools-dev 2022-02-18 22:39:08 -05:00
Digimer
3c0435a455 * Updated ocf:alteeve:server to better handle starting up DRBD resources before trying to boot a VM.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-18 22:37:43 -05:00
dependabot[bot]
176535eed8
chore: bump trim-off-newlines from 1.0.1 to 1.0.3 in /striker-ui
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases)
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3)

---
updated-dependencies:
- dependency-name: trim-off-newlines
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 16:34:52 +00:00
Digimer
4417931c83
Merge pull request #217 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/next-12.1.0
chore: bump next from 11.1.3 to 12.1.0 in /striker-ui
2022-02-18 11:33:19 -05:00
dependabot[bot]
bd307f71dc
chore: bump next from 11.1.3 to 12.1.0 in /striker-ui
Bumps [next](https://github.com/vercel/next.js) from 11.1.3 to 12.1.0.
- [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.3...v12.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 02:13:31 +00:00
Digimer
33e50a56ba
Merge pull request #213 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/nanoid-3.2.0
chore: bump nanoid from 3.1.30 to 3.2.0 in /striker-ui
2022-02-17 21:12:32 -05:00
Digimer
df69226db8
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/nanoid-3.2.0 2022-02-17 17:02:36 -05:00
Digimer
c9a9e28491
Merge pull request #188 from Tsu-ba-me/minor-fixes-20210827
Web UI: add minor fixes
2022-02-17 17:01:23 -05:00
Digimer
920d38d250 Moved anvil-configure-host reboot logging to use log_0687 to help grep for reboot causes.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-17 13:56:29 -05:00
digimer-bot
4f6bdd739e
Merge branch 'main' into minor-fixes-20210827 2022-02-17 11:33:30 -05:00
digimer-bot
0305df404b
Merge pull request #216 from ClusterLabs/anvil-tools-dev
Updated scancore and anvil-daemon to check their RAM use at the end o…
2022-02-17 11:30:48 -05:00
Digimer
dc989f0950 Added more logging to track when and how reboots happen in systems.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-16 21:55:33 -05:00
Digimer
ec3b3d2ac9 Fixed a bug in Database->_age_out_data() where checking if a table existed was hard coded to one table.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-13 19:55:24 -05:00
Digimer
f77f486775 Fixed a typo in scan-network
Fixed a missing 'next' to prevent the first DB from disconnecting when down'ing excess DBs.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-09 15:52:21 -05:00
dependabot[bot]
77fb8e486a
chore: bump nanoid from 3.1.30 to 3.2.0 in /striker-ui
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 21:33:59 +00:00
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>
2022-02-05 22:08:06 -05:00
Digimer
0789e885cf
Merge pull request #215 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-02-01 20:18:23 -05:00
Digimer
a886653af1 * Updated scan-network to purge duplicate bridges and bonds.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-02-01 20:15:01 -05:00
Digimer
831abd1981 Updated Striker to allow the DR host to not have an IP assisned.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-01-21 16:57:10 -05:00
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>
2022-01-21 14:27:58 -05:00
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…
2022-01-21 10:38:19 -05:00
Digimer
7162ec55b0
Merge branch 'main' into anvil-tools-dev 2022-01-20 21:30:51 -05:00
digimer-bot
16377fa900
Merge pull request #211 from ClusterLabs/anvil-tools-dev
Added '#!no_value!#' to be handled properly by Convert->format_mmddyy…
2022-01-20 19:24:54 -05:00
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>
2022-01-20 14:13:27 -05:00
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>
2022-01-20 10:26:54 -05:00
digimer-bot
7401c7f879
Merge pull request #210 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-01-18 11:54:58 -05:00
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>
2022-01-18 02:38:50 -05:00
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>
2022-01-17 17:54:46 -05:00
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>
2022-01-17 11:41:51 -05:00
Digimer
861d565cce
Merge pull request #209 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-01-14 12:20:26 -05:00
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>
2022-01-13 22:49:31 -05:00
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>
2022-01-13 21:07:25 -05:00
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>
2022-01-13 20:00:37 -05:00
Digimer
c7a1dbdebd
Merge pull request #208 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-01-13 08:18:01 -05:00
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>
2022-01-12 23:27:44 -05:00
Digimer
3811b9b2da Minor update to make the fence device name marked as a mandatory field.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-01-04 21:02:24 -05:00
Digimer
3f848aa194
Merge pull request #207 from ClusterLabs/anvil-tools-dev
* Fixed a bug where ethtool's Media type contained tab characters tha…
2022-01-04 11:31:01 -05:00
Digimer
a1195abf4e
Merge branch 'main' into anvil-tools-dev 2022-01-03 17:12:42 -05:00
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>
2022-01-03 17:06:56 -05:00
つばめ
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
2021-12-10 17:43:30 -05:00
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>
2021-12-10 22:40:22 +00:00
つばめ
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
2021-12-10 17:39:47 -05:00