[libvirt] [PATCH 5/5] storage: Add helper to compare logical pool def against pvs output

Ján Tomko jtomko at redhat.com
Wed Dec 16 12:02:12 UTC 2015


On Mon, Dec 07, 2015 at 03:47:58PM -0500, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1025230
> 
> Add a new helper virStorageBackendLogicalMatchPoolSource to compare the
> pool's source name against the output from a 'pvs' command to list all
> volume group physical volume data on the host.  In addition, compare the
> pool's source device list against the particular volume group's device
> list to ensure the source device(s) listed for the pool match what the
> was listed for the volume group.
>
> Then for pool startup or check API's we need to call this new API in
> order to ensure that the pool we're about to start or declare active
> during checkPool has a valid definition vs. the running host.
> 

This patch breaks starting of logical pools with no source devices.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151216/313c2635/attachment-0001.sig>


More information about the libvir-list mailing list