Bug 636027

Summary: RFE: Lifecycle events: Events for storage pools, interfaces, and node devices
Product: [Community] Virtualization Tools Reporter: Daniel BerrangĂ© <berrange>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, herrold, mzhan, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-06 23:46:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 636028, 641273, 1447962    

Description Daniel Berrangé 2010-09-21 11:19:04 UTC
Description of problem:
To detect the creation & deletion, etc of storage pools, virtual networks, interfaces and node devices, it is necessary to poll on APIs to list them. This is terribly inefficient and contains race conditions. The domain lifecycle event infrastructure should be replicated for all other objects which have a lifecycle process.

Version-Release number of selected component (if applicable):
libvirt-0.8.4

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Cole Robinson 2014-03-27 12:18:55 UTC
Network events are upstream nowadays, should be easy to extend to storage APIs at least.

Comment 3 Cole Robinson 2016-03-20 23:50:47 UTC
FYI this was proposed as a GSOC 2016 project

Comment 4 Cole Robinson 2016-06-07 14:14:33 UTC
*** Bug 1343317 has been marked as a duplicate of this bug. ***

Comment 5 Cole Robinson 2019-02-06 23:46:00 UTC
Lifecycle events for storage and nodedev objects have been upstream since summer 2016. I doubt interfaces will ever happen, their isn't much modern usage of those APIs.