Tsu-ba-me
d45c0374fc
fix(striker-ui): populate gateway and DNS in NetworkInitForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
126b9b33e3
chore(striker-ui): identify missing handler for netmask error
2023-02-14 22:42:50 -05:00
Tsu-ba-me
9ba920867c
fix(striker-ui): make migration network appear
2023-02-14 22:42:50 -05:00
Tsu-ba-me
fbd3ca1cf1
fix(striker-ui): relocate add button in NetworkInitForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
a53056ff12
fix(striker-ui): add /manage-element page
2023-02-14 22:42:50 -05:00
Tsu-ba-me
67a14b20f8
fix(striker-ui): allow set host externally in PrepareNetworkForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
1248a5e14e
fix(striker-ui): add getQueryParam()
2023-02-14 22:42:50 -05:00
Tsu-ba-me
271b33eaf7
fix(striker-ui-api): filter /host with host type(s)
2023-02-14 22:42:50 -05:00
Tsu-ba-me
11aa7f548f
fix(striker-ui): adjust Tab* style
2023-02-14 22:42:50 -05:00
Tsu-ba-me
1432e4969e
fix(striker-ui): add custom tab-related components
2023-02-14 22:42:50 -05:00
Tsu-ba-me
823bb7110f
fix(striker-ui): allow BodyText to inherit colour
2023-02-14 22:42:50 -05:00
Tsu-ba-me
4c057a30f7
fix(striker-ui): distinct server preview loading and power off
2023-02-14 22:42:50 -05:00
Tsu-ba-me
188b08f87b
fix(striker-ui): align poweroff icon in server preview
2023-02-14 22:42:50 -05:00
Tsu-ba-me
fae3bbf236
fix(striker-ui): don't fetch if fatal error in PrepareNetworkForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
9067dc87d4
fix(striker-ui): pass hostDetail to NetworkForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
b756b2ac74
fix(striker-ui): don't show network link 2 when not enough NICs
2023-02-14 22:42:50 -05:00
Tsu-ba-me
73d04b7078
fix(striker-ui): add storage network for nodes in NetworkInitForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
03a251f44d
fix(striker-ui): add buildObjectStateSetterCallback
2023-02-14 22:42:50 -05:00
Tsu-ba-me
43f4d89271
fix(striker-ui): revise data passing to NetworkInitForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
58c9e05a9b
fix(striker-ui-api): add hostType to /host/:hostUUID
2023-02-14 22:42:50 -05:00
Tsu-ba-me
6f8a3f93c7
fix(striker-ui): populate partial fields in PrepareNetworkForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
e02ffcd95a
fix(striker-ui): get host-specific NICs in NetworkInitForm
2023-02-14 22:42:50 -05:00
Tsu-ba-me
32c32350bd
fix(striker-ui-api): get NICs on specified host
2023-02-14 22:42:50 -05:00
Tsu-ba-me
f4c171b44f
fix(striker-ui): record 'using NextRouter query params in API request'
2023-02-14 22:42:50 -05:00
digimer
645f54ab89
This commit has more changes than I would normally like, but it's all linked to changing file uploads to rsync serially.
...
* To update file handling for the new DR host linking mechanism, file_locations -> file_location_anvil_uuid was changed to file_location_host_uuid.
This required a fair number of changes elsewhere to handle this, with a particular noted change to Database->get_anvils() to look at host_uuid's for the subnodes in an Anvil! and, if either is marked as needing a file, make sure the peer is as well. Similarly, any linked DRs are set to have the file as well.
* Created a new Network->find_access that simply takes a target host name or UUID, and it returns a list of networks and IPs that the target can be accessed by.
* Updated Network->load_ips() to find the network interface being used for traffic so that things like the interface speed can be recorded, even when an IP is on a bridge or bond.
Unrelated, but in this commit, is a restoration of calling scan agents with a timeout now that the virsh hang issue has been resolved.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-02-14 02:29:40 -05:00
digimer
7710d9d109
* Created the new anvil-manage-server-storage tool which will specifically handle managing a server's disks.
...
* Created DRBD->parse_resource() to pass a specific DRBD resource's XML data.
* Fixed a bug in Get->available_resources() so that if the threads is lower than CPU cores, the cores are used as the total available to VMs.
* Fixed bugs in Get->server_from_switch() where it just wasn't working properly.
* Updated scan_drbd to not reset a resource's size to 0-bytes when a resource goes offline.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-02-03 22:05:34 -05:00
Fabio M. Di Nitto
adff98104c
Merge pull request #304 from ylei-tsubame/fix-get-server-ss
...
Web UI: stop accumulating blocked server screenshot data writes
2023-02-03 07:20:43 +01:00
Tsu-ba-me
18ad881ff8
build(striker-ui-api): rebuild UI API
2023-02-02 23:24:51 -05:00
Tsu-ba-me
58d09cb08c
fix(tools): make server screenshot write to named pipe non-blocking
2023-02-02 23:18:26 -05:00
Tsu-ba-me
950a98558f
fix(striker-ui-api): improve receive server screenshot from named pipe
2023-02-02 19:25:40 -05:00
Tsu-ba-me
eb561d6d39
fix(tools): always send to pipe when given request host
2023-02-02 19:21:56 -05:00
Tsu-ba-me
3802c72912
fix(tools): check server state before getting screenshot
2023-02-02 18:25:33 -05:00
Tsu-ba-me
a9cc123300
fix(tools): exit at end of anvil-get-server-screenshot
2023-02-02 17:11:56 -05:00
digimer
9751c883cb
* Updated Cluster->assemble_storage_groups() to remove refrences to anvil_dr1_host_uuid. Also added the logic for auto-adding DR host's VGs to a storage group. Commented it out though as, for now, this might be a bad idea. Needs more thought.
...
* Fixed a bug in Database->get_storage_group_data() to load hosts data when needed. Also fixed a bug where new members didn't return the new storage_group_member_uuid.
* Updated anvil-manage-host to use the new switch handler.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-02-01 23:19:38 -05:00
digimer
7773e5f9b8
* Updated logging in DRBD->get_devices().
...
* Added a check and exit if anvil-manage-dr is asked to protect a server on a machine that doesn't know about that server.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-30 11:30:36 -05:00
Fabio M. Di Nitto
dce4aa58c1
Merge pull request #301 from ClusterLabs/fix-rpm
...
Partially revert e9f390b65b
2023-01-23 10:36:41 +01:00
Fabio M. Di Nitto
077355aeca
Partially revert e9f390b65b
...
Remove call to anvil-version-change from rpm %post as it´s
a DB corruptor trigger
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-01-23 06:49:03 +01:00
Fabio M. Di Nitto
b60c89c6bc
Merge pull request #300 from ClusterLabs/anvil-tools-dev
...
* Added a check to ensure a storage group actually exists before tryi…
2023-01-23 06:47:52 +01:00
Digimer
8168b30fbe
Merge branch 'main' into anvil-tools-dev
2023-01-22 11:12:53 -05:00
digimer
56cf100b09
* Added a check to ensure a storage group actually exists before trying to present it to the user. This should resolve issue #299 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-22 11:08:55 -05:00
Digimer
f776cfb76c
Merge pull request #287 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/json5-1.0.2
...
build(deps): bump json5 from 1.0.1 to 1.0.2 in /striker-ui
2023-01-21 17:13:19 -05:00
Digimer
f40e27e4aa
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/json5-1.0.2
2023-01-21 12:32:09 -05:00
Digimer
26a69653f9
Merge pull request #289 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2023-01-21 12:30:55 -05:00
digimer
695b274d78
* Fixed a bug in anvil-provision-server wasn't loading the available OS list when provisioning servers. The should resolve issue #296 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 23:47:04 -05:00
digimer
d88fde7733
Updated DRBD->delete_resource() to use '--force' instead of 'echo Yes' (which no longer works).
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 23:16:30 -05:00
digimer
053e5312e1
* Fixed a bug in anvil-manage-dr where protect jobs with multiple potential targets wouldn't know which to use during job runs.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 22:51:21 -05:00
digimer
e9f390b65b
* Udated RPM spec to add new core requires and add calling 'anvil-version-changes' to core's %post.
...
* Added missing man pages and the new anvil-manage-storage-groups to the Makefile.am's.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 22:24:24 -05:00
digimer
e012d6016c
Tha major point of this commit is to add the new 'anvil-manage-storage-groups' program that, well, manages storage groups.
...
* Updated the storage_group_members table to add the 'storage_group_member_note' that can be set to 'DELETED' to track when a member is deleted. Updated anvil-version-changes to check for and add this column as needed. Updated the anvil.sql schema for the same.
* Updated Cluster->insert_or_update_storage_group_members to add the new column.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 22:10:15 -05:00
digimer
355e5c2c0a
* More work done on anvil-manage-dr. It now properly validated a dr host.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-20 00:11:35 -05:00
digimer
f8743a7435
* Further work on anvil-manage-dr. Now properly sanity checks that a valid server is passed.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-01-19 22:14:17 -05:00