RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1032045 - [RFE] libvirt enhanced notifications (diskspace on hdd with VM image)
Summary: [RFE] libvirt enhanced notifications (diskspace on hdd with VM image)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: virt-mgr-maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1073766
TreeView+ depends on / blocked
 
Reported: 2013-11-19 12:57 UTC by Frantisek Reznicek
Modified: 2015-11-16 01:15 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1073766 (view as bug list)
Environment:
Last Closed: 2013-12-18 18:49:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Frantisek Reznicek 2013-11-19 12:57:07 UTC
Description of problem:

[RFE] libvirt enhanced notifications (diskspace on hdd with VM image)

I recently ran into situation when libvirt was stopping one VM for unknown reason. There was no message neither in /var/log/messages nor in libvirt log file.

It was finally caused by fact that the VM I was starting had sparse file image and there was no diskspace, so qemu-kvm was not able to write data into VM image.

I believe it is needed to inform customer why VM was internally stopped (not by user) or more generally, it would be great to have improved virtualization notifications about similar events, both in libvirt and also in virt-manager.

Version-Release number of selected component (if applicable):
N/A (libvirt-0.10.2-18.el6_4.15.x86_64 libvirt-0.10.2-29.el6.x86_64)

How reproducible:
N/A (100%)

Steps to Reproduce:
N/A
Actual results:
Missing notifications in some situations.

Expected results:
Notifications in place.

Additional info:

Comment 2 Jiri Denemark 2013-11-19 13:39:07 UTC
What do you mean "for unknown reason"? Did you try "virsh domstate --reason VM"? Libvirt should tell you why the domain was paused and it also sends an event to registered clients when this happens. Thus, I guess the only part you are missing is support for state reasons and events in virt-manager, right?

Comment 3 Frantisek Reznicek 2013-11-19 13:58:43 UTC
Thanks for pointing me to `virsh domstate --reason` command

  [root@mx ima]# virsh domstate --reason r6x2
  paused (I/O error)

which clearly points to disk / image problem. Command-line users are able to see the reason.

The outstanding item is to add those notifications into virt-manager.

Thanks for quick reply.


Note You need to log in before you can comment on or make changes to this bug.