mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 19:56:48 +00:00
The instance list showed every user an alert for each compute that was not connected, with the compute's name and libvirt's error text. That text names the host and how it is reached (for example "ssh: connect to host 10.20.30.132 port 22: No route to host"), while the list hides host names from users who are not administrators. - Superusers and users with the global view_instances permission see each unreachable host and its error, as before. - Other users see one alert without host details, and only when a host of their own VMs is down. It explains why those VMs show as unknown. - The alerts' close button works (data-bs-dismiss was "modal"). Checked against the test setup with an unreachable compute that holds a user's VM: the user sees the VM as unknown and the alert, but no host name, address or error text; a superuser still sees them. The tests for the user fail on the previous code. |
||
|---|---|---|
| .. | ||
| instances | ||
| add_instance_network_block.html | ||
| add_instance_owner_block.html | ||
| add_instance_volume.html | ||
| allinstances.html | ||
| allinstances_index_grouped.html | ||
| allinstances_index_nongrouped.html | ||
| bottom_bar.html | ||
| create_flav_block.html | ||
| create_inst_block.html | ||
| create_instance_w1.html | ||
| create_instance_w2.html | ||
| instance.html | ||
| instance_actions.html | ||