Tsu-ba-me
16e6fdfdd0
build(striker-ui): break down build process to enable proper cleaning
2021-06-09 12:23:16 -04:00
Tsu-ba-me
281e9f850d
build(striker-ui): change status message before 'npm run build'
2021-06-09 12:23:16 -04:00
Tsu-ba-me
79d1622f93
chore: rebuild web UI
2021-06-09 12:23:16 -04:00
Tsu-ba-me
81cb1a10f9
build(striker-ui): include minimal build output files into repo
2021-06-09 12:23:16 -04:00
Tsu-ba-me
a4d0bcee5f
build(striker-ui): add maintainer-clean-local to remove node modules
2021-06-09 12:23:16 -04:00
Tsu-ba-me
9fc2facf35
build(striker-ui): add default API URL in .env
2021-06-09 12:23:16 -04:00
Tsu-ba-me
d0048ae235
build(striker-ui): remove web UI build steps from 'make all'
2021-06-09 12:23:16 -04:00
Tsu-ba-me
0d143df8a8
build(striker-ui): only include build output in make dist
2021-06-09 12:23:16 -04:00
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
2021-06-09 17:13:11 +02:00
Josue
f2ef6123b4
chore: include package-lock latest changes
2021-06-09 10:33:46 -04:00
Josue
ffc315e2dc
chore: commit husky changes to .gitignore file
2021-06-09 10:33:46 -04:00
Josue
b879377800
chore: upgrade nextjs and fix moderate vulnerabilities
2021-06-09 10:33:46 -04:00
digimer-bot
63fc8aa23f
Merge pull request #122 from ClusterLabs/anvil-tools-dev
...
* Added more logging while chasing a function test bug.
2021-06-09 00:36:25 -04:00
Digimer
601adbd6d5
Merge branch 'master' into anvil-tools-dev
2021-06-08 23:57:33 -04:00
Digimer
19c41c9171
* Added more logging while chasing a function test bug.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-08 23:56:48 -04:00
digimer-bot
1c545bda8d
Merge pull request #121 from ClusterLabs/anvil-tools-dev
...
* This commit lowers the logging levels of some debug log entries. It…
2021-06-08 22:04:26 -04:00
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>
2021-06-08 21:57:51 -04:00
digimer-bot
2cace641fd
Merge pull request #119 from ClusterLabs/anvil-tools-dev
...
* This contains a fairly major change to how time stamps are handled.…
2021-06-08 16:01:59 -04:00
Digimer
fbef6be298
Merge branch 'master' into anvil-tools-dev
2021-06-08 15:29:02 -04:00
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>
2021-06-08 15:23:15 -04:00
Digimer
cb1aea53e7
Merge pull request #115 from ClusterLabs/build-fix
...
Add workaround for rsync usage
2021-06-07 15:52:39 -04:00
Fabio M. Di Nitto
fd2351a189
Add workaround for rsync usage
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2021-06-07 17:04:03 +02:00
digimer-bot
4ad6047cbd
Merge pull request #114 from ClusterLabs/anvil-tools-dev
...
* Reworked the anvil-join-anvil job parsing to help diagnose occassio…
2021-06-06 02:04:49 -04:00
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>
2021-06-06 01:54:28 -04:00
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