Commit Graph

3636 Commits

Author SHA1 Message Date
Tsu-ba-me
b15df65c07 fix(striker-ui-api): catch exceptions in GET anvil summary list handler 2023-10-16 03:22:50 -04:00
Tsu-ba-me
24879a3ca8 fix(striker-ui-api): don't throw when no servers found in anvil summary 2023-10-16 03:20:58 -04:00
Digimer
126a8615d9
Merge pull request #498 from ClusterLabs/server-manage-system
Updated striker-boot-machine to support booting all machines.
2023-10-13 12:27:23 -04:00
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>
2023-10-12 22:18:07 -04:00
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
2023-10-12 17:02:00 -04:00
Digimer
4449ec2c0d
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/postcss-and-next-8.4.31 2023-10-12 11:33:31 -04:00
Digimer
6697069d8a
Merge pull request #497 from ClusterLabs/server-manage-system
Server manage system
2023-10-12 11:33:16 -04:00
digimer
b3c067b016 Fixed a bug in anvil-manage-files where missing files weren't being downloaded.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-12 01:01:31 -04:00
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>
2023-10-11 22:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
digimer
55b1380031 Finished (but need more testing) of Server->locate().
This includes the changes in PR#492.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-11 17:22:06 -04:00
digimer
829ae546a2 Beginning work on new Server->locate() method to find servers across an
Anvil! cluster.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-11 17:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
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>
2023-10-11 17:22:06 -04:00
Tsu-ba-me
96988e1713 docs(striker-ui-api): add minimal README 2023-10-10 23:02:50 -04:00
Tsu-ba-me
c539e655c7 docs(striker-ui): add minimal README to web UI 2023-10-10 22:32:53 -04:00
digimer-bot
3aff04ab25
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/postcss-and-next-8.4.31 2023-10-10 21:25:40 -04:00
digimer-bot
159a8e949c
Merge pull request #492 from ClusterLabs/rework-pcs-wrapper
Fixed wrappers to handle quoted arguments properly.
2023-10-10 21:25:28 -04:00
digimer
7762540f85 Fixed wrappers to handle quoted arguments properly.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-10 10:10:54 -04:00
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>
2023-10-08 06:21:10 +00:00
Digimer
5210700247
Merge pull request #484 from ylei-tsubame/rebuild-web
Web UI: patch fence manager, manifest creation
2023-10-05 10:40:58 -04:00
Tsu-ba-me
e8f6770308 build(striker-ui): rebuild 2023-10-04 19:06:23 -04:00
Tsu-ba-me
8360e04c2f fix(striker-ui): patch colouring in stack bar 2023-10-04 19:06:23 -04:00
Tsu-ba-me
5804164de5 build(striker-ui-api): rebuild 2023-10-04 19:06:23 -04:00
Tsu-ba-me
abd2780d02 fix(striker-ui-api): allow create manifest with no fences or UPSes 2023-10-04 19:06:23 -04:00
Tsu-ba-me
e9f89baba3 fix(striker-ui-api): correct escape single quote in SQL inputs 2023-10-04 19:06:23 -04:00
Tsu-ba-me
6ceaaf5ec6 fix(striker-ui-api): handle quoted fence parameters with spaces 2023-10-04 19:06:23 -04:00
Digimer
dc5b01f087
Merge pull request #483 from ylei-tsubame/issues/442-dashboard-nodes
Web UI: add node list to dashboard
2023-10-04 16:22:32 -04:00
Tsu-ba-me
951dea7535 fix(striker-ui): align width, height of server previews in Dashboard 2023-10-03 19:21:09 -04:00
Tsu-ba-me
0b9d6be08c fix(striker-ui): prevent text overlap in anvil summary 2023-10-03 19:12:23 -04:00
Tsu-ba-me
f4a1ab5a0b fix(striker-ui): add servers to subnodes, revise node summary layout 2023-10-03 02:56:36 -04:00
Tsu-ba-me
352f63a849 fix(striker-ui-api): add server count to subnode summary 2023-10-03 01:30:09 -04:00
Tsu-ba-me
a21d0a9881 fix(striker-ui): hide node description if too long 2023-10-02 22:54:42 -04:00
Tsu-ba-me
3e27af973b fix(striker-ui): adjust texts in anvil summary 2023-10-02 22:49:30 -04:00
Tsu-ba-me
134e11489c fix(striker-ui): add node, subnode summary 2023-10-02 20:48:50 -04:00
Tsu-ba-me
bd6bc7f7f6 fix(striker-ui): add api converter to anvil detail 2023-10-02 20:44:33 -04:00
Tsu-ba-me
f59ed30ff6 fix(striker-ui): adjust server list header, show node list in dashboard 2023-10-02 15:18:14 -04:00
Tsu-ba-me
5d1ab29955 fix(striker-ui): add anvil summary components 2023-10-02 15:18:14 -04:00
Tsu-ba-me
05438d39f4 fix(striker-ui): add shared storage api response converter 2023-10-02 15:18:14 -04:00
Tsu-ba-me
72ee08414a fix(striker-ui): replace host names in cpu summary with short version 2023-10-02 15:18:14 -04:00
Tsu-ba-me
58a3b56def fix(striker-ui): add total size, free in anvil shared storage summary 2023-10-02 15:18:14 -04:00
Tsu-ba-me
bf19d03ee5 fix(striker-ui): correct response status when no records in fetch anvil cpu 2023-10-02 15:18:14 -04:00
Tsu-ba-me
ac28ea88df fix(striker-ui): isolate fetched data conversion 2023-10-02 15:18:14 -04:00
Tsu-ba-me
78cbdeb123 fix(striker-ui): add thin option to stack bar 2023-10-02 15:18:14 -04:00
Tsu-ba-me
66a1e6c111 fix(striker-ui): simplify bar underline, add stack bar 2023-10-02 15:18:14 -04:00
Tsu-ba-me
8eda5b1849 fix(striker-ui): correct free memory calculation 2023-10-02 15:18:14 -04:00
Tsu-ba-me
c5c344b978 fix(striker-ui-api): add CPU model, guessed vendor to node/cpu response 2023-10-02 15:18:14 -04:00