Was able to verify the fix for this bug today. Installed cinder from the trusty-proposed pocket and ran the following tests to confirm:
# Test one, ensure default option remains to write-cache on
1. create volume
2. attach iscsi volume to instance
3. Verify generated xml in /var/lib/cinder/volumes/<volume-id> is generated with write-cache on.
# Change the iscsi-write-cache to off and restart cinder volumes
1. Set iscsi_write_cache = off in /etc/cinder/cinder.conf
2. Create lvm volume
3. Attach via iscsi to instance
4. Verify generated xml in /var/lib/cinder/volumes/<volume-id> is generated with write-cache off
Was able to verify the fix for this bug today. Installed cinder from the trusty-proposed pocket and ran the following tests to confirm:
# Test one, ensure default option remains to write-cache on cinder/ volumes/ <volume- id> is generated with write-cache on.
1. create volume
2. attach iscsi volume to instance
3. Verify generated xml in /var/lib/
# Change the iscsi-write-cache to off and restart cinder volumes cinder. conf cinder/ volumes/ <volume- id> is generated with write-cache off
1. Set iscsi_write_cache = off in /etc/cinder/
2. Create lvm volume
3. Attach via iscsi to instance
4. Verify generated xml in /var/lib/