Both of the tests:
TestEncryptedCinderVolumes:test_encrypted_cinder_volumes_luks
TestVolumeBootPattern:test_boot_server_from_encrypted_volume_luks
Call create_volume_type(name="luks").
If run at the same time, these can conflict as seen here:
2019-01-16 13:39:37.907 10862 DEBUG tempest.scenario.manager [-] Creating a volume type: luks on backend None create_volume_type tempest/scenario/manager.py:313
2019-01-16 13:39:38.025 10862 INFO tempest.lib.common.rest_client [req-0c7764a1-9200-4694-9d56-600ae7a5d737 ] Request (TestEncryptedCinderVolumes:test_encrypted_cinder_volumes_luks): 200 POST http://149.202.182.79/volume/v3/77281c53bb8444fd9c505c050b597d8e/types 0.115s
2019-01-16 13:39:38.025 10862 DEBUG tempest.lib.common.rest_client [req-0c7764a1-9200-4694-9d56-600ae7a5d737 ] Request - Headers: {'Content-Type': 'application/json', 'X-Auth-Token': '<omitted>', 'Accept': 'application/json'}
Body: {"volume_type": {"name": "luks", "extra_specs": {}}}
Response - Headers: {u'vary': 'OpenStack-API-Version', u'server': 'Apache/2.4.18 (Ubuntu)', u'x-compute-request-id': 'req-0c7764a1-9200-4694-9d56-600ae7a5d737', 'content-location': 'http://149.202.182.79/volume/v3/77281c53bb8444fd9c505c050b597d8e/types', 'status': '200', u'content-length': '179', u'x-openstack-request-id': 'req-0c7764a1-9200-4694-9d56-600ae7a5d737', u'content-type': 'application/json', u'date': 'Wed, 16 Jan 2019 13:39:37 GMT', u'openstack-api-version': 'volume 3.0', u'connection': 'close'}
2019-01-16 13:39:41.604 10864 DEBUG tempest.scenario.manager [-] Creating a volume type: luks on backend None create_volume_type tempest/scenario/manager.py:313
2019-01-16 13:39:41.771 10864 INFO tempest.lib.common.rest_client [req-06b4265e-8bf4-4abe-87de-93c101f955be ] Request (TestVolumeBootPattern:test_boot_server_from_encrypted_volume_luks): 409 POST http://149.202.182.79/volume/v3/e296a68e21b94856ba4b24eb846e1ca0/types 0.166s
2019-01-16 13:39:41.771 10864 DEBUG tempest.lib.common.rest_client [req-06b4265e-8bf4-4abe-87de-93c101f955be ] Request - Headers: {'Content-Type': 'application/json', 'X-Auth-Token': '<omitted>', 'Accept': 'application/json'}
Body: {"volume_type": {"name": "luks", "extra_specs": {}}}
Response - Headers: {u'vary': 'OpenStack-API-Version', u'server': 'Apache/2.4.18 (Ubuntu)', u'x-compute-request-id': 'req-06b4265e-8bf4-4abe-87de-93c101f955be', 'content-location': 'http://149.202.182.79/volume/v3/e296a68e21b94856ba4b24eb846e1ca0/types', 'status': '409', u'content-length': '84', u'x-openstack-request-id': 'req-06b4265e-8bf4-4abe-87de-93c101f955be', u'content-type': 'application/json', u'date': 'Wed, 16 Jan 2019 13:39:41 GMT', u'openstack-api-version': 'volume 3.0', u'connection': 'close'}
Body: {"conflictingRequest": {"message": "Volume Type luks already exists.", "code": 409}} _log_request_full tempest/lib/common/rest_client.py:437
This showed up on this test run:
http://logs.openstack.org/65/621465/32/check/cinder-tempest-dsvm-lvm-lio-barbican/01e33ce/logs/testr_results.html.gz
Looks like this is a duplicate of bug 1826953 which was fixed here:
https:/ /review. opendev. org/#/c/ 657144/
There are no hits for this bug in e-r anymore:
http:// status. openstack. org/elastic- recheck/ #1812036