John Ferlan 0d157b3fed disk: Fixup error handling path for devmapper when part_separator='yes'
https://bugzilla.redhat.com/show_bug.cgi?id=1346566

If libvirt_parthelper is erroneously told to append the partition
separator 'p' onto the generated output for a disk pool using device
mapper that has 'user_friendly_names' set to true, then the error
recovery path will fail to find volume resulting in the pool being
in an unusable state.

So, augment the documentation to provide the better hint that the
part_separator='yes' should be set when user_friendly_names are not
being used. Additionally, once we're in the error path where the
returned name doesn't match the expected partition name try to see
if the reason is because the 'p' was erroneosly added. If so alter
the about to be removed vol->target.path so that the DiskDeleteVol
code can find the partition that was created and remove it.
2017-01-18 06:17:36 -05:00
..
2016-11-21 13:15:12 +01:00
2016-12-02 09:25:13 +01:00
2016-11-11 12:15:03 +00:00
2014-12-02 07:30:10 +01:00
2015-08-25 07:21:33 -04:00
2015-03-23 09:01:30 +01:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2016-08-02 14:20:31 +02:00
2014-12-02 07:30:10 +01:00
2016-11-11 09:31:10 +00:00
2017-01-10 19:37:53 +01:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2016-11-22 14:05:24 +01:00
2017-01-10 19:37:53 +01:00
2017-01-10 19:37:53 +01:00
2017-01-18 11:57:54 +01:00
2017-01-04 15:10:06 +01:00
2016-11-11 12:15:03 +00:00
2014-12-02 07:30:10 +01:00