Tsu-ba-me
81cb1a10f9
build(striker-ui): include minimal build output files into repo
3 years ago
Tsu-ba-me
a4d0bcee5f
build(striker-ui): add maintainer-clean-local to remove node modules
3 years ago
Tsu-ba-me
9fc2facf35
build(striker-ui): add default API URL in .env
3 years ago
Tsu-ba-me
d0048ae235
build(striker-ui): remove web UI build steps from 'make all'
3 years ago
Tsu-ba-me
0d143df8a8
build(striker-ui): only include build output in make dist
3 years ago
Fabio M. Di Nitto
adc921bf44
Merge pull request #117 from Tsu-ba-me/issues/116-resolve-vulnerabilities
...
Resolve potential vulnerabilities in `postcss` and `browserslist` node modules
3 years ago
Josue
f2ef6123b4
chore: include package-lock latest changes
3 years ago
Josue
ffc315e2dc
chore: commit husky changes to .gitignore file
3 years ago
Josue
b879377800
chore: upgrade nextjs and fix moderate vulnerabilities
3 years ago
digimer-bot
63fc8aa23f
Merge pull request #122 from ClusterLabs/anvil-tools-dev
...
* Added more logging while chasing a function test bug.
3 years ago
Digimer
601adbd6d5
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
19c41c9171
* Added more logging while chasing a function test bug.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
1c545bda8d
Merge pull request #121 from ClusterLabs/anvil-tools-dev
...
* This commit lowers the logging levels of some debug log entries. It…
3 years ago
Digimer
0f43961568
* This commit lowers the logging levels of some debug log entries. It's to help diagnose occassional function test failures with an unknown source.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
2cace641fd
Merge pull request #119 from ClusterLabs/anvil-tools-dev
...
* This contains a fairly major change to how time stamps are handled.…
3 years ago
Digimer
fbef6be298
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
daca6c887b
* This contains a fairly major change to how time stamps are handled. All INSERT and UPDATE calls now generate a new timestamp via Database->refresh_timestamp, instead of using 'sys::database::timestamp'. This was done in responce to finding a bug where tables in a database differed in both counts of public and private schemas (ip_addresses table, specifically) that failed to resync because the timestamps were re-used too often.
...
* WIP - Continuing work on the new anvil-manage-server tool.
* Updated Database->get_anvils() to load information on the files available on each Anvil! system.
* Updated Database->insert_or_update_network_interfaces() to no longer take the 'timestamp' parameter.
* Removed all logging from Database->refresh_timestamp() to speed it up, given how often it will be called now.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
cb1aea53e7
Merge pull request #115 from ClusterLabs/build-fix
...
Add workaround for rsync usage
3 years ago
Fabio M. Di Nitto
fd2351a189
Add workaround for rsync usage
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
3 years ago
digimer-bot
4ad6047cbd
Merge pull request #114 from ClusterLabs/anvil-tools-dev
...
* Reworked the anvil-join-anvil job parsing to help diagnose occassio…
3 years ago
Digimer
5b4bfa747c
* Reworked the anvil-join-anvil job parsing to help diagnose occassional faults. Also changed a fatal parse error to one that allows the run to be retried.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
0aac9ead8c
Merge pull request #113 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
930b0b6729
Merge branch 'master' into anvil-tools-dev
3 years ago
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>
3 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>
3 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>
3 years ago
Digimer
c1027d2a43
Merge pull request #112 from Tsu-ba-me/issues/8-correct-reserved-memory
...
Web UI: correct reserved memory constant
3 years ago
Tsu-ba-me
d72d037a01
fix(cgi-bin): correct reserved memory constant to 8GiB
3 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
3 years ago
Tsu-ba-me
5a22512665
fix(cgi-bin): add login cookie guard to set_power
3 years ago
Tsu-ba-me
4fd9374722
fix(cgi-bin): add login cookie guard to set_membership
3 years ago
Tsu-ba-me
097900a2e9
fix(cgi-bin): add login cookie guard to get_status
3 years ago
Tsu-ba-me
0eb9c9ff82
fix(cgi-bin): add login cookie guard to get_shared_storage
3 years ago
Tsu-ba-me
60f57c5d35
fix(cgi-bin): add login cookie guard to get_servers
3 years ago
Tsu-ba-me
4b1905b2f5
fix(cgi-bin): add login cookie guard to get_replicated_storage
3 years ago
Tsu-ba-me
9c79d0d07b
fix(cgi-bin): add login cookie guard to get_networks
3 years ago
Tsu-ba-me
103fd121e6
fix(cgi-bin): add login cookie guard to get_memory
3 years ago
Tsu-ba-me
97cbe279fc
fix(cgi-bin): add login cookie guard to get_cpu
3 years ago
Tsu-ba-me
9fda3af2ce
fix(cgi-bin): move error string key to 0307
3 years ago
Tsu-ba-me
4a3c364724
fix(cgi-bin): check login cookie in get_anvils
3 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
3 years ago
Tsu-ba-me
3765877b93
build(striker-ui): experiment; use npm >= 6 (from default nodejs stream) as build requirement
3 years ago
Tsu-ba-me
87ad87e60d
build(striker-ui): include dot/hidden entries in clean-up
3 years ago
Tsu-ba-me
9abb468d79
build(striker-ui): include pwd when unlocking files for building web UI
3 years ago
Tsu-ba-me
335cd5d4c7
build(striker-ui): change clean-local target to rm accordingly (depends on pwd)
3 years ago
Tsu-ba-me
4c215e404d
build(striker-ui): don't copy make-related files and add distclean-local target
3 years ago
Tsu-ba-me
7c1598575b
build(striker-ui): copy files from srcdir for building
3 years ago
Tsu-ba-me
73d4a32d01
build(striker-ui): npm ci->install and don't generate package-lock
3 years ago
Tsu-ba-me
c571a3efda
build(striker-ui): rename target build->out to match build output directory name
3 years ago
Tsu-ba-me
0c2952a1c7
build(striker-ui): remove debug pwd calls in Makefile.am
3 years ago