Tested successfully on focal wallaby using  2:12.0.0-0ubuntu2~cloud0 . I
created an encrypted volume and attached it to a VM.

cinder type-create LUKS
cinder encryption-type-create --cipher aes-xts-plain64 --key_size 512 
--control_location front-end LUKS nova.volume.encryptors.luks.LuksEncryptor
cinder create --volume-type LUKS --poll --name testvol 1
openstack keypair show guests || openstack keypair create --public-key 
~/.ssh/id_rsa_guests.pub guests
openstack flavor create --id 8 --ram 1024 --disk 8 --vcpus 1 --public m1.ly
openstack server create --image bionic --flavor m1.ly --network private 
--key-name guests --wait test3
openstack floating ip create ext_net
openstack server add floating ip test3 172.20.0.207
openstack server add volume --device /dev/vdb test3 testvol
cinder list
+--------------------------------------+--------+---------+------+-------------+----------+--------------------------------------+
| ID                                   | Status | Name    | Size | Volume Type 
| Bootable | Attached to                          |
+--------------------------------------+--------+---------+------+-------------+----------+--------------------------------------+
| ebf6c7d9-aac4-440e-b29f-c4ddd6a3e544 | in-use | testvol | 1    | LUKS        
| false    | 6c47befa-4b32-4d87-9a03-c23e26ed9255 |
+--------------------------------------+--------+---------+------+-------------+----------+--------------------------------------+

cinder show testvol

+--------------------------------+------------------------------------------+
| Property                       | Value                                    |
+--------------------------------+------------------------------------------+
| attached_servers               | ['6c47befa-4b32-4d87-9a03-c23e26ed9255'] |
| attachment_ids                 | ['c6653494-c23e-4312-a441-f86eba08794f'] |
| availability_zone              | nova                                     |
| bootable                       | false                                    |
| cluster_name                   | None                                     |
| consistencygroup_id            | None                                     |
| created_at                     | 2021-11-01T18:15:41.000000               |
| description                    | None                                     |
| encrypted                      | True                                     |
| encryption_key_id              | dde779f5-ad06-45e8-979c-37dd3cea8505     |
| group_id                       | None                                     |
| id                             | ebf6c7d9-aac4-440e-b29f-c4ddd6a3e544     |
| metadata                       |                                          |
| migration_status               | None                                     |
| multiattach                    | False                                    |
| name                           | testvol                                  |
| os-vol-host-attr:host          | juju-9ce866-zaza-17f25c1dd768-11@LVM#LVM |
| os-vol-mig-status-attr:migstat | None                                     |
| os-vol-mig-status-attr:name_id | None                                     |
| os-vol-tenant-attr:tenant_id   | 9a7dac3a794f42f79bf32707ebbffb5f         |
| provider_id                    | None                                     |
| replication_status             | None                                     |
| service_uuid                   | 86a123a1-3845-4099-8b37-52cec2a787de     |
| shared_targets                 | False                                    |
| size                           | 1                                        |
| snapshot_id                    | None                                     |
| source_volid                   | None                                     |
| status                         | in-use                                   |
| updated_at                     | 2021-11-01T18:33:38.000000               |
| user_id                        | 6f0383a710674745aaffbf083c101f52         |
| volume_type                    | LUKS                                     |
| volume_type_id                 | 25408c30-0ffc-4584-99cd-dc834962bab7     |
+--------------------------------+------------------------------------------+


** Tags removed: verification-wallaby-needed
** Tags added: verification-wallaby-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946787

Title:
  [SRU] Fix inconsistent encoding secret encoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1946787/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to