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 :) {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.034855s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.016041s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.015924s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.067360s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009309s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.010891s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.399592s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.064826s] ... ok {6} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [0.736636s] ... ok {5} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [11.556603s] ... ok {0} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {6} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [13.724560s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.257597s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [2.090562s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.922829s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.182859s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.496727s] ... ok {5} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.473629s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.108225s] ... ok {6} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [1.451835s] ... ok {5} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.016998s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.019779s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.102834s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.024066s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.034881s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.025089s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.024224s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.018366s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.014981s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.041012s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.051137s] ... ok {5} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.063772s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [0.189997s] ... 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:12,913 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2/defaults 0.030s 2021-12-09 14:43:12,914 123203 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:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a1a255fe-105b-4714-b225-b696b5929286', 'content-length': '560', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a1a255fe-105b-4714-b225-b696b5929286', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2/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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:12,959 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 PUT http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.043s 2021-12-09 14:43:12,960 123203 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:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0202e7ec-8a48-452e-9eae-0ab88aeeb4c8', 'content-length': '518', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0202e7ec-8a48-452e-9eae-0ab88aeeb4c8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -1}}' 2021-12-09 14:43:13,003 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 500 DELETE http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.040s 2021-12-09 14:43:13,003 123203 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:12 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-5c314275-35fd-4907-bbb8-f373b29b459e', 'x-openstack-request-id': 'req-5c314275-35fd-4907-bbb8-f373b29b459e', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/7eacc 633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' 2021-12-09 14:43:13,068 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 200 PUT http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.063s 2021-12-09 14:43:13,069 123203 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:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0451082b-d486-4a16-9d20-4d1a50bdd4c0', 'content-length': '518', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0451082b-d486-4a16-9d20-4d1a50bdd4c0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -1}}' {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.022615s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.032744s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [13.790434s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [2.995219s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [1.952760s] ... 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:16,311 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes 0.185s 2021-12-09 14:43:16,312 123203 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-908145161"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3cb19c32-e288-4720-a531-06dbee0017ef', 'content-length': '824', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3cb19c32-e288-4720-a531-06dbee0017ef', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.241506", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:16,419 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.100s 2021-12-09 14:43:16,419 123203 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:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac466aba-3616-4b64-8519-3813d3c7d281', 'content-length': '892', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac466aba-3616-4b64-8519-3813d3c7d281', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.000000", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,469 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.040s 2021-12-09 14:43:17,469 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3b0af29c-c7c3-41b8-89d0-d601276828ae', 'content-length': '917', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3b0af29c-c7c3-41b8-89d0-d601276828ae', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.000000", "updated_at": "2021-12-09T14:43:17.000000", "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,476 123203 INFO [tempest.common.waiters] volume f1443380-c631-4a4e-a025-01fc35bb4c29 reached available after waiting for 1.476397 seconds 2021-12-09 14:43:17,499 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2?usage=True 0.022s 2021-12-09 14:43:17,499 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b60d70a2-9d15-498f-bbcd-39fd52dc9b4e', 'content-length': '1500', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b60d70a2-9d15-498f-bbcd-39fd52dc9b4e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2?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-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1217993582": {"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}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"l imit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,506 123203 WARNING [tempest.lib.common.rest_client] Deprecated: "tenant_id" property is deprecated for removal, use "project_id" instead 2021-12-09 14:43:17,528 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/99a10ff1ce874885a052b07cde818dc4?usage=True 0.021s 2021-12-09 14:43:17,528 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ee0b3ab2-1555-4a79-b84d-99140cc69390', 'content-length': '1500', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee0b3ab2-1555-4a79-b84d-99140cc69390', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/99a10ff1ce874885a052b07cde818dc4?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-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1217993582": {"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}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "99a10ff1ce874885a052b07cde818dc4"}}' 2021-12-09 14:43:17,590 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer 0.055s 2021-12-09 14:43:17,590 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "f1443380-c631-4a4e-a025-01fc35bb4c29"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3ff89691-f73a-41e2-a2dc-c12d484214f9', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3ff89691-f73a-41e2-a2dc-c12d484214f9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer'} Body: b'{"transfer": {"id": "f91390c7 -80c6-4906-bc83-40eb463af84f", "created_at": "2021-12-09T14:43:17.578102", "name": null, "volume_id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "auth_key": "d0c89b25fcf78bda", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f"}]}}' 2021-12-09 14:43:18,004 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 400 POST http://10.222.0.39/volume/v3/99a10ff1ce874885a052b07cde818dc4/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f/accept 0.412s 2021-12-09 14:43:18,005 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "d0c89b25fcf78bda"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:17 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-d8104447-f793-4c90-ad76-5cc5254c3aa5', 'x-openstack-request-id': 'req-d8104447-f793-4c90-ad76-5cc5254c3aa5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/99a10ff1ce874885a052b07cde818dc4/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f/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:18,075 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 400 DELETE http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.069s 2021-12-09 14:43:18,076 123203 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:18 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-9fc6dd5f-423a-4c65-a3d1-820e96ab9642', 'x-openstack-request-id': 'req-9fc6dd5f-423a-4c65-a3d1-820e96ab9642', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} 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."}}' {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.030359s] ... ok {6} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [0.098079s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [2.977895s] ... ok {6} 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.'}, ) {6} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [2.749672s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [8.875815s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [9.497167s] ... 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:22,925 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes 0.275s 2021-12-09 14:43:22,925 123203 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-274986467"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8265f3ee-8c0b-4ed8-a12f-68333a4521c9', 'content-length': '887', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8265f3ee-8c0b-4ed8-a12f-68333a4521c9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:22.881505", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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:22,981 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.049s 2021-12-09 14:43:22,981 123203 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:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0b2c92cf-dd45-49ab-a25e-6b34f1022375', 'content-length': '955', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0b2c92cf-dd45-49ab-a25e-6b34f1022375', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:24,036 123203 INFO [tempest.lib.common.rest_client] Reques t (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.047s 2021-12-09 14:43:24,036 123203 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:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e9245b70-6023-45e6-bc5e-9192b5cbd660', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e9245b70-6023-45e6-bc5e-9192b5cbd660', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:25,083 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.038s 2021-12-09 14:43:25,083 123203 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:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd5fe2dc-c3d0-45ef-b6df-8c6b76c8a88f', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd5fe2dc-c3d0-45ef-b6df-8c6b76c8a88f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:26,134 123203 INFO [tempest. lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.043s 2021-12-09 14:43:26,134 123203 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:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-973e8ef8-3af2-44d7-b326-1a3ac572668e', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-973e8ef8-3af2-44d7-b326-1a3ac572668e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:27,196 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.054s 2021-12-09 14:43:27,197 123203 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:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7a92a092-a6f1-407a-b7a7-9e83ad19b17a', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7a92a092-a6f1-407a-b7a7-9e83ad19b17a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:28 ,251 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.046s 2021-12-09 14:43:28,251 123203 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:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df84fd36-cfed-4f1e-b3d1-183499a27d15', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df84fd36-cfed-4f1e-b3d1-183499a27d15', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:29,298 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.038s 2021-12-09 14:43:29,298 123203 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:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9930fb02-9d88-4635-a3c2-93dfa530d0e7', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9930fb02-9d88-4635-a3c2-93dfa530d0e7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff72 5d35bc"}}' 2021-12-09 14:43:30,356 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.050s 2021-12-09 14:43:30,356 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7a6aa1ea-7b0a-4a7d-9ead-2165e1460770', 'content-length': '1014', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7a6aa1ea-7b0a-4a7d-9ead-2165e1460770', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:30.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:30,363 123203 INFO [tempest.common.waiters] volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b reached available after waiting for 8.363190 seconds 2021-12-09 14:43:30,419 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers 0.055s 2021-12-09 14:43:30,419 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-527db1bb-bbf9-405f-9ef2-7c3e8737721b', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-527db1bb-bbf9-405f-9ef2-7c3e8737721b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers'} Body: b'{"transfer": {"id": "0d83db36-04a7-4531-95a3-332b93373d90", "created_at": "2021-12-09T14:43:30.409160", "name": null, "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "auth_key": "21593575f4139671", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}}' 2021-12-09 14:43:30,475 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2 b 0.053s 2021-12-09 14:43:30,475 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1e2579b-2b18-47ff-904b-e36fd819ba31', 'content-length': '1022', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1e2579b-2b18-47ff-904b-e36fd819ba31', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:30.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:30,482 123203 INFO [tempest.common.waiters] volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b reached awaiting-transfer after waiting for 0.482715 seconds 2021-12-09 14:43:30,510 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90 0.027s 2021-12-09 14:43:30,511 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-443f7bdf-86af-4825-a51b-164cff3ab525', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-443f7bdf-86af-4825-a51b-164cff3ab525', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90'} Body: b'{"transfer": {"id": "0d83db36-04a7-4531-95a3-332b93373d90", "created_at": "2021-12-09T14:43:30.000000", "name": null, "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}}' 2021-12-09 14:43:30,542 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers 0.029s 2021-12-09 14:43:30,543 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubu ntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4cd8d6ba-0947-4ac6-af09-a914684a4fed', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4cd8d6ba-0947-4ac6-af09-a914684a4fed', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers'} Body: b'{"transfers": [{"id": "0d83db36-04a7-4531-95a3-332b93373d90", "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}]}' 2021-12-09 14:43:30,843 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.39/volume/v3/4ec676411a3e428ebbaf7fb6fd37e889/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90/accept 0.298s 2021-12-09 14:43:30,844 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "21593575f4139671"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:30 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-4494f845-4815-4375-914a-e7c51e1fcfca', 'x-openstack-request-id': 'req-4494f845-4815-4375-914a-e7c51e1fcfca', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/4ec676411a3e428ebbaf7fb6fd37e889/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90/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:30,927 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90 0.082s 2021-12-09 14:43:30,927 123203 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:30 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-07a61bd5-bcf9-4656-b2f3-da6ed3e33b9d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90'} Body: b'' 2021-12-09 14:43:31,059 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.131s 2021-12-09 14:43:31,060 123203 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:30 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-0e862985-d99d-4c35-94bd-2b0b8fc85d77', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'' 2021-12-09 14:43:31,112 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 200 GET http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.052s 2021-12-09 14:43:31,113 123203 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:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-646a7080-4dc6-4a4b-bf20-745637852aa3', 'content-length': '1210', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-646a7080-4dc6-4a4b-bf20-745637852aa3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:31.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "group_id": null, "provider_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-host-attr:host": "hv-cinder-81969@wincnd#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:32,144 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 404 GET http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.022s 2021-12-09 14:43:32,145 123203 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:32 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-e423fa27-2210-4f99-a283-0a8bf2357b9e', 'x-openstack-request-id': 'req-e423fa27-2210-4f99-a283-0a8bf2357b9e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b could not be found."}}' {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [20.609860s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [2.477629s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [2.581879s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [1.671525s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.111694s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.054167s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.011997s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.020889s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.013534s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [7.625282s] ... ok {0} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [11.689928s] ... ok {5} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [1.772350s] ... ok {7} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [73.307432s] ... ok {0} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.244567s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [73.150412s] ... ok {7} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.357598s] ... ok {0} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.038806s] ... ok {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [0.436369s] ... ok {5} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [0.345965s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.321174s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [0.801103s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [9.016940s] ... ok {0} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [1.894253s] ... ok {0} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.353034s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [8.701858s] ... ok {0} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.204966s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [29.085750s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [3.293816s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.068925s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.063616s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.084569s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.456161s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.211626s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.340481s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.070183s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.096809s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.126875s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.186090s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.120940s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.077172s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.150508s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.187797s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.167947s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.092848s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [0.247310s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.121983s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.081453s] ... ok {0} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.088199s] ... ok {7} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [0.222922s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [22.401442s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [3.601585s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [0.778600s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.010617s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.019370s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.021096s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.019898s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.009547s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.009324s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.008864s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.020409s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.008699s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.021349s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.021101s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.009517s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.076510s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.069208s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.059233s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.067042s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.120019s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.020386s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.019410s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.008038s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.019610s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.020369s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.020703s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.011680s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.010213s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.022234s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.010935s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.020658s] ... ok {5} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.021295s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [23.649745s] ... ok {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume [33.279430s] ... ok {7} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.221656s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {4} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.319067s] ... ok {4} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.174606s] ... 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': 'e3b00327-c7ed-4a39-bd29-546346a5a121', 'status': 'creating', 'size': 2, 'availability_zone': 'nova', 'created_at': '2021-12-09T14:45:11.737982', '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.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121'}, {'rel': 'bookmark', 'href': 'http://10.222.0.39/volume/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121'}], 'user_id': '26c7f251a52d43d98413475b04a85441', 'bootable': 'false', 'encrypted': False, 'replication_status': None, 'consistencygroup_id': None, 'multiattach': False, 'attachments': []}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:11,656 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 200 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.043s 2021-12-09 14:45:11,656 123198 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:45:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f86b7e6f-603d-47b8-8ed0-3f3667a8fe4a', 'content-length': '316', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f86b7e6f-603d-47b8-8ed0-3f3667a8fe4a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:45:11,780 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 202 POST http://10.222.0.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes 0.121s 2021-12-09 14:45:11,780 123198 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:45:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ec00a1c-c7d7-4b70-8318-c437087a0796', 'content-length': '776', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ec00a1c-c7d7-4b70-8318-c437087a0796', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes'} Body: b'{"volume": {"id": "e3b00327-c7ed-4a39-bd29-546346a5a121", "status": "creating", "size": 2, "availability_zone": "nova", "created_at": "2021-12-09T14:45:11.737982", "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.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121"}], "user_id": "26c7f251a52d43d98413475b04a85441", "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.028301s] ... 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:45:11,815 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volumes): 400 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.026s 2021-12-09 14:45:11,815 123198 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:45:11 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-bdc4c39a-506e-4c6f-a473-63a85d94cc6a', 'x-openstack-request-id': 'req-bdc4c39a-506e-4c6f-a473-63a85d94cc6a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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.028956s] ... 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:45:11,845 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_volume_extend_gigabytes_quota_deviation): 400 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.027s 2021-12-09 14:45:11,845 123198 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:45:11 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-58ffce6f-ec9a-4259-99d3-6e648c65022d', 'x-openstack-request-id': 'req-58ffce6f-ec9a-4259-99d3-6e648c65022d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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."}}' {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [0.165387s] ... 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': 'cf07f933-0cc1-4d52-bd84-df9f3f881f32', 'created_at': '2021-12-09T14:45:21.628610', 'updated_at': None, 'name': None, 'description': None, 'volume_id': 'b624799c-53e1-45f4-b4c1-8ab821957200', '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:45:21,578 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 200 PUT http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79 0.036s 2021-12-09 14:45:21,578 123198 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:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d5f34fcf-316f-4f58-9392-1de76c823802', 'content-length': '314', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d5f34fcf-316f-4f58-9392-1de76c823802', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:45:21,665 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 202 POST http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots 0.084s 2021-12-09 14:45:21,666 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed37c564-e9cf-4636-97fe-8e001593d2f1', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed37c564-e9cf-4636-97fe-8e001593d2f1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots'} Body: b'{"snapshot": {"id": "cf07f933-0cc1-4d52-bd84-df9f3f881f32", "created_at": "2021-12-09T14:45:21.628610", "updated_at": null, "name": null, "description": null, "volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200", "status": "creating", "size": 1, "metadata": {}}}' 2021-12-09 14:45:21,705 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:_run_cleanups): 400 PUT http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79 0.036s 2021-12-09 14:45:21,706 123198 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:45:21 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-8bf8a73f-fe12-4236-b44e-197f6f836092', 'x-openstack-request-id': 'req-8bf8a73f-fe12-4236-b44e-197f6f836092', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79'} 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."}}' {4} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.088607s] ... 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': '26fe1f86-f9cf-4632-8dcc-e981581d5e19', 'created_at': '2021-12-09T14:45:21.753420', 'updated_at': None, 'name': None, 'description': None, 'volume_id': 'b624799c-53e1-45f4-b4c1-8ab821957200', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:21,793 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_snapshots): 202 POST http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots 0.084s 2021-12-09 14:45:21,793 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-34a29460-2214-4308-b140-84424b57c06a', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-34a29460-2214-4308-b140-84424b57c06a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots'} Body: b'{"snapshot": {"id": "26fe1f86-f9cf-4632-8dcc-e981581d5e19", "created_at": "2021-12-09T14:45:21.753420", "updated_at": null, "name": null, "description": null, "volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200", "status": "creating", "size": 1, "metadata": {}}}' {4} 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.'}, ) {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [1.556790s] ... 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:45:32,914 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.140s 2021-12-09 14:45:32,914 123198 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-427993248", "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-427b20fd-16e2-4d5e-8ed3-e68b45f17fde', 'content-length': '275', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-427b20fd-16e2-4d5e-8ed3-e68b45f17fde', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "66f37dd9-37c8-458b-b01d-f6b672e84687", "name": "tempest-VolumeTypesTest-volume-type-427993248", "is_public": true, "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:32,952 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.035s 2021-12-09 14:45:32,952 123198 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-1710520536", "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cc023f9d-96c1-4d77-b69e-e01003bb30a0', 'content-length': '276', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cc023f9d-96c1-4d77-b69e-e01003bb30a0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "ec706b19-7d1c-45e0-8ef2-3206714f9619", "name": "tempest-VolumeTypesTest-volume-type-1710520536", "is_public": true, "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:33,177 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 202 POST http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes 0.222s 2021-12-09 14:45:33,177 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeTypesTest-volume-816435588", "volume_type": "66f37dd9-37c8-458b-b01d-f6b672e84687", "size": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-135e209b-2f13-4831-a07f-930317e7950e', 'content-length': '848', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-135e209b-2f13-4831-a07f-930317e7950e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.133849", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-816435588", "de scription": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:45:33,228 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d 0.045s 2021-12-09 14:45:33,228 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:45:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-07e4c9ba-6b85-4def-a6b7-e2165f201c68', 'content-length': '916', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-07e4c9ba-6b85-4def-a6b7-e2165f201c68', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.000000", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-816435588", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "4567046a2ee04c29bc7e16f0173e3131"}}' 2021-12-09 14:45:34,282 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d 0.046s 2021-12-09 14:45:34,282 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:45:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dc200626-753b-4c8d-b509-e0cfbe4496cb', 'content-length': '941', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dc200626-753b-4c8d-b509-e0cfbe4496cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.000000", "updated_at": "2021-12-09T14:45:34.000000", "name": "tempest-VolumeTypesTest-volume-816435588", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16 f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "4567046a2ee04c29bc7e16f0173e3131"}}' 2021-12-09 14:45:34,289 123198 INFO [tempest.common.waiters] volume 7c1bd44f-3bb1-4f50-abed-abf35cab402d reached available after waiting for 1.289749 seconds 2021-12-09 14:45:34,329 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 400 POST http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d/action 0.039s 2021-12-09 14:45:34,329 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "ec706b19-7d1c-45e0-8ef2-3206714f9619"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 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-a920d8e6-7fd9-4820-9a4d-b9dbbd74819c', 'x-openstack-request-id': 'req-a920d8e6-7fd9-4820-9a4d-b9dbbd74819c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d/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_types.VolumeTypesTest.test_volume_type_create_get_delete [0.063359s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [0.306060s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.046091s] ... ok {4} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.088838s] ... 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 ebf286eb-05a3-4966-a9cb-5d6c5734bc92 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:34,781 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.032s 2021-12-09 14:45:34,782 123198 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-565474033"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e1d84dd0-0825-4f47-89b0-ec61bbccd86c', 'content-length': '220', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e1d84dd0-0825-4f47-89b0-ec61bbccd86c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "ebf286eb-05a3-4966-a9cb-5d6c5734bc92", "name": "tempest-VolumeTypesTest-volume-type-565474033", "is_public": true, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:34,836 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 500 PUT http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types/ebf286eb-05a3-4966-a9cb-5d6c5734bc92 0.052s 2021-12-09 14:45:34,836 123198 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-829865957", "description": "tempest-volume-type-description-2128161191", "is_public": false}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 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-11971125-e7b4-47ed-a004-1b7bf2b3781b', 'x-openstack-request-id': 'req-11971125-e7b4-47ed-a004-1b7bf2b3781b', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types/ebf286eb-05a3-4966-a9cb-5d6c5734bc92'} Body: b'{"computeFault": {"code": 500, "message": "Cannot update volume_type ebf286eb-05a3-4966-a9cb-5d6c5734bc92"}}' {4} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.021049s] ... 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:45:40,257 123198 INFO [tempest.lib.common.rest_client] Request (AbsoluteLimitsTests:test_get_volume_absolute_limits): 500 GET http://10.222.0.39/volume/v3/4d23a1cef80d45aa8c3b53af4403ed9c/limits 0.019s 2021-12-09 14:45:40,258 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:45:40 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-afd8f273-a50e-4f8c-b52d-5333c264c3cd', 'x-openstack-request-id': 'req-afd8f273-a50e-4f8c-b52d-5333c264c3cd', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/4d23a1cef80d45aa8c3b53af4403ed9c/limits'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' {4} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {1} tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume [60.399834s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [67.362266s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [6.511876s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [0.237217s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [8.624927s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [8.592214s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [5.529069s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [5.509331s] ... ok {1} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.364027s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [264.529291s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [55.137712s] ... ok {1} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [1.441958s] ... 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:47:11,700 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 202 POST http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes 0.224s 2021-12-09 14:47:11,700 123192 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-1628377157"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:47:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4b885a5-8ac4-456d-aaa1-ab1affa9626a', 'content-length': '834', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4b885a5-8ac4-456d-aaa1-ab1affa9626a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:11.650253", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:47:11,756 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95 0.049s 2021-12-09 14:47:11,756 123192 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:47:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8c57c921-2526-42f4-89e9-bbb2a73a742e', 'content-length': '902', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8c57c921-2526-42f4-89e9-bbb2a73a742e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2"}}' 2021-12-09 14:47:12,811 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b 5f-af61-f437ecb08c95 0.048s 2021-12-09 14:47:12,812 123192 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:47:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-be828976-3a65-4f35-89b3-a9da527e048a', 'content-length': '927', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-be828976-3a65-4f35-89b3-a9da527e048a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": "2021-12-09T14:47:13.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2"}}' 2021-12-09 14:47:12,819 123192 INFO [tempest.common.waiters] volume 50452963-557a-4b5f-af61-f437ecb08c95 reached available after waiting for 1.819212 seconds 2021-12-09 14:47:12,864 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95 0.045s 2021-12-09 14:47:12,865 123192 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:47:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cc2f21a6-efb2-4dce-9fbd-363722a29b71', 'content-length': '1103', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cc2f21a6-efb2-4dce-9fbd-363722a29b71', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": "2021-12-09T14:47:13.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "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#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:47:12,915 123192 INFO [tempest.lib.common.rest_client ] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 400 POST http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95/action 0.042s 2021-12-09 14:47:12,915 123192 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:47:12 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-f75f1700-186c-4c3d-b6c4-915bd02e8f98', 'x-openstack-request-id': 'req-f75f1700-186c-4c3d-b6c4-915bd02e8f98', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95/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."}}' {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [7.995487s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.135928s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [0.156403s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.010224s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.055177s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.015349s] ... ok {1} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.014998s] ... ok {1} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.119688s] ... ok {7} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [11.154364s] ... ok {1} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.330294s] ... ok {1} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [0.284594s] ... ok {1} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [15.202079s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.022112s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.045703s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.020180s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.065050s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.031777s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.034104s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.024027s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.033874s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.032635s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.034329s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.034326s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.102289s] ... ok {7} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.097787s] ... ok {1} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [14.239132s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [319.923561s] ... ok {1} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [27.011753s] ... ok {1} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [6.750980s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [22.849630s] ... ok {4} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [193.053038s] ... ok {1} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [6.773337s] ... ok {6} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [348.134773s] ... ok {3} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [105.109806s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [182.370046s] ... ok {3} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [1.520656s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [0.466841s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.161740s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.129831s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.106009s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.019294s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.023991s] ... ok {3} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.146983s] ... ok {2} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.064167s] ... ok {2} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.033737s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.023416s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.022233s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.018858s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status ... SKIPPED: Skipped until bug: https://launchpad.net/bugs/1770179 is resolved. {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [1.406846s] ... ok {3} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.020971s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.013776s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.021456s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.023441s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.023358s] ... ok {2} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.026492s] ... ok {3} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.009146s] ... ok {3} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.209428s] ... ok {3} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [1.488451s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [2.931037s] ... 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:50:25,907 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes 0.256s 2021-12-09 14:50:25,907 123194 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-51927875"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1b52e427-3e74-41d3-8a3c-bec617446c3b', 'content-length': '818', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b52e427-3e74-41d3-8a3c-bec617446c3b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:25.864542", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:50:25,953 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.039s 2021-12-09 14:50:25,953 123194 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:50:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5f628539-2899-43e9-8445-7f6887607ee8', 'content-length': '886', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5f628539-2899-43e9-8445-7f6887607ee8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,016 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.055s 2021-12-09 14:50:27,017 123194 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:50:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-61235b86-d332-4040-afac-688221a48894', 'content-length': '911', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61235b86-d332-4040-afac-688221a48894', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:26.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,027 123194 INFO [tempest.common.waiters] volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 reached available after waiting for 2.027218 seconds 2021-12-09 14:50:27,076 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer 0.048s 2021-12-09 14:50:27,076 123194 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c22e17cb-d0c8-4d71-89be-0709ac32ffcc', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c22e17cb-d0c8-4d71-89be-0709ac32ffcc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer'} Body: b'{"transfer": {"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "created_at": "2021-12-09T14:50:27.067365", "name": null, "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "auth_key": "4703d84e01fe75d4", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}}' 2021-12-09 14:50:27,117 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.038s 2021-12-09 14:50:27,117 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b57cee8d-1489-4b30-9ebb-bcc202745ffa', 'content-length': '919', 'openstack-api-version': 'vol ume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b57cee8d-1489-4b30-9ebb-bcc202745ffa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:27.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,124 123194 INFO [tempest.common.waiters] volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 reached awaiting-transfer after waiting for 0.124948 seconds 2021-12-09 14:50:27,142 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7 0.017s 2021-12-09 14:50:27,143 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-210d133b-200d-486a-aaf6-d49f68527ef7', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-210d133b-200d-486a-aaf6-d49f68527ef7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7'} Body: b'{"transfer": {"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "created_at": "2021-12-09T14:50:27.000000", "name": null, "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}}' 2021-12-09 14:50:27,165 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer 0.019s 2021-12-09 14:50:27,165 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-31673b5c-aa17-45f7-b428-bc363f71e627', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31673b5c-aa17-45f7-b428-bc363f71e627', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer'} Body: b'{"transfers": [{"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.39/vo lume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}]}' 2021-12-09 14:50:27,372 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.39/volume/v3/6909ff1ace9040e0830062e4a7dbcc58/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7/accept 0.205s 2021-12-09 14:50:27,372 123194 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "4703d84e01fe75d4"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:27 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-316d25db-6bcb-4cbd-ad37-d5b44512aba0', 'x-openstack-request-id': 'req-316d25db-6bcb-4cbd-ad37-d5b44512aba0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/6909ff1ace9040e0830062e4a7dbcc58/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7/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:50:27,415 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7 0.041s 2021-12-09 14:50:27,416 123194 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:50:27 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-40c5baef-7ab5-4be7-b5ef-07185109aafb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7'} Body: b'' 2021-12-09 14:50:27,512 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.096s 2021-12-09 14:50:27,512 123194 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:50:27 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-5af443d8-8f6e-442e-8072-4414efe1485a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'' 2021-12-09 14:50:27,551 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 200 GET http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.038s 2021-12-09 14:50:27,551 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9f120dda-796f-4a4a-a084-8946a924da57', 'content-len gth': '1086', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9f120dda-796f-4a4a-a084-8946a924da57', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:27.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "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#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:50:28,579 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 404 GET http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.020s 2021-12-09 14:50:28,580 123194 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:50:28 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-84b212e9-96ee-4297-a5d2-e34764469033', 'x-openstack-request-id': 'req-84b212e9-96ee-4297-a5d2-e34764469033', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 could not be found."}}' {3} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.118480s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [2.560142s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [15.291593s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [14.153419s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [0.185055s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.164096s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.182061s] ... ok {2} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [20.148931s] ... ok {2} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [5.078527s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [9.429597s] ... ok {2} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [21.952894s] ... ok {2} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {3} tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern [398.765430s] ... ok ============================== Failed 15 tests - output below: ============================== 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:12,913 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2/defaults 0.030s 2021-12-09 14:43:12,914 123203 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:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-a1a255fe-105b-4714-b225-b696b5929286', 'content-length': '560', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-a1a255fe-105b-4714-b225-b696b5929286', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2/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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:12,959 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 200 PUT http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.043s 2021-12-09 14:43:12,960 123203 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:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0202e7ec-8a48-452e-9eae-0ab88aeeb4c8', 'content-length': '518', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0202e7ec-8a48-452e-9eae-0ab88aeeb4c8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -1}}' 2021-12-09 14:43:13,003 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_delete_quota): 500 DELETE http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.040s 2021-12-09 14:43:13,003 123203 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:12 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-5c314275-35fd-4907-bbb8-f373b29b459e', 'x-openstack-request-id': 'req-5c314275-35fd-4907-bbb8-f373b29b459e', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/7eacc 633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}' 2021-12-09 14:43:13,068 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 200 PUT http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2 0.063s 2021-12-09 14:43:13,069 123203 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:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0451082b-d486-4a16-9d20-4d1a50bdd4c0', 'content-length': '518', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0451082b-d486-4a16-9d20-4d1a50bdd4c0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": -1, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": -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:16,311 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes 0.185s 2021-12-09 14:43:16,312 123203 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-908145161"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3cb19c32-e288-4720-a531-06dbee0017ef', 'content-length': '824', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3cb19c32-e288-4720-a531-06dbee0017ef', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.241506", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:43:16,419 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.100s 2021-12-09 14:43:16,419 123203 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:16 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ac466aba-3616-4b64-8519-3813d3c7d281', 'content-length': '892', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ac466aba-3616-4b64-8519-3813d3c7d281', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.000000", "updated_at": null, "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,469 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.040s 2021-12-09 14:43:17,469 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3b0af29c-c7c3-41b8-89d0-d601276828ae', 'content-length': '917', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3b0af29c-c7c3-41b8-89d0-d601276828ae', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} Body: b'{"volume": {"id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:16.000000", "updated_at": "2021-12-09T14:43:17.000000", "name": "tempest-VolumeQuotasAdminTestJSON-Volume-908145161", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29"}], "user_id": "e01f99da02fd43cf9e9d840232790c40", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,476 123203 INFO [tempest.common.waiters] volume f1443380-c631-4a4e-a025-01fc35bb4c29 reached available after waiting for 1.476397 seconds 2021-12-09 14:43:17,499 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2?usage=True 0.022s 2021-12-09 14:43:17,499 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b60d70a2-9d15-498f-bbcd-39fd52dc9b4e', 'content-length': '1500', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b60d70a2-9d15-498f-bbcd-39fd52dc9b4e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/98adcff9d31942e39ba93a18cd4e51a2?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-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1217993582": {"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}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"l imit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "98adcff9d31942e39ba93a18cd4e51a2"}}' 2021-12-09 14:43:17,506 123203 WARNING [tempest.lib.common.rest_client] Deprecated: "tenant_id" property is deprecated for removal, use "project_id" instead 2021-12-09 14:43:17,528 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 200 GET http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/99a10ff1ce874885a052b07cde818dc4?usage=True 0.021s 2021-12-09 14:43:17,528 123203 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:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ee0b3ab2-1555-4a79-b84d-99140cc69390', 'content-length': '1500', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ee0b3ab2-1555-4a79-b84d-99140cc69390', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/os-quota-sets/99a10ff1ce874885a052b07cde818dc4?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-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1217993582": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1217993582": {"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}, "gigabytes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "volumes_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "snapshots_tempest-GroupSnapshotsTest-volume-type-1516457135": {"limit": -1, "in_use": 0, "reserved": 0}, "id": "99a10ff1ce874885a052b07cde818dc4"}}' 2021-12-09 14:43:17,590 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 202 POST http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer 0.055s 2021-12-09 14:43:17,590 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "f1443380-c631-4a4e-a025-01fc35bb4c29"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:17 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-3ff89691-f73a-41e2-a2dc-c12d484214f9', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-3ff89691-f73a-41e2-a2dc-c12d484214f9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer'} Body: b'{"transfer": {"id": "f91390c7 -80c6-4906-bc83-40eb463af84f", "created_at": "2021-12-09T14:43:17.578102", "name": null, "volume_id": "f1443380-c631-4a4e-a025-01fc35bb4c29", "auth_key": "d0c89b25fcf78bda", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/98adcff9d31942e39ba93a18cd4e51a2/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f"}]}}' 2021-12-09 14:43:18,004 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:test_quota_usage_after_volume_transfer): 400 POST http://10.222.0.39/volume/v3/99a10ff1ce874885a052b07cde818dc4/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f/accept 0.412s 2021-12-09 14:43:18,005 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "d0c89b25fcf78bda"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:17 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-d8104447-f793-4c90-ad76-5cc5254c3aa5', 'x-openstack-request-id': 'req-d8104447-f793-4c90-ad76-5cc5254c3aa5', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/99a10ff1ce874885a052b07cde818dc4/os-volume-transfer/f91390c7-80c6-4906-bc83-40eb463af84f/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:18,075 123203 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasAdminTestJSON:_run_cleanups): 400 DELETE http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29 0.069s 2021-12-09 14:43:18,076 123203 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:18 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-9fc6dd5f-423a-4c65-a3d1-820e96ab9642', 'x-openstack-request-id': 'req-9fc6dd5f-423a-4c65-a3d1-820e96ab9642', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/7eacc633591048a3b4fff64b385741ee/volumes/f1443380-c631-4a4e-a025-01fc35bb4c29'} 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:22,925 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes 0.275s 2021-12-09 14:43:22,925 123203 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-274986467"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8265f3ee-8c0b-4ed8-a12f-68333a4521c9', 'content-length': '887', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8265f3ee-8c0b-4ed8-a12f-68333a4521c9', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:22.881505", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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:22,981 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.049s 2021-12-09 14:43:22,981 123203 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:22 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0b2c92cf-dd45-49ab-a25e-6b34f1022375', 'content-length': '955', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0b2c92cf-dd45-49ab-a25e-6b34f1022375', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": null, "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:24,036 123203 INFO [tempest.lib.common.rest_client] Reques t (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.047s 2021-12-09 14:43:24,036 123203 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:23 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e9245b70-6023-45e6-bc5e-9192b5cbd660', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e9245b70-6023-45e6-bc5e-9192b5cbd660', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:25,083 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.038s 2021-12-09 14:43:25,083 123203 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:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cd5fe2dc-c3d0-45ef-b6df-8c6b76c8a88f', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cd5fe2dc-c3d0-45ef-b6df-8c6b76c8a88f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:26,134 123203 INFO [tempest. lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.043s 2021-12-09 14:43:26,134 123203 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:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-973e8ef8-3af2-44d7-b326-1a3ac572668e', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-973e8ef8-3af2-44d7-b326-1a3ac572668e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:27,196 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.054s 2021-12-09 14:43:27,197 123203 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:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7a92a092-a6f1-407a-b7a7-9e83ad19b17a', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7a92a092-a6f1-407a-b7a7-9e83ad19b17a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:28 ,251 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.046s 2021-12-09 14:43:28,251 123203 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:28 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-df84fd36-cfed-4f1e-b3d1-183499a27d15', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-df84fd36-cfed-4f1e-b3d1-183499a27d15', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:29,298 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.038s 2021-12-09 14:43:29,298 123203 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:29 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9930fb02-9d88-4635-a3c2-93dfa530d0e7', 'content-length': '979', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9930fb02-9d88-4635-a3c2-93dfa530d0e7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:23.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "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": "fc4a74c4301142138e97f5ff72 5d35bc"}}' 2021-12-09 14:43:30,356 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.050s 2021-12-09 14:43:30,356 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-7a6aa1ea-7b0a-4a7d-9ead-2165e1460770', 'content-length': '1014', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-7a6aa1ea-7b0a-4a7d-9ead-2165e1460770', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:30.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:30,363 123203 INFO [tempest.common.waiters] volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b reached available after waiting for 8.363190 seconds 2021-12-09 14:43:30,419 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers 0.055s 2021-12-09 14:43:30,419 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-527db1bb-bbf9-405f-9ef2-7c3e8737721b', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-527db1bb-bbf9-405f-9ef2-7c3e8737721b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers'} Body: b'{"transfer": {"id": "0d83db36-04a7-4531-95a3-332b93373d90", "created_at": "2021-12-09T14:43:30.409160", "name": null, "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "auth_key": "21593575f4139671", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}}' 2021-12-09 14:43:30,475 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2 b 0.053s 2021-12-09 14:43:30,475 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d1e2579b-2b18-47ff-904b-e36fd819ba31', 'content-length': '1022', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d1e2579b-2b18-47ff-904b-e36fd819ba31', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:30.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "group_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc"}}' 2021-12-09 14:43:30,482 123203 INFO [tempest.common.waiters] volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b reached awaiting-transfer after waiting for 0.482715 seconds 2021-12-09 14:43:30,510 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90 0.027s 2021-12-09 14:43:30,511 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-443f7bdf-86af-4825-a51b-164cff3ab525', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-443f7bdf-86af-4825-a51b-164cff3ab525', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90'} Body: b'{"transfer": {"id": "0d83db36-04a7-4531-95a3-332b93373d90", "created_at": "2021-12-09T14:43:30.000000", "name": null, "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}}' 2021-12-09 14:43:30,542 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers 0.029s 2021-12-09 14:43:30,543 123203 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:30 GMT', 'server': 'Apache/2.4.41 (Ubu ntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-4cd8d6ba-0947-4ac6-af09-a914684a4fed', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-4cd8d6ba-0947-4ac6-af09-a914684a4fed', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers'} Body: b'{"transfers": [{"id": "0d83db36-04a7-4531-95a3-332b93373d90", "volume_id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fc4a74c4301142138e97f5ff725d35bc/os-volume-transfer/0d83db36-04a7-4531-95a3-332b93373d90"}]}]}' 2021-12-09 14:43:30,843 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.39/volume/v3/4ec676411a3e428ebbaf7fb6fd37e889/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90/accept 0.298s 2021-12-09 14:43:30,844 123203 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "21593575f4139671"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:43:30 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-4494f845-4815-4375-914a-e7c51e1fcfca', 'x-openstack-request-id': 'req-4494f845-4815-4375-914a-e7c51e1fcfca', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/4ec676411a3e428ebbaf7fb6fd37e889/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90/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:30,927 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90 0.082s 2021-12-09 14:43:30,927 123203 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:30 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-07a61bd5-bcf9-4656-b2f3-da6ed3e33b9d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fc4a74c4301142138e97f5ff725d35bc/volume-transfers/0d83db36-04a7-4531-95a3-332b93373d90'} Body: b'' 2021-12-09 14:43:31,059 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.131s 2021-12-09 14:43:31,060 123203 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:30 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-0e862985-d99d-4c35-94bd-2b0b8fc85d77', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'' 2021-12-09 14:43:31,112 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 200 GET http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.052s 2021-12-09 14:43:31,113 123203 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:31 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-646a7080-4dc6-4a4b-bf20-745637852aa3', 'content-length': '1210', 'openstack-api-version': 'volume 3.55', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-646a7080-4dc6-4a4b-bf20-745637852aa3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"volume": {"id": "76d1e3f6-f546-441d-8eab-9511b4ba0e2b", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:43:23.000000", "updated_at": "2021-12-09T14:43:31.000000", "name": "tempest-VolumesTransfersV355Test-Volume-274986467", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b"}], "user_id": "6539fd58ef8d40b8a09945d3ffd5de7b", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "migration_status": null, "group_id": null, "provider_id": null, "shared_targets": true, "service_uuid": "130e157c-dc64-435b-a30e-9753e7b883ab", "os-vol-host-attr:host": "hv-cinder-81969@wincnd#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "fc4a74c4301142138e97f5ff725d35bc", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:43:32,144 123203 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersV355Test:_run_cleanups): 404 GET http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b 0.022s 2021-12-09 14:43:32,145 123203 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:32 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-e423fa27-2210-4f99-a283-0a8bf2357b9e', 'x-openstack-request-id': 'req-e423fa27-2210-4f99-a283-0a8bf2357b9e', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/fe1802769798409aa543e8471b8d920e/volumes/76d1e3f6-f546-441d-8eab-9511b4ba0e2b'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 76d1e3f6-f546-441d-8eab-9511b4ba0e2b could not be found."}}' 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': 'e3b00327-c7ed-4a39-bd29-546346a5a121', 'status': 'creating', 'size': 2, 'availability_zone': 'nova', 'created_at': '2021-12-09T14:45:11.737982', '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.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121'}, {'rel': 'bookmark', 'href': 'http://10.222.0.39/volume/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121'}], 'user_id': '26c7f251a52d43d98413475b04a85441', 'bootable': 'false', 'encrypted': False, 'replication_status': None, 'consistencygroup_id': None, 'multiattach': False, 'attachments': []}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:11,656 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 200 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.043s 2021-12-09 14:45:11,656 123198 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:45:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-f86b7e6f-603d-47b8-8ed0-3f3667a8fe4a', 'content-length': '316', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-f86b7e6f-603d-47b8-8ed0-3f3667a8fe4a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:45:11,780 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volume_gigabytes): 202 POST http://10.222.0.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes 0.121s 2021-12-09 14:45:11,780 123198 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:45:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-2ec00a1c-c7d7-4b70-8318-c437087a0796', 'content-length': '776', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-2ec00a1c-c7d7-4b70-8318-c437087a0796', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes'} Body: b'{"volume": {"id": "e3b00327-c7ed-4a39-bd29-546346a5a121", "status": "creating", "size": 2, "availability_zone": "nova", "created_at": "2021-12-09T14:45:11.737982", "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.39/volume/v3/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/db9ac3fc58434c498d7b189cee1ea168/volumes/e3b00327-c7ed-4a39-bd29-546346a5a121"}], "user_id": "26c7f251a52d43d98413475b04a85441", "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:45:11,815 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_quota_volumes): 400 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.026s 2021-12-09 14:45:11,815 123198 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:45:11 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-bdc4c39a-506e-4c6f-a473-63a85d94cc6a', 'x-openstack-request-id': 'req-bdc4c39a-506e-4c6f-a473-63a85d94cc6a', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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:45:11,845 123198 INFO [tempest.lib.common.rest_client] Request (VolumeQuotasNegativeTestJSON:test_volume_extend_gigabytes_quota_deviation): 400 PUT http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168 0.027s 2021-12-09 14:45:11,845 123198 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:45:11 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-58ffce6f-ec9a-4259-99d3-6e648c65022d', 'x-openstack-request-id': 'req-58ffce6f-ec9a-4259-99d3-6e648c65022d', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/c9c866a4efcd4fe6bd623a2889f0a3f0/os-quota-sets/db9ac3fc58434c498d7b189cee1ea168'} 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_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': 'cf07f933-0cc1-4d52-bd84-df9f3f881f32', 'created_at': '2021-12-09T14:45:21.628610', 'updated_at': None, 'name': None, 'description': None, 'volume_id': 'b624799c-53e1-45f4-b4c1-8ab821957200', '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:45:21,578 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 200 PUT http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79 0.036s 2021-12-09 14:45:21,578 123198 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:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-d5f34fcf-316f-4f58-9392-1de76c823802', 'content-length': '314', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-d5f34fcf-316f-4f58-9392-1de76c823802', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79'} 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___DEFAULT__": -1, "volumes___DEFAULT__": -1, "snapshots___DEFAULT__": -1}}' 2021-12-09 14:45:21,665 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_gigabytes_snapshots): 202 POST http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots 0.084s 2021-12-09 14:45:21,666 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-ed37c564-e9cf-4636-97fe-8e001593d2f1', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-ed37c564-e9cf-4636-97fe-8e001593d2f1', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots'} Body: b'{"snapshot": {"id": "cf07f933-0cc1-4d52-bd84-df9f3f881f32", "created_at": "2021-12-09T14:45:21.628610", "updated_at": null, "name": null, "description": null, "volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200", "status": "creating", "size": 1, "metadata": {}}}' 2021-12-09 14:45:21,705 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:_run_cleanups): 400 PUT http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79 0.036s 2021-12-09 14:45:21,706 123198 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:45:21 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-8bf8a73f-fe12-4236-b44e-197f6f836092', 'x-openstack-request-id': 'req-8bf8a73f-fe12-4236-b44e-197f6f836092', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/66af0e3e9bec4c7c913de379b9809656/os-quota-sets/58c78d9e206249ad9d4fb5537efd8d79'} 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': '26fe1f86-f9cf-4632-8dcc-e981581d5e19', 'created_at': '2021-12-09T14:45:21.753420', 'updated_at': None, 'name': None, 'description': None, 'volume_id': 'b624799c-53e1-45f4-b4c1-8ab821957200', 'status': 'creating', 'size': 1, 'metadata': {}}} Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:21,793 123198 INFO [tempest.lib.common.rest_client] Request (VolumeSnapshotQuotasNegativeTestJSON:test_quota_volume_snapshots): 202 POST http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots 0.084s 2021-12-09 14:45:21,793 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:21 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-34a29460-2214-4308-b140-84424b57c06a', 'content-length': '261', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-34a29460-2214-4308-b140-84424b57c06a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/58c78d9e206249ad9d4fb5537efd8d79/snapshots'} Body: b'{"snapshot": {"id": "26fe1f86-f9cf-4632-8dcc-e981581d5e19", "created_at": "2021-12-09T14:45:21.753420", "updated_at": null, "name": null, "description": null, "volume_id": "b624799c-53e1-45f4-b4c1-8ab821957200", "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_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:45:32,914 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.140s 2021-12-09 14:45:32,914 123198 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-427993248", "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-427b20fd-16e2-4d5e-8ed3-e68b45f17fde', 'content-length': '275', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-427b20fd-16e2-4d5e-8ed3-e68b45f17fde', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "66f37dd9-37c8-458b-b01d-f6b672e84687", "name": "tempest-VolumeTypesTest-volume-type-427993248", "is_public": true, "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:32,952 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.035s 2021-12-09 14:45:32,952 123198 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-1710520536", "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cc023f9d-96c1-4d77-b69e-e01003bb30a0', 'content-length': '276', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cc023f9d-96c1-4d77-b69e-e01003bb30a0', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "ec706b19-7d1c-45e0-8ef2-3206714f9619", "name": "tempest-VolumeTypesTest-volume-type-1710520536", "is_public": true, "extra_specs": {"storage_protocol": "iSCSI", "vendor_name": "Microsoft"}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:33,177 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 202 POST http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes 0.222s 2021-12-09 14:45:33,177 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"volume": {"name": "tempest-VolumeTypesTest-volume-816435588", "volume_type": "66f37dd9-37c8-458b-b01d-f6b672e84687", "size": 1}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:32 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-135e209b-2f13-4831-a07f-930317e7950e', 'content-length': '848', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-135e209b-2f13-4831-a07f-930317e7950e', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.133849", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-816435588", "de scription": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:45:33,228 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d 0.045s 2021-12-09 14:45:33,228 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:45:33 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-07e4c9ba-6b85-4def-a6b7-e2165f201c68', 'content-length': '916', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-07e4c9ba-6b85-4def-a6b7-e2165f201c68', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.000000", "updated_at": null, "name": "tempest-VolumeTypesTest-volume-816435588", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "4567046a2ee04c29bc7e16f0173e3131"}}' 2021-12-09 14:45:34,282 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 200 GET http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d 0.046s 2021-12-09 14:45:34,282 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:45:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-dc200626-753b-4c8d-b509-e0cfbe4496cb', 'content-length': '941', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-dc200626-753b-4c8d-b509-e0cfbe4496cb', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d'} Body: b'{"volume": {"id": "7c1bd44f-3bb1-4f50-abed-abf35cab402d", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:45:33.000000", "updated_at": "2021-12-09T14:45:34.000000", "name": "tempest-VolumeTypesTest-volume-816435588", "description": null, "volume_type": "tempest-VolumeTypesTest-volume-type-427993248", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16 f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d"}], "user_id": "f2b22dbd3c4242f09aa6c42fd9fca958", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "4567046a2ee04c29bc7e16f0173e3131"}}' 2021-12-09 14:45:34,289 123198 INFO [tempest.common.waiters] volume 7c1bd44f-3bb1-4f50-abed-abf35cab402d reached available after waiting for 1.289749 seconds 2021-12-09 14:45:34,329 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_crud_with_volume_type_and_extra_specs): 400 POST http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d/action 0.039s 2021-12-09 14:45:34,329 123198 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"os-retype": {"new_type": "ec706b19-7d1c-45e0-8ef2-3206714f9619"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 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-a920d8e6-7fd9-4820-9a4d-b9dbbd74819c', 'x-openstack-request-id': 'req-a920d8e6-7fd9-4820-9a4d-b9dbbd74819c', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/4567046a2ee04c29bc7e16f0173e3131/volumes/7c1bd44f-3bb1-4f50-abed-abf35cab402d/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 ebf286eb-05a3-4966-a9cb-5d6c5734bc92 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2021-12-09 14:45:34,781 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 200 POST http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types 0.032s 2021-12-09 14:45:34,782 123198 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-565474033"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-e1d84dd0-0825-4f47-89b0-ec61bbccd86c', 'content-length': '220', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-e1d84dd0-0825-4f47-89b0-ec61bbccd86c', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types'} Body: b'{"volume_type": {"id": "ebf286eb-05a3-4966-a9cb-5d6c5734bc92", "name": "tempest-VolumeTypesTest-volume-type-565474033", "is_public": true, "extra_specs": {}, "description": null, "os-volume-type-access:is_public": true}}' 2021-12-09 14:45:34,836 123198 INFO [tempest.lib.common.rest_client] Request (VolumeTypesTest:test_volume_type_update): 500 PUT http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types/ebf286eb-05a3-4966-a9cb-5d6c5734bc92 0.052s 2021-12-09 14:45:34,836 123198 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-829865957", "description": "tempest-volume-type-description-2128161191", "is_public": false}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:45:34 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-11971125-e7b4-47ed-a004-1b7bf2b3781b', 'x-openstack-request-id': 'req-11971125-e7b4-47ed-a004-1b7bf2b3781b', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/7c201aaf48c44089b87e446c23e299d6/types/ebf286eb-05a3-4966-a9cb-5d6c5734bc92'} Body: b'{"computeFault": {"code": 500, "message": "Cannot update volume_type ebf286eb-05a3-4966-a9cb-5d6c5734bc92"}}' 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:45:40,257 123198 INFO [tempest.lib.common.rest_client] Request (AbsoluteLimitsTests:test_get_volume_absolute_limits): 500 GET http://10.222.0.39/volume/v3/4d23a1cef80d45aa8c3b53af4403ed9c/limits 0.019s 2021-12-09 14:45:40,258 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:45:40 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-afd8f273-a50e-4f8c-b52d-5333c264c3cd', 'x-openstack-request-id': 'req-afd8f273-a50e-4f8c-b52d-5333c264c3cd', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.39/volume/v3/4d23a1cef80d45aa8c3b53af4403ed9c/limits'} 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_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:47:11,700 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 202 POST http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes 0.224s 2021-12-09 14:47:11,700 123192 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-1628377157"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:47:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b4b885a5-8ac4-456d-aaa1-ab1affa9626a', 'content-length': '834', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b4b885a5-8ac4-456d-aaa1-ab1affa9626a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:11.650253", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:47:11,756 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95 0.049s 2021-12-09 14:47:11,756 123192 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:47:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-8c57c921-2526-42f4-89e9-bbb2a73a742e', 'content-length': '902', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-8c57c921-2526-42f4-89e9-bbb2a73a742e', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": null, "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2"}}' 2021-12-09 14:47:12,811 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b 5f-af61-f437ecb08c95 0.048s 2021-12-09 14:47:12,812 123192 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:47:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-be828976-3a65-4f35-89b3-a9da527e048a', 'content-length': '927', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-be828976-3a65-4f35-89b3-a9da527e048a', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": "2021-12-09T14:47:13.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2"}}' 2021-12-09 14:47:12,819 123192 INFO [tempest.common.waiters] volume 50452963-557a-4b5f-af61-f437ecb08c95 reached available after waiting for 1.819212 seconds 2021-12-09 14:47:12,864 123192 INFO [tempest.lib.common.rest_client] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 200 GET http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95 0.045s 2021-12-09 14:47:12,865 123192 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:47:12 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-cc2f21a6-efb2-4dce-9fbd-363722a29b71', 'content-length': '1103', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-cc2f21a6-efb2-4dce-9fbd-363722a29b71', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95'} Body: b'{"volume": {"id": "50452963-557a-4b5f-af61-f437ecb08c95", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:47:12.000000", "updated_at": "2021-12-09T14:47:13.000000", "name": "tempest-VolumeRetypeWithoutMigrationTest-Volume-1628377157", "description": null, "volume_type": "volume-type-1", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/04131fa7c4ef40089c5137b4d01458b4/volumes/50452963-557a-4b5f-af61-f437ecb08c95"}], "user_id": "525854dd2a8f4b5b96cf8a56c78ea9c3", "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#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "f5c99e906b0448f2bdb5405928b8fba2", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:47:12,915 123192 INFO [tempest.lib.common.rest_client ] Request (VolumeRetypeWithoutMigrationTest:test_available_volume_retype): 400 POST http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95/action 0.042s 2021-12-09 14:47:12,915 123192 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:47:12 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-f75f1700-186c-4c3d-b6c4-915bd02e8f98', 'x-openstack-request-id': 'req-f75f1700-186c-4c3d-b6c4-915bd02e8f98', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/f5c99e906b0448f2bdb5405928b8fba2/volumes/50452963-557a-4b5f-af61-f437ecb08c95/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.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:50:25,907 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes 0.256s 2021-12-09 14:50:25,907 123194 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-51927875"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-1b52e427-3e74-41d3-8a3c-bec617446c3b', 'content-length': '818', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-1b52e427-3e74-41d3-8a3c-bec617446c3b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:25.864542", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": []}}' 2021-12-09 14:50:25,953 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.039s 2021-12-09 14:50:25,953 123194 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:50:25 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-5f628539-2899-43e9-8445-7f6887607ee8', 'content-length': '886', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-5f628539-2899-43e9-8445-7f6887607ee8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "creating", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": null, "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,016 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.055s 2021-12-09 14:50:27,017 123194 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:50:26 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-61235b86-d332-4040-afac-688221a48894', 'content-length': '911', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-61235b86-d332-4040-afac-688221a48894', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "available", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:26.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,027 123194 INFO [tempest.common.waiters] volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 reached available after waiting for 2.027218 seconds 2021-12-09 14:50:27,076 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 202 POST http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer 0.048s 2021-12-09 14:50:27,076 123194 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"transfer": {"volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c22e17cb-d0c8-4d71-89be-0709ac32ffcc', 'content-length': '507', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c22e17cb-d0c8-4d71-89be-0709ac32ffcc', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer'} Body: b'{"transfer": {"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "created_at": "2021-12-09T14:50:27.067365", "name": null, "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "auth_key": "4703d84e01fe75d4", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}}' 2021-12-09 14:50:27,117 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.038s 2021-12-09 14:50:27,117 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-b57cee8d-1489-4b30-9ebb-bcc202745ffa', 'content-length': '919', 'openstack-api-version': 'vol ume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-b57cee8d-1489-4b30-9ebb-bcc202745ffa', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "awaiting-transfer", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:27.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [], "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884"}}' 2021-12-09 14:50:27,124 123194 INFO [tempest.common.waiters] volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 reached awaiting-transfer after waiting for 0.124948 seconds 2021-12-09 14:50:27,142 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7 0.017s 2021-12-09 14:50:27,143 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-210d133b-200d-486a-aaf6-d49f68527ef7', 'content-length': '475', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-210d133b-200d-486a-aaf6-d49f68527ef7', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7'} Body: b'{"transfer": {"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "created_at": "2021-12-09T14:50:27.000000", "name": null, "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}}' 2021-12-09 14:50:27,165 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 200 GET http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer 0.019s 2021-12-09 14:50:27,165 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-31673b5c-aa17-45f7-b428-bc363f71e627', 'content-length': '434', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-31673b5c-aa17-45f7-b428-bc363f71e627', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer'} Body: b'{"transfers": [{"id": "ac61dce5-d6e5-4cca-8df1-8233f1f56de7", "volume_id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "name": null, "links": [{"rel": "self", "href": "http://10.222.0.39/vo lume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7"}]}]}' 2021-12-09 14:50:27,372 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:test_create_get_list_accept_volume_transfer): 400 POST http://10.222.0.39/volume/v3/6909ff1ace9040e0830062e4a7dbcc58/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7/accept 0.205s 2021-12-09 14:50:27,372 123194 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"accept": {"auth_key": "4703d84e01fe75d4"}} Response - Headers: {'date': 'Thu, 09 Dec 2021 14:50:27 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-316d25db-6bcb-4cbd-ad37-d5b44512aba0', 'x-openstack-request-id': 'req-316d25db-6bcb-4cbd-ad37-d5b44512aba0', 'connection': 'close', 'status': '400', 'content-location': 'http://10.222.0.39/volume/v3/6909ff1ace9040e0830062e4a7dbcc58/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7/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:50:27,415 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7 0.041s 2021-12-09 14:50:27,416 123194 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:50:27 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-40c5baef-7ab5-4be7-b5ef-07185109aafb', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/69e55890fd644d47b56b324ebe329884/os-volume-transfer/ac61dce5-d6e5-4cca-8df1-8233f1f56de7'} Body: b'' 2021-12-09 14:50:27,512 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 202 DELETE http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.096s 2021-12-09 14:50:27,512 123194 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:50:27 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-5af443d8-8f6e-442e-8072-4414efe1485a', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'' 2021-12-09 14:50:27,551 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 200 GET http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.038s 2021-12-09 14:50:27,551 123194 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:50:27 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-9f120dda-796f-4a4a-a084-8946a924da57', 'content-len gth': '1086', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-9f120dda-796f-4a4a-a084-8946a924da57', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"volume": {"id": "4d0d096b-4e04-4e9e-af64-cc8b7722b3d1", "status": "deleting", "size": 1, "availability_zone": "nova", "created_at": "2021-12-09T14:50:26.000000", "updated_at": "2021-12-09T14:50:27.000000", "name": "tempest-VolumesTransfersTest-Volume-51927875", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}, {"rel": "bookmark", "href": "http://10.222.0.39/volume/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1"}], "user_id": "b20ee951c34d4eb087cba4d536bacbc9", "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#WindowsISCSIDriver", "os-vol-tenant-attr:tenant_id": "69e55890fd644d47b56b324ebe329884", "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null}}' 2021-12-09 14:50:28,579 123194 INFO [tempest.lib.common.rest_client] Request (VolumesTransfersTest:_run_cleanups): 404 GET http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 0.020s 2021-12-09 14:50:28,580 123194 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:50:28 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-84b212e9-96ee-4297-a5d2-e34764469033', 'x-openstack-request-id': 'req-84b212e9-96ee-4297-a5d2-e34764469033', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.39/volume/v3/aa8580f798bd46738e62281d843c9aef/volumes/4d0d096b-4e04-4e9e-af64-cc8b7722b3d1'} Body: b'{"itemNotFound": {"code": 404, "message": "Volume 4d0d096b-4e04-4e9e-af64-cc8b7722b3d1 could not be found."}}' ====== Totals ====== Ran: 234 tests in 888.7776 sec. - Passed: 209 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 15 Sum of execute time for each test: 2663.7788 sec. ============== Worker Balance ============== - Worker 0 (38 tests) => 0:01:49.917209 - Worker 1 (24 tests) => 0:04:57.619190 - Worker 2 (23 tests) => 0:09:25.474339 - Worker 3 (21 tests) => 0:14:23.893922 - Worker 4 (18 tests) => 0:06:29.756805 - Worker 5 (60 tests) => 0:02:01.399986 - Worker 6 (22 tests) => 0:07:21.113071 - Worker 7 (28 tests) => 0:05:18.400999 tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota[id-874b35a9-51f1-4258-bec5-cd561b6690d3] 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.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_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_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] tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype[id-b90412ee-465d-46e9-b249-ec84a47d5f25] tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer[id-4d75b645-a478-48b1-97c8-503f64242f1a] ~ Exit code: 1