Description of problem: Creating a multi-attach volume results in the volume going into error state when using a CEPH cluster. Version-Release number of selected component (if applicable): [root@controller-0 heat-admin]# podman exec -it keystone sh -c "rpm -qa | grep openstack-keystone" openstack-keystone-16.0.1-0.20191030053432.d5f9c68.el8ost.noarch [root@controller-0 cinder]# podman exec -it cinder_api sh -c "rpm -qa | grep cinder" python3-cinder-15.0.1-0.20191128040416.ef025a7.el8ost.noarch openstack-cinder-15.0.1-0.20191128040416.ef025a7.el8ost.noarch puppet-cinder-15.4.1-0.20191028225029.f4aa29e.el8ost.noarch python3-cinderclient-5.0.0-0.20191025161022.a63d4d6.el8ost.noarch [root@controller-0 cinder]# podman exec -it cinder_api sh -c "rpm -qa | grep rbd" python3-rbd-14.2.4-74.el8cp.x86_64 librbd1-14.2.4-74.el8cp.x86_64 How reproducible: Always Steps to Reproduce: 1. Create a multi-attach volume type (overcloud) [stack@undercloud-0 ~]$ cinder type-create multiattach +--------------------------------------+-------------+-------------+-----------+ | ID | Name | Description | Is_Public | +--------------------------------------+-------------+-------------+-----------+ | 82b6dc43-2c40-4c15-a256-a43c9da1b993 | multiattach | - | True | +--------------------------------------+-------------+-------------+-----------+ (overcloud) [stack@undercloud-0 ~]$ cinder type-key multiattach set multiattach="<is> True" 2. Create a volume (overcloud) [stack@undercloud-0 ~]$ openstack volume create --size 1 --type multiattach vol1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2019-12-10T13:56:10.000000 | | description | None | | encrypted | False | | id | 60b18ad7-d128-4b2f-978a-f919dfb37d90 | | migration_status | None | | multiattach | True | | name | vol1 | | properties | | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | type | multiattach | | updated_at | None | | user_id | 8e043c5f219246d58aa97ff15c338307 | +---------------------+--------------------------------------+ 3. Check volume status (overcloud) [stack@undercloud-0 ~]$ openstack volume list +--------------------------------------+------+--------+------+-------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+------+--------+------+-------------+ | 60b18ad7-d128-4b2f-978a-f919dfb37d90 | vol1 | error | 1 | | +--------------------------------------+------+--------+------+-------------+ Actual results: Volume is in error status and reports Error in logs: cinder-volume.log:2019-12-10 14:04:58.903 57564 ERROR cinder.volume.drivers.rbd [req-b9a58902-c2dd-437e-8da5-748e9224e159 8e043c5f219246d58aa97ff15c338307 e5f7cc5495e745fd95a91f857ec4c674 - default default] Error creating rbd image volume-b216536c-b246-4b71-802d-b139fa3b2991.: rbd.InvalidArgument: [errno 22] error updating features for image b'volume-b216536c-b246-4b71-802d-b139fa3b2991' Expected results: Volume is created and transitions to available Additional info:
*** This bug has been marked as a duplicate of bug 1772557 ***