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>
4 years ago
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>
4 years ago
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>
4 years ago
Digimer
c1027d2a43
Merge pull request #112 from Tsu-ba-me/issues/8-correct-reserved-memory
...
Web UI: correct reserved memory constant
4 years ago
Tsu-ba-me
d72d037a01
fix(cgi-bin): correct reserved memory constant to 8GiB
4 years ago
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
4 years ago
Tsu-ba-me
5a22512665
fix(cgi-bin): add login cookie guard to set_power
4 years ago
Tsu-ba-me
4fd9374722
fix(cgi-bin): add login cookie guard to set_membership
4 years ago
Tsu-ba-me
097900a2e9
fix(cgi-bin): add login cookie guard to get_status
4 years ago
Tsu-ba-me
0eb9c9ff82
fix(cgi-bin): add login cookie guard to get_shared_storage
4 years ago
Tsu-ba-me
60f57c5d35
fix(cgi-bin): add login cookie guard to get_servers
4 years ago
Tsu-ba-me
4b1905b2f5
fix(cgi-bin): add login cookie guard to get_replicated_storage
4 years ago
Tsu-ba-me
9c79d0d07b
fix(cgi-bin): add login cookie guard to get_networks
4 years ago
Tsu-ba-me
103fd121e6
fix(cgi-bin): add login cookie guard to get_memory
4 years ago
Tsu-ba-me
97cbe279fc
fix(cgi-bin): add login cookie guard to get_cpu
4 years ago
Tsu-ba-me
9fda3af2ce
fix(cgi-bin): move error string key to 0307
4 years ago
Tsu-ba-me
4a3c364724
fix(cgi-bin): check login cookie in get_anvils
4 years ago
Digimer
57bf83f32d
Merge pull request #109 from Tsu-ba-me/issues/4-web-ui-rpm
...
Add new web UI and its build resources
4 years ago
Tsu-ba-me
3765877b93
build(striker-ui): experiment; use npm >= 6 (from default nodejs stream) as build requirement
4 years ago
Tsu-ba-me
87ad87e60d
build(striker-ui): include dot/hidden entries in clean-up
4 years ago
Tsu-ba-me
9abb468d79
build(striker-ui): include pwd when unlocking files for building web UI
4 years ago
Tsu-ba-me
335cd5d4c7
build(striker-ui): change clean-local target to rm accordingly (depends on pwd)
4 years ago
Tsu-ba-me
4c215e404d
build(striker-ui): don't copy make-related files and add distclean-local target
4 years ago
Tsu-ba-me
7c1598575b
build(striker-ui): copy files from srcdir for building
4 years ago
Tsu-ba-me
73d4a32d01
build(striker-ui): npm ci->install and don't generate package-lock
4 years ago
Tsu-ba-me
c571a3efda
build(striker-ui): rename target build->out to match build output directory name
4 years ago
Tsu-ba-me
0c2952a1c7
build(striker-ui): remove debug pwd calls in Makefile.am
4 years ago
Tsu-ba-me
79fa324f9d
build(striker-ui): remove excess call in specfile to build web UI
4 years ago
Tsu-ba-me
b46042aede
build(striker-ui): add uninstall steps for web UI
4 years ago
Tsu-ba-me
88590e3e17
build(striker-ui): add install steps for web UI
4 years ago
Tsu-ba-me
23b92cc30f
build(striker-ui): ignore npm scripts (including husky config on postinstall)
4 years ago
Tsu-ba-me
f772da5324
build(striker-ui): remove husky related files from tarball
4 years ago
Tsu-ba-me
ce646e086b
build(striker-ui): relocate rule comment to pre-section
4 years ago
Tsu-ba-me
2ccdf6ab23
build(striker-ui): tell make to cd to ./striker-ui before building front-end
4 years ago
Tsu-ba-me
8ff9311268
build(striker-ui): add build step to generate .env.local
4 years ago
Tsu-ba-me
e0c5c3bed2
build(striker-ui): add files to include in tarball for building
4 years ago
Tsu-ba-me
2bfcb09672
build(striker-ui): correct Makefile separators
4 years ago
Tsu-ba-me
fd14a4d9d3
build(cgi-bin): add striker-ui subdir to autotools
4 years ago
Tsu-ba-me
6cdd216b9c
build(cgi-bin): add front-end build process
4 years ago
Josue
9945915f5a
refactor: filter out empty nodes before rendering a component
4 years ago
Josue
6611d9f91b
refactor: remove unnecessary comment
4 years ago
Josue
8e78ed2fea
refactor: sanitize hosts data to avoid using empty nodes
4 years ago
Josue
284d536f7f
style: add dividers between nodes and links
4 years ago
Josue
c31cdeec11
style: remove searchbar and add red bottom border
4 years ago
Josue
341a4ad50a
fix: change data types in fileSystem to avoid crashing during building process
4 years ago
Josue
cbad6a52a0
refactor: rename filesystems datatype
4 years ago
Josue
227685983f
fix: use colour from the palette for the spinner
4 years ago
Josue
029714112b
fix: remove unnecessary comment
4 years ago
Josue
440b5c81ef
refactor: use online instead of is_removable
4 years ago
Josue
4f88f0113b
refactor: turn drawer icons and header icons into buttons and add URIs
4 years ago