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>
1 year ago
Tsu-ba-me
227d2f277a
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
fe6fd9d11c
chore(striker-ui): audit fix; only dev dependencies changed
1 year ago
Tsu-ba-me
87e23a528f
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
c70d490dbb
chore(striker-ui-api): audit fix
1 year ago
Tsu-ba-me
49e68874fe
fix(striker-ui-api): make input fallbacks consistent in prepare host
1 year ago
Tsu-ba-me
80108dd43e
fix(striker-ui-api): correct job data creation in create server
1 year ago
Tsu-ba-me
4252435c04
fix(striker-ui-api): simplify job data creation in create host connection
1 year ago
Tsu-ba-me
8ab0494ae0
fix(striker-ui-api): correct job data creation in prepare host
1 year ago
Tsu-ba-me
98eec8a10c
fix(striker-ui-api): add function to build job data from object
1 year ago
Tsu-ba-me
b31da693a5
fix(striker-ui-api): use common function to build job data for create host connection
1 year ago
Tsu-ba-me
12e257357d
fix(striker-ui-api): trim peer database echo output in create host connection
1 year ago
Tsu-ba-me
a5fc7d499e
fix(striker-ui-api): write .pgpass with nodejs 'fs' module
1 year ago
Tsu-ba-me
1987fc7c2c
fix(striker-ui): revert user to 'admin' in add peer
1 year ago
Tsu-ba-me
eeab34059b
fix(striker-ui-api): call psql directly to test peer database connection
1 year ago
Tsu-ba-me
4182219e86
fix(striker-ui-api): revert database user to 'admin' in create host connection
1 year ago
digimer
79ff96cee5
* Fixed a bug in DRBD->manage_resource() that prevented new resources from being created.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
acca7517cd
Merge branch 'main' into beta-fixes
1 year ago
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>
1 year ago
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
1 year ago
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>
1 year ago
digimer
55aaf7876e
Starting work on checking if the peer is connected before managing allow-two-primaries.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
cc71df686b
Added a pcs wrapper to serialize pcs constraint calls.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
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>
1 year ago
digimer
88af919142
* Fixed bugs in ocf:alteeve:server
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
e7c537540a
Merge branch 'main' into beta-fixes
1 year ago
Digimer
05165da193
Merge pull request #407 from ClusterLabs/ocf-alteeve-server-fixes
...
Ocf alteeve server fixes
1 year ago
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>
1 year ago
Digimer
26b932f001
Merge branch 'main' into ocf-alteeve-server-fixes
1 year ago
Digimer
6b616722ed
Merge pull request #406 from ylei-tsubame/issues/405-peer-striker
...
Web UI: handle access command outputs regardless of order
1 year ago
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>
1 year ago
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>
1 year ago
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>
1 year ago
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>
1 year ago
Tsu-ba-me
58509176ea
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
d7a5ce7471
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
7160450c80
fix(striker-ui-api): revert debug code in create host connection
1 year ago
Tsu-ba-me
d04fef2372
fix(striker-ui-api): correct sanitize boolean
1 year ago
Tsu-ba-me
823f0780b1
fix(striker-ui): default user to 'root' in add peer
1 year ago
Tsu-ba-me
c8e0ed35c8
fix(striker-ui-api): handle access unordered outputs
1 year ago
Tsu-ba-me
d1bc6c0ce3
fix(striker-ui-api): avoid blank inputs by using sanitize fallback in create host connection
1 year ago
Tsu-ba-me
4a8f6b27dc
fix(striker-ui-api): log request method, path
1 year ago
Tsu-ba-me
29f907f003
fix(striker-ui-api): default to root user when add peer striker
1 year ago
Digimer
25b46058f1
Merge pull request #376 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
digimer
6ee2ad75db
* Updated anvil-delete-server to actively check for and delete any drbd-fenced attributes left over in the CIB after a server is deleted. This addresses issue #374 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
a0ff080741
* Deleted some old unused code from Cluster->assemble_storage_groups().
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
ed480cf1cb
* Fixed a double-$ bug in Remote->_check_known_hosts_for_target()
...
* Updated striker-update-cluster to take '--timeout' and a number of seconds, or 'Xm' or 'Xh' for minutes or hourse, respectively. Also updated to show the remaining time while waiting, and added waiting timeout to the rest of the while loops that prior had no time limit. This addresses issue #383 and issue #382 .
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
0471fb90ea
* Upped the logging in these three tools to help diagnose run errors. To be removed before tagging beta
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
88e8978305
* Fixed a bug where getting the job_uuid after a no-db run wouldn't actually update the job progress.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
6a7c9923ad
* Fixed second variable replacement bug, re issue #338 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago