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-bot
6710653ac9
Merge pull request #110 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
4 years ago
Digimer
3b1afa0d92
Merge branch 'master' into anvil-tools-dev
4 years ago
Digimer
24ec17f8f7
* Added a new parameter called 'sensitive' to Database->connect() that returns after connections before any ancilliary checks are done, minimizing connect time.
...
* Fixed a problem with Database->insert_or_update_variables() where variable_source_uuid being set to an empty string wasn't converted to NULL.
* Fixed Database->locking() where the way the lock variable was set was rather broken.
* Created Striker->check_httpd_conf() which configured apache to handle the integration of the new WebUI for Anvil! management with the existing WebUI.
* Updated System->update_hosts() to specifically set the 127.0.0.1 and ::1 lines to handle how cloud-init overrides /etc/hosts and breaks CI/CD tests.
* Removed the old index.html as it's now used for the new WebUI.
* Began work on removing DB connection requirements from ocf:alteeve:server.
Signed-off-by: Digimer <digimer@alteeve.ca>
4 years ago
Digimer
2327c8cefd
Merge pull request #108 from Tsu-ba-me/issues/5-get-shared-storage
...
Web UI: add new `get_shared_storage` endpoint; move old to `get_filesystems`
4 years ago
Tsu-ba-me
215a96257b
fix(cgi-bin): reset log level in get_shared_storage
4 years ago
Tsu-ba-me
4fa1cb7f31
fix(cgi-bin): include storage group UUID in response
4 years ago
Tsu-ba-me
4f88b1f536
fix(cgi-bin): ensure sizes in get_shared_storage's response are JSON numbers
4 years ago
Tsu-ba-me
507588cfc3
fix(cgi-bin): add logic to fetch basic info on storage groups
4 years ago
Tsu-ba-me
b1632c2dc3
fix(cgi-bin): make get_shared_storage executable
4 years ago
Tsu-ba-me
22caf55ca0
fix(cgi-bin): accept query param and switch in get_shared_storage
4 years ago
Tsu-ba-me
0008aec694
chore(cgi-bin): add boilerplate to new get_shared_storage
4 years ago
Tsu-ba-me
8789a3b891
chore(cgi-bin): rename existing get_shared_storage->get_filesystems
4 years ago
Digimer
bc0b4b1b62
Merge pull request #107 from Tsu-ba-me/issues/3-patch-endpoints-20210521
...
Web UI: patch endpoints (20210521)
4 years ago
Tsu-ba-me
c1a6b1c998
fix(cgi-bin): reset log level in get_networks
4 years ago
Tsu-ba-me
e1c5036fb4
fix(cgi-bin): add switch support to get_networks
4 years ago
Tsu-ba-me
4fa8073efe
fix(cgi-bin): add short host name to get_status response
4 years ago
Tsu-ba-me
4fe11050e8
fix(cgi-bin): rename nodes->hosts in get_networks
4 years ago
Tsu-ba-me
2223af6d6c
fix(cgi-bin): rename nodes->hosts in get_status
4 years ago
Tsu-ba-me
457db203bd
fix(cgi-bin): rename nodes->hosts in get_memory
4 years ago
Tsu-ba-me
2530d2b30d
fix(cgi-bin): rename nodes->hosts in get_shared_storage
4 years ago
Tsu-ba-me
8245b095fb
fix(cgi-bin): make get_networks executable
4 years ago
Tsu-ba-me
2f2584b185
fix(cgi-bin): use short host name in get_anvils response
4 years ago
Tsu-ba-me
bf055759ee
fix(cgi-bin): compute link state in get_networks
4 years ago
Tsu-ba-me
a8f160af48
fix(cgi-bin): add logic to build get_networks response
4 years ago
Tsu-ba-me
b9f9d07362
fix(cgi-bin): handle get_networks input
4 years ago
Tsu-ba-me
d2f34ea5a9
docs(cgi-bin): revise set_power description
4 years ago
Tsu-ba-me
ffe2a7f59e
feat(cgi-bin): add boilerplate for get_networks
4 years ago
Tsu-ba-me
7058a967ed
fix(cgi-bin): add temporary constant reserved in get_memory response
4 years ago
Tsu-ba-me
10269bf74b
fix(cgi-bin): remove server_host_index from get_servers response
4 years ago
Tsu-ba-me
adbf7b790e
fix(cgi-bin): rename node->host in response of get_anvils
4 years ago
Tsu-ba-me
8d1d49e807
fix(cgi-bin): add missing response info to get_anvils
4 years ago
Tsu-ba-me
c749441e3b
fix(cgi-bin): transform maintenance_mode to JSON booleans in get_status
4 years ago
Tsu-ba-me
e1c3064303
fix(cgi-bin): transform all memory sizes to JSON numbers
4 years ago
Tsu-ba-me
552ed66829
fix(cgi-bin): transform CPU cores and threads to JSON numbers
4 years ago
Tsu-ba-me
78f50e424c
fix(cgi-bin): transform FS total size to int in get_shared_storage
4 years ago
Tsu-ba-me
8bcff7a038
fix(cgi-bin): transform boolean int to JSON boolean in get_shared_storage
4 years ago
Tsu-ba-me
5b7367a579
fix(cgi-bin): add file_systems response property to get_shared_storage
4 years ago
Digimer
f6aad628b3
Merge pull request #100 from Tsu-ba-me/issues/2-set-membership
...
Web UI: make `set_membership` endpoint functional
4 years ago
Tsu-ba-me
028d547d7c
fix(cgi-bin): reset log level in set_membership
4 years ago
Tsu-ba-me
7ffb84f9a3
fix(cgi-bin): set join and leave cluster jobs to run on target host
4 years ago
Tsu-ba-me
52a524564f
fix(cgi-bin): try to use switches when failed to parse request body in get_membership
4 years ago
Tsu-ba-me
7bf604b3e2
fix(cgi-bin): add switch for is_member in set_membership
4 years ago
Tsu-ba-me
50c5098230
fix(cgi-bin): release job dispatching logic in set_membership
4 years ago
Tsu-ba-me
1cc0a9b087
fix(cgi-bin): add switch support to set_membership
4 years ago
Tsu-ba-me
419ec52d2b
fix(cgi-bin): add job title and description to set_membership
4 years ago
Tsu-ba-me
d6c1013976
fix(cgi-bin): add join/leave cluster logic to set_membership
4 years ago
Tsu-ba-me
314e8db757
fix(cgi-bin): get host's cluster membership status in set_membership
4 years ago
Tsu-ba-me
da6e3500a3
fix(cgi-bin): add request body parsing to set_membership
4 years ago
Tsu-ba-me
c7fe5aa1e0
fix(cgi-bin): add boilerplate to set_membership
4 years ago