WARNING: isolated-tests file /home/ubuntu/isolated-tests.txt does not exist or is empty, no tests will run isolated /opt/stack/tempest ~ Initializing stestr all-plugin create: /opt/stack/tempest/.tox/all-plugin all-plugin installdeps: -chttps://releases.openstack.org/constraints/upper/master, -r/opt/stack/tempest/requirements.txt all-plugin develop-inst: /opt/stack/tempest all-plugin installed: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead, from cryptography.utils import int_from_bytes,alembic==1.7.5,amqp==5.0.6,aniso8601==9.0.1,appdirs==1.4.4,attrs==21.2.0,Automat==0.8.0,automaton==2.4.0,autopage==0.4.0,Babel==2.9.1,backports.entry-points-selectable==1.1.1,bcrypt==3.2.0,beautifulsoup4==4.10.0,blinker==1.4,boto3==1.20.21,botocore==1.23.21,cachetools==4.2.4,castellan==3.10.0,certifi==2019.11.28,cffi==1.15.0,chardet==3.0.4,charset-normalizer==2.0.9,-e git+http://10.106.1.39/p/openstack/cinder@f4b424213b100308efa5af37c8cdf2d5a3afd351#egg=cinder,click==8.0.3,cliff==3.10.0,cmd2==2.3.3,colorama==0.4.3,command-not-found==0.3,configobj==5.0.6,configshell-fb==1.1.25,constantly==15.1.0,cryptography==36.0.0,cursive==0.2.2,dbus-python==1.2.16,debtcollector==2.3.0,decorator==5.1.0,defusedxml==0.7.1,distlib==0.3.3,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.1.0,dogpile.cache==1.1.4,elementpath==2.4.0,entrypoints==0.3,etcd3==0.12.0,etcd3gw==1.0.0,eventlet==0.33.0,extras==1.0.0,fasteners==0.14.1,filelock==3.4.0,fixtures==3.0.0,Flask==2.0.2,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.0,-e git+https://opendev.org/openstack/glance@4ee7799aa7f6a7172e361392ebb8d3da03e0bf7f#egg=glance,glance-store==2.7.0,google-api-core==2.3.0,google-api-python-client==2.33.0,google-auth==2.3.3,google-auth-httplib2==0.1.0,googleapis-common-protos==1.54.0,greenlet==1.1.2,grpcio==1.42.0,httplib2==0.20.2,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.8.2,importlib-resources==5.4.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.0.1,Jinja2==3.0.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.2,jsonschema==3.2.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@2ddf8f321159b02052edb04f40f9e6fdb434a9c8#egg=keystone,keystoneauth1==4.4.0,keystonemiddleware==9.3.0,kombu==5.2.2,language-selector==0.1,lazr.uri==1.0.3,linecache2==1.0.0,logutils==0.3.5,lxml==4.6.4,Mako==1.1.6,MarkupSafe==2.0.1,microversion-parse==1.0.1,monotonic==1.6,more-itertools==4.2.0,msgpack==1.0.3,munch==2.5.0,mysqlclient==1.4.4,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@7619f8c9974dcceeb4f04b43c30564a753c357ec#egg=networking_hyperv,networkx==2.6.3,-e git+https://opendev.org/openstack/neutron@2a359891ce87157e91ba715e022e6d09c5ba161b#egg=neutron,neutron-lib==2.17.0,-e git+https://opendev.org/openstack/nova@755aa11e0c9a59dc1cdb6de5c71f4f9249b37741#egg=nova,numpy==1.21.4,oauth2client==4.1.3,oauthlib==3.1.1,-e git+https://opendev.org/openstack/placement.git@6e8c4cbffc05f5696bf3a728a4e73d400185fa20#egg=openstack_placement,openstacksdk==0.61.0,os-brick==5.1.0,os-client-config==2.1.0,os-ken==2.3.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==2.0.1,os-traits==2.6.0,os-vif==2.7.0,os-win==5.5.0,os-xenapi==0.3.4,osc-lib==2.4.2,osc-placement==3.1.1,oslo.cache==2.8.1,oslo.concurrency==4.5.0,oslo.config==8.7.1,oslo.context==3.4.0,oslo.db==11.1.0,oslo.i18n==5.1.0,oslo.limit==1.4.0,oslo.log==4.6.1,oslo.messaging==12.11.0,oslo.metrics==0.4.0,oslo.middleware==4.5.0,oslo.policy==3.10.0,oslo.privsep==2.6.2,oslo.reports==2.3.0,oslo.rootwrap==6.3.0,oslo.serialization==4.2.0,oslo.service==2.7.0,oslo.upgradecheck==1.4.0,oslo.utils==4.12.0,oslo.versionedobjects==2.5.0,oslo.vmware==3.10.0,osprofiler==3.4.2,ovs==2.16.0,ovsdbapp==1.13.0,packaging==21.3,paramiko==2.8.1,passlib==1.7.4,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.8.0,pcp==5.0,pecan==1.3.3,pexpect==4.6.0,platformdirs==2.4.0,pluggy==1.0.0,prettytable==2.4.0,prometheus-client==0.12.0,protobuf==3.19.1,psutil==5.8.0,py==1.11.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycadf==3.1.1,pycparser==2.21,pydot==1.4.2,pyeclib==1.6.0,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.3.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.4.0,pyOpenSSL==21.0.0,pyparsing==3.0.6,pyperclip==1.8.2,pypowervm==1.1.27,pyroute2==0.6.5,pyroute2.core==0.6.5,pyroute2.ethtool==0.6.5,pyroute2.ipdb==0.6.5,pyroute2.ipset==0.6.5,pyroute2.ndb==0.6.5,pyroute2.nftables==0.6.5,pyroute2.nslink==0.6.5,pyrsistent==0.15.5,pysaml2==7.0.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.2.0,python-cinderclient==8.2.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==4.4.0,python-glanceclient==3.5.0,python-keystoneclient==4.3.0,python-memcached==1.59,python-neutronclient==7.7.0,python-novaclient==17.6.0,python-openstackclient==5.7.0,python-subunit==1.4.0,python-swiftclient==3.13.0,pytz==2021.3,pyudev==0.22.0,PyYAML==6.0,repoze.lru==0.7,requests==2.26.0,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.8,rtslib-fb==2.1.74,s3transfer==0.5.0,scrypt==0.8.19,SecretStorage==2.3.1,setproctitle==1.2.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,soupsieve==2.3.1,SQLAlchemy==1.4.27,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==3.5.0,suds-community==1.0.0,-e git+https://opendev.org/openstack/swift@1859f2e161f396023d8328489fb4b88c303797a9#egg=swift,systemd-python==234,tabulate==0.8.9,targetcli-fb==2.1.51,taskflow==4.6.3,-e git+https://opendev.org/openstack/tempest@93a902072fd9986f2bb660166552f37d9eb5bdbb#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,toml==0.10.2,tooz==2.10.0,tox==3.24.4,traceback2==1.4.0,ufw==0.36,unattended-upgrades==0.1,unittest2==1.1.0,uritemplate==4.1.1,urllib3==1.26.7,urwid==2.0.1,vine==5.0.0,virtualenv==20.10.0,voluptuous==0.12.2,wadllib==1.3.3,waitress==2.0.0,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,WebTest==3.0.0,Werkzeug==2.0.2,wrapt==1.13.3,WSME==0.11.0,xattr==0.9.8,xmlschema==1.9.0,yappi==1.3.3,zipp==3.6.0,zope.interface==4.7.1,zstd==1.5.0.4,zVMCloudConnector==1.4.1 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {3} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {1} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.100302s] ... ok {1} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.067859s] ... ok {3} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [4.504783s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.227422s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.231566s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.445525s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.207995s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.630118s] ... ok {4} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.279143s] ... ok {0} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [10.183796s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.104438s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.109894s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.091239s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [1.742696s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [2.626977s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.090735s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [3.773453s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.709799s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.736758s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [3.354606s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.768257s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.421487s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.012001s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010278s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.100233s] ... ok {5} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.078631s] ... ok {4} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.835990s] ... ok {0} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [11.563927s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [3.016187s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [2.929367s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.361637s] ... ok {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.351017s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_snapshot_quotas_negative.py", line 88, in test_quota_volume_gigabytes_snapshots self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'snapshot': {'id': '0bb3f181-254f-4c64-a566-c1d5101f48e9', 'created_at': '2021-12-09T14:43:25.165659', 'updated_at': None, 'name': None, 'description': None, 'volume_id': '74de427e-ac82-4ac0-923b-b88a54efedb2', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota snapshots limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:25,044 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 200 PUT http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8 0.059s 2021-12-09 14:43:25,045 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 2, "volumes": 1, "snapshots": 2}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:24 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-af55c6b1-1468-4242-9a4f-ceb8477b1e7d', 'content-length': '510', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-af55c6b1-1468-4242-9a4f-ceb8477b1e7d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 1, "gigabytes": 2, "snapshots": 2, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:25,254 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 202 POST http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots 0.206s 2021-12-09 14:43:25,254 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7c481fdc-feb0-4eb2-9a45-411a6b024338', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7c481fdc-feb0-4eb2-9a45-411a6b024338', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots'} Body: b'{"snapshot": {"id": "0bb3f181-254f-4c64-a566-c1d5101f48e9", "created_at": "2021-12-09T14:43:25.165659", "updated_at": null, "name": null, "description": null, "volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "creating", "size": 1, "metadata": {}}}' 2021-12-09 14:43:25,317 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:_run_cleanups): 400 PUT http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8 0.054s 2021-12-09 14:43:25,318 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 3, "volumes": 1, "snapshots": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '164', 'content-type': 'application/json', 'x-compute-request-id': 'req-cdbf1ac4-5a55-429e-9432-99bf040de31b', 'x-openstack-request-id': 'req-cdbf1ac4-5a55-429e-9432-99bf040de31b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8'} Body: b'{"badRequest": {"code": 400, "message": "Quota snapshots limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1."}}' {3} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.201818s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_snapshot_quotas_negative.py", line 72, in test_quota_volume_snapshots self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'snapshot': {'id': '3d664210-cef8-4a98-b0f7-f3798908580e', 'created_at': '2021-12-09T14:43:25.438795', 'updated_at': None, 'name': None, 'description': None, 'volume_id': '74de427e-ac82-4ac0-923b-b88a54efedb2', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:25,536 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_snapshots): 202 POST http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots 0.198s 2021-12-09 14:43:25,536 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29478797-2679-4180-9a77-9b08b2126d46', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29478797-2679-4180-9a77-9b08b2126d46', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots'} Body: b'{"snapshot": {"id": "3d664210-cef8-4a98-b0f7-f3798908580e", "created_at": "2021-12-09T14:43:25.438795", "updated_at": null, "name": null, "description": null, "volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "creating", "size": 1, "metadata": {}}}' {4} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.788041s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.702318s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.255341s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.179036s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.209943s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.030747s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.048186s] ... ok {0} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.154524s] ... ok {3} tearDownClass (tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, ) {3} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.136042s] ... ok {1} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [2.918600s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_manage.py", line 69, in test_unmanage_manage_volume new_vol_id = self.admin_volume_manage_client.manage_volume( File "/opt/stack/tempest/tempest/lib/services/volume/v3/volume_manage_client.py", line 33, in manage_volume resp, body = self.post('os-volume-manage', post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:31,736 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 202 POST http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes 0.505s 2021-12-09 14:43:31,737 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumeManageAdminTest-Volume-1742432255"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-46a587fc-1c15-44cc-a2ec-6680881f92a2', 'content-length': '821', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-46a587fc-1c15-44cc-a2ec-6680881f92a2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:31.693384", "updated_at": null, "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:31,803 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.059s 2021-12-09 14:43:31,803 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3e65ea7e-4455-4f8a-a736-cd2ff0c4cd25', 'content-length': '889', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3e65ea7e-4455-4f8a-a736-cd2ff0c4cd25', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": null, "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4"}}' 2021-12-09 14:43:32,928 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.115s 2021-12-09 14:43:32,928 123198 DEBUG [tempest.lib.common.rest_client] Requ est - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-439dac23-d016-4d88-a708-766237f0e7ea', 'content-length': '914', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-439dac23-d016-4d88-a708-766237f0e7ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": "2021-12-09T14:43:32.000000", "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4"}}' 2021-12-09 14:43:32,936 123198 INFO [tempest.common.waiters] volume a33bd391-25c9-4b94-811d-1aeaf73ee9aa reached available after waiting for 1.936079 seconds 2021-12-09 14:43:33,346 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.410s 2021-12-09 14:43:33,346 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-23a6548e-afc4-433a-ad2d-fc05da1e5745', 'content-length': '1080', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-23a6548e-afc4-433a-ad2d-fc05da1e5745', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": "2021-12-09T14:43:32.000000", "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:33,421 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 202 POST http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25 c9-4b94-811d-1aeaf73ee9aa/action 0.067s 2021-12-09 14:43:33,421 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-unmanage": {}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4208fda1-f71a-4875-adda-807ad72a2e78', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa/action'} Body: b'' 2021-12-09 14:43:33,502 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 404 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.080s 2021-12-09 14:43:33,503 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-42d689a2-81e4-4260-9bcb-a9fd030fe026', 'x-openstack-request-id': 'req-42d689a2-81e4-4260-9bcb-a9fd030fe026', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume a33bd391-25c9-4b94-811d-1aeaf73ee9aa could not be found."}}' 2021-12-09 14:43:33,704 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/detail?all_tenants=1 0.200s 2021-12-09 14:43:33,704 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3a14fba9-d081-4b6d-9a8f-afabc485d033', 'content-length': '3267', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3a14fba9-d081-4b6d-9a8f-afabc485d033', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/detail?all_tenants=1'} Body: b'{"volumes": [{"id": "5a76baa4-cb4a-4e61-ba29-7fde94da2fe0", "status": "reserved", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:31.000000", "updated_at": "2021-12-09T14:43:33.000000", "name": "tempest-DeleteServersTestJSON-volume-696741327", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/5a76baa4-cb4a-4e61-ba29-7fde94da2fe0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/5a76baa4-cb4a-4e61-ba29-7fde94da2fe0"}], "user_id": "02ef02dc04e34a10ba00e69b1cc89d6d", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "203d840762614d02916f191d914308d8", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}, {"id": "98021904-3ea9-4ddc-a764-8cacf3d9fa7c", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:26.000000", "updated_at": "2021-12-09T14:43:34.000000", "name": "tempest-GroupSnapshotsTest-Volume-82684276", "description": null, "volume_type": "tempest-GroupSnapshotsTest-volume-type-909433476", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/98021904-3ea9-4ddc-a764-8cacf3d9fa7c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/98021904-3ea9-4ddc-a764-8cacf3d9fa7c"}], "user_id": "924649a4239447c7a49ef0d6972182e2", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "43f59ec2ff3f4c36ad45e7c1e02536f1", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}, {"id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:22.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumeSnapshotQuotasNegativeTestJSON-Volume-1026309695", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/74de427e-ac82-4ac0-923b-b88a54efedb2"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/74de427e-ac82-4ac0-923b-b88a54efedb2"}], "user_id": "b50874f70cad4e55ba72335f773648a2", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "e010fc334648490a97b2b24e86044ce8", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}]}' 2021-12-09 14:43:34,140 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 500 POST http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/os-volume-manage 0.427s 2021-12-09 14:43:34,141 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeManageAdminTest-volume-8492228", "host": "hv-cinder-81969@wincnd#smbshare", "ref": {"source-name": "//127.0.0.1/smbshare/volume-a33bd391-25c9-4b94-811d-1aeaf73ee9aa.vhdx"}, "volume_type": "__DEFAULT__", "availability_zone": "nova"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-05129ab6-ffaf-487e-9152-8cf34a04230d', 'x-openstack-request-id': 'req-05129ab6-ffaf-487e-9152-8cf34a04230d', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/os-volume-manage'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [10.329745s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.303388s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.077816s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.028988s] ... ok {4} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.621986s] ... ok {1} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {2} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [43.838249s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [5.429605s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.177096s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas.py", line 112, in test_delete_quota self.admin_quotas_client.delete_quota_set(self.demo_tenant_id) File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 66, in delete_quota_set resp, body = self.delete('os-quota-sets/%s' % tenant_id) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 330, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:42,057 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11/defaults 0.025s 2021-12-09 14:43:42,058 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2b90490b-692c-4af2-826e-77fa6c141ef4', 'content-length': '935', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2b90490b-692c-4af2-826e-77fa6c141ef4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11/defaults'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:42,101 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 PUT http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.040s 2021-12-09 14:43:42,101 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"volumes": 15}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c9f8ddb9-0dd3-4b78-b36d-ff205381b61a', 'content-length': '893', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c9f8ddb9-0dd3-4b78-b36d-ff205381b61a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 15, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:42,129 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 500 DELETE http://10.222.0.15/volume/v3/12c539380b14 4ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.026s 2021-12-09 14:43:42,130 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-4c175de7-90a4-4341-9db4-f86657fa79dd', 'x-openstack-request-id': 'req-4c175de7-90a4-4341-9db4-f86657fa79dd', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' 2021-12-09 14:43:42,204 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 200 PUT http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.072s 2021-12-09 14:43:42,205 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-062904a7-cd4b-4c1b-838e-8db3f8a3f287', 'content-length': '893', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-062904a7-cd4b-4c1b-838e-8db3f8a3f287', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.082893s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.116821s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [2.240444s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_retype.py", line 206, in test_available_volume_retype self._retype_volume(src_vol, migration_policy='never') File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_retype.py", line 77, in _retype_volume self.volumes_client.retype_volume( File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 350, in retype_volume resp, body = self.post('volumes/%s/action' % volume_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:41,122 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 202 POST http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes 0.751s 2021-12-09 14:43:41,122 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "volume-type-1", "size": 1, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29423994-9a7c-4e56-86b3-a5ff5ccc2daa', 'content-length': '834', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29423994-9a7c-4e56-86b3-a5ff5ccc2daa', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.001541", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:41,193 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964 0.064s 2021-12-09 14:43:41,193 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6a903f41-b890-41e8-8068-216cdb2bfd3c', 'content-length': '902', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6a903f41-b890-41e8-8068-216cdb2bfd3c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222"}}' 2021-12-09 14:43:42,309 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47 fb-988e-f8f97b36f964 0.107s 2021-12-09 14:43:42,309 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-30f89874-b1e3-49dd-aeef-518d97b777ac', 'content-length': '927', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-30f89874-b1e3-49dd-aeef-518d97b777ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": "2021-12-09T14:43:42.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222"}}' 2021-12-09 14:43:42,316 123198 INFO [tempest.common.waiters] volume d3b1f5f2-65e3-47fb-988e-f8f97b36f964 reached available after waiting for 1.316021 seconds 2021-12-09 14:43:42,454 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964 0.137s 2021-12-09 14:43:42,454 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-421e26cf-c907-4ed6-af34-9b53ae7bbea7', 'content-length': '1093', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421e26cf-c907-4ed6-af34-9b53ae7bbea7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": "2021-12-09T14:43:42.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:42,592 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 400 POST http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964/action 0.131s 2021-12-09 14:43:42,593 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "volume-type-2", "migration_policy": "never"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '297', 'content-type': 'application/json', 'x-compute-request-id': 'req-42e92ca3-0d50-4736-8265-63900438fa3b', 'x-openstack-request-id': 'req-42e92ca3-0d50-4736-8265-63900438fa3b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964/action'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change."}}' {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.212736s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 69, in test_quota_volume_gigabytes self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'volume': {'id': 'c17e0886-d25a-4f02-bba5-5882e600acf9', 'status': 'creating', 'size': 2, 'availability_zone': 'nova', 'created_at': '2021-12-09T14:43:44.048686', 'updated_at': None, 'name': None, 'description': None, 'volume_type': '__DEFAULT__', 'snapshot_id': None, 'source_volid': None, 'metadata': {}, 'links': [{'rel': 'self', 'href': 'http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9'}, {'rel': 'bookmark', 'href': 'http://10.222.0.15/volume/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9'}], 'user_id': 'd976c590e5ce435391e745fd13bce444', 'bootable': 'false', 'encrypted': False, 'replication_status': None, 'consistencygroup_id': None, 'multiattach': False, 'attachments': []}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:43,947 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 200 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.040s 2021-12-09 14:43:43,948 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 1, "volumes": -1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fabe9365-cec0-425f-a59c-4be32d335b74', 'content-length': '708', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fabe9365-cec0-425f-a59c-4be32d335b74', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": -1, "gigabytes": 1, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:44,110 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 202 POST http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes 0.160s 2021-12-09 14:43:44,111 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 2}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a984f292-375a-4af5-a561-7320842725a4', 'content-length': '776', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a984f292-375a-4af5-a561-7320842725a4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes'} Body: b'{"volume": {"id": "c17e0886-d25a-4f02-bba5-5882e600acf9", "status": "creating", "size": 2, "availability_zone": "nova", "created_at": "2021-12-09T14:43:44.048686", "updated_at": null, "name": null, "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9"}], "user_id": "d976c590e5ce435391e745fd13bce444", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.097342s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 57, in test_quota_volumes self.admin_quotas_client.update_quota_set(self.demo_tenant_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota volumes limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:44,210 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volumes): 400 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.089s 2021-12-09 14:43:44,216 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"volumes": 1, "gigabytes": -1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '162', 'content-type': 'application/json', 'x-compute-request-id': 'req-4aaa0b62-202c-4f2e-bffd-c9446de11d48', 'x-openstack-request-id': 'req-4aaa0b62-202c-4f2e-bffd-c9446de11d48', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"badRequest": {"code": 400, "message": "Quota volumes limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1."}}' {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.050783s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 77, in test_volume_extend_gigabytes_quota_deviation self.admin_quotas_client.update_quota_set( File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota gigabytes limit must be equal or greater than existing resources. Current usage is 3 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:44,268 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_volume_extend_gigabytes_quota_deviation): 400 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.049s 2021-12-09 14:43:44,268 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '164', 'content-type': 'application/json', 'x-compute-request-id': 'req-762eb6fd-047c-41df-a56b-3f883cae89d0', 'x-openstack-request-id': 'req-762eb6fd-047c-41df-a56b-3f883cae89d0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"badRequest": {"code": 400, "message": "Quota gigabytes limit must be equal or greater than existing resources. Current usage is 3 and the requested limit is 1."}}' {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [3.117339s] ... ok {3} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [5.648976s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [1.932377s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas.py", line 160, in test_quota_usage_after_volume_transfer self.alt_transfer_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/base.py", line 178, in delete_volume client.delete_volume(volume_id) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 128, in delete_volume resp, body = self.delete(url) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 330, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:45,695 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes 0.166s 2021-12-09 14:43:45,695 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93ca3ba3-82af-4d3e-b8c1-f1aec5bdefc6', 'content-length': '824', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93ca3ba3-82af-4d3e-b8c1-f1aec5bdefc6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:45.638883", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:45,767 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.065s 2021-12-09 14:43:45,767 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dc2cbdd2-c716-411f-acb5-faffe4deb71a', 'content-length': '892', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dc2cbdd2-c716-411f-acb5-faffe4deb71a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:46.000000", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,856 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.080s 2021-12-09 14:43:46,856 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-785ad52b-1759-4521-aad5-11b8c7189b41', 'content-length': '917', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-785ad52b-1759-4521-aad5-11b8c7189b41', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:46.000000", "updated_at": "2021-12-09T14:43:46.000000", "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,863 123196 INFO [tempest.common.waiters] volume 6ec2f7e8-77c6-4e19-93e4-e285e152b47c reached available after waiting for 1.863142 seconds 2021-12-09 14:43:46,889 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11?usage=True 0.026s 2021-12-09 14:43:46,890 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-da1b3442-0b0e-415f-bc0b-1916cb9638bc', 'content-length': '1494', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-da1b3442-0b0e-415f-bc0b-1916cb9638bc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11?usage=True'} Body: b'{"quota_set": {"per_volume_gigabytes": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes": {"limit": 10, "in_use": 1, "reserved": 0}, "gigabytes": {"limit": 1000, "in_use": 1, "reserved": 0}, "snapshots": {"limit": 10, "in_use": 0, "reserved": 0}, "backups": {"limit": 10, "in_use": 0, "reserved": 0}, "backup_gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "groups": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": { "limit": -1, "in_use": 0, "reserved": 0}, "gigabytes___DEFAULT__": {"limit": -1, "in_use": 1, "reserved": 0}, "volumes___DEFAULT__": {"limit": -1, "in_use": 1, "reserved": 0}, "snapshots___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,896 123196 WARNING [tempest.lib.common.rest_client] Deprecated: "tenant_id" property is deprecated for removal, use "project_id" instead 2021-12-09 14:43:46,918 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/be0abd530d094cd5ad104ae538daa09a?usage=True 0.022s 2021-12-09 14:43:46,919 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-09585959-8b88-4649-b4f1-85fa5897c389', 'content-length': '1494', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-09585959-8b88-4649-b4f1-85fa5897c389', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/be0abd530d094cd5ad104ae538daa09a?usage=True'} Body: b'{"quota_set": {"per_volume_gigabytes": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "snapshots": {"limit": 10, "in_use": 0, "reserved": 0}, "backups": {"limit": 10, "in_use": 0, "reserved": 0}, "backup_gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "groups": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "be0abd530d094cd5ad104ae538daa09a"}}' 2021-12-09 14:43:46,982 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer 0.057s 2021-12-09 14:43:46,982 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c810841a-0827-403b-817e-6d43c9cea6b4', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c810841a-0827-403b-817e-6d43c9cea6b4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer'} Body: b'{"transfer": {"id": "f239d91e-7b09-4fee-9 ba2-75f2ffdb2eee", "created_at": "2021-12-09T14:43:46.971205", "name": null, "volume_id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "auth_key": "20bebf035084c1e0", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee"}]}}' 2021-12-09 14:43:47,389 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 400 POST http://10.222.0.15/volume/v3/be0abd530d094cd5ad104ae538daa09a/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee/accept 0.404s 2021-12-09 14:43:47,390 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "20bebf035084c1e0"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-678baf1e-806e-4467-9dba-cdeb1901332d', 'x-openstack-request-id': 'req-678baf1e-806e-4467-9dba-cdeb1901332d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/be0abd530d094cd5ad104ae538daa09a/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:43:47,457 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 400 DELETE http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.065s 2021-12-09 14:43:47,457 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '285', 'content-type': 'application/json', 'x-compute-request-id': 'req-d696fcfe-ad76-4b53-8690-7b416fd94873', 'x-openstack-request-id': 'req-d696fcfe-ad76-4b53-8690-7b416fd94873', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer."}}' {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.093598s] ... ok {0} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.304143s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [13.604661s] ... ok {0} tearDownClass (tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, ) {4} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.779797s] ... ok {4} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.500001s] ... ok {5} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [7.163674s] ... ok {0} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.937552s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [3.565442s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 126, in test_create_get_list_accept_volume_transfer super(VolumesTransfersV355Test, self). \ File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 66, in test_create_get_list_accept_volume_transfer body = self.alt_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:59,785 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes 0.550s 2021-12-09 14:43:59,786 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumesTransfersV355Test-Volume-814185819"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78838e1d-e035-4f3b-8ee0-28575222f37f', 'content-length': '887', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78838e1d-e035-4f3b-8ee0-28575222f37f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:59.700841", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": null}}' 2021-12-09 14:43:59,868 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.075s 2021-12-09 14:43:59,868 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e63da2a0-3747-4f83-908d-5e7bcbe2f80d', 'content-length': '955', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e63da2a0-3747-4f83-908d-5e7bcbe2f80d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": null, "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:00,929 123205 INFO [tempest.lib.common.rest_client] Reques t (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.052s 2021-12-09 14:44:00,929 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d3fa5842-72e8-46db-ada6-d58d47c22141', 'content-length': '1015', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d3fa5842-72e8-46db-ada6-d58d47c22141', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:00.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:00,936 123205 INFO [tempest.common.waiters] volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 reached available after waiting for 1.936836 seconds 2021-12-09 14:44:01,001 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers 0.064s 2021-12-09 14:44:01,002 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e9c27df-cb16-465d-9d81-d6c0a0f98af1', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e9c27df-cb16-465d-9d81-d6c0a0f98af1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers'} Body: b'{"transfer": {"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "created_at": "2021-12-09T14:44:00.991807", "name": null, "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "auth_key": "591dff885ab3386a", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}}' 2021-12-09 14:44:01,055 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.051s 2021-12-09 14:44:01,056 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1eccf9e4-a258-4440-96d5-3bbc8eac4f9f', 'content-length': '1023', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1eccf9e4-a258-4440-96d5-3bbc8eac4f9f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:01.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:01,063 123205 INFO [tempest.common.waiters] volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 reached awaiting-transfer after waiting for 0.063240 seconds 2021-12-09 14:44:01,084 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c 0.021s 2021-12-09 14:44:01,084 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d2af7a41-f0b1-4776-9990-02277b03d948', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d2af7a41-f0b1-4776-9990-02277b03d948', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c'} Body: b'{"transfer": {"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "created_at": "2021-12-09T14:44:01.000000", "name": null, "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}}' 2021-12-09 14:44:01,114 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers 0.027s 2021-12-09 14:44:01,114 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c1039570-a9d4-4e ea-8e7b-4ce8490b6775', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c1039570-a9d4-4eea-8e7b-4ce8490b6775', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers'} Body: b'{"transfers": [{"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}]}' 2021-12-09 14:44:01,374 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.15/volume/v3/970f2284d8784845875c07c58d500f98/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c/accept 0.257s 2021-12-09 14:44:01,374 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "591dff885ab3386a"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-5efce3e4-eefe-40d8-bf28-f92e69ffde6e', 'x-openstack-request-id': 'req-5efce3e4-eefe-40d8-bf28-f92e69ffde6e', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/970f2284d8784845875c07c58d500f98/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:44:01,460 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c 0.083s 2021-12-09 14:44:01,460 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7e2fac91-45ec-4932-8376-2b7f57d65881', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c'} Body: b'' 2021-12-09 14:44:01,699 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.238s 2021-12-09 14:44:01,699 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e7e226e-f418-4116-8faf-3d2b49227b11', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'' 2021-12-09 14:44:01,752 123205 INFO [tempest.lib.common.rest_client] Request (Volume sTransfersV355Test:_run_cleanups): 200 GET http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.052s 2021-12-09 14:44:01,752 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3a40b67-b3c1-4f9e-818c-3ae3ba86b6af', 'content-length': '1201', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f3a40b67-b3c1-4f9e-818c-3ae3ba86b6af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:02.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "group_id": null, "provider_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:44:02,799 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 404 GET http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.038s 2021-12-09 14:44:02,799 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-c836b0ed-71c1-4109-b0d7-646f14290402', 'x-openstack-request-id': 'req-c836b0ed-71c1-4109-b0d7-646f14290402', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 could not be found."}}' {5} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.201927s] ... ok {4} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.909708s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.014295s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.022925s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.022928s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.032605s] ... ok {5} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.052341s] ... ok {0} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.172586s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [24.761335s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [5.908404s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [22.898367s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [2.948342s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [2.870042s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [7.462774s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.055071s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.692853s] ... ok {1} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [1.799455s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [19.083993s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.175696s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.162930s] ... ok {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.183545s] ... ok {0} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.225333s] ... ok {7} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [41.249467s] ... ok {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [3.141405s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 66, in test_create_get_list_accept_volume_transfer body = self.alt_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:44:54,360 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes 0.298s 2021-12-09 14:44:54,360 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumesTransfersTest-Volume-793955604"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c07ec32a-9e12-464b-8ccc-573ce88d0147', 'content-length': '819', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c07ec32a-9e12-464b-8ccc-573ce88d0147', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.315848", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:44:54,428 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.061s 2021-12-09 14:44:54,428 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c8ea5eeb-c12a-4505-88b1-6cc9067d79f7', 'content-length': '887', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8ea5eeb-c12a-4505-88b1-6cc9067d79f7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,489 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.051s 2021-12-09 14:44:55,489 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ea67b72-697f-4a4b-87fb-9bdf72e20520', 'content-length': '912', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ea67b72-697f-4a4b-87fb-9bdf72e20520', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:55.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,497 123196 INFO [tempest.common.waiters] volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 reached available after waiting for 1.497611 seconds 2021-12-09 14:44:55,572 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer 0.074s 2021-12-09 14:44:55,573 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1a0b351a-73d5-4e21-860f-cf3d90561e0f', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1a0b351a-73d5-4e21-860f-cf3d90561e0f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer'} Body: b'{"transfer": {"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "created_at": "2021-12-09T14:44:55.564184", "name": null, "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "auth_key": "5fee622791f72c9e", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}}' 2021-12-09 14:44:55,627 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.051s 2021-12-09 14:44:55,627 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d6bbbfdc-a8df-4575-bc5a-707d1fe9c2a1', 'content-length': '920', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6bbbfdc-a8df-4575-bc5a-707d1fe9c2a1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:56.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,634 123196 INFO [tempest.common.waiters] volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 reached awaiting-transfer after waiting for 0.634934 seconds 2021-12-09 14:44:55,652 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151 0.017s 2021-12-09 14:44:55,653 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9b6cf544-d1e0-4d18-9f7c-5d6b73b65248', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9b6cf544-d1e0-4d18-9f7c-5d6b73b65248', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151'} Body: b'{"transfer": {"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "created_at": "2021-12-09T14:44:56.000000", "name": null, "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}}' 2021-12-09 14:44:55,679 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer 0.024s 2021-12-09 14:44:55,679 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-96d4d75d-9b06-4500-a1b0-7b3fc3a91606', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-96d4d75d-9b06-4500-a1b0-7b3fc3a91606', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer'} Body: b'{"transfers": [{"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "name": null, "links": [{"rel": "self", "href": "http://10.222.0. 15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}]}' 2021-12-09 14:44:55,953 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.15/volume/v3/06f2d3ebad1445b794e4151e5b8f60fb/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151/accept 0.271s 2021-12-09 14:44:55,954 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "5fee622791f72c9e"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-6da27b03-623e-4f5f-b2ec-b3547242dc18', 'x-openstack-request-id': 'req-6da27b03-623e-4f5f-b2ec-b3547242dc18', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/06f2d3ebad1445b794e4151e5b8f60fb/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:44:56,009 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151 0.054s 2021-12-09 14:44:56,010 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3c218769-6819-4e42-943d-b0deef59746c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151'} Body: b'' 2021-12-09 14:44:56,128 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.118s 2021-12-09 14:44:56,128 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5bf838be-5e0d-41a0-adc6-ad6100c260a0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'' 2021-12-09 14:44:56,167 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 200 GET http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.037s 2021-12-09 14:44:56,167 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e10c98b6-5233-4b53-b1e0-773fca465ad0', 'conten t-length': '1077', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e10c98b6-5233-4b53-b1e0-773fca465ad0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:56.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:44:57,202 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 404 GET http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.025s 2021-12-09 14:44:57,202 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-b809f323-1d14-4b4a-aa8b-27feedca403e', 'x-openstack-request-id': 'req-b809f323-1d14-4b4a-aa8b-27feedca403e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 could not be found."}}' {0} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.752098s] ... ok {0} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [38.540270s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [50.536626s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [3.964777s] ... ok {5} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {3} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [41.759684s] ... ok {1} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.258999s] ... ok {7} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [40.717144s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [20.592974s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [1.657864s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [1.221882s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.011414s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.024253s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.023614s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.022887s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.010505s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.012260s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.010777s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.028410s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008605s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.023375s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.026389s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010405s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.083782s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.086248s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.159675s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.086829s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.161576s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.025103s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.023640s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.009696s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.029934s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.024385s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.033018s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.013066s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.014757s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.023405s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.011232s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.022604s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.028700s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [29.624427s] ... ok {3} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [2.927912s] ... ok {7} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [1.942749s] ... ok {7} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.282932s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.027694s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.063824s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.029916s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.075730s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.033987s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.039705s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.027530s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.042153s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.048408s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.039618s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.044855s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.177484s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.144123s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.168354s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.072327s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.242495s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.160807s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.333337s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.020589s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.088611s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.018678s] ... ok {7} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.029601s] ... ok {7} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [222.234746s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [59.020683s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [2.347898s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [210.160297s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [38.207153s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [4.802432s] ... ok {6} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [74.775579s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [4.857325s] ... ok {6} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.126794s] ... ok {6} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [0.525050s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.213582s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.056579s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.012768s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.020775s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.014683s] ... ok {7} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [2.407134s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [1.502290s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types.py", line 63, in test_volume_crud_with_volume_type_and_extra_specs self.volumes_client.retype_volume(volume['id'], File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 350, in retype_volume resp, body = self.post('volumes/%s/action' % volume_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:18,781 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.125s 2021-12-09 14:48:18,781 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-484888242", "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0c77d1db-e1da-4600-80df-d17906f848af', 'content-length': '277', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0c77d1db-e1da-4600-80df-d17906f848af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "a0541fe8-51c6-4d2f-b57a-2e80b282f027", "name": "tempest-VolumeTypesTest-volume-type-484888242", "is_public": true, "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:18,815 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.031s 2021-12-09 14:48:18,816 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-1622281413", "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2d5cb966-32de-49e0-8a4e-1161eaa3d8f4', 'content-length': '278', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2d5cb966-32de-49e0-8a4e-1161eaa3d8f4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "345e14c2-3aec-4cdc-801c-1e6274c9edb8", "name": "tempest-VolumeTypesTest-volume-type-1622281413", "is_public": true, "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:19,019 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 202 POST http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes 0.201s 2021-12-09 14:48:19,020 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeTypesTest-volume-271791399", "volume_type": "a0541fe8-51c6-4d2f-b57a-2e80b282f027", "size": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fb6a599f-d432-47e8-a9d5-1e94aadebcfd', 'content-length': '848', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb6a599f-d432-47e8-a9d5-1e94aadebcfd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:18.981001", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-2717913 99", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:48:19,064 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359 0.038s 2021-12-09 14:48:19,065 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-74175509-9f67-47cc-9d72-dad654e6fda0', 'content-length': '916', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-74175509-9f67-47cc-9d72-dad654e6fda0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:19.000000", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-271791399", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "42d250c599544e0d85aea9b4376a8bd9"}}' 2021-12-09 14:48:20,110 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359 0.038s 2021-12-09 14:48:20,110 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2a1e6efb-6504-4b0a-8f2e-2b6eb5ab6fc3', 'content-length': '941', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a1e6efb-6504-4b0a-8f2e-2b6eb5ab6fc3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:19.000000", "updated_at": "2021-12-09T14:48:19.000000", "name": "tempest-VolumeTypesTest-volume-271791399", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e 0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "42d250c599544e0d85aea9b4376a8bd9"}}' 2021-12-09 14:48:20,117 123208 INFO [tempest.common.waiters] volume 6d83989b-7110-46e8-9998-3f95302da359 reached available after waiting for 1.117414 seconds 2021-12-09 14:48:20,153 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 400 POST http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359/action 0.035s 2021-12-09 14:48:20,153 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "345e14c2-3aec-4cdc-801c-1e6274c9edb8"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '297', 'content-type': 'application/json', 'x-compute-request-id': 'req-dda87379-7fa3-405b-8dae-a7024e8f6247', 'x-openstack-request-id': 'req-dda87379-7fa3-405b-8dae-a7024e8f6247', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359/action'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change."}}' {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.080767s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.396644s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.048636s] ... ok {6} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.109187s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types.py", line 194, in test_volume_type_update updated_vol_type = self.admin_volume_types_client.update_volume_type( File "/opt/stack/tempest/tempest/lib/services/volume/v3/types_client.py", line 162, in update_volume_type resp, body = self.put('types/%s' % volume_type_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Cannot update volume_type 686b2332-89b3-433a-9987-612af2f64931 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:20,716 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.030s 2021-12-09 14:48:20,717 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-1861002652"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a10d7990-db7c-46c8-9eb7-d01597d287d2', 'content-length': '221', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a10d7990-db7c-46c8-9eb7-d01597d287d2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "686b2332-89b3-433a-9987-612af2f64931", "name": "tempest-VolumeTypesTest-volume-type-1861002652", "is_public": true, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:20,792 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 500 PUT http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types/686b2332-89b3-433a-9987-612af2f64931 0.073s 2021-12-09 14:48:20,792 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-volume-type-1669530087", "description": "tempest-volume-type-description-515093804", "is_public": false}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '108', 'content-type': 'application/json', 'x-compute-request-id': 'req-dbf43432-f6ae-4f4a-8d82-a350c0af434f', 'x-openstack-request-id': 'req-dbf43432-f6ae-4f4a-8d82-a350c0af434f', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types/686b2332-89b3-433a-9987-612af2f64931'} Body: b'{"computeFault": {"code": 500, "message": "Cannot update volume_type 686b2332-89b3-433a-9987-612af2f64931"}}' {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.011932s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.010681s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.026196s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.016067s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.021111s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.016277s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.016044s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.010709s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.011699s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.027954s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.027077s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.026570s] ... ok {5} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [175.635163s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.338720s] ... ok {6} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.306522s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.010987s] ... ok {6} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.124643s] ... ok {6} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.024234s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_absolute_limits.py", line 49, in test_get_volume_absolute_limits self.volume_limits_client.show_limits( File "/opt/stack/tempest/tempest/lib/services/volume/v3/limits_client.py", line 28, in show_limits resp, body = self.get(url) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in get return self.request('GET', url, extra_headers, headers) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:38,336 123208 INFO [tempest.lib.common.rest_client] Request (AbsoluteLimitsTests:test_get_volume_absolute_limits): 500 GET http://10.222.0.15/volume/v3/c79d6d2c99fa44a4865b8da102f28396/limits 0.017s 2021-12-09 14:48:38,337 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-f00bf0bf-e6e6-4f37-95f5-a28c8019f5ff', 'x-openstack-request-id': 'req-f00bf0bf-e6e6-4f37-95f5-a28c8019f5ff', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/c79d6d2c99fa44a4865b8da102f28396/limits'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' {6} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.418353s] ... ok {4} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [291.564454s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [146.476065s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [23.396037s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [13.335426s] ... ok {2} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [14.955258s] ... ok {2} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [4.977523s] ... ok {2} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [5.797749s] ... ok {2} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {2} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.117089s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.066129s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.061336s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.076468s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.321482s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.155494s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.277406s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.062704s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.083385s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.079482s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.083883s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.087081s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.067861s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.132272s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.132363s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.129860s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.080981s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.083367s] ... ok {2} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.082947s] ... ok ============================== Failed 16 tests - output below: ============================== tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots[id-c99a1ca9-6cdf-498d-9fdf-25832babef27,negative] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_snapshot_quotas_negative.py", line 88, in test_quota_volume_gigabytes_snapshots self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'snapshot': {'id': '0bb3f181-254f-4c64-a566-c1d5101f48e9', 'created_at': '2021-12-09T14:43:25.165659', 'updated_at': None, 'name': None, 'description': None, 'volume_id': '74de427e-ac82-4ac0-923b-b88a54efedb2', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota snapshots limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:25,044 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 200 PUT http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8 0.059s 2021-12-09 14:43:25,045 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 2, "volumes": 1, "snapshots": 2}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:24 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-af55c6b1-1468-4242-9a4f-ceb8477b1e7d', 'content-length': '510', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-af55c6b1-1468-4242-9a4f-ceb8477b1e7d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 1, "gigabytes": 2, "snapshots": 2, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:25,254 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 202 POST http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots 0.206s 2021-12-09 14:43:25,254 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7c481fdc-feb0-4eb2-9a45-411a6b024338', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7c481fdc-feb0-4eb2-9a45-411a6b024338', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots'} Body: b'{"snapshot": {"id": "0bb3f181-254f-4c64-a566-c1d5101f48e9", "created_at": "2021-12-09T14:43:25.165659", "updated_at": null, "name": null, "description": null, "volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "creating", "size": 1, "metadata": {}}}' 2021-12-09 14:43:25,317 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:_run_cleanups): 400 PUT http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8 0.054s 2021-12-09 14:43:25,318 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 3, "volumes": 1, "snapshots": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '164', 'content-type': 'application/json', 'x-compute-request-id': 'req-cdbf1ac4-5a55-429e-9432-99bf040de31b', 'x-openstack-request-id': 'req-cdbf1ac4-5a55-429e-9432-99bf040de31b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/e2ba81a2313648ec8bf7637e6461800e/os-quota-sets/e010fc334648490a97b2b24e86044ce8'} Body: b'{"badRequest": {"code": 400, "message": "Quota snapshots limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1."}}' tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots[id-02bbf63f-6c05-4357-9d98-2926a94064ff,negative] -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_snapshot_quotas_negative.py", line 72, in test_quota_volume_snapshots self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'snapshot': {'id': '3d664210-cef8-4a98-b0f7-f3798908580e', 'created_at': '2021-12-09T14:43:25.438795', 'updated_at': None, 'name': None, 'description': None, 'volume_id': '74de427e-ac82-4ac0-923b-b88a54efedb2', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:25,536 123203 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_snapshots): 202 POST http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots 0.198s 2021-12-09 14:43:25,536 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29478797-2679-4180-9a77-9b08b2126d46', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29478797-2679-4180-9a77-9b08b2126d46', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/e010fc334648490a97b2b24e86044ce8/snapshots'} Body: b'{"snapshot": {"id": "3d664210-cef8-4a98-b0f7-f3798908580e", "created_at": "2021-12-09T14:43:25.438795", "updated_at": null, "name": null, "description": null, "volume_id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "creating", "size": 1, "metadata": {}}}' tearDownClass (tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON) ------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, ) tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume[id-70076c71-0ce1-4208-a8ff-36a66e65cc1e] -------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_manage.py", line 69, in test_unmanage_manage_volume new_vol_id = self.admin_volume_manage_client.manage_volume( File "/opt/stack/tempest/tempest/lib/services/volume/v3/volume_manage_client.py", line 33, in manage_volume resp, body = self.post('os-volume-manage', post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:31,736 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 202 POST http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes 0.505s 2021-12-09 14:43:31,737 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumeManageAdminTest-Volume-1742432255"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-46a587fc-1c15-44cc-a2ec-6680881f92a2', 'content-length': '821', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-46a587fc-1c15-44cc-a2ec-6680881f92a2', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:31.693384", "updated_at": null, "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:31,803 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.059s 2021-12-09 14:43:31,803 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3e65ea7e-4455-4f8a-a736-cd2ff0c4cd25', 'content-length': '889', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3e65ea7e-4455-4f8a-a736-cd2ff0c4cd25', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": null, "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4"}}' 2021-12-09 14:43:32,928 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.115s 2021-12-09 14:43:32,928 123198 DEBUG [tempest.lib.common.rest_client] Requ est - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-439dac23-d016-4d88-a708-766237f0e7ea', 'content-length': '914', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-439dac23-d016-4d88-a708-766237f0e7ea', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": "2021-12-09T14:43:32.000000", "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/d514f49e396a4e7f81d2fc8a54c4b1d4/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4"}}' 2021-12-09 14:43:32,936 123198 INFO [tempest.common.waiters] volume a33bd391-25c9-4b94-811d-1aeaf73ee9aa reached available after waiting for 1.936079 seconds 2021-12-09 14:43:33,346 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.410s 2021-12-09 14:43:33,346 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-23a6548e-afc4-433a-ad2d-fc05da1e5745', 'content-length': '1080', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-23a6548e-afc4-433a-ad2d-fc05da1e5745', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"volume": {"id": "a33bd391-25c9-4b94-811d-1aeaf73ee9aa", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:32.000000", "updated_at": "2021-12-09T14:43:32.000000", "name": "tempest-VolumeManageAdminTest-Volume-1742432255", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa"}], "user_id": "7a093f8890674016b16e5723f450880a", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "d514f49e396a4e7f81d2fc8a54c4b1d4", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:33,421 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 202 POST http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25 c9-4b94-811d-1aeaf73ee9aa/action 0.067s 2021-12-09 14:43:33,421 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-unmanage": {}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4208fda1-f71a-4875-adda-807ad72a2e78', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa/action'} Body: b'' 2021-12-09 14:43:33,502 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 404 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa 0.080s 2021-12-09 14:43:33,503 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-42d689a2-81e4-4260-9bcb-a9fd030fe026', 'x-openstack-request-id': 'req-42d689a2-81e4-4260-9bcb-a9fd030fe026', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/a33bd391-25c9-4b94-811d-1aeaf73ee9aa'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume a33bd391-25c9-4b94-811d-1aeaf73ee9aa could not be found."}}' 2021-12-09 14:43:33,704 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 200 GET http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/detail?all_tenants=1 0.200s 2021-12-09 14:43:33,704 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3a14fba9-d081-4b6d-9a8f-afabc485d033', 'content-length': '3267', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3a14fba9-d081-4b6d-9a8f-afabc485d033', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/detail?all_tenants=1'} Body: b'{"volumes": [{"id": "5a76baa4-cb4a-4e61-ba29-7fde94da2fe0", "status": "reserved", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:31.000000", "updated_at": "2021-12-09T14:43:33.000000", "name": "tempest-DeleteServersTestJSON-volume-696741327", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/5a76baa4-cb4a-4e61-ba29-7fde94da2fe0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/5a76baa4-cb4a-4e61-ba29-7fde94da2fe0"}], "user_id": "02ef02dc04e34a10ba00e69b1cc89d6d", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "203d840762614d02916f191d914308d8", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}, {"id": "98021904-3ea9-4ddc-a764-8cacf3d9fa7c", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:26.000000", "updated_at": "2021-12-09T14:43:34.000000", "name": "tempest-GroupSnapshotsTest-Volume-82684276", "description": null, "volume_type": "tempest-GroupSnapshotsTest-volume-type-909433476", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/98021904-3ea9-4ddc-a764-8cacf3d9fa7c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/98021904-3ea9-4ddc-a764-8cacf3d9fa7c"}], "user_id": "924649a4239447c7a49ef0d6972182e2", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "43f59ec2ff3f4c36ad45e7c1e02536f1", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}, {"id": "74de427e-ac82-4ac0-923b-b88a54efedb2", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:22.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumeSnapshotQuotasNegativeTestJSON-Volume-1026309695", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/volumes/74de427e-ac82-4ac0-923b-b88a54efedb2"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/69ffbcba7b25468cb77a2a99d3370e97/volumes/74de427e-ac82-4ac0-923b-b88a54efedb2"}], "user_id": "b50874f70cad4e55ba72335f773648a2", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "e010fc334648490a97b2b24e86044ce8", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}]}' 2021-12-09 14:43:34,140 123198 INFO [tempest.lib.common.rest_client] Request (VolumeManageAdminTest:test_unmanage_manage_volume): 500 POST http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/os-volume-manage 0.427s 2021-12-09 14:43:34,141 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeManageAdminTest-volume-8492228", "host": "hv-cinder-81969@wincnd#smbshare", "ref": {"source-name": "//127.0.0.1/smbshare/volume-a33bd391-25c9-4b94-811d-1aeaf73ee9aa.vhdx"}, "volume_type": "__DEFAULT__", "availability_zone": "nova"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-05129ab6-ffaf-487e-9152-8cf34a04230d', 'x-openstack-request-id': 'req-05129ab6-ffaf-487e-9152-8cf34a04230d', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/69ffbcba7b25468cb77a2a99d3370e97/os-volume-manage'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota[id-874b35a9-51f1-4258-bec5-cd561b6690d3] -------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas.py", line 112, in test_delete_quota self.admin_quotas_client.delete_quota_set(self.demo_tenant_id) File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 66, in delete_quota_set resp, body = self.delete('os-quota-sets/%s' % tenant_id) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 330, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:42,057 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11/defaults 0.025s 2021-12-09 14:43:42,058 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2b90490b-692c-4af2-826e-77fa6c141ef4', 'content-length': '935', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2b90490b-692c-4af2-826e-77fa6c141ef4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11/defaults'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:42,101 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 PUT http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.040s 2021-12-09 14:43:42,101 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"volumes": 15}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c9f8ddb9-0dd3-4b78-b36d-ff205381b61a', 'content-length': '893', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c9f8ddb9-0dd3-4b78-b36d-ff205381b61a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 15, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:42,129 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 500 DELETE http://10.222.0.15/volume/v3/12c539380b14 4ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.026s 2021-12-09 14:43:42,130 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-4c175de7-90a4-4341-9db4-f86657fa79dd', 'x-openstack-request-id': 'req-4c175de7-90a4-4341-9db4-f86657fa79dd', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' 2021-12-09 14:43:42,204 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 200 PUT http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11 0.072s 2021-12-09 14:43:42,205 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-062904a7-cd4b-4c1b-838e-8db3f8a3f287', 'content-length': '893', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-062904a7-cd4b-4c1b-838e-8db3f8a3f287', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": 10, "gigabytes": 1000, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_volume-type-1": -1, "volumes_volume-type-1": -1, "snapshots_volume-type-1": -1, "gigabytes_volume-type-2": -1, "volumes_volume-type-2": -1, "snapshots_volume-type-2": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype[id-b90412ee-465d-46e9-b249-ec84a47d5f25] -------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_retype.py", line 206, in test_available_volume_retype self._retype_volume(src_vol, migration_policy='never') File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_retype.py", line 77, in _retype_volume self.volumes_client.retype_volume( File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 350, in retype_volume resp, body = self.post('volumes/%s/action' % volume_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:41,122 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 202 POST http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes 0.751s 2021-12-09 14:43:41,122 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"volume_type": "volume-type-1", "size": 1, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:40 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-29423994-9a7c-4e56-86b3-a5ff5ccc2daa', 'content-length': '834', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-29423994-9a7c-4e56-86b3-a5ff5ccc2daa', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.001541", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:41,193 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964 0.064s 2021-12-09 14:43:41,193 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:41 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-6a903f41-b890-41e8-8068-216cdb2bfd3c', 'content-length': '902', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-6a903f41-b890-41e8-8068-216cdb2bfd3c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222"}}' 2021-12-09 14:43:42,309 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47 fb-988e-f8f97b36f964 0.107s 2021-12-09 14:43:42,309 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-30f89874-b1e3-49dd-aeef-518d97b777ac', 'content-length': '927', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-30f89874-b1e3-49dd-aeef-518d97b777ac', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": "2021-12-09T14:43:42.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222"}}' 2021-12-09 14:43:42,316 123198 INFO [tempest.common.waiters] volume d3b1f5f2-65e3-47fb-988e-f8f97b36f964 reached available after waiting for 1.316021 seconds 2021-12-09 14:43:42,454 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964 0.137s 2021-12-09 14:43:42,454 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-421e26cf-c907-4ed6-af34-9b53ae7bbea7', 'content-length': '1093', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-421e26cf-c907-4ed6-af34-9b53ae7bbea7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964'} Body: b'{"volume": {"id": "d3b1f5f2-65e3-47fb-988e-f8f97b36f964", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:41.000000", "updated_at": "2021-12-09T14:43:42.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1130873410", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/f8c7a6903ba0463094af6cd5e6e53321/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964"}], "user_id": "0420a72c3a474c17932106e9e36706ee", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "bc110fdeb5004e209833e1091c535222", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:42,592 123198 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 400 POST http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964/action 0.131s 2021-12-09 14:43:42,593 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "volume-type-2", "migration_policy": "never"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '297', 'content-type': 'application/json', 'x-compute-request-id': 'req-42e92ca3-0d50-4736-8265-63900438fa3b', 'x-openstack-request-id': 'req-42e92ca3-0d50-4736-8265-63900438fa3b', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/bc110fdeb5004e209833e1091c535222/volumes/d3b1f5f2-65e3-47fb-988e-f8f97b36f964/action'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change."}}' tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes[id-2dc27eee-8659-4298-b900-169d71a91374,negative] --------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 69, in test_quota_volume_gigabytes self.assertRaises(lib_exc.OverLimit, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 467, in assertRaises self.assertThat(our_callable, matcher) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: > returned {'volume': {'id': 'c17e0886-d25a-4f02-bba5-5882e600acf9', 'status': 'creating', 'size': 2, 'availability_zone': 'nova', 'created_at': '2021-12-09T14:43:44.048686', 'updated_at': None, 'name': None, 'description': None, 'volume_type': '__DEFAULT__', 'snapshot_id': None, 'source_volid': None, 'metadata': {}, 'links': [{'rel': 'self', 'href': 'http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9'}, {'rel': 'bookmark', 'href': 'http://10.222.0.15/volume/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9'}], 'user_id': 'd976c590e5ce435391e745fd13bce444', 'bootable': 'false', 'encrypted': False, 'replication_status': None, 'consistencygroup_id': None, 'multiattach': False, 'attachments': []}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:43,947 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 200 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.040s 2021-12-09 14:43:43,948 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 1, "volumes": -1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fabe9365-cec0-425f-a59c-4be32d335b74', 'content-length': '708', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fabe9365-cec0-425f-a59c-4be32d335b74', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"quota_set": {"per_volume_gigabytes": -1, "volumes": -1, "gigabytes": 1, "snapshots": 10, "backups": 10, "backup_gigabytes": 1000, "groups": 10, "gigabytes_lvmdriver-1": -1, "volumes_lvmdriver-1": -1, "snapshots_lvmdriver-1": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": -1, "gigabytes___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:43:44,110 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 202 POST http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes 0.160s 2021-12-09 14:43:44,111 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 2}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:43 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a984f292-375a-4af5-a561-7320842725a4', 'content-length': '776', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a984f292-375a-4af5-a561-7320842725a4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes'} Body: b'{"volume": {"id": "c17e0886-d25a-4f02-bba5-5882e600acf9", "status": "creating", "size": 2, "availability_zone": "nova", "created_at": "2021-12-09T14:43:44.048686", "updated_at": null, "name": null, "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/3825e60531274332bdd11c506c5f4dff/volumes/c17e0886-d25a-4f02-bba5-5882e600acf9"}], "user_id": "d976c590e5ce435391e745fd13bce444", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes[id-bf544854-d62a-47f2-a681-90f7a47d86b6,negative] ------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 57, in test_quota_volumes self.admin_quotas_client.update_quota_set(self.demo_tenant_id, File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota volumes limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:44,210 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volumes): 400 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.089s 2021-12-09 14:43:44,216 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"volumes": 1, "gigabytes": -1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '162', 'content-type': 'application/json', 'x-compute-request-id': 'req-4aaa0b62-202c-4f2e-bffd-c9446de11d48', 'x-openstack-request-id': 'req-4aaa0b62-202c-4f2e-bffd-c9446de11d48', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"badRequest": {"code": 400, "message": "Quota volumes limit must be equal or greater than existing resources. Current usage is 2 and the requested limit is 1."}}' tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation[id-d321dc21-d8c6-401f-95fe-49f4845f1a6d,negative] -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas_negative.py", line 77, in test_volume_extend_gigabytes_quota_deviation self.admin_quotas_client.update_quota_set( File "/opt/stack/tempest/tempest/lib/services/volume/v3/quotas_client.py", line 59, in update_quota_set resp, body = self.put('os-quota-sets/%s' % tenant_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Quota gigabytes limit must be equal or greater than existing resources. Current usage is 3 and the requested limit is 1.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:44,268 123205 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_volume_extend_gigabytes_quota_deviation): 400 PUT http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff 0.049s 2021-12-09 14:43:44,268 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"quota_set": {"gigabytes": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '164', 'content-type': 'application/json', 'x-compute-request-id': 'req-762eb6fd-047c-41df-a56b-3f883cae89d0', 'x-openstack-request-id': 'req-762eb6fd-047c-41df-a56b-3f883cae89d0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/038ad5a8265c46caaef6fa238e6911ba/os-quota-sets/3825e60531274332bdd11c506c5f4dff'} Body: b'{"badRequest": {"code": 400, "message": "Quota gigabytes limit must be equal or greater than existing resources. Current usage is 3 and the requested limit is 1."}}' tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer[id-8911036f-9d54-4720-80cc-a1c9796a8805] ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_quotas.py", line 160, in test_quota_usage_after_volume_transfer self.alt_transfer_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured traceback-1: ~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/base.py", line 178, in delete_volume client.delete_volume(volume_id) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 128, in delete_volume resp, body = self.delete(url) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 330, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:45,695 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes 0.166s 2021-12-09 14:43:45,695 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-93ca3ba3-82af-4d3e-b8c1-f1aec5bdefc6', 'content-length': '824', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-93ca3ba3-82af-4d3e-b8c1-f1aec5bdefc6', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:45.638883", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:45,767 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.065s 2021-12-09 14:43:45,767 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dc2cbdd2-c716-411f-acb5-faffe4deb71a', 'content-length': '892', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dc2cbdd2-c716-411f-acb5-faffe4deb71a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:46.000000", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,856 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.080s 2021-12-09 14:43:46,856 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-785ad52b-1759-4521-aad5-11b8c7189b41', 'content-length': '917', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-785ad52b-1759-4521-aad5-11b8c7189b41', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"volume": {"id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:46.000000", "updated_at": "2021-12-09T14:43:46.000000", "name": "tempest-VolumeQuotasAdminTestJSON-Volume-189664740", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}], "user_id": "fdcf56be590c48359fdfe7353ecd75a4", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,863 123196 INFO [tempest.common.waiters] volume 6ec2f7e8-77c6-4e19-93e4-e285e152b47c reached available after waiting for 1.863142 seconds 2021-12-09 14:43:46,889 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11?usage=True 0.026s 2021-12-09 14:43:46,890 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-da1b3442-0b0e-415f-bc0b-1916cb9638bc', 'content-length': '1494', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-da1b3442-0b0e-415f-bc0b-1916cb9638bc', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/84b43619c56b45d28196d0f2a8218d11?usage=True'} Body: b'{"quota_set": {"per_volume_gigabytes": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes": {"limit": 10, "in_use": 1, "reserved": 0}, "gigabytes": {"limit": 1000, "in_use": 1, "reserved": 0}, "snapshots": {"limit": 10, "in_use": 0, "reserved": 0}, "backups": {"limit": 10, "in_use": 0, "reserved": 0}, "backup_gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "groups": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": { "limit": -1, "in_use": 0, "reserved": 0}, "gigabytes___DEFAULT__": {"limit": -1, "in_use": 1, "reserved": 0}, "volumes___DEFAULT__": {"limit": -1, "in_use": 1, "reserved": 0}, "snapshots___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "84b43619c56b45d28196d0f2a8218d11"}}' 2021-12-09 14:43:46,896 123196 WARNING [tempest.lib.common.rest_client] Deprecated: "tenant_id" property is deprecated for removal, use "project_id" instead 2021-12-09 14:43:46,918 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/be0abd530d094cd5ad104ae538daa09a?usage=True 0.022s 2021-12-09 14:43:46,919 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-09585959-8b88-4649-b4f1-85fa5897c389', 'content-length': '1494', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-09585959-8b88-4649-b4f1-85fa5897c389', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/os-quota-sets/be0abd530d094cd5ad104ae538daa09a?usage=True'} Body: b'{"quota_set": {"per_volume_gigabytes": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "snapshots": {"limit": 10, "in_use": 0, "reserved": 0}, "backups": {"limit": 10, "in_use": 0, "reserved": 0}, "backup_gigabytes": {"limit": 1000, "in_use": 0, "reserved": 0}, "groups": {"limit": 10, "in_use": 0, "reserved": 0}, "gigabytes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_lvmdriver-1": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-419395220": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-909433476": {"limit": -1, "in_use": 0, "reserved": 0}, "gigabytes___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots___DEFAULT__": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "be0abd530d094cd5ad104ae538daa09a"}}' 2021-12-09 14:43:46,982 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer 0.057s 2021-12-09 14:43:46,982 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c810841a-0827-403b-817e-6d43c9cea6b4', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c810841a-0827-403b-817e-6d43c9cea6b4', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer'} Body: b'{"transfer": {"id": "f239d91e-7b09-4fee-9 ba2-75f2ffdb2eee", "created_at": "2021-12-09T14:43:46.971205", "name": null, "volume_id": "6ec2f7e8-77c6-4e19-93e4-e285e152b47c", "auth_key": "20bebf035084c1e0", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/84b43619c56b45d28196d0f2a8218d11/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee"}]}}' 2021-12-09 14:43:47,389 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 400 POST http://10.222.0.15/volume/v3/be0abd530d094cd5ad104ae538daa09a/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee/accept 0.404s 2021-12-09 14:43:47,390 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "20bebf035084c1e0"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:46 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-678baf1e-806e-4467-9dba-cdeb1901332d', 'x-openstack-request-id': 'req-678baf1e-806e-4467-9dba-cdeb1901332d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/be0abd530d094cd5ad104ae538daa09a/os-volume-transfer/f239d91e-7b09-4fee-9ba2-75f2ffdb2eee/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:43:47,457 123196 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 400 DELETE http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c 0.065s 2021-12-09 14:43:47,457 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:47 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '285', 'content-type': 'application/json', 'x-compute-request-id': 'req-d696fcfe-ad76-4b53-8690-7b416fd94873', 'x-openstack-request-id': 'req-d696fcfe-ad76-4b53-8690-7b416fd94873', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/12c539380b144ea3a07419a0230f9f06/volumes/6ec2f7e8-77c6-4e19-93e4-e285e152b47c'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer."}}' tearDownClass (tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON) ------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 235, in tearDownClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 207, in tearDownClass teardown() File "/opt/stack/tempest/tempest/test.py", line 589, in resource_cleanup raise testtools.MultipleExceptions(*cleanup_errors) testtools.runtest.MultipleExceptions: (, Bad request Details: {'code': 400, 'message': 'Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer.'}, ) tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer[id-9f36bb2b-619f-4507-b246-76aeb9a28851] ------------------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 126, in test_create_get_list_accept_volume_transfer super(VolumesTransfersV355Test, self). \ File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 66, in test_create_get_list_accept_volume_transfer body = self.alt_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:43:59,785 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes 0.550s 2021-12-09 14:43:59,786 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumesTransfersV355Test-Volume-814185819"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-78838e1d-e035-4f3b-8ee0-28575222f37f', 'content-length': '887', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-78838e1d-e035-4f3b-8ee0-28575222f37f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:59.700841", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": null}}' 2021-12-09 14:43:59,868 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.075s 2021-12-09 14:43:59,868 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e63da2a0-3747-4f83-908d-5e7bcbe2f80d', 'content-length': '955', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e63da2a0-3747-4f83-908d-5e7bcbe2f80d', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": null, "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:00,929 123205 INFO [tempest.lib.common.rest_client] Reques t (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.052s 2021-12-09 14:44:00,929 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d3fa5842-72e8-46db-ada6-d58d47c22141', 'content-length': '1015', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d3fa5842-72e8-46db-ada6-d58d47c22141', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:00.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:00,936 123205 INFO [tempest.common.waiters] volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 reached available after waiting for 1.936836 seconds 2021-12-09 14:44:01,001 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers 0.064s 2021-12-09 14:44:01,002 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2e9c27df-cb16-465d-9d81-d6c0a0f98af1', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2e9c27df-cb16-465d-9d81-d6c0a0f98af1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers'} Body: b'{"transfer": {"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "created_at": "2021-12-09T14:44:00.991807", "name": null, "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "auth_key": "591dff885ab3386a", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}}' 2021-12-09 14:44:01,055 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.051s 2021-12-09 14:44:01,056 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1eccf9e4-a258-4440-96d5-3bbc8eac4f9f', 'content-length': '1023', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1eccf9e4-a258-4440-96d5-3bbc8eac4f9f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:01.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a"}}' 2021-12-09 14:44:01,063 123205 INFO [tempest.common.waiters] volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 reached awaiting-transfer after waiting for 0.063240 seconds 2021-12-09 14:44:01,084 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c 0.021s 2021-12-09 14:44:01,084 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d2af7a41-f0b1-4776-9990-02277b03d948', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d2af7a41-f0b1-4776-9990-02277b03d948', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c'} Body: b'{"transfer": {"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "created_at": "2021-12-09T14:44:01.000000", "name": null, "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}}' 2021-12-09 14:44:01,114 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers 0.027s 2021-12-09 14:44:01,114 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c1039570-a9d4-4e ea-8e7b-4ce8490b6775', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c1039570-a9d4-4eea-8e7b-4ce8490b6775', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers'} Body: b'{"transfers": [{"id": "13259102-4416-47bc-9b46-8deb18c4a66c", "volume_id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/a4f8ad7924134a8dad78afbbbd2c046a/os-volume-transfer/13259102-4416-47bc-9b46-8deb18c4a66c"}]}]}' 2021-12-09 14:44:01,374 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.15/volume/v3/970f2284d8784845875c07c58d500f98/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c/accept 0.257s 2021-12-09 14:44:01,374 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "591dff885ab3386a"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-5efce3e4-eefe-40d8-bf28-f92e69ffde6e', 'x-openstack-request-id': 'req-5efce3e4-eefe-40d8-bf28-f92e69ffde6e', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/970f2284d8784845875c07c58d500f98/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:44:01,460 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c 0.083s 2021-12-09 14:44:01,460 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7e2fac91-45ec-4932-8376-2b7f57d65881', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/a4f8ad7924134a8dad78afbbbd2c046a/volume-transfers/13259102-4416-47bc-9b46-8deb18c4a66c'} Body: b'' 2021-12-09 14:44:01,699 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.238s 2021-12-09 14:44:01,699 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5e7e226e-f418-4116-8faf-3d2b49227b11', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'' 2021-12-09 14:44:01,752 123205 INFO [tempest.lib.common.rest_client] Request (Volume sTransfersV355Test:_run_cleanups): 200 GET http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.052s 2021-12-09 14:44:01,752 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f3a40b67-b3c1-4f9e-818c-3ae3ba86b6af', 'content-length': '1201', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f3a40b67-b3c1-4f9e-818c-3ae3ba86b6af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"volume": {"id": "59cd82f8-5d6b-4971-807d-6238b52ffc28", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:00.000000", "updated_at": "2021-12-09T14:44:02.000000", "name": "tempest-VolumesTransfersV355Test-Volume-814185819", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28"}], "user_id": "758690528bf148cf827efb4feb01510c", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "group_id": null, "provider_id": null, "shared_targets": false, "service_uuid": "770e9a93-7131-4e0f-8047-91aa458b5942", "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "a4f8ad7924134a8dad78afbbbd2c046a", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:44:02,799 123205 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 404 GET http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28 0.038s 2021-12-09 14:44:02,799 123205 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'Openstack-Api-Version': 'volume 3.55', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-c836b0ed-71c1-4109-b0d7-646f14290402', 'x-openstack-request-id': 'req-c836b0ed-71c1-4109-b0d7-646f14290402', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/8651599ce48b4773883970e4d981b571/volumes/59cd82f8-5d6b-4971-807d-6238b52ffc28'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 59cd82f8-5d6b-4971-807d-6238b52ffc28 could not be found."}}' tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer[id-4d75b645-a478-48b1-97c8-503f64242f1a] -------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_transfers.py", line 66, in test_create_get_list_accept_volume_transfer body = self.alt_client.accept_volume_transfer( File "/opt/stack/tempest/tempest/lib/services/volume/v3/transfers_client.py", line 85, in accept_volume_transfer resp, body = self.post(url, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:44:54,360 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes 0.298s 2021-12-09 14:44:54,360 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"size": 1, "name": "tempest-VolumesTransfersTest-Volume-793955604"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c07ec32a-9e12-464b-8ccc-573ce88d0147', 'content-length': '819', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c07ec32a-9e12-464b-8ccc-573ce88d0147', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.315848", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:44:54,428 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.061s 2021-12-09 14:44:54,428 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c8ea5eeb-c12a-4505-88b1-6cc9067d79f7', 'content-length': '887', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c8ea5eeb-c12a-4505-88b1-6cc9067d79f7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,489 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.051s 2021-12-09 14:44:55,489 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0ea67b72-697f-4a4b-87fb-9bdf72e20520', 'content-length': '912', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0ea67b72-697f-4a4b-87fb-9bdf72e20520', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:55.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,497 123196 INFO [tempest.common.waiters] volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 reached available after waiting for 1.497611 seconds 2021-12-09 14:44:55,572 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer 0.074s 2021-12-09 14:44:55,573 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1a0b351a-73d5-4e21-860f-cf3d90561e0f', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1a0b351a-73d5-4e21-860f-cf3d90561e0f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer'} Body: b'{"transfer": {"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "created_at": "2021-12-09T14:44:55.564184", "name": null, "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "auth_key": "5fee622791f72c9e", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}}' 2021-12-09 14:44:55,627 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.051s 2021-12-09 14:44:55,627 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d6bbbfdc-a8df-4575-bc5a-707d1fe9c2a1', 'content-length': '920', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d6bbbfdc-a8df-4575-bc5a-707d1fe9c2a1', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:56.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53"}}' 2021-12-09 14:44:55,634 123196 INFO [tempest.common.waiters] volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 reached awaiting-transfer after waiting for 0.634934 seconds 2021-12-09 14:44:55,652 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151 0.017s 2021-12-09 14:44:55,653 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9b6cf544-d1e0-4d18-9f7c-5d6b73b65248', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9b6cf544-d1e0-4d18-9f7c-5d6b73b65248', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151'} Body: b'{"transfer": {"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "created_at": "2021-12-09T14:44:56.000000", "name": null, "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}}' 2021-12-09 14:44:55,679 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer 0.024s 2021-12-09 14:44:55,679 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-96d4d75d-9b06-4500-a1b0-7b3fc3a91606', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-96d4d75d-9b06-4500-a1b0-7b3fc3a91606', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer'} Body: b'{"transfers": [{"id": "e500b569-b1af-4bdf-8a6f-a91bd5072151", "volume_id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "name": null, "links": [{"rel": "self", "href": "http://10.222.0. 15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151"}]}]}' 2021-12-09 14:44:55,953 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.15/volume/v3/06f2d3ebad1445b794e4151e5b8f60fb/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151/accept 0.271s 2021-12-09 14:44:55,954 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "5fee622791f72c9e"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '141', 'content-type': 'application/json', 'x-compute-request-id': 'req-6da27b03-623e-4f5f-b2ec-b3547242dc18', 'x-openstack-request-id': 'req-6da27b03-623e-4f5f-b2ec-b3547242dc18', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/06f2d3ebad1445b794e4151e5b8f60fb/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151/accept'} Body: b'{"badRequest": {"code": 400, "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."}}' 2021-12-09 14:44:56,009 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151 0.054s 2021-12-09 14:44:56,010 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3c218769-6819-4e42-943d-b0deef59746c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/71bf167282d94f7d9e7073747c9f7d53/os-volume-transfer/e500b569-b1af-4bdf-8a6f-a91bd5072151'} Body: b'' 2021-12-09 14:44:56,128 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.118s 2021-12-09 14:44:56,128 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5bf838be-5e0d-41a0-adc6-ad6100c260a0', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'' 2021-12-09 14:44:56,167 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 200 GET http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.037s 2021-12-09 14:44:56,167 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e10c98b6-5233-4b53-b1e0-773fca465ad0', 'conten t-length': '1077', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e10c98b6-5233-4b53-b1e0-773fca465ad0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"volume": {"id": "37a3ee4a-128b-45a4-bf5a-caf47513b0a0", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:44:54.000000", "updated_at": "2021-12-09T14:44:56.000000", "name": "tempest-VolumesTransfersTest-Volume-793955604", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0"}], "user_id": "131eed2e2b394daabf7a0a6f5aae20fe", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "os-vol-host-attr:host": "hv-cinder-81969@wincnd#smbshare", "os-vol-tenant-attr:tenant_id": "71bf167282d94f7d9e7073747c9f7d53", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:44:57,202 123196 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 404 GET http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0 0.025s 2021-12-09 14:44:57,202 123196 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:44:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '109', 'content-type': 'application/json', 'x-compute-request-id': 'req-b809f323-1d14-4b4a-aa8b-27feedca403e', 'x-openstack-request-id': 'req-b809f323-1d14-4b4a-aa8b-27feedca403e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.15/volume/v3/f011a43b5f194b1ab2631b1970b83889/volumes/37a3ee4a-128b-45a4-bf5a-caf47513b0a0'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 37a3ee4a-128b-45a4-bf5a-caf47513b0a0 could not be found."}}' tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs[id-c03cc62c-f4e9-4623-91ec-64ce2f9c1260] ----------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types.py", line 63, in test_volume_crud_with_volume_type_and_extra_specs self.volumes_client.retype_volume(volume['id'], File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 350, in retype_volume resp, body = self.post('volumes/%s/action' % volume_id, post_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 299, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/services/volume/base_client.py", line 39, in request resp, resp_body = super(BaseClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 814, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change.'} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:18,781 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.125s 2021-12-09 14:48:18,781 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-484888242", "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0c77d1db-e1da-4600-80df-d17906f848af', 'content-length': '277', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0c77d1db-e1da-4600-80df-d17906f848af', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "a0541fe8-51c6-4d2f-b57a-2e80b282f027", "name": "tempest-VolumeTypesTest-volume-type-484888242", "is_public": true, "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:18,815 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.031s 2021-12-09 14:48:18,816 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-1622281413", "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2d5cb966-32de-49e0-8a4e-1161eaa3d8f4', 'content-length': '278', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2d5cb966-32de-49e0-8a4e-1161eaa3d8f4', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "345e14c2-3aec-4cdc-801c-1e6274c9edb8", "name": "tempest-VolumeTypesTest-volume-type-1622281413", "is_public": true, "extra_specs": {"storage_protocol": "smbfs", "vendor_name": "Open Source"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:19,019 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 202 POST http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes 0.201s 2021-12-09 14:48:19,020 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeTypesTest-volume-271791399", "volume_type": "a0541fe8-51c6-4d2f-b57a-2e80b282f027", "size": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:18 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-fb6a599f-d432-47e8-a9d5-1e94aadebcfd', 'content-length': '848', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-fb6a599f-d432-47e8-a9d5-1e94aadebcfd', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:18.981001", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-2717913 99", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:48:19,064 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359 0.038s 2021-12-09 14:48:19,065 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:19 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-74175509-9f67-47cc-9d72-dad654e6fda0', 'content-length': '916', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-74175509-9f67-47cc-9d72-dad654e6fda0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:19.000000", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-271791399", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "42d250c599544e0d85aea9b4376a8bd9"}}' 2021-12-09 14:48:20,110 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359 0.038s 2021-12-09 14:48:20,110 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2a1e6efb-6504-4b0a-8f2e-2b6eb5ab6fc3', 'content-length': '941', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2a1e6efb-6504-4b0a-8f2e-2b6eb5ab6fc3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359'} Body: b'{"volume": {"id": "6d83989b-7110-46e8-9998-3f95302da359", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:48:19.000000", "updated_at": "2021-12-09T14:48:19.000000", "name": "tempest-VolumeTypesTest-volume-271791399", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-484888242", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.15/volume/v3/42d250c599544e 0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}, {"rel": "bookmark", "href": "http://10.222.0.15/volume/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359"}], "user_id": "d2e5852ebb504bfbb0eb3bc18309dc9b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "42d250c599544e0d85aea9b4376a8bd9"}}' 2021-12-09 14:48:20,117 123208 INFO [tempest.common.waiters] volume 6d83989b-7110-46e8-9998-3f95302da359 reached available after waiting for 1.117414 seconds 2021-12-09 14:48:20,153 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 400 POST http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359/action 0.035s 2021-12-09 14:48:20,153 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "345e14c2-3aec-4cdc-801c-1e6274c9edb8"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '297', 'content-type': 'application/json', 'x-compute-request-id': 'req-dda87379-7fa3-405b-8dae-a7024e8f6247', 'x-openstack-request-id': 'req-dda87379-7fa3-405b-8dae-a7024e8f6247', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.15/volume/v3/42d250c599544e0d85aea9b4376a8bd9/volumes/6d83989b-7110-46e8-9998-3f95302da359/action'} Body: b'{"badRequest": {"code": 400, "message": "Invalid volume: Retype needs volume to be in available or in-use state, not be part of an active migration or a consistency group, requested type has to be different that the one from the volume, and for in-use volumes front-end qos specs cannot change."}}' tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update[id-cf9f07c6-db9e-4462-a243-5933ad65e9c8] --------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/admin/test_volume_types.py", line 194, in test_volume_type_update updated_vol_type = self.admin_volume_types_client.update_volume_type( File "/opt/stack/tempest/tempest/lib/services/volume/v3/types_client.py", line 162, in update_volume_type resp, body = self.put('types/%s' % volume_type_id, put_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 363, in put return self.request('PUT', url, extra_headers, headers, body, chunked) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Cannot update volume_type 686b2332-89b3-433a-9987-612af2f64931 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:20,716 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 200 POST http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types 0.030s 2021-12-09 14:48:20,717 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-VolumeTypesTest-volume-type-1861002652"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a10d7990-db7c-46c8-9eb7-d01597d287d2', 'content-length': '221', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a10d7990-db7c-46c8-9eb7-d01597d287d2', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types'} Body: b'{"volume_type": {"id": "686b2332-89b3-433a-9987-612af2f64931", "name": "tempest-VolumeTypesTest-volume-type-1861002652", "is_public": true, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:48:20,792 123208 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 500 PUT http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types/686b2332-89b3-433a-9987-612af2f64931 0.073s 2021-12-09 14:48:20,792 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume_type": {"name": "tempest-volume-type-1669530087", "description": "tempest-volume-type-description-515093804", "is_public": false}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:20 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '108', 'content-type': 'application/json', 'x-compute-request-id': 'req-dbf43432-f6ae-4f4a-8d82-a350c0af434f', 'x-openstack-request-id': 'req-dbf43432-f6ae-4f4a-8d82-a350c0af434f', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/e9c685cf723642cfb9a9dd48a12d95af/types/686b2332-89b3-433a-9987-612af2f64931'} Body: b'{"computeFault": {"code": 500, "message": "Cannot update volume_type 686b2332-89b3-433a-9987-612af2f64931"}}' tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits[id-8e943f53-e9d6-4272-b2e9-adcf2f7c29ad] ------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/volume/test_volume_absolute_limits.py", line 49, in test_get_volume_absolute_limits self.volume_limits_client.show_limits( File "/opt/stack/tempest/tempest/lib/services/volume/v3/limits_client.py", line 28, in show_limits resp, body = self.get(url) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in get return self.request('GET', url, extra_headers, headers) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 703, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: The server has either erred or is incapable of performing the requested operation. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:48:38,336 123208 INFO [tempest.lib.common.rest_client] Request (AbsoluteLimitsTests:test_get_volume_absolute_limits): 500 GET http://10.222.0.15/volume/v3/c79d6d2c99fa44a4865b8da102f28396/limits 0.017s 2021-12-09 14:48:38,337 123208 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 09 Dec 2021 14:48:38 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'content-length': '128', 'content-type': 'application/json', 'x-compute-request-id': 'req-f00bf0bf-e6e6-4f37-95f5-a28c8019f5ff', 'x-openstack-request-id': 'req-f00bf0bf-e6e6-4f37-95f5-a28c8019f5ff', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.15/volume/v3/c79d6d2c99fa44a4865b8da102f28396/limits'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' ====== Totals ====== Ran: 235 tests in 517.8811 sec. - Passed: 209 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 16 Sum of execute time for each test: 1849.0448 sec. ============== Worker Balance ============== - Worker 0 (25 tests) => 0:02:07.288301 - Worker 1 (52 tests) => 0:02:58.608090 - Worker 2 (29 tests) => 0:08:32.240559 - Worker 3 (34 tests) => 0:03:18.560867 - Worker 4 (13 tests) => 0:06:18.574799 - Worker 5 (28 tests) => 0:05:29.953290 - Worker 6 (27 tests) => 0:05:33.151125 - Worker 7 (27 tests) => 0:04:07.342278 tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots[id-c99a1ca9-6cdf-498d-9fdf-25832babef27,negative] tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots[id-02bbf63f-6c05-4357-9d98-2926a94064ff,negative] tearDownClass (tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON) tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume[id-70076c71-0ce1-4208-a8ff-36a66e65cc1e] tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota[id-874b35a9-51f1-4258-bec5-cd561b6690d3] tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype[id-b90412ee-465d-46e9-b249-ec84a47d5f25] tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes[id-2dc27eee-8659-4298-b900-169d71a91374,negative] tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes[id-bf544854-d62a-47f2-a681-90f7a47d86b6,negative] tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation[id-d321dc21-d8c6-401f-95fe-49f4845f1a6d,negative] tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer[id-8911036f-9d54-4720-80cc-a1c9796a8805] tearDownClass (tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON) tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer[id-9f36bb2b-619f-4507-b246-76aeb9a28851] tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer[id-4d75b645-a478-48b1-97c8-503f64242f1a] tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs[id-c03cc62c-f4e9-4623-91ec-64ce2f9c1260] tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update[id-cf9f07c6-db9e-4462-a243-5933ad65e9c8] tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits[id-8e943f53-e9d6-4272-b2e9-adcf2f7c29ad] ~ Exit code: 1