mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[PR #326] [CLOSED] Don't show shutdown VMs on the infrastructure page #621
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/retspen/webvirtmgr/pull/326
Author: @ibuclaw
Created: 6/5/2014
Status: ❌ Closed
Base:
master← Head:showlive📝 Commits (1)
ae2446aDon't show shutdown VMs on the infrastructure page📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
vrtManager/connection.py(+3 -1)📄 Description
Hi,
This likely isn't a proper fix, but just raising this anyway. My setup is that I have 12 blades in an enclosure, and there are two SANs which disk pools are exposed via iSCSI. For the purpose of live migration, VM configuration is kept spread between the 12 hosts, which means on the infrastructure page, it shows multiple copies of the same VM, running on one host, and shutdown on every other host that configuration is found.
This doesn't serve too well when there are an upward of 100 VMs to show, so what I want to be able to do is hide all powered off VMs, showing only running or suspended in this view. This gives me a better summary view of which VMs are running on each host and the spread among them when it comes to provisioning more servers.
This PR shows the quick fix I've done to get this aspect of webvirtmgr much more pleasant. What instead may need to be done is move it to a local_settings parameter, so people can opt-in to this behaviour only if they choose to.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.