deb-python-os-brick/os_brick/local_dev
Thomas Bechtold 925f435cb9 Revert "Don't use ignoreskipactivation for thin LVM"
Commit b82ab0d1a0 wrongly assumed that
the "ignoreskipactivation" flag is not needed when using thin LVM
provisioning. This is wrong.
Using thin LVM leads now to an error when the content will be copied:

ERROR cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/
      rootwrap.conf dd if=/dev/mapper/cinder--volumes-_snapshot--UUID
      of=/dev/mapper/cinder--volumes-volume--UUID
      count=1073741824 bs=1M iflag=count_bytes conv=sparse

The reason is that the the snapshot is not activated and due to that,
no device node is available under /dev/mapper .

This reverts commit b82ab0d1a0 and makes
thin provisioning for LVM working again.

Change-Id: I062fd7d7120081c79c714d8177104cdd95522d2d
Depends-On: I788b297af92e11063b18c05a415b6f4d4d4bcd2c
Closes-Bug: #1702322
Related-Bug: #1701545
2017-07-05 13:16:38 +00:00
..
__init__.py os-brick add cinder local_dev lvm code 2016-01-12 08:17:31 -08:00
lvm.py Revert "Don't use ignoreskipactivation for thin LVM" 2017-07-05 13:16:38 +00:00