digimer
a11b87458e
Gracefully handle errors from changed node host names in scan-cluster.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
a35e790a4d
Fixed a minor striker-boot-machine bug.
...
Divide by zero error when no hosts with IPMI found.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
4976ba251a
Merge branch 'main' into docs/ui-readmes
1 year ago
dependabot[bot]
19aafe8f02
build(deps): bump @babel/traverse from 7.17.3 to 7.23.2 in /striker-ui
...
Bumps [@babel/traverse ](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.17.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Digimer
b4158792db
Merge pull request #506 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
digimer
be89bfb438
Updated striker-get-screenshots to create the screenshot directory.
...
Also fixed a typo in the POD for Storage->make_directory().
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
5ec395c53a
Reworked DB resync logic.
...
With this new system, a 'primary_db' is chosen (first connected DB UUID when sorted) and only it does resyncs. Further, resyncs have been pulled from all tools except anvil-daemon. So with this new system, the chances of duplicate, simultaneous resyncs should be removed (hopefully for real this time).
* Database->check_agent_data() no longer calls a resync after loading a
schema.
* Removed the Database->coonnect() 'all' parameter
* The database used to read from is now always the same as the primary,
even if there is a local DB.
* Database->connect() 'check_for_resync' parameter can now be set to
'2', which means "check for resync _if_ I am primary", where '1' still
checks for resync no matter what.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
b346eee6fc
Merge pull request #504 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
1 year ago
digimer
b1f89c2723
Finished initial version of striker-show-jobs
...
* Updated Database->get_jobs() to take 'job_host_uuid = all' to allow
loading jobs from all cluster machines. Also updated it to record the
'job_host_uuid' and the unix timestamp version of 'modified_date'.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
0014cc591d
Re-enabled DB connections in ocf:alteeve:server.
...
Added DB connections to ocf:alteeve:server when starting or stopping
servers. This is to ensure that the servers -> server_state are updated
properly.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
57cb98e9dd
Merge pull request #502 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/babel/traverse-7.23.2
...
build(deps-dev): bump @babel/traverse from 7.17.3 to 7.23.2 in /striker-ui-api
1 year ago
dependabot[bot]
c2d7604008
build(deps-dev): bump @babel/traverse in /striker-ui-api
...
Bumps [@babel/traverse ](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.17.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Digimer
1d59ef632a
Merge pull request #501 from ylei-tsubame/rebuild-webui
...
Web UI: patch issues 456, 458, 487, 494, 496
1 year ago
Tsu-ba-me
cf74fce91e
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
78b75c649a
fix(striker-ui-api): correct ID condition in query host detail
1 year ago
Tsu-ba-me
df7b5fa397
fix(striker-ui-api): sort hosts by name
1 year ago
Tsu-ba-me
2dc0fd3835
fix(striker-ui-api): sort files by name
1 year ago
Tsu-ba-me
6fce2258ba
fix(striker-ui-api): find pre-def cpu vendor before extract first word
1 year ago
Tsu-ba-me
6babc33006
fix(striker-ui-api): ignore deleted servers in all servers-related queries
1 year ago
Tsu-ba-me
b15df65c07
fix(striker-ui-api): catch exceptions in GET anvil summary list handler
1 year ago
Tsu-ba-me
24879a3ca8
fix(striker-ui-api): don't throw when no servers found in anvil summary
1 year ago
Digimer
126a8615d9
Merge pull request #498 from ClusterLabs/server-manage-system
...
Updated striker-boot-machine to support booting all machines.
1 year ago
digimer
4398ffe70c
Updated striker-boot-machine to support booting all machines.
...
* Wrote the man page for striker-boot-machine, changing --host-name to
--host, and adding the '--host all' support.
* Updated anvil-manage-host to support checking/enabling/disabling
network mapping mode.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Digimer
c14615bbc7
Merge pull request #491 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/postcss-and-next-8.4.31
...
build(deps): bump postcss and next in /striker-ui
1 year ago
Digimer
4449ec2c0d
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/postcss-and-next-8.4.31
1 year ago
Digimer
6697069d8a
Merge pull request #497 from ClusterLabs/server-manage-system
...
Server manage system
1 year ago
digimer
b3c067b016
Fixed a bug in anvil-manage-files where missing files weren't being downloaded.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
7545df1e55
Fixed a bug in which host runs an anvil-delete-server job.
...
* Updated anvil-delete-server to use the new Server->locate method. This
was done as the old Server->locate() was failing to find the server
running on the peer when anvil-delete-server was running on the backup
subnode.
* Updated Server->locate() to search hosts for XML definition and DRBD
configs so that it can record where the server is recorded to run,
even if the server isn't running or defined at the time the locate ran.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
68521cdab7
Updated striker-get-screenshots to set permissions properly.
...
This updates the /opt/alteeve/screenshot directories and the screenshots
in them to be readible by the WebUI.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
55b1380031
Finished (but need more testing) of Server->locate().
...
This includes the changes in PR#492.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
829ae546a2
Beginning work on new Server->locate() method to find servers across an
...
Anvil! cluster.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
f12e001ac2
Finished Server->connect_to_virsh().
...
* Now, connecting to virsh can detect when still-open connections
already exist.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
245f75de9b
Added Server->update_definition()
...
* This takes a server and new definition XML and updated the database and any available hosts. Does not yet update defined or running servers.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
e361d0b424
More progress on anvil-manage-server-system
...
* It now edits the XML to change the boot menu, but doesn't save yet.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
201cd53265
Improved the logic behind Network->find_target_ip()
...
* This adds the new 'networks' and 'test_access' parameters to allow
restricting/ordering matched networks, and adds 'test_access' to
validate the link is working.
* Continued work on anvil-manage-server-system
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
62fe62a44b
* Continued work on anvil-manage-server-system. It now displays the boot devices, CPU and RAM info.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Tsu-ba-me
96988e1713
docs(striker-ui-api): add minimal README
1 year ago
Tsu-ba-me
c539e655c7
docs(striker-ui): add minimal README to web UI
1 year ago
digimer-bot
3aff04ab25
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/postcss-and-next-8.4.31
1 year ago
digimer-bot
159a8e949c
Merge pull request #492 from ClusterLabs/rework-pcs-wrapper
...
Fixed wrappers to handle quoted arguments properly.
1 year ago
digimer
7762540f85
Fixed wrappers to handle quoted arguments properly.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
dependabot[bot]
425f7baaeb
build(deps): bump postcss and next in /striker-ui
...
Bumps [postcss](https://github.com/postcss/postcss ) to 8.4.31 and updates ancestor dependency [next](https://github.com/vercel/next.js ). These dependencies need to be updated together.
Updates `postcss` from 8.4.5 to 8.4.31
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.5...8.4.31 )
Updates `next` from 12.1.0 to 13.5.4
- [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/v12.1.0...v13.5.4 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Digimer
5210700247
Merge pull request #484 from ylei-tsubame/rebuild-web
...
Web UI: patch fence manager, manifest creation
1 year ago
Tsu-ba-me
e8f6770308
build(striker-ui): rebuild
1 year ago
Tsu-ba-me
8360e04c2f
fix(striker-ui): patch colouring in stack bar
1 year ago
Tsu-ba-me
5804164de5
build(striker-ui-api): rebuild
1 year ago
Tsu-ba-me
abd2780d02
fix(striker-ui-api): allow create manifest with no fences or UPSes
1 year ago
Tsu-ba-me
e9f89baba3
fix(striker-ui-api): correct escape single quote in SQL inputs
1 year ago
Tsu-ba-me
6ceaaf5ec6
fix(striker-ui-api): handle quoted fence parameters with spaces
1 year ago
Digimer
dc5b01f087
Merge pull request #483 from ylei-tsubame/issues/442-dashboard-nodes
...
Web UI: add node list to dashboard
1 year ago