Description of problem:
python2-tempestconf-2.0.0-1.el7ost.noarch started to define
[volume]
min_microversion = 3.0
max_microversion = 3.50
in the etc/tempest.conf which leads to tempest sends and validates microversion api responses.
Many api responses does not have the correct headers.
Failing test cases:
tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest.test_volume_backup_export_import[id-a99c54a1-dd80-4724-8a13-13bf58d4068d]
tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest.test_volume_backup_reset_status[id-47a35425-a891-4e13-961c-c45deea21e94]
tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer[id-4d75b645-a478-48b1-97c8-503f64242f1a]
tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer[id-ab526943-b725-4c07-b875-8e8ef87a2c30]
Version-Release number of selected component (if applicable):
python2-tempest-18.0.0-2.el7ost.noarch
python-cinder-12.0.4-1.el7ost.noarch
python2-tempestconf-2.0.0-1.el7ost.noarch
How reproducible:
always
Steps to Reproduce:
1. sudo packstack --allinone --os-debug-mode y --provision-tempest-floatrange 172.24.4.0/24 --provision-demo-floatrange 172.24.4.0/24 --nova-libvirt-virt-type kvm --service-workers=3
2.
sudo bash
tempest init tempest-dir
cd tempest-dir
(source /root/keystonerc_admin; discover-tempest-config --debug --create identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD)
3.
ostestr -r '(test_volumes_backup|test_volume_transfers)'
Expected results:
Requests with 'Openstack-Api-Version' header sent to the .*/v3.* always gets an
openstack-api-version header with valid content in the response.
Additional info:
The test works without microversion aware tempest configuration,
Changing the min_microversion to 3.50 did not helped.
The issue happens with older cinder also when it deployed in an another way.
Attila you're right, it's the change. I've applied the change https://review.openstack.org/#/c/527889/ to tempest-18.0.0-2 source and it seems, it fixes the issue.
The issue is resolved in openstack-tempest-18.0.0-4.el7ost which is available in the latest puddle (2018-11-05.3).
Output of verification on packstack environment is available in the attachments.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:3611