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>
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
Tsu-ba-me
d72d037a01
fix(cgi-bin): correct reserved memory constant to 8GiB
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
Tsu-ba-me
c3ac652043
build(cgi-bin): exclude get_anvil_status endpoint
4 years ago
Tsu-ba-me
0eefcdc06e
build(cgi-bin): include get_networks endpoint
4 years ago
Tsu-ba-me
eb543e7723
build(cgi-bin): remove unused cold_stop endpoint
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
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
Tsu-ba-me
028d547d7c
fix(cgi-bin): reset log level in set_membership
4 years ago