digimer-bot
0aac9ead8c
Merge pull request #113 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2021-06-06 00:10:22 -04:00
Digimer
930b0b6729
Merge branch 'master' into anvil-tools-dev
2021-06-06 00:05:15 -04:00
Digimer
96fffb0b96
* Finished updating ocf:alteeve:server to no longer require a database connection. To do this, and still be able to track live migration times, the Server->migrate_virsh() method now writes out the server name and migration time to a /tmp/anvil/migration-duration.<server_name>.<unix_time> file. This file is checked for by the scan-server resource agent and, when found, is parsed and the migration duration is recorded, then the file is purged.
...
* Updated anvil-daemon to have a new function called "handle_special_cases" called during startup that does any weird bug mitigation required. For now, this is used to mitigate against rhbz#1961562, though certainly it will be used for other reasons later.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-06 00:01:11 -04:00
Digimer
e15c1651ed
* Fixed a bug with deleting bad keys where jobs to delete keys on non-dashboard machine wasn't being assigned to the proper target machine.
...
* Fixed a bug with anvil-manage-keys where a state_uuid entry recorded on one database may not be read from a machine reading from another database.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-05 19:07:25 -04:00
Digimer
16c20ae69c
* Updated Tools->catch_sig() to use return code 0 instead of 255 so that systemd doesn't think our daemons failed on stop.
...
* Updated Cluster->parse_cib() to not require a database connection (part of the work to make ocf:alteeve:server run without a DB)
* WIP: Continuing work on the ocf:alteeve:server RA to run without database connections.
* Updated the scancore daemon to explcitely check that all scan agent schemas are loaded in all databases on startup. This is to resolve resync issues on rebuilt strikers that may not yet have some schemas loaded when a DB resync runs.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-05 14:32:26 -04:00
Digimer
c1027d2a43
Merge pull request #112 from Tsu-ba-me/issues/8-correct-reserved-memory
...
Web UI: correct reserved memory constant
2021-06-04 20:15:21 -04:00
Tsu-ba-me
d72d037a01
fix(cgi-bin): correct reserved memory constant to 8GiB
2021-06-04 19:41:09 -04:00
Digimer
5874c40901
Merge pull request #111 from Tsu-ba-me/issues/7-protect-endpoints
...
Web UI: add login cookie guard to all endpoints included in release
2021-06-04 19:38:52 -04:00
Tsu-ba-me
5a22512665
fix(cgi-bin): add login cookie guard to set_power
2021-06-04 19:18:28 -04:00
Tsu-ba-me
4fd9374722
fix(cgi-bin): add login cookie guard to set_membership
2021-06-04 19:17:49 -04:00
Tsu-ba-me
097900a2e9
fix(cgi-bin): add login cookie guard to get_status
2021-06-04 19:16:51 -04:00
Tsu-ba-me
0eb9c9ff82
fix(cgi-bin): add login cookie guard to get_shared_storage
2021-06-04 19:16:04 -04:00
Tsu-ba-me
60f57c5d35
fix(cgi-bin): add login cookie guard to get_servers
2021-06-04 19:15:13 -04:00
Tsu-ba-me
4b1905b2f5
fix(cgi-bin): add login cookie guard to get_replicated_storage
2021-06-04 19:14:33 -04:00
Tsu-ba-me
9c79d0d07b
fix(cgi-bin): add login cookie guard to get_networks
2021-06-04 19:13:25 -04:00
Tsu-ba-me
103fd121e6
fix(cgi-bin): add login cookie guard to get_memory
2021-06-04 19:07:16 -04:00
Tsu-ba-me
97cbe279fc
fix(cgi-bin): add login cookie guard to get_cpu
2021-06-04 19:00:34 -04:00
Tsu-ba-me
9fda3af2ce
fix(cgi-bin): move error string key to 0307
2021-06-04 19:00:34 -04:00
Tsu-ba-me
4a3c364724
fix(cgi-bin): check login cookie in get_anvils
2021-06-04 19:00:34 -04:00
Digimer
57bf83f32d
Merge pull request #109 from Tsu-ba-me/issues/4-web-ui-rpm
...
Add new web UI and its build resources
2021-06-04 18:30:03 -04:00
Tsu-ba-me
3765877b93
build(striker-ui): experiment; use npm >= 6 (from default nodejs stream) as build requirement
2021-06-04 18:11:16 -04:00
Tsu-ba-me
87ad87e60d
build(striker-ui): include dot/hidden entries in clean-up
2021-06-04 17:48:49 -04:00
Tsu-ba-me
9abb468d79
build(striker-ui): include pwd when unlocking files for building web UI
2021-06-04 17:21:35 -04:00
Tsu-ba-me
335cd5d4c7
build(striker-ui): change clean-local target to rm accordingly (depends on pwd)
2021-06-04 17:01:38 -04:00
Tsu-ba-me
4c215e404d
build(striker-ui): don't copy make-related files and add distclean-local target
2021-06-04 16:44:42 -04:00
Tsu-ba-me
7c1598575b
build(striker-ui): copy files from srcdir for building
2021-06-04 15:49:28 -04:00
Tsu-ba-me
73d4a32d01
build(striker-ui): npm ci->install and don't generate package-lock
2021-06-04 15:27:53 -04:00
Tsu-ba-me
c571a3efda
build(striker-ui): rename target build->out to match build output directory name
2021-06-04 15:26:35 -04:00
Tsu-ba-me
0c2952a1c7
build(striker-ui): remove debug pwd calls in Makefile.am
2021-06-04 12:12:38 -04:00
Tsu-ba-me
79fa324f9d
build(striker-ui): remove excess call in specfile to build web UI
2021-06-04 12:11:50 -04:00
Tsu-ba-me
b46042aede
build(striker-ui): add uninstall steps for web UI
2021-06-04 12:11:50 -04:00
Tsu-ba-me
88590e3e17
build(striker-ui): add install steps for web UI
2021-06-04 12:11:50 -04:00
Tsu-ba-me
23b92cc30f
build(striker-ui): ignore npm scripts (including husky config on postinstall)
2021-06-04 12:11:50 -04:00
Tsu-ba-me
f772da5324
build(striker-ui): remove husky related files from tarball
2021-06-04 12:11:49 -04:00
Tsu-ba-me
ce646e086b
build(striker-ui): relocate rule comment to pre-section
2021-06-04 12:11:49 -04:00
Tsu-ba-me
2ccdf6ab23
build(striker-ui): tell make to cd to ./striker-ui before building front-end
2021-06-04 12:11:49 -04:00
Tsu-ba-me
8ff9311268
build(striker-ui): add build step to generate .env.local
2021-06-04 12:11:49 -04:00
Tsu-ba-me
e0c5c3bed2
build(striker-ui): add files to include in tarball for building
2021-06-04 12:11:49 -04:00
Tsu-ba-me
2bfcb09672
build(striker-ui): correct Makefile separators
2021-06-04 12:11:49 -04:00
Tsu-ba-me
fd14a4d9d3
build(cgi-bin): add striker-ui subdir to autotools
2021-06-04 12:11:49 -04:00
Tsu-ba-me
6cdd216b9c
build(cgi-bin): add front-end build process
2021-06-04 12:11:49 -04:00
Josue
9945915f5a
refactor: filter out empty nodes before rendering a component
2021-06-04 12:11:49 -04:00
Josue
6611d9f91b
refactor: remove unnecessary comment
2021-06-04 12:11:49 -04:00
Josue
8e78ed2fea
refactor: sanitize hosts data to avoid using empty nodes
2021-06-04 12:11:49 -04:00
Josue
284d536f7f
style: add dividers between nodes and links
2021-06-04 12:11:49 -04:00
Josue
c31cdeec11
style: remove searchbar and add red bottom border
2021-06-04 12:11:49 -04:00
Josue
341a4ad50a
fix: change data types in fileSystem to avoid crashing during building process
2021-06-04 12:11:49 -04:00
Josue
cbad6a52a0
refactor: rename filesystems datatype
2021-06-04 12:11:49 -04:00
Josue
227685983f
fix: use colour from the palette for the spinner
2021-06-04 12:11:49 -04:00
Josue
029714112b
fix: remove unnecessary comment
2021-06-04 12:11:49 -04:00