[PR #326] [CLOSED] Don't show shutdown VMs on the infrastructure page #621

Closed
opened 2026-02-27 16:39:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtmgr/pull/326
Author: @ibuclaw
Created: 6/5/2014
Status: Closed

Base: masterHead: showlive


📝 Commits (1)

  • ae2446a Don'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.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtmgr/pull/326 **Author:** [@ibuclaw](https://github.com/ibuclaw) **Created:** 6/5/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `showlive` --- ### 📝 Commits (1) - [`ae2446a`](https://github.com/retspen/webvirtmgr/commit/ae2446ae9319e8dc5532b9b7d68a143e03415f36) Don't show shutdown VMs on the infrastructure page ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `vrtManager/connection.py` (+3 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:39:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#621
No description provided.