Commit Graph

3386 Commits

Author SHA1 Message Date
digimer
f56c63fa48 Added two more man pages.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 17:59:36 -04:00
digimer
029f226dc5 Created the emptu man page for anvil-join-anvil.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 17:02:19 -04:00
digimer
4df3b394bc * Picked up text changes from f14c905018d96b9cf3e6ec7b4b6a2ca9b7a276d7
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:25:05 -04:00
digimer
4a6ee0c283 Updated Database->get_lvm_data to ignore data from deleted hosts.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:21:55 -04:00
digimer
7bf7c3747c * Added anvil-file-details.8, but it's not completely written yet. Converted anvil-file-details to use the new switch loading method.
* Fixed the RC in ocf:alteeve:server to exit with 0 on notify calls, resolves issue #392.
* Fixed typo references in issue #390.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:21:20 -04:00
digimer
1667d1f132 * Wrote the man page for anvil-download-file, and updated it to use the new switch method. Changed it's default download directory from /mnt/shared/temp to /mnt/shared/incoming.
* Added the new man pages to the Makefile.am file.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:19:05 -04:00
digimer
75fcad75af * Updated the man pages for anvil-cycle-vm-nics and anvil-daemon.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:18:21 -04:00
digimer
d39b0af67b * Added support for migration networks, and wrote the man page for anvil-cycle-vm-nics.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-10 16:17:49 -04:00
Digimer
b0df1d22de
Merge branch 'main' into beta-fixes 2023-08-10 11:32:07 -04:00
Digimer
6b1c2491d0
Merge pull request #409 from ylei-tsubame/issues/405-peer-db-conn
Web UI: simplify peer striker database test
2023-08-10 11:30:28 -04:00
digimer
a81a110261 * Remove forced log level and secure logging. This addresses issue #386
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-09 18:20:14 -04:00
digimer
a0cb791f47 This contains fixes needed for beta from additional testing.
* Updated the pcs wrapper to flock anything but status calls.
* Updated scan-apc-pdu to purge regardless of the host it's called on any host.
* Fixed a bug striker-purge-target that wouldn't purge anvil nodes in various cases.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-09 18:07:03 -04:00
Tsu-ba-me
227d2f277a build(striker-ui): rebuild 2023-08-09 15:11:49 -04:00
Tsu-ba-me
fe6fd9d11c chore(striker-ui): audit fix; only dev dependencies changed 2023-08-09 15:10:13 -04:00
Tsu-ba-me
87e23a528f build(striker-ui-api): rebuild 2023-08-09 15:07:36 -04:00
Tsu-ba-me
c70d490dbb chore(striker-ui-api): audit fix 2023-08-09 15:06:37 -04:00
Tsu-ba-me
49e68874fe fix(striker-ui-api): make input fallbacks consistent in prepare host 2023-08-09 15:03:07 -04:00
Tsu-ba-me
80108dd43e fix(striker-ui-api): correct job data creation in create server 2023-08-09 15:03:07 -04:00
Tsu-ba-me
4252435c04 fix(striker-ui-api): simplify job data creation in create host connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
8ab0494ae0 fix(striker-ui-api): correct job data creation in prepare host 2023-08-09 15:03:07 -04:00
Tsu-ba-me
98eec8a10c fix(striker-ui-api): add function to build job data from object 2023-08-09 15:03:07 -04:00
Tsu-ba-me
b31da693a5 fix(striker-ui-api): use common function to build job data for create host connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
12e257357d fix(striker-ui-api): trim peer database echo output in create host connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
a5fc7d499e fix(striker-ui-api): write .pgpass with nodejs 'fs' module 2023-08-09 15:03:07 -04:00
Tsu-ba-me
1987fc7c2c fix(striker-ui): revert user to 'admin' in add peer 2023-08-09 15:03:07 -04:00
Tsu-ba-me
eeab34059b fix(striker-ui-api): call psql directly to test peer database connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
4182219e86 fix(striker-ui-api): revert database user to 'admin' in create host connection 2023-08-09 15:03:07 -04:00
digimer
79ff96cee5 * Fixed a bug in DRBD->manage_resource() that prevented new resources from being created.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-09 11:23:57 -04:00
Digimer
acca7517cd
Merge branch 'main' into beta-fixes 2023-08-09 10:17:45 -04:00
dependabot[bot]
9ec270cc99 build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui-api
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 10:17:25 -04:00
Digimer
56120a8333
Merge pull request #370 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/word-wrap-1.2.4
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui-api
2023-08-09 10:14:28 -04:00
digimer
3ee30e6e24 * Updated DRBD->allow_two_primaries() to gracefully fail if the peer isn't connected.
* Updated DRBD->manage_resource() to check if the host is StandAlone when asked to 'up' a resource and, if so, connect first. Also updated this to error out gracefully if the call to allow_two_primaries() returns non-zero.
* Update Server->migrate_virsh() to error out gracefully if the DRBD->allow_two_primaries() returns non-zero.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 22:52:16 -04:00
digimer
55aaf7876e Starting work on checking if the peer is connected before managing allow-two-primaries.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 17:33:39 -04:00
digimer
cc71df686b Added a pcs wrapper to serialize pcs constraint calls.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 14:32:33 -04:00
dependabot[bot]
a78e35457c build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui-api
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 13:12:22 -04:00
digimer
88af919142 * Fixed bugs in ocf:alteeve:server
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 11:52:36 -04:00
Digimer
e7c537540a
Merge branch 'main' into beta-fixes 2023-08-08 11:16:49 -04:00
Digimer
05165da193
Merge pull request #407 from ClusterLabs/ocf-alteeve-server-fixes
Ocf alteeve server fixes
2023-08-08 11:15:31 -04:00
digimer
59ade94124 * Added PID logging as an option, and enabled it in ocf:alteeve:server
* Updated DRBD->manage_resource() to take the task 'adjust'.
* Updated ocf:alteeve:server's start_drbd_resource() to call adjust if startup of a resource isn't needd.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-07 22:28:13 -04:00
Digimer
26b932f001
Merge branch 'main' into ocf-alteeve-server-fixes 2023-08-07 13:04:57 -04:00
Digimer
6b616722ed
Merge pull request #406 from ylei-tsubame/issues/405-peer-striker
Web UI: handle access command outputs regardless of order
2023-08-07 13:04:45 -04:00
Fabio M. Di Nitto
824e3e07e3 virsh: add wrapper to serialize calls to virsh list
avoid storm of virsh list that overloads libvirtd API causing
unnecessary timeouts during pcmk monitoring operations.

Resolves: https://github.com/ClusterLabs/anvil/issues/395

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:35:08 +02:00
Fabio M. Di Nitto
fc75bda6ef ocf:alteeve:server: add support for log levels and bump timeouts
also improve logging for migrations

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:22:50 +02:00
Fabio M. Di Nitto
f71b8dabf0 ocf:alteeve:server: fix return code to match ocf standards
Resolves: https://github.com/ClusterLabs/anvil/issues/392

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:18:31 +02:00
Fabio M. Di Nitto
1b4ac8ab56 ocf:alteeve:server: fix typo in the description
Resolves: https://github.com/ClusterLabs/anvil/issues/390

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:16:47 +02:00
Tsu-ba-me
58509176ea build(striker-ui): rebuild 2023-08-07 01:52:15 -04:00
Tsu-ba-me
d7a5ce7471 build(striker-ui-api): rebuild 2023-08-07 01:49:27 -04:00
Tsu-ba-me
7160450c80 fix(striker-ui-api): revert debug code in create host connection 2023-08-07 01:47:35 -04:00
Tsu-ba-me
d04fef2372 fix(striker-ui-api): correct sanitize boolean 2023-08-07 01:47:35 -04:00
Tsu-ba-me
823f0780b1 fix(striker-ui): default user to 'root' in add peer 2023-08-07 01:47:35 -04:00