Comment 6 for bug 2004173

Revision history for this message
Liam Young (gnuoy) wrote : Re: CIS hardening breaks luks volumes created from images

$ openstack volume create --type LuksEncryptor-Template-256 test-vol-cirros --size 5 --image cirros
...
$ openstack volume list
+--------------------------------------+-----------------+--------+------+-------------+
| ID | Name | Status | Size | Attached to |
+--------------------------------------+-----------------+--------+------+-------------+
| 73533d86-7d1d-4eee-ac15-c7d00749559d | test-vol-cirros | error | 5 | |
+--------------------------------------+-----------------+--------+------+-------------+
$ openstack volume delete test-vol-cirros
$ juju run --application cinder "chmod g+s /var/lib/cinder/conversion"

$ openstack volume create --type LuksEncryptor-Template-256 test-vol-cirros --size 5 --image cirros
...
$ openstack volume list
+--------------------------------------+-----------------+-----------+------+-------------+
| ID | Name | Status | Size | Attached to |
+--------------------------------------+-----------------+-----------+------+-------------+
| fa5b5f20-5381-462c-9e27-38378dc117a1 | test-vol-cirros | available | 5 | |
+--------------------------------------+-----------------+-----------+------+-------------+