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.8.1,amqp==5.1.1,aniso8601==9.0.1,appdirs==1.4.4,attrs==22.1.0,Automat==0.8.0,automaton==3.0.1,autopage==0.5.1,bcrypt==4.0.0,blinker==1.4,boto3==1.24.61,botocore==1.27.61,cachetools==5.2.0,castellan==4.0.0,certifi==2019.11.28,cffi==1.15.1,chardet==3.0.4,charset-normalizer==2.1.1,-e git+http://10.106.1.39/p/openstack/cinder@a6edbfb481e44b5a874d92d790408530229178bf#egg=cinder,click==8.1.3,cliff==4.0.0,cmd2==2.4.2,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.2,cursive==0.2.2,dbcounter==0.1,dbus-python==1.2.16,debtcollector==2.5.0,decorator==5.1.1,defusedxml==0.7.1,distlib==0.3.6,distro==1.4.0,distro-info===0.23ubuntu1,dnspython==2.2.1,dogpile.cache==1.1.8,elementpath==3.0.2,entrypoints==0.3,etcd3==0.12.0,etcd3gw==2.1.0,eventlet==0.33.1,extras==1.0.0,fasteners==0.17.3,filelock==3.8.0,fixtures==4.0.1,Flask==2.2.2,Flask-RESTful==0.3.9,future==0.18.2,futurist==2.4.1,-e git+https://opendev.org/openstack/glance@dc11640d2fea4010cd64f3bac861ab8bc3501044#egg=glance,glance-store==4.1.0,google-api-core==2.8.2,google-api-python-client==2.58.0,google-auth==2.11.0,google-auth-httplib2==0.1.0,googleapis-common-protos==1.56.4,greenlet==1.1.3,grpcio==1.47.0,httplib2==0.20.4,hyperlink==19.0.0,idna==3.3,importlib-metadata==4.12.0,importlib-resources==5.9.0,incremental==16.10.1,iso8601==1.0.2,itsdangerous==2.1.2,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.32,jsonpointer==2.3,jsonschema==4.14.0,keyring==18.0.1,-e git+https://opendev.org/openstack/keystone@02db9263961bb1a630014536096bcfc72009dd65#egg=keystone,keystoneauth1==5.0.0,keystonemiddleware==10.1.0,kombu==5.2.4,language-selector==0.1,lazr.uri==1.0.3,logutils==0.3.5,lxml==4.9.1,Mako==1.2.2,MarkupSafe==2.1.1,microversion-parse==1.0.1,more-itertools==4.2.0,msgpack==1.0.4,munch==2.5.0,mysqlclient==1.4.4,ncclient==0.6.13,netaddr==0.8.0,netifaces==0.11.0,-e git+https://opendev.org/openstack/networking-hyperv@6702d260d3d4c881aa41c0c3a995e6f825d60898#egg=networking_hyperv,networkx==2.8.6,-e git+https://opendev.org/openstack/neutron@994e2aa8f6b12b0a7f5dd7b2a0fd0b3e63652bba#egg=neutron,neutron-lib==3.1.0,-e git+https://opendev.org/openstack/nova@aad31e6ba489f720f5bdc765c132fd0f059a0329#egg=nova,numpy==1.23.2,oauth2client==4.1.3,oauthlib==3.2.0,-e git+https://opendev.org/openstack/placement.git@4e345e55c2d695f7c271ac5119cfed761eb7d206#egg=openstack_placement,openstacksdk==0.101.0,os-brick==6.1.0,os-client-config==2.1.0,os-ken==2.5.0,os-resource-classes==1.1.0,os-service-types==1.7.0,os-testr==3.0.0,os-traits==2.9.0,os-vif==2.8.0,os-win==5.7.1,osc-lib==2.6.2,osc-placement==4.0.0,oslo.cache==3.1.0,oslo.concurrency==5.0.1,oslo.config==9.0.0,oslo.context==5.0.0,oslo.db==12.1.0,oslo.i18n==5.1.0,oslo.limit==2.0.1,oslo.log==5.0.0,oslo.messaging==14.0.0,oslo.metrics==0.5.0,oslo.middleware==5.0.0,oslo.policy==4.0.0,oslo.privsep==3.0.1,oslo.reports==2.4.0,oslo.rootwrap==6.3.1,oslo.serialization==5.0.0,oslo.service==3.0.0,oslo.upgradecheck==2.0.0,oslo.utils==6.0.1,oslo.versionedobjects==3.0.1,oslo.vmware==4.0.1,osprofiler==3.4.3,ovs==2.17.1.post1,ovsdbapp==2.1.0,packaging==21.3,paramiko==2.11.0,passlib==1.7.4,Paste==3.5.2,PasteDeploy==2.1.1,pbr==5.10.0,pcp==5.0,pecan==1.4.2,pexpect==4.6.0,pkgutil_resolve_name==1.3.10,platformdirs==2.5.2,pluggy==1.0.0,prettytable==3.4.1,prometheus-client==0.14.1,protobuf==4.21.5,psutil==5.9.1,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.1,Pygments==2.3.1,PyGObject==3.36.0,PyHamcrest==1.9.0,pyinotify==0.9.6,PyJWT==2.4.0,pymacaroons==0.13.0,PyMySQL==1.0.2,PyNaCl==1.5.0,pyOpenSSL==22.0.0,pyparsing==3.0.9,pyperclip==1.8.2,pyroute2==0.7.2,pyrsistent==0.18.1,pysaml2==7.2.1,pyserial==3.4,python-apt==2.0.0+ubuntu0.20.4.4,python-barbicanclient==5.4.0,python-cinderclient==9.1.0,python-dateutil==2.8.2,python-debian===0.1.36ubuntu1,python-designateclient==5.0.0,python-glanceclient==4.1.0,python-keystoneclient==5.0.1,python-memcached==1.59,python-neutronclient==8.1.0,python-novaclient==18.1.0,python-openstackclient==6.0.0,python-subunit==1.4.0,python-swiftclient==4.1.0,pytz==2022.2.1,pyudev==0.24.0,PyYAML==6.0,repoze.lru==0.7,requests==2.28.1,requests-unixsocket==0.2.0,requestsexceptions==1.4.0,retrying==1.3.3,rfc3986==1.5.0,Routes==2.5.1,rsa==4.9,rtslib-fb==2.1.75,s3transfer==0.6.0,scrypt==0.8.20,SecretStorage==2.3.1,setproctitle==1.3.2,simplegeneric==0.8.1,simplejson==3.17.6,six==1.16.0,sortedcontainers==2.4.0,sos==4.1,SQLAlchemy==1.4.40,sqlalchemy-migrate==0.13.0,sqlparse==0.4.2,ssh-import-id==5.10,statsd==3.3.0,stestr==3.2.1,stevedore==4.0.0,suds-community==1.1.2,-e git+https://opendev.org/openstack/swift@fa19868703f3f145f40468328fbaafa15ba51402#egg=swift,systemd-python==234,tabulate==0.8.10,targetcli-fb==2.1.51,taskflow==5.0.0,-e git+https://opendev.org/openstack/tempest@f1d0e395e95d3502a9c3904ce56520d116e6bf48#egg=tempest,Tempita==0.5.2,tenacity==6.3.1,testresources==2.0.1,testscenarios==0.5.0,testtools==2.5.0,tomli==2.0.1,tooz==3.1.0,tox==3.26.0,ufw==0.36,unattended-upgrades==0.1,uritemplate==4.1.1,urllib3==1.26.12,urwid==2.0.1,vine==5.0.0,virtualenv==20.16.3,voluptuous==0.13.1,wadllib==1.3.3,warlock==2.0.1,wcwidth==0.2.5,WebOb==1.8.7,websockify==0.10.0,Werkzeug==2.2.2,wrapt==1.14.1,WSME==0.11.0,xattr==0.9.9,xmlschema==2.0.3,yappi==1.3.6,zipp==3.8.1,zope.interface==4.7.1,zstd==1.5.2.5 ___________________________________ summary ____________________________________ all-plugin: skipped tests congratulations :) {4} setUpClass (tempest.api.compute.volumes.test_attach_volume.AttachVolumeMultiAttachTest) ... SKIPPED: Volume multi-attach is not available. {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [1.586216s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.258412s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.030841s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [1.077043s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.010482s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.012222s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.443975s] ... ok {0} tempest.api.compute.volumes.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.057484s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list [0.202149s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_limit [0.177543s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_reset_snapshot_status [1.554410s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_compare_volume_stats_values [0.297353s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_param_offset_and_limit [0.647487s] ... ok {0} tempest.api.volume.admin.test_backends_capabilities.BackendsCapabilitiesAdminTestsJSON.test_get_capabilities_backend [0.267205s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_limit [0.215044s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_detail_param_offset_and_limit [0.325504s] ... ok {3} tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list_with_details [0.265387s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_creating [3.611916s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_deleting [3.599069s] ... ok {0} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_create_list_update_show_delete [0.967123s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error [3.392106s] ... ok {0} tempest.api.volume.admin.test_group_types.GroupTypesTest.test_group_type_list_by_optional_params [1.035215s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_snapshot_force_delete_when_snapshot_is_error_deleting [3.546766s] ... ok {6} tempest.api.volume.admin.test_snapshots_actions.SnapshotsActionsTest.test_update_snapshot_status [0.763880s] ... ok {7} tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume [0.934450s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/compute/servers/test_delete_server.py", line 112, in test_delete_server_while_in_attached_volume server = self.create_test_server(wait_until='ACTIVE') File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:56,392 128228 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_attached_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.049s 2022-09-28 15:53:56,392 128228 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-2276fbc3-edef-4f6f-838e-d2f40e58c520', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "5e05b89a6d614258be3210175fd2be9c", "name": "tempest-DeleteServersTestJSON-444759751-project", "password_expires_at": null}, "audit_ids": ["EAMl5GwaReySFRdvg6GzJw"], "expires_at": "2022-09-28T16:53:56.000000Z", "issued_at": "2022-09-28T15:53:56.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "7e640835a7ce43139459c06e950468b6", "name": "tempest-DeleteServersTestJSON-444759751"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:53:56,393 128228 INFO [tempest.lib.common.fixed_network] (DeleteServersTestJSON:test_delete_server_while_in_attached_volume) Found network {'id': '6174323a-cd3e-4b3b-b0e6-b20726a771d5', 'name': 'tempest-DeleteServersTestJSON-4497672-network', 'tenant_id': '7e640835a7ce43139459c06e950468b6', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '7e640835a7ce43139459c06e950468b6', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 243, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:34Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:53:57,269 128228 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_attached_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 0.874s 2022-09-28 15:53:57,269 128228 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-DeleteServersTestJSON-server-613128834", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "6174323a-cd3e-4b3b-b0e6-b20726a771d5"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-632ef2d0-ac71-465d-8389-513201b8ae10', 'x-compute-request-id': 'req-632ef2d0-ac71-465d-8389-513201b8ae10', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server [15.178971s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 60, in test_attach_attached_volume_to_different_server server1, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:44,281 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:44,281 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:44,770 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.486s 2022-09-28 15:53:44,771 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-154695867", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-b7c871bf-9b71-4004-96ec-a0b6868eefcf', 'x-compute-request-id': 'req-b7c871bf-9b71-4004-96ec-a0b6868eefcf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-154695867", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g==", "fingerprint": "84:6f:42:c3:c1:2a:a1:06:55:aa:bf:75:4a:f3:a3:0f", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:53:44,775 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-154695867 created 2022-09-28 15:53:46,821 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 2.045s 2022-09-28 15:53:46,821 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--376373974", "description": "tempest-description--526193560"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-bf5b95f5-dd16-48c9-9fab-088fa50b3d00', 'date': 'Wed, 28 Sep 2022 15:53:46 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "name": "tempest-securitygroup--376373974", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--526193560", "shared": false, "security_group_rules": [{"id": "9f48888f-c868-45ae-8cd8-61588f24799a", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 105, "description": null, "tags": [], "created_at": "2022-09-28T15:53:45Z", "updated_at": "2022-09-28T15:53:45Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "cc4f90de-8509-491d-bed3-db1a304afeb1", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 106, "description": null, "tags": [], "created_at": "2022-09-28T15:53:46Z", "updated_at": "2022-09-28T15:53:46Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:53:45Z", "updated_at": "2022-09-28T15:53:46Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:47,790 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.968s 2022-09-28 15:53:47,791 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-6a946404-f2ec-441a-9ecf-b15deb7554f3', 'date': 'Wed, 28 Sep 2022 15:53:47 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "4b5cd80c-3b4f-41ff-ba25-715da378a333", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:47Z", "updated_at": "2022-09-28T15:53:47Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:48,719 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.923s 2022-09-28 15:53:48,723 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-9a3dd890-b5d2-4fd1-bc5c-117be239cf44', 'date': 'Wed, 28 Sep 2022 15:53:48 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "bf91fb11-1a94-4700-bb79-333d933e43e7", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:48Z", "updated_at": "2022-09-28T15:53:48Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:48,723 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--376373974 created 2022-09-28 15:53:55,090 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 6.367s 2022-09-28 15:53:55,091 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'content- length': '493', 'x-openstack-request-id': 'req-9424d940-334c-46ff-a71c-d087ad4d2081', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "d400773b-befd-4582-8a99-2dbe94d4ee54", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.87", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:53:51Z", "updated_at": "2022-09-28T15:53:51Z", "revision_number": 0}}' 2022-09-28 15:53:55,091 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': 'd400773b-befd-4582-8a99-2dbe94d4ee54', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.87', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:51Z', 'updated_at': '2022-09-28T15:53:51Z', 'revision_number': 0, 'ip': '172.28.2.87'} created 2022-09-28 15:53:55,638 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.541s 2022-09-28 15:53:55,638 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-22dec1ab-97dc-42e1-9c5e-bba79b763d20', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["hrdDofGGSR-4XYVRqPSXWw"], "expires_at": "2022-09-28T16:53:55.000000Z", "issued_at": "2022-09-28T15:53:55.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:53:55,639 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:53:55,640 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-154695867', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g==', 'fingerprint': '84:6f:42:c3:c1:2a:a1:06:55:aa:bf:75:4a:f3:a3:0f', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAeSKrJGKPNb9uka2iNS18/PM16721HXXVzuKP3PhhtI08vyfcNG/IF\naaYcgTpeH+OgBwYFK4EEACKhZANiAAR10jripTzcOKupmdty+JVHrap0rhz0qp7h\nJ0TNqEhKSRs+Zwy8IDj051bqZ4igTJYZ6CYGhErN4DZgw+C+0U+YlBtR9MRf4sdZ\nP5LeKzIo/nVkmWQrWZx+3leys13+yP4=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'name': 'tempest-securitygroup--376373974', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--526193560', 'shared': False, 'security_group_rules': [{'id': '9f48888f-c868-45ae-8cd8-61588f24799a', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 105, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:45Z', 'updated_at': '2022-09-28T15:53:45Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'cc4f90de-8509-491d-bed3-db1a304afeb1', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 106, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:46Z', 'updated_at': '2022-09-28T15:53:46Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:53:45Z', 'updated_at': '2022-09-28T15:53:46Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': 'd400773b-befd-4582-8a99-2dbe94d4ee54', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.87', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:51Z', 'updated_at': '2022-09-28T15:53:51Z', 'revision_number': 0, 'ip': '172.28.2.87'}} 2022-09-28 15:53:57,383 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server): 500 POST http://10.222.0.65/compute/v2.1/servers 1.742s 2022-09-28 15:53:57,384 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-736788559", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--376373974"}], "key_name": "tempest-keypair-154695867", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-ac5216ae-a3b3-4ae0-9df6-8e6c0bf67a36', 'x-compute-request-id': 'req-ac5216ae-a3b3-4ae0-9df6-8e6c0bf67a36', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:53:57,532 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-154695867 0.146s 2022-09-28 15:53:57,532 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-2b46964d-0141-4b13-b924-48fdf7608808', 'x-compute-request-id': 'req-2b46964d-0141-4b13-b924-48fdf7608808', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-154695867'} Body: b'' 2022-09-28 15:53:57,982 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2 0.449s 2022-09-28 15:53:57,982 128222 DEBUG [tempest.lib.common.rest _client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-25b217b3-f24d-49bd-a42d-c8fe02eb0a0f', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2'} Body: b'' 2022-09-28 15:53:58,026 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2 0.042s 2022-09-28 15:53:58,026 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-14db1959-3101-4831-a177-7da095c47af7', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group b1f69b44-c85c-49d7-814c-dde946eea4b2 does not exist", "detail": ""}}' 2022-09-28 15:53:59,458 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/d400773b-befd-4582-8a99-2dbe94d4ee54 1.432s 2022-09-28 15:53:59,459 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-8c908fdc-3de2-4f10-afd1-3fb2261baa13', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/d400773b-befd-4582-8a99-2dbe94d4ee54'} Body: b'' {3} tempest.api.volume.admin.test_groups.GroupsV320Test.test_reset_group_status [5.432541s] ... ok {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_show_default_quota [0.409978s] ... ok {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume [12.429645s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 73, in test_attach_detach_volume server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:51,543 128217 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:51,543 128217 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:52,187 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.640s 2022-09-28 15:53:52,187 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1576284026", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '386', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-90cc23e0-67d0-4238-beb6-a76f35708079', 'x-compute-request-id': 'req-90cc23e0-67d0-4238-beb6-a76f35708079', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-1576284026", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g==", "fingerprint": "4a:ff:1b:4e:b5:df:0b:c8:26:76:eb:5f:f6:b9:34:66", "user_id": "ec88e798ca444795b46d5e105d391ee6"}}' 2022-09-28 15:53:52,191 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1576284026 created 2022-09-28 15:53:53,493 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.301s 2022-09-28 15:53:53,493 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--142320346", "description": "tempest-description--370957583"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-2629551e-38eb-4184-bf35-805cb19c0c73', 'date': 'Wed, 28 Sep 2022 15:53:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "name": "tempest-securitygroup--142320346", "stateful": true, "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "tempest-description--370957583", "shared": false, "security_group_rules": [{"id": "b9a8c95a-b087-4f20-87c9-776735166472", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 119, "description": null, "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}, {"id": "eb177f68-dfca-46fb-a27d-a9092566b41a", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nu ll, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 120, "description": null, "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}], "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 1, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,107 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.612s 2022-09-28 15:53:55,107 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-5dcb8ed5-7509-4085-bd2a-d6426c1b9838', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "df1ba146-f6bb-4ab4-82fe-4c5e32b9811a", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:54Z", "updated_at": "2022-09-28T15:53:54Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,703 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.595s 2022-09-28 15:53:55,704 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-638666a9-ec21-471e-b4e6-07279bc306f2', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "d289babf-f2b9-4fd9-a822-335019b8ff97", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:55Z", "updated_at": "2022-09-28T15:53:55Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,704 128217 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--142320346 created 2022-09-28 15:53:59,946 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 4.241s 2022-09-28 15:53:59,947 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-f5ddd52e-7910-45f2-86d8-a289a309b99c', 'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "0015a720-7c88-44ae-ab81-b4bbc4fa73db", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "floating_ip_address": "172.28.2.177", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:53:58Z", "updated_at": "2022-09-28T15:53:58Z", "revision_number": 0}}' 2022-09-28 15:53:59,947 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '0015a720-7c88-44ae-ab81-b4bbc4fa73db', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.177', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:58Z', 'updated_at': '2022-09-28T15:53:58Z', 'revision_number': 0, 'ip': '172.28.2.177'} created 2022-09-28 15:54:00,379 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_attach_detach_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.427s 2022-09-28 15:54:00,380 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-2d0ceb7c-00d3-4e94-88dd-9dc17eb70083', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "ec88e798ca444795b46d5e105d391ee6", "name": "tempest-AttachVolumeTestJSON-1166906178-project", "password_expires_at": null}, "audit_ids": ["kFOW_bOPTfOvVlK_fW424A"], "expires_at": "2022-09-28T16:54:00.000000Z", "issued_at": "2022-09-28T15:54:00.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "aa16f2e162fa487b9835d3c3c7610bfa", "name": "tempest-AttachVolumeTestJSON-1166906178"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}, {"id ": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:00,381 128217 INFO [tempest.lib.common.fixed_network] (AttachVolumeTestJSON:test_attach_detach_volume) Found network {'id': 'ce6e4b31-b45d-49d2-80cb-5df91a8deeac', 'name': 'tempest-AttachVolumeTestJSON-1043956429-network', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 247, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:00,382 128217 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-1576284026', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g==', 'fingerprint': '4a:ff:1b:4e:b5:df:0b:c8:26:76:eb:5f:f6:b9:34:66', 'user_id': 'ec88e798ca444795b46d5e105d391ee6', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDBi2k0qLDkdeVjpHrLupBAJ4acyHDzz52lrG+/wqRVl23b7kMjZ6vWy\ng3a6zTSFlN6gBwYFK4EEACKhZANiAASZC5zbF8dHdTL92ETeruDaYUseHSlw+yUB\nNWOQtZFfOY9a/xe9uYpxSSI1OgSj50jP4OP/gPwHfsyT8fjKEAdE1Myv1jUszKc2\nKiUHWTmLzCMKcD02hmtvLM3UjoP0wv4=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'name': 'tempest-securitygroup--142320346', 'stateful': True, 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': 'tempest-description--370957583', 'shared': False, 'security_group_rules': [{'id': 'b9a8c95a-b087-4f20-87c9-776735166472', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 119, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, {'id': 'eb177f68-dfca-46fb-a27d-a9092566b41a', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_ range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 120, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}], 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 1, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, 'floating_ip': {'id': '0015a720-7c88-44ae-ab81-b4bbc4fa73db', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.177', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:58Z', 'updated_at': '2022-09-28T15:53:58Z', 'revision_number': 0, 'ip': '172.28.2.177'}} 2022-09-28 15:54:01,966 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_attach_detach_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 1.582s 2022-09-28 15:54:01,966 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeTestJSON-server-732190455", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "ce6e4b31-b45d-49d2-80cb-5df91a8deeac"}], "security_groups": [{"name": "tempest-securitygroup--142320346"}], "key_name": "tempest-keypair-1576284026", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-ce530236-a068-4864-9470-8fede76a424b', 'x-compute-request-id': 'req-ce530236-a068-4864-9470-8fede76a424b', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:02,143 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1576284026 0.175s 2022-09-28 15:54:02,144 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-7a23391b-4648-4804-82c8-baaf2ce68c01', 'x-compute-request-id': 'req-7a23391b-4648-4804-82c8-baaf2ce68c01', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1576284026'} Body: b'' 2022-09-28 15:54:02,593 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21 0.442s 2022-09-28 15:54:02,599 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/j son', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-01d2ef1f-13d4-4582-a991-630da2ab2edc', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21'} Body: b'' 2022-09-28 15:54:02,797 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21 0.196s 2022-09-28 15:54:02,797 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-b62783c8-a336-452e-a25f-60f5231f8428', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group bfee3f8d-c232-439b-a3b9-66c10d34bb21 does not exist", "detail": ""}}' 2022-09-28 15:54:03,971 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/0015a720-7c88-44ae-ab81-b4bbc4fa73db 1.173s 2022-09-28 15:54:03,972 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-582c678b-0305-472f-96b9-cd4c0a210ec4', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/0015a720-7c88-44ae-ab81-b4bbc4fa73db'} Body: b'' {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server [10.894617s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 268, in test_attach_volume_shelved_or_offload_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:54,655 128215 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:54,656 128215 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:55,703 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65/compute/v2.1/os-keypairs 1.044s 2022-09-28 15:53:55,704 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1072849234", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '401', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-0df858b9-2e8f-4776-b52f-04535b070adb', 'x-compute-request-id': 'req-0df858b9-2e8f-4776-b52f-04535b070adb', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"type": "ssh", "name": "tempest-keypair-1072849234", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA==", "fingerprint": "84:0c:ad:37:8a:9e:e5:19:bd:e3:df:2e:4b:f1:4b:c5", "user_id": "eb0ba5afbc2a43c6843d5c90df43ded2"}}' 2022-09-28 15:53:55,708 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1072849234 created 2022-09-28 15:53:57,290 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.581s 2022-09-28 15:53:57,290 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--1472245753", "description": "tempest-description--20111619"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-42a7068e-da1e-439c-85c6-42b543ebdfa2', 'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "name": "tempest-securitygroup--1472245753", "stateful": true, "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "tempest-description--20111619", "shared": false, "security_group_rules": [{"id": "1d2a0674-f50e-4711-9298-d5dfbc1124e3", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 132, "description": null, "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}, {"id": "c0ebec6b-1f8c-4c3a-a561-8396133d098a", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null , "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 134, "description": null, "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}], "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 1, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,167 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.876s 2022-09-28 15:53:58,167 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-252591ad-47c9-4f85-9da7-f2c7cd93aafd', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "c38cf1d1-7ef1-450e-bc8b-92f4cfd32f92", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:57Z", "updated_at": "2022-09-28T15:53:57Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,853 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.685s 2022-09-28 15:53:58,853 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-e228cfbb-091f-4897-ac73-f7b8fe585b04', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "178048d1-31a3-49e8-a4a7-5263105da256", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:58Z", "updated_at": "2022-09-28T15:53:58Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,854 128215 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--1472245753 created 2022-09-28 15:54:03,357 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 4.503s 2022-09-28 15:54:03,358 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Respo nse - Headers: {'content-type': 'application/json', 'content-length': '494', 'x-openstack-request-id': 'req-e4a168a3-e9ca-44c7-b8b3-ac4415d7695e', 'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "3f99843c-bcb3-4608-a2eb-7ea438dfc0aa", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "floating_ip_address": "172.28.2.116", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:01Z", "updated_at": "2022-09-28T15:54:01Z", "revision_number": 0}}' 2022-09-28 15:54:03,358 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '3f99843c-bcb3-4608-a2eb-7ea438dfc0aa', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.116', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:01Z', 'updated_at': '2022-09-28T15:54:01Z', 'revision_number': 0, 'ip': '172.28.2.116'} created 2022-09-28 15:54:03,496 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.131s 2022-09-28 15:54:03,496 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3266', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-589b31db-722b-4a2d-b2c6-8ecc483acd84', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb0ba5afbc2a43c6843d5c90df43ded2", "name": "tempest-AttachVolumeShelveTestJSON-1705502689-project", "password_expires_at": null}, "audit_ids": ["9aLYZkU5TkGbTCXWQy51UA"], "expires_at": "2022-09-28T16:54:03.000000Z", "issued_at": "2022-09-28T15:54:03.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "bf01d50560474a7e981ffe60a5bdd1ae", "name": "tempest-AttachVolumeShelveTestJSON-1705502689"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": " http://10.222.0.65:8080/v1/AUTH_bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:03,497 128215 INFO [tempest.lib.common.fixed_network] (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server) Found network {'id': 'e3433c55-16fc-420d-bb8c-eaa264393c96', 'name': 'tempest-AttachVolumeShelveTestJSON-1213550392-network', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 225, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:03,497 128215 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'type': 'ssh', 'name': 'tempest-keypair-1072849234', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA==', 'fingerprint': '84:0c:ad:37:8a:9e:e5:19:bd:e3:df:2e:4b:f1:4b:c5', 'user_id': 'eb0ba5afbc2a43c6843d5c90df43ded2', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDC7KVbZFJIzdynYOVlgZsuB454gXVb9F6oM11mQaRB5Jt5iHDpeOOY/\nSgXLpsjO4OegBwYFK4EEACKhZANiAAS+8NjTihWTgZFaO7fsmb2dechTP7NhTbCA\nIe+zTijeBWKAT7oCb6nL4CM+6qboMY3jSUKMJe7yVRQlNSheKgx5nSydj6M04E8Y\nTfpHTJfJjawBEx/rSuPZkgZPx2W+rnA=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'name': 'tempest-securitygroup--1472245753', 'stateful': True, 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': 'tempest-description--20111619', 'shared': False, 'security_group_rules': [{'id': '1d2a0674-f50e-4711-9298-d5dfbc1124e3', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'security_group_id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 132, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, {'id': 'c0ebec6b-1f8c-4c3a-a561-8396133d098a', 'tenant_id': 'bf01d50560474a7e981ffe6 0a5bdd1ae', 'security_group_id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 134, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}], 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 1, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, 'floating_ip': {'id': '3f99843c-bcb3-4608-a2eb-7ea438dfc0aa', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.116', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:01Z', 'updated_at': '2022-09-28T15:54:01Z', 'revision_number': 0, 'ip': '172.28.2.116'}} 2022-09-28 15:54:04,370 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.871s 2022-09-28 15:54:04,370 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeShelveTestJSON-server-1587899305", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "e3433c55-16fc-420d-bb8c-eaa264393c96"}], "security_groups": [{"name": "tempest-securitygroup--1472245753"}], "key_name": "tempest-keypair-1072849234", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-77183cbf-bdf3-4987-9608-06b1c00986f9', 'x-compute-request-id': 'req-77183cbf-bdf3-4987-9608-06b1c00986f9', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:04,482 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1072849234 0.109s 2022-09-28 15:54:04,482 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-57f51ca1-d72f-4251-ac96-36693b097481', 'x-compute-request-id': 'req-57f51ca1-d72f-4251-ac96-36693b097481', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1072849234'} Body: b'' 2022-09-28 15:54:04,784 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http:/ /10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6 0.301s 2022-09-28 15:54:04,784 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-4e6c1773-67e8-48a1-bd7c-7d6467b2cb93', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6'} Body: b'' 2022-09-28 15:54:04,852 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6 0.067s 2022-09-28 15:54:04,852 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-1618b036-b463-4508-ba19-9148369b42a3', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group ee0e7120-e729-412c-9b96-b2eff3d4dbd6 does not exist", "detail": ""}}' 2022-09-28 15:54:05,548 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/3f99843c-bcb3-4608-a2eb-7ea438dfc0aa 0.695s 2022-09-28 15:54:05,549 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-c65cbba0-0ec6-4011-b469-4e6f2d244beb', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/3f99843c-bcb3-4608-a2eb-7ea438dfc0aa'} Body: b'' {0} tempest.api.volume.admin.test_volume_quota_classes.VolumeQuotaClassesTest.test_update_default_quota [3.503482s] ... ok {5} setUpClass (tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON) [0.000000s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 168, in setUpClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 161, in setUpClass cls.resource_setup() File "/opt/stack/tempest/tempest/api/compute/servers/test_server_rescue_negative.py", line 52, in resource_setup server = cls.create_test_server(adminPass=cls.password, File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server [10.161052s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 48, in test_attach_attached_volume_to_same_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:59,461 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:59,462 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:59,735 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.270s 2022-09-28 15:53:59,736 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-655175899", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d9b29296-266c-484b-92fe-e38f67c31ca8', 'x-compute-request-id': 'req-d9b29296-266c-484b-92fe-e38f67c31ca8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-655175899", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ==", "fingerprint": "6c:2b:f9:f3:80:de:ad:ef:cf:9b:0d:65:2d:c4:3e:a1", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:53:59,739 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-655175899 created 2022-09-28 15:54:00,896 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.156s 2022-09-28 15:54:00,896 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--752504676", "description": "tempest-description--2063755033"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-cb83eb17-a0e1-4261-82b2-75c160932743', 'date': 'Wed, 28 Sep 2022 15:54:00 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "48d2a42a-4b10-4807-bc51-a90200b09524", "name": "tempest-securitygroup--752504676", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--2063755033", "shared": false, "security_group_rules": [{"id": "b42d28e5-1338-495f-ad50-d6ec63e711ea", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 142, "description": null, "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "c547a281-c892-4fc6-92f4-3db7f6138b91", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nul l, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 143, "description": null, "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:02,854 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.957s 2022-09-28 15:54:02,854 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-d9e28448-3f94-41d8-bfd5-a964666a0bae', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "5ce0412e-a966-4335-92bf-210021faf7c2", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:02Z", "updated_at": "2022-09-28T15:54:02Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:04,161 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.305s 2022-09-28 15:54:04,161 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-1bb4fa8b-e5c8-4686-aee5-66b361ae8d91', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "58f906fe-5df6-43be-a01f-c060811ac4b6", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:03Z", "updated_at": "2022-09-28T15:54:03Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:04,162 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--752504676 created 2022-09-28 15:54:07,008 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.846s 2022-09-28 15:54:07,008 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conten t-length': '493', 'x-openstack-request-id': 'req-f788efca-3380-4bdc-b1c1-1853a4c004fd', 'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "fbfb0ba0-9162-40b8-8db1-2db8b2a17b70", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.91", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0}}' 2022-09-28 15:54:07,009 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': 'fbfb0ba0-9162-40b8-8db1-2db8b2a17b70', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.91', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'ip': '172.28.2.91'} created 2022-09-28 15:54:07,423 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.407s 2022-09-28 15:54:07,423 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-68f903ac-d681-4561-9828-6692dd82492c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["w69y7jJBTkWXuQiE9cfwSw"], "expires_at": "2022-09-28T16:54:07.000000Z", "issued_at": "2022-09-28T15:54:07.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "re gion": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:07,424 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:07,424 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-655175899', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ==', 'fingerprint': '6c:2b:f9:f3:80:de:ad:ef:cf:9b:0d:65:2d:c4:3e:a1', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDCMBFKcnL47LGXqLHYRQPCi6F8zp36woTBGzlLoZHm/6NU8/7/py/uw\nhEuVlkOsCfqgBwYFK4EEACKhZANiAAQaB4EyDkYYHamH6XyWuRkLquNhgK6jw3vs\nQHd9jppWZJqp3H3wnnU9fOhHhautOc2/hTI+zYaljouFPCPw7iJ8hYwYCB3jO9nT\nn7be5AQmd5gGMBhMN/p43euKFUEFLAE=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'name': 'tempest-securitygroup--752504676', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--2063755033', 'shared': False, 'security_group_rules': [{'id': 'b42d28e5-1338-495f-ad50-d6ec63e711ea', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 142, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'c547a281-c892-4fc6-92f4-3db7f6138b91', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'ethertype': 'IPv6' , 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 143, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': 'fbfb0ba0-9162-40b8-8db1-2db8b2a17b70', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.91', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'ip': '172.28.2.91'}} 2022-09-28 15:54:08,276 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.851s 2022-09-28 15:54:08,277 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-587159048", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--752504676"}], "key_name": "tempest-keypair-655175899", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-6d8d0403-27ba-42eb-baa9-26c49f882238', 'x-compute-request-id': 'req-6d8d0403-27ba-42eb-baa9-26c49f882238', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:08,396 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-655175899 0.118s 2022-09-28 15:54:08,397 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-30fddd36-f952-43d6-932e-e96f027eff5f', 'x-compute-request-id': 'req-30fddd36-f952-43d6-932e-e96f027eff5f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-655175899'} Body: b'' 2022-09-28 15:54:08,673 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524 0.275s 2022-09-28 15:54:08,673 128222 DEBUG [tempest.lib.common.rest_client] Req uest - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-3754825f-6ad3-42e8-ab4c-9c387e4b18e6', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524'} Body: b'' 2022-09-28 15:54:08,699 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524 0.025s 2022-09-28 15:54:08,699 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-7f69b2e2-5a58-4a1b-9d72-a4f5005a7cae', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 48d2a42a-4b10-4807-bc51-a90200b09524 does not exist", "detail": ""}}' 2022-09-28 15:54:09,592 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/fbfb0ba0-9162-40b8-8db1-2db8b2a17b70 0.892s 2022-09-28 15:54:09,593 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-85116534-a3d2-4034-bc83-8f579faa8673', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/fbfb0ba0-9162-40b8-8db1-2db8b2a17b70'} Body: b'' {2} tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments [8.781632s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 140, in test_list_get_volume_attachments server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:03,975 128217 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:03,975 128217 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:04,197 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.219s 2022-09-28 15:54:04,198 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1703298292", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '386', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-0a35adcb-d189-46e4-bb5d-9fd36ae9b43b', 'x-compute-request-id': 'req-0a35adcb-d189-46e4-bb5d-9fd36ae9b43b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-1703298292", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg==", "fingerprint": "c7:6a:eb:4c:26:1f:34:b3:ba:1f:ec:24:f0:26:8f:b0", "user_id": "ec88e798ca444795b46d5e105d391ee6"}}' 2022-09-28 15:54:04,200 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1703298292 created 2022-09-28 15:54:05,186 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.985s 2022-09-28 15:54:05,187 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--968098814", "description": "tempest-description--387713932"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-45cc2707-7a51-4cc9-acf7-6e4994e9b961', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "name": "tempest-securitygroup--968098814", "stateful": true, "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "tempest-description--387713932", "shared": false, "security_group_rules": [{"id": "1bd52988-3aab-495b-9e2a-5cf2ca2428ba", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 161, "description": null, "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}, {"id": "82bdff10-7a65-448d-8e11-d743e56f7929", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nu ll, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 163, "description": null, "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}], "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 1, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:05,969 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.782s 2022-09-28 15:54:05,970 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-9b232b31-a8e8-47a6-bf6f-6a7ee1cc8e06', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "65e59f6a-25c3-4b1f-9e59-516bd18be512", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:05Z", "updated_at": "2022-09-28T15:54:05Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:06,723 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.753s 2022-09-28 15:54:06,724 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-5c20f5a1-315b-49de-a03f-55ea0522c8d6', 'date': 'Wed, 28 Sep 2022 15:54:06 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "3445f763-df83-4424-b39e-f2608f8a4dfb", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:06,725 128217 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--968098814 created 2022-09-28 15:54:09,595 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.869s 2022-09-28 15:54:09,622 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-40e90932-c294-4b3a-9a65-6cb26e1789eb', 'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "5d3c170a-32e8-458f-a7fd-2571c1fe91f7", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "floating_ip_address": "172.28.2.126", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:08Z", "updated_at": "2022-09-28T15:54:08Z", "revision_number": 0}}' 2022-09-28 15:54:09,622 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '5d3c170a-32e8-458f-a7fd-2571c1fe91f7', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.126', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:08Z', 'updated_at': '2022-09-28T15:54:08Z', 'revision_number': 0, 'ip': '172.28.2.126'} created 2022-09-28 15:54:10,465 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_list_get_volume_attachments): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.836s 2022-09-28 15:54:10,466 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-64787b6f-2f1a-4826-855c-be2f22549b72', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "ec88e798ca444795b46d5e105d391ee6", "name": "tempest-AttachVolumeTestJSON-1166906178-project", "password_expires_at": null}, "audit_ids": ["dqc56J48TWivzseGcm76gQ"], "expires_at": "2022-09-28T16:54:10.000000Z", "issued_at": "2022-09-28T15:54:10.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "aa16f2e162fa487b9835d3c3c7610bfa", "name": "tempest-AttachVolumeTestJSON-1166906178"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne" }, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:10,466 128217 INFO [tempest.lib.common.fixed_network] (AttachVolumeTestJSON:test_list_get_volume_attachments) Found network {'id': 'ce6e4b31-b45d-49d2-80cb-5df91a8deeac', 'name': 'tempest-AttachVolumeTestJSON-1043956429-network', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 247, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:10,467 128217 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-1703298292', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg==', 'fingerprint': 'c7:6a:eb:4c:26:1f:34:b3:ba:1f:ec:24:f0:26:8f:b0', 'user_id': 'ec88e798ca444795b46d5e105d391ee6', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAdGLlaYu0gt5Bx7dBaKYKAicWl7XiO8AfwDFCS2xyYKRMhNcTfAP33\ngOTvBwJ8+kqgBwYFK4EEACKhZANiAAQdoxGPWI/BVL4/XbKhlsHc7qdYxCtbbvmN\nHhtBC+IlsuifTQb8mUqY8p420yFxuNXASCF5HKDzE/z6KEC/hBI8DmzsSOxD73ky\nXmpII6cjjUmEC03q1W7CyNIORfDYh6o=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'name': 'tempest-securitygroup--968098814', 'stateful': True, 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': 'tempest-description--387713932', 'shared': False, 'security_group_rules': [{'id': '1bd52988-3aab-495b-9e2a-5cf2ca2428ba', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 161, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, {'id': '82bdff10-7a65-448d-8e11-d743e56f7929', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol' : None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 163, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}], 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 1, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, 'floating_ip': {'id': '5d3c170a-32e8-458f-a7fd-2571c1fe91f7', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.126', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:08Z', 'updated_at': '2022-09-28T15:54:08Z', 'revision_number': 0, 'ip': '172.28.2.126'}} 2022-09-28 15:54:11,226 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_list_get_volume_attachments): 500 POST http://10.222.0.65/compute/v2.1/servers 0.758s 2022-09-28 15:54:11,226 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeTestJSON-server-169034184", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "ce6e4b31-b45d-49d2-80cb-5df91a8deeac"}], "security_groups": [{"name": "tempest-securitygroup--968098814"}], "key_name": "tempest-keypair-1703298292", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-355d8fb4-a1ed-44d8-92f5-c16342d87a9e', 'x-compute-request-id': 'req-355d8fb4-a1ed-44d8-92f5-c16342d87a9e', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:11,348 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1703298292 0.120s 2022-09-28 15:54:11,353 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-84986116-220a-446f-a2d4-1ef5dddb2b31', 'x-compute-request-id': 'req-84986116-220a-446f-a2d4-1ef5dddb2b31', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1703298292'} Body: b'' 2022-09-28 15:54:11,662 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9 0.307s 2022-09-28 15:54:11,662 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Ac cept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-68eb5e68-994e-4dcd-b6f0-47d9906d37a3', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9'} Body: b'' 2022-09-28 15:54:11,684 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9 0.021s 2022-09-28 15:54:11,688 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-bfc1cb0d-7e00-4913-9a0c-d8ed8189b089', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 46b9031c-fe0b-4129-9582-e01a5d5940b9 does not exist", "detail": ""}}' 2022-09-28 15:54:12,755 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/5d3c170a-32e8-458f-a7fd-2571c1fe91f7 1.066s 2022-09-28 15:54:12,756 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-f54fc269-1b5a-4dec-a4b6-d1191adb4c3b', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:12 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/5d3c170a-32e8-458f-a7fd-2571c1fe91f7'} Body: b'' {1} tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server [7.487243s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 299, in test_detach_volume_shelved_or_offload_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:05,552 128215 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:05,552 128215 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:05,768 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.213s 2022-09-28 15:54:05,769 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-946121181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '400', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-787c458a-d390-4a17-8588-921c7c7fbe6c', 'x-compute-request-id': 'req-787c458a-d390-4a17-8588-921c7c7fbe6c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"type": "ssh", "name": "tempest-keypair-946121181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg==", "fingerprint": "d5:52:cb:c4:57:8d:3c:fc:b6:47:ea:f5:89:1f:8b:e1", "user_id": "eb0ba5afbc2a43c6843d5c90df43ded2"}}' 2022-09-28 15:54:05,777 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-946121181 created 2022-09-28 15:54:06,394 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.616s 2022-09-28 15:54:06,394 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--967191273", "description": "tempest-description--1386454683"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-c8b0d099-d782-49e9-adf2-d5202eb0ae13', 'date': 'Wed, 28 Sep 2022 15:54:06 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "name": "tempest-securitygroup--967191273", "stateful": true, "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "tempest-description--1386454683", "shared": false, "security_group_rules": [{"id": "d82b5185-c0cd-4fee-8a7a-0d58e322ab2d", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 175, "description": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}, {"id": "e262a8fc-a35f-43b3-880a-d1228e63d147", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 174, "description": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}], "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 1, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:07,417 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.022s 2022-09-28 15:54:07,417 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-68ebdaba-7232-486b-b6bc-8a1ea09cc373', 'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "0f97569a-6766-4aa2-b386-b718be5b2799", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:07Z", "updated_at": "2022-09-28T15:54:07Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:08,135 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.716s 2022-09-28 15:54:08,135 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-bdadfd10-610e-44d4-a93a-00f157a82ae5', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "6a10c6ac-847d-4119-8b1b-e4207be84976", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:07Z", "updated_at": "2022-09-28T15:54:07Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:08,136 128215 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--967191273 created 2022-09-28 15:54:10,239 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.103s 2022-09-28 15:54:10,240 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Respons e - Headers: {'content-type': 'application/json', 'content-length': '494', 'x-openstack-request-id': 'req-f42e8121-6086-4b77-8be3-a4b1dc2e7793', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "494666ca-bf1e-4eae-be0a-9bb34648185d", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "floating_ip_address": "172.28.2.250", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:09Z", "updated_at": "2022-09-28T15:54:09Z", "revision_number": 0}}' 2022-09-28 15:54:10,240 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '494666ca-bf1e-4eae-be0a-9bb34648185d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.250', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:09Z', 'updated_at': '2022-09-28T15:54:09Z', 'revision_number': 0, 'ip': '172.28.2.250'} created 2022-09-28 15:54:10,581 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.334s 2022-09-28 15:54:10,581 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3266', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-fc82cea1-c4e4-482e-9275-a418d89903b2', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb0ba5afbc2a43c6843d5c90df43ded2", "name": "tempest-AttachVolumeShelveTestJSON-1705502689-project", "password_expires_at": null}, "audit_ids": ["iFcGD9scRzmQU_opdw0WTA"], "expires_at": "2022-09-28T16:54:10.000000Z", "issued_at": "2022-09-28T15:54:10.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "bf01d50560474a7e981ffe60a5bdd1ae", "name": "tempest-AttachVolumeShelveTestJSON-1705502689"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "ht tp://10.222.0.65:8080/v1/AUTH_bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:10,582 128215 INFO [tempest.lib.common.fixed_network] (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server) Found network {'id': 'e3433c55-16fc-420d-bb8c-eaa264393c96', 'name': 'tempest-AttachVolumeShelveTestJSON-1213550392-network', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 225, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:10,582 128215 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'type': 'ssh', 'name': 'tempest-keypair-946121181', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg==', 'fingerprint': 'd5:52:cb:c4:57:8d:3c:fc:b6:47:ea:f5:89:1f:8b:e1', 'user_id': 'eb0ba5afbc2a43c6843d5c90df43ded2', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDA+eZ1qkrU8EaLBBGhGpJqlBxpn0OBNnir+XCL0ggoHmd2vFn2vtnSB\n2hubw0wtT5KgBwYFK4EEACKhZANiAAT6MyLaqByf+O0cxEM/7TC5B32CCLIka3jS\nEEOZmMG1VyjyXbR6cncrZ/+Ni5HpQJlZvWDlW/0/ANDAIXxBTJFDuRiRNKnyHs8z\ngcF8eIa9X0vqrieYahcp57PHQAdBT1Y=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'name': 'tempest-securitygroup--967191273', 'stateful': True, 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': 'tempest-description--1386454683', 'shared': False, 'security_group_rules': [{'id': 'd82b5185-c0cd-4fee-8a7a-0d58e322ab2d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'security_group_id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 175, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, {'id': 'e262a8fc-a35f-43b3-880a-d1228e63d147', 'tenant_id': 'bf01d50560474a7e981ffe60a 5bdd1ae', 'security_group_id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 174, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}], 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 1, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, 'floating_ip': {'id': '494666ca-bf1e-4eae-be0a-9bb34648185d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.250', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:09Z', 'updated_at': '2022-09-28T15:54:09Z', 'revision_number': 0, 'ip': '172.28.2.250'}} 2022-09-28 15:54:11,373 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.789s 2022-09-28 15:54:11,373 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeShelveTestJSON-server-110458087", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "e3433c55-16fc-420d-bb8c-eaa264393c96"}], "security_groups": [{"name": "tempest-securitygroup--967191273"}], "key_name": "tempest-keypair-946121181", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-153d21a2-15c6-4933-af1c-8b461aab1200', 'x-compute-request-id': 'req-153d21a2-15c6-4933-af1c-8b461aab1200', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:11,532 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-946121181 0.157s 2022-09-28 15:54:11,536 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-f3700d00-1c15-4304-a148-d0ee18ebc8d9', 'x-compute-request-id': 'req-f3700d00-1c15-4304-a148-d0ee18ebc8d9', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-946121181'} Body: b'' 2022-09-28 15:54:11,877 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222 .0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 0.339s 2022-09-28 15:54:11,877 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-4217b30d-5bfa-427b-a477-3b84f2c08bc1', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6'} Body: b'' 2022-09-28 15:54:11,918 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 0.041s 2022-09-28 15:54:11,919 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-f65a9f8e-19d7-43b9-a27f-bfcc581d7cf2', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 does not exist", "detail": ""}}' 2022-09-28 15:54:13,038 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/494666ca-bf1e-4eae-be0a-9bb34648185d 1.118s 2022-09-28 15:54:13,038 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-d6c56f5b-e746-403a-a811-83a4ea4b9151', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/494666ca-bf1e-4eae-be0a-9bb34648185d'} Body: b'' {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_log_reason_with_no_reason [0.138664s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_disable_service_with_invalid_binary [0.049549s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_enable_service_with_invalid_host [0.044927s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_freeze_host_with_invalid_host [0.058777s] ... ok {0} tempest.api.volume.admin.test_volume_services_negative.VolumeServicesNegativeTest.test_thaw_host_with_invalid_host [0.034313s] ... ok {4} tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume [6.349065s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/lib/decorators.py", line 105, in wrapper raise exc File "/opt/stack/tempest/tempest/lib/decorators.py", line 97, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 31, in test_delete_attached_volume server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:09,624 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:09,624 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:09,810 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.183s 2022-09-28 15:54:09,811 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-267577643", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d905e936-d74b-4e67-8ae1-0aa83662a75b', 'x-compute-request-id': 'req-d905e936-d74b-4e67-8ae1-0aa83662a75b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-267577643", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA==", "fingerprint": "0e:9a:04:d4:78:8e:3a:54:20:26:cf:36:3b:d9:98:31", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:54:09,814 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-267577643 created 2022-09-28 15:54:10,389 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.574s 2022-09-28 15:54:10,393 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--1052321760", "description": "tempest-description--801617124"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-d2defb72-c4aa-412c-8352-0b5d3c95e395', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "a6147dac-715f-4942-be5a-49d7645ad05d", "name": "tempest-securitygroup--1052321760", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--801617124", "shared": false, "security_group_rules": [{"id": "3b19274c-345d-4ceb-a0e5-22f3570a9cfd", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 190, "description": null, "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "a1d8d81c-ffd4-4505-981e-cca4a005685b", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nul l, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 191, "description": null, "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:10,892 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.498s 2022-09-28 15:54:10,892 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-682e9bc8-f0d2-4868-97a4-8014912da8b9', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "b14054eb-bc15-4684-af66-3dc52c1a0bed", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:11,310 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.418s 2022-09-28 15:54:11,311 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-3ea35d23-6a3b-4849-b4f8-cde01fd27977', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "bdd56547-5f7b-4554-a593-fe7010aacf5d", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:11Z", "updated_at": "2022-09-28T15:54:11Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:11,311 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--1052321760 created 2022-09-28 15:54:13,616 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.304s 2022-09-28 15:54:13,616 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-b6141407-beb7-4510-a5d1-cba18b95f2e3', 'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "9ab540da-7eef-4cee-87e2-614e8ef39e02", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.184", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:12Z", "updated_at": "2022-09-28T15:54:12Z", "revision_number": 0}}' 2022-09-28 15:54:13,616 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '9ab540da-7eef-4cee-87e2-614e8ef39e02', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.184', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:12Z', 'updated_at': '2022-09-28T15:54:12Z', 'revision_number': 0, 'ip': '172.28.2.184'} created 2022-09-28 15:54:13,786 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_delete_attached_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.164s 2022-09-28 15:54:13,787 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-687b6df6-c11e-46b9-838e-ae173ed08871', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["cRjfZBo3TfSozdTDvE78XA"], "expires_at": "2022-09-28T16:54:13.000000Z", "issued_at": "2022-09-28T15:54:13.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "Reg ionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:13,787 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_delete_attached_volume) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:13,788 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-267577643', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA==', 'fingerprint': '0e:9a:04:d4:78:8e:3a:54:20:26:cf:36:3b:d9:98:31', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAuxiyDLmXvKJIk1g041CTgMLxbtHcbNhsAJZ/tmi+G0hRnYHIgLHrd\nbRcs5eKDOiqgBwYFK4EEACKhZANiAAQP18aVvHXo6ZX/Y0NsKIXnNzrweNx9qqG+\nLmG425MEWXtyDOfFyckrxIIxVrxbqm5689icj0OCniWC17DCEQqNDOeDPoSNUfRI\n0RiDOFoJZoe6BtWsfsw9tkQhiIFEZ1Q=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'name': 'tempest-securitygroup--1052321760', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--801617124', 'shared': False, 'security_group_rules': [{'id': '3b19274c-345d-4ceb-a0e5-22f3570a9cfd', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 190, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'a1d8d81c-ffd4-4505-981e-cca4a005685b', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'ethertype': 'IPv6', 'direction': 'egress', ' protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 191, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': '9ab540da-7eef-4cee-87e2-614e8ef39e02', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.184', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:12Z', 'updated_at': '2022-09-28T15:54:12Z', 'revision_number': 0, 'ip': '172.28.2.184'}} 2022-09-28 15:54:14,307 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_delete_attached_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 0.518s 2022-09-28 15:54:14,307 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-83005344", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--1052321760"}], "key_name": "tempest-keypair-267577643", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-5190ca39-a415-4ee5-9cff-4cb7f6ff90c0', 'x-compute-request-id': 'req-5190ca39-a415-4ee5-9cff-4cb7f6ff90c0', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:14,308 128222 ERROR [tempest.lib.decorators] Hints: This test was made for the bug_type 1630783. The failure could be related to https://launchpad.net/bugs/1630783 2022-09-28 15:54:14,515 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-267577643 0.206s 2022-09-28 15:54:14,522 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-f313aeb0-2b6c-42cb-88d2-400acdca434b', 'x-compute-request-id': 'req-f313aeb0-2b6c-42cb-88d2-400acdca434b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-267577643'} Body: b'' 2022-09-28 15:54:15,185 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/network ing/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d 0.661s 2022-09-28 15:54:15,185 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-ab3c52f8-728f-4b93-87b5-1b57c337dfdd', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d'} Body: b'' 2022-09-28 15:54:15,225 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d 0.040s 2022-09-28 15:54:15,226 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-0d7ccb14-db5e-4021-b6b3-e44de6c89220', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group a6147dac-715f-4942-be5a-49d7645ad05d does not exist", "detail": ""}}' 2022-09-28 15:54:15,972 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/9ab540da-7eef-4cee-87e2-614e8ef39e02 0.745s 2022-09-28 15:54:15,972 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-cf5766ba-9cac-4616-b98a-6f76ca0afb99', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/9ab540da-7eef-4cee-87e2-614e8ef39e02'} Body: b'' {7} tempest.api.compute.volumes.test_volumes_get.VolumesGetTestJSON.test_volume_create_get_delete [3.190936s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_add [3.816226s] ... ok {6} tempest.api.volume.admin.test_volume_type_access.VolumeTypesAccessTest.test_volume_type_access_list [0.914568s] ... ok {5} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv1 ... SKIPPED: Attached encrypted volume extend is disabled. {5} tempest.api.volume.admin.test_encrypted_volumes_extend.EncryptedVolumesExtendAttachedTest.test_extend_attached_encrypted_volume_luksv2 ... SKIPPED: Attached encrypted volume extend is disabled. {3} tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithoutMigrationTest.test_available_volume_retype [5.303625s] ... ok {5} setUpClass (tempest.api.volume.admin.test_multi_backend.VolumeMultiBackendTest) ... SKIPPED: Cinder multi-backend feature disabled {5} tempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_list_hosts [0.620512s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_invalid_body [0.310291s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_none_body [0.713615s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_create_nonexistent_type_id [0.140965s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_delete_nonexistent_volume_type_id [0.232364s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_extra_spec_name [0.290614s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_spec_create_get_delete [1.448136s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_get_nonexistent_volume_type_id [0.111796s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_list_nonexistent_volume_type_id [0.157485s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_list [0.286447s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_multiple_extra_spec [0.049123s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_no_body [0.175767s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_gigabytes_snapshots [1.019435s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_none_extra_spec_id [0.077539s] ... ok {0} tempest.api.volume.admin.test_volume_snapshot_quotas_negative.VolumeSnapshotQuotasNegativeTestJSON.test_quota_volume_snapshots [0.117631s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_extra_spec_id [0.764515s] ... ok {3} tempest.api.volume.admin.test_volume_types_extra_specs_negative.ExtraSpecsNegativeTest.test_update_nonexistent_type_id [0.271491s] ... ok {6} tempest.api.volume.admin.test_volume_types_extra_specs.VolumeTypesExtraSpecsTest.test_volume_type_extra_specs_update [1.904451s] ... ok {1} tempest.api.compute.volumes.test_volume_snapshots.VolumesSnapshotsTestJSON.test_volume_snapshot_create_get_list_delete [8.774208s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_create_show_list_delete [12.414404s] ... ok {2} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status [11.314826s] ... ok {3} tempest.api.volume.test_availability_zone.AvailabilityZoneTestJSON.test_get_availability_zone_list [0.311711s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume [1.422059s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/admin/test_volumes_actions.py", line 83, in test_force_detach_volume server_id = self.create_server()['id'] File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:42,518 128224 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_force_detach_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.331s 2022-09-28 15:54:42,519 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3246', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-7f945fce-1d15-4ee5-ac88-1b1d747fc64e', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "62264711a02145c2b14411cf89a3db4f", "name": "tempest-VolumesActionsTest-58402918-project", "password_expires_at": null}, "audit_ids": ["FBlOx74vTLWlB-TiR0X2nA"], "expires_at": "2022-09-28T16:54:42.000000Z", "issued_at": "2022-09-28T15:54:42.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "842e4dbec1f34cffbb88f4aacd5933b0", "name": "tempest-VolumesActionsTest-58402918"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:42,520 128224 INFO [tempest.lib.common.fixed_ network] (VolumesActionsTest:test_force_detach_volume) Found network {'id': 'dd728218-fad9-4337-88ef-1be112400f0e', 'name': 'tempest-VolumesActionsTest-669329676-network', 'tenant_id': '842e4dbec1f34cffbb88f4aacd5933b0', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '842e4dbec1f34cffbb88f4aacd5933b0', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 237, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:54:36Z', 'updated_at': '2022-09-28T15:54:36Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:43,602 128224 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_force_detach_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 1.081s 2022-09-28 15:54:43,602 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-2086804437", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "dd728218-fad9-4337-88ef-1be112400f0e"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-b2bab53e-0209-4db2-b016-6d563f40c58f', 'x-compute-request-id': 'req-b2bab53e-0209-4db2-b016-6d563f40c58f', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {3} tempest.api.volume.test_extensions.ExtensionsTestJSON.test_list_extensions [0.361802s] ... ok {6} tempest.api.volume.test_volume_absolute_limits.AbsoluteLimitsTests.test_get_volume_absolute_limits [0.167426s] ... ok {4} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot [17.088697s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_attaching [5.270048s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_host_name [0.206839s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_and_host_name [0.089661s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_service_binary_name [0.052828s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_get_service_by_volume_host_name [3.045081s] ... ok {2} tempest.api.volume.admin.test_volume_services.VolumesServicesTestJSON.test_list_services [0.364630s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_creating [4.800755s] ... ok {7} tempest.api.volume.admin.test_groups.GroupsTest.test_group_update [13.278286s] ... ok {3} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_crud_volume_metadata [1.899045s] ... ok {3} tempest.api.volume.test_volume_metadata.VolumesMetadataTest.test_update_show_volume_metadata_item [1.020629s] ... ok {1} tempest.api.volume.admin.test_groups.GroupsV314Test.test_create_group_from_group [11.616443s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_error [3.906003s] ... ok {0} tempest.api.volume.admin.test_volumes_list.VolumesListAdminTestJSON.test_volume_list_param_tenant [2.722370s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_force_delete_when_volume_is_maintenance [3.288798s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_type_encryption_nonexistent_type_id [0.333730s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details [0.776763s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_volume_with_private_volume_type [1.299088s] ... ok {7} tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details [0.354406s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_empty_name [0.212659s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_create_with_repeated_name [0.615451s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_delete_nonexistent_type_id [0.250290s] ... ok {2} tempest.api.volume.admin.test_volume_types_negative.VolumeTypesNegativeTest.test_get_nonexistent_type_id [0.139833s] ... ok {5} tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_volume_reset_status [4.275386s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_get_list_accept_volume_transfer [7.757614s] ... ok {0} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsV39Test) ... SKIPPED: Cinder backup feature disabled {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_associate_disassociate_qos [2.632761s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_back_end_consumer [0.365493s] ... ok {0} tempest.api.volume.test_volumes_get.VolumesSummaryTest.test_show_volume_summary [0.193161s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_both_consumer [0.408074s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_create_delete_qos_with_front_end_consumer [0.476355s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_get_qos [0.114630s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_list_qos [0.085834s] ... ok {1} tempest.api.volume.admin.test_qos.QosSpecsTestJSON.test_set_unset_qos_key [0.724781s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list [0.071928s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_by_name [0.066131s] ... ok {4} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_delete_group_snapshots_following_updated_volumes [20.999975s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_by_name [0.091305s] ... ok {6} tempest.api.volume.test_volume_transfers.VolumesTransfersTest.test_create_list_delete_volume_transfer [4.272889s] ... ok {2} setUpClass (tempest.api.volume.admin.test_volumes_backup.VolumesBackupsAdminTest) ... SKIPPED: Cinder backup feature disabled {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination [0.409393s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_with_multiple_params [0.181855s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_pagination [0.319193s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_param_display_name_and_status [0.065488s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_display_name_and_status [0.102949s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_marker [0.100232s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_detail_param_metadata [0.129122s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_details [0.112963s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_with_param_metadata [0.111452s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_availability_zone [0.361982s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_bootable [0.368501s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_by_status [0.405089s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_availability_zone [0.126088s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_bootable [0.102958s] ... ok {3} tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volumes_list_details_by_status [0.101307s] ... ok {2} tempest.api.volume.test_versions.VersionsTest.test_list_versions [0.029437s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_delete_quota [1.485891s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_default_quotas [0.052588s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_list_quotas [0.047317s] ... ok {2} tempest.api.volume.test_versions.VersionsTest.test_show_version [0.449969s] ... ok {6} setUpClass (tempest.api.volume.test_volumes_backup.VolumesBackupsTest) ... SKIPPED: Cinder backup feature disabled {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_with_nonexistent_volume_id [0.141897s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_create_snapshot_without_passing_volume_id [0.100623s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage [4.188010s] ... ok {5} tempest.api.volume.test_volumes_clone_negative.VolumesCloneNegativeTest.test_create_from_volume_decreasing_size [2.636319s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshot_invalid_param_limit [0.135350s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_marker [0.667300s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_list_snapshots_invalid_param_sort [0.093892s] ... ok {1} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_delete_message [2.924390s] ... ok {4} tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_group_snapshot_create_show_list_delete [12.071980s] ... ok {1} tempest.api.volume.admin.test_user_messages.UserMessagesTest.test_list_show_messages [2.687077s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_quota_usage_after_volume_transfer [5.623521s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_show_quota_usage [0.623409s] ... ok {6} tempest.api.volume.test_volumes_snapshots_negative.VolumesSnapshotNegativeTestJSON.test_volume_from_snapshot_decreasing_size [6.103365s] ... ok {7} tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant [1.866616s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_get_list_accept_volume_transfer [8.290380s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit [0.041315s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_infinite [0.076545s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_limit_equals_zero [0.035086s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_marker [0.083944s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_offset [0.069149s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_asc [0.055001s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_created_at_desc [0.071570s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_asc [0.068111s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_id_desc [0.063329s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_asc [0.108483s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshot_list_param_sort_name_desc [0.091571s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_details_with_params [0.183393s] ... ok {3} tempest.api.volume.test_volumes_snapshots_list.VolumesSnapshotListTestJSON.test_snapshots_list_with_params [0.084480s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete [8.743659s] ... ok {2} tempest.api.volume.test_volume_transfers.VolumesTransfersV355Test.test_create_list_delete_volume_transfer [3.807399s] ... ok {4} tempest.api.volume.admin.test_group_type_specs.GroupTypeSpecsTest.test_group_type_specs_create_show_update_list_delete [2.589772s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volume_gigabytes [0.613728s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_quota_volumes [0.705861s] ... ok {1} tempest.api.volume.admin.test_volume_quotas_negative.VolumeQuotasNegativeTestJSON.test_volume_extend_gigabytes_quota_deviation [0.572528s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_crud_with_volume_type_and_extra_specs [5.209174s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_create_get_delete [0.176159s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_as_clone [9.589978s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_encryption_create_get_update_delete [1.093201s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_list [0.054292s] ... ok {7} tempest.api.volume.admin.test_volume_types.VolumeTypesTest.test_volume_type_update [0.373655s] ... ok {1} setUpClass (tempest.api.volume.admin.test_volume_retype.VolumeRetypeWithMigrationTest) ... SKIPPED: Cinder multi-backend feature disabled {4} tempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume [7.580817s] ... ok {7} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_crud_snapshot_metadata [0.895001s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersV357Test.test_create_get_list_accept_volume_transfer [6.275359s] ... ok {7} tempest.api.volume.test_snapshot_metadata.SnapshotMetadataTestJSON.test_update_show_snapshot_metadata_item [1.396764s] ... ok {1} tempest.api.volume.test_volume_transfers.VolumesTransfersV357Test.test_create_list_delete_volume_transfer [3.694363s] ... ok {7} setUpClass (tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes) ... SKIPPED: Encrypted volume attach is not supported {6} tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance [64.312048s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse response.begin() File "/usr/lib/python3.8/http/client.py", line 316, in begin version, status, reason = self._read_status() File "/usr/lib/python3.8/http/client.py", line 277, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.8/socket.py", line 669, in readinto return self._sock.recv_into(b) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/scenario/test_shelve_instance.py", line 120, in test_shelve_volume_backed_instance self._create_server_then_shelve_and_unshelve(boot_from_volume=True) File "/opt/stack/tempest/tempest/scenario/test_shelve_instance.py", line 82, in _create_server_then_shelve_and_unshelve server = self.create_server( File "/opt/stack/tempest/tempest/scenario/manager.py", line 309, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 256, in create_test_server volume = volumes_client.create_volume(**params) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 116, in create_volume resp, body = self.post('volumes', 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 704, in request resp, resp_body = self._request(method, url, headers=headers, File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 583, in _request resp, resp_body = self.raw_request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 623, in raw_request resp, resp_body = self.http_obj.request( File "/opt/stack/tempest/tempest/lib/common/http.py", line 110, in request r = super(ClosingHttp, self).request(method, url, retries=retry, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request return self.request_encode_body( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/request.py", line 170, in request_encode_body return self.urlopen(method, url, **extra_kw) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 376, in urlopen response = conn.urlopen(method, u.request_uri, **kw) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 451, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='10.222.0.65', port=80): Read timed out. (read timeout=60) Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:55:50,733 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.350s 2022-09-28 15:55:50,738 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-TestShelveInstance-469851981", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA1nkPXPYsO4CKnt3x0boXeve1nPFvGzrgJkELQIt9NACOVVzx8zTfXNt8OMkl+7Ce9kn+E3sQKF3zDEoiRs6FDxg29HBxrB6dJEgbW3AklgPCk8+TxNwwueg1dxMMOgSQ=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:55:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '396', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d971483d-7f6c-44b6-aa27-b3e72178b4b3', 'x-compute-request-id': 'req-d971483d-7f6c-44b6-aa27-b3e72178b4b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-TestShelveInstance-469851981", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA1nkPXPYsO4CKnt3x0boXeve1nPFvGzrgJkELQIt9NACOVVzx8zTfXNt8OMkl+7Ce9kn+E3sQKF3zDEoiRs6FDxg29HBxrB6dJEgbW3AklgPCk8+TxNwwueg1dxMMOgSQ==", "fingerprint": "7a:7f:44:bc:27:05:42:d4:94:84:45:71:5d:ec:7f:44", "user_id": "abc56ccdfc25497b9e9490d1f701fcc2"}}' 2022-09-28 15:55:51,320 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.579s 2022-09-28 15:55:51,321 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-secgroup-smoke-1511732937", "description": "tempest-secgroup-smoke-1511732937 description", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1611', 'x-openstack-request-id': 'req-03d62c57-dfa5-4b23-815a-3310ee6ea151', 'date': 'Wed, 28 Sep 2022 15:55:51 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "name": "tempest-secgroup-smoke-1511732937", "stateful": true, "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "description": "tempest-secgroup-smoke-1511732937 description", "shared": false, "security_group_rules": [{"id": "29a68e26-0149-46c8-b65c-15c2b078802d", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 572, "description": null, "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}, {"id": "fc34ff7e-5a32-4761-bd1b-96f5ffebece6", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 573, "description": null, "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}], "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09- 28T15:55:51Z", "revision_number": 1, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:51,708 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.387s 2022-09-28 15:55:51,709 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-e5060c70-ad47-476e-ba6b-d16ff0894104', 'date': 'Wed, 28 Sep 2022 15:55:51 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "ad98c6b2-17db-48f3-bb66-1efea0a991a9", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:52,243 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.534s 2022-09-28 15:55:52,244 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '564', 'x-openstack-request-id': 'req-d5c4639a-296a-456c-99a6-72c19b78b219', 'date': 'Wed, 28 Sep 2022 15:55:52 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "7777ad8c-9137-4708-a554-a880d6bde0d7", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:52,692 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.447s 2022-09-28 15:55:52,692 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-2e493223-e8e1-4d0c-ba5a-4722b82eff5d', 'date': 'Wed, 28 Sep 2022 15:55:52 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "73d3f847-f899-48e9-ae9a-1b25c012c5bf", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:52Z", "updated_at": "2022-09-28T15:55:52Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:53,234 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.541s 2022-09-28 15:55:53,234 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '569', 'x-openstack-request-id': 'req-c66205b1-bb7d-40bd-a5d2-9ce024a026b3', 'date': 'Wed, 28 Sep 2022 15:55:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "e3faa9f0-46fc-413c-939a-4af2783cb90a", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:52Z", "updated_at": "2022-09-28T15:55:52Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:53,664 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.429s 2022-09-28 15:55:53,666 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "ethertype": "IPv6", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '575', 'x-openstack-request-id': 'req-c3d3d6ec-e910-4a3d-9d69-b4e05bd4ea70', 'date': 'Wed, 28 Sep 2022 15:55:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "ee9b8d15-f8b8-41f4-a4e1-b4967e5a3a3e", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "ingress", "protocol": "ipv6-icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:53Z", "updated_at": "2022-09-28T15:55:53Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:54,126 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.460s 2022-09-28 15:55:54,129 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5 cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "ethertype": "IPv6", "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '574', 'x-openstack-request-id': 'req-bd3e737b-aef4-4e9f-bafb-66226510a185', 'date': 'Wed, 28 Sep 2022 15:55:54 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "f054f339-dc9e-4a0f-b2f3-56e05d9b86f0", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "egress", "protocol": "ipv6-icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:53Z", "updated_at": "2022-09-28T15:55:53Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:54,267 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.132s 2022-09-28 15:55:54,268 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:55:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-5cad83f6-bc6c-47c9-961f-0f33d259c583', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "abc56ccdfc25497b9e9490d1f701fcc2", "name": "tempest-TestShelveInstance-1623505415-project", "password_expires_at": null}, "audit_ids": ["qsNUhS4pRqmakr_PmED2fw"], "expires_at": "2022-09-28T16:55:54.000000Z", "issued_at": "2022-09-28T15:55:54.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "8a44f66cb91442b3992f2ecb0af5ff90", "name": "tempest-TestShelveInstance-1623505415"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "regi on_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:55:54,268 128225 INFO [tempest.lib.common.fixed_network] (TestShelveInstance:test_shelve_volume_backed_instance) Found network {'id': '888ee814-f881-402b-bcce-a0d7c51b853c', 'name': 'tempest-TestShelveInstance-1949409086-network', 'tenant_id': '8a44f66cb91442b3992f2ecb0af5ff90', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '8a44f66cb91442b3992f2ecb0af5ff90', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 201, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:55:33Z', 'updated_at': '2022-09-28T15:55:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:56:54,568 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/7172f5cc-a2b5-4f29-9c91-ac8b01c52e90 0.228s 2022-09-28 15:56:54,568 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-f4ad1944-82ff-40a2-9517-da29facb0c8b', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:56:54 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/7172f5cc-a2b5-4f29-9c91-ac8b01c52e90'} Body: b'' 2022-09-28 15:56:54,690 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestShelveInstance-469851981 0.121s 2022-09-28 15:56:54,691 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:56:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-3d5be9d8-f77a-4e09-aea4-244ba6a1c92c', 'x-compute-request-id': 'req-3d5be9d8-f77a-4e09-aea4-244ba6a1c92c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestShelveInstance-469851981'} Body: b'' {2} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend [111.602102s] ... ok {4} tempest.api.volume.test_image_metadata.VolumesImageMetadata.test_update_show_delete_image_metadata [0.434115s] ... ok {5} tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image [114.233263s] ... ok {2} tempest.api.volume.test_volumes_extend.VolumesExtendTest.test_volume_extend_when_volume_has_snapshot [5.035279s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_delete_cascade [7.908294s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_attach_volumes_with_nonexistent_volume_id [98.554205s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_backup ... SKIPPED: Cinder backup is disabled {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use [0.473739s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py", line 48, in test_snapshot_create_delete_with_volume_in_use server = self.create_server(wait_until='SSHABLE') File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:45,832 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.092s 2022-09-28 15:57:45,832 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-110553d9-d34b-460b-abc1-40ddbf3083d9', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "a13fcb1f4ff54aa3b594fe30146c02d3", "name": "tempest-VolumesSnapshotTestJSON-1307172262-project", "password_expires_at": null}, "audit_ids": ["qe4wgEIfRLqCQ1E3Wri3Bw"], "expires_at": "2022-09-28T16:57:45.000000Z", "issued_at": "2022-09-28T15:57:45.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "fd4076a98c8b40f89292d0fbfe11656f", "name": "tempest-VolumesSnapshotTestJSON-1307172262"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:57:45,833 1 28217 INFO [tempest.lib.common.fixed_network] (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use) Found network {'id': '9a22aa42-c889-4c04-8f21-32e8e44beb9b', 'name': 'tempest-VolumesSnapshotTestJSON-1705875271-network', 'tenant_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 230, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:41Z', 'updated_at': '2022-09-28T15:57:41Z', 'revision_number': 1} available for tenant 2022-09-28 15:57:46,146 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use): 500 POST http://10.222.0.65/compute/v2.1/servers 0.313s 2022-09-28 15:57:46,146 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesSnapshotTestJSON-instance-250591408", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "9a22aa42-c889-4c04-8f21-32e8e44beb9b"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-c02d8530-76eb-41ce-92c0-d71aabe204c9', 'x-compute-request-id': 'req-c02d8530-76eb-41ce-92c0-d71aabe204c9', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_deactivated_image [2.920381s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_from_image_with_decreasing_size [2.497166s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_invalid_size [0.014215s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_snapshot_id [0.026941s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_source_volid [0.031411s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_nonexistent_volume_type [0.029098s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_negative [0.014891s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_with_size_zero [0.017391s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_create_volume_without_passing_size [0.016114s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_invalid_volume_id [0.030722s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_delete_volume_without_passing_volume_id [0.009916s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_detach_volumes_with_invalid_volume_id [0.026849s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_invalid_volume_id [0.033742s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_get_volume_without_passing_volume_id [0.012314s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_invalid_status [0.099599s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_detail_with_nonexistent_name [0.128949s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_invalid_status [0.110301s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_list_volumes_with_nonexistent_name [0.086395s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_negative_volume_status [0.688842s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_reserve_volume_with_nonexistent_volume_id [0.027118s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_unreserve_volume_with_nonexistent_volume_id [0.027272s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_empty_volume_id [0.010614s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_invalid_volume_id [0.025114s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_update_volume_with_nonexistent_volume_id [0.024621s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_delete_nonexistent_volume_id [0.024681s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_None_size [0.015909s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_non_number_size [0.014614s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_nonexistent_volume_id [0.031984s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_with_size_smaller_than_original_size [0.013903s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_extend_without_passing_volume_id [0.028359s] ... ok {1} tempest.api.volume.test_volumes_negative.VolumesNegativeTest.test_volume_get_nonexistent_volume_id [0.023736s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_get_list_update_delete [4.869203s] ... ok {4} tempest.api.volume.test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete [9.220952s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online [2.512387s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py", line 83, in test_snapshot_create_offline_delete_online server = self.create_server(wait_until='SSHABLE') File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:51,898 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 202 POST http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots 0.877s 2022-09-28 15:57:51,898 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734"}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-104f6cd5-da8a-4b7b-8f77-26bfd6064f4d', 'content-length': '309', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-104f6cd5-da8a-4b7b-8f77-26bfd6064f4d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:51.548713", "updated_at": null, "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "creating", "size": 1, "metadata": {}}}' 2022-09-28 15:57:51,948 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 200 GET http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3 0.045s 2022-09-28 15:57:51,948 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c739493d-cbc9-42c4-b317-b8680719d61f', 'content-length': '441', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c739493d-cbc9-42c4-b317-b8680719d61f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:52.000000", "updated_at": null, "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "fd4076a98c8b40f89292d0fbfe11656f", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-09-28 15:57:52,985 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 200 GET http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3 0.030s 2022-09-28 15:57:52,986 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0dbc43da-f59b-4153-8ddb-b8d1674bda49', 'content-length': '534', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0dbc43da-f59b-4153-8ddb-b8d1674bda49', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:52.000000", "updated_at": "2022-09-28T15:57:53.000000", "name": "temp est-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "available", "size": 1, "metadata": {"backing_file": "volume-9956ebf3-fc09-410d-8d92-a97d569b4e12.vhdx"}, "os-extended-snapshot-attributes:project_id": "fd4076a98c8b40f89292d0fbfe11656f", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-09-28 15:57:52,990 128217 INFO [tempest.common.waiters] snapshot 4e731764-6467-4e43-8348-c5034c8d39f3 reached available after waiting for 1.990158 seconds 2022-09-28 15:57:53,171 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.170s 2022-09-28 15:57:53,171 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-967e91d4-d928-42cd-a687-2ae35a79a9d3', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "a13fcb1f4ff54aa3b594fe30146c02d3", "name": "tempest-VolumesSnapshotTestJSON-1307172262-project", "password_expires_at": null}, "audit_ids": ["5y9du2tTQt6S7bO5Dr4Z_A"], "expires_at": "2022-09-28T16:57:53.000000Z", "issued_at": "2022-09-28T15:57:53.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "fd4076a98c8b40f89292d0fbfe11656f", "name": "tempest-VolumesSnapshotTestJSON-1307172262"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65 b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:57:53,172 128217 INFO [tempest.lib.common.fixed_network] (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online) Found network {'id': '9a22aa42-c889-4c04-8f21-32e8e44beb9b', 'name': 'tempest-VolumesSnapshotTestJSON-1705875271-network', 'tenant_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 230, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:41Z', 'updated_at': '2022-09-28T15:57:41Z', 'revision_number': 1} available for tenant 2022-09-28 15:57:53,531 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 500 POST http://10.222.0.65/compute/v2.1/servers 0.359s 2022-09-28 15:57:53,532 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesSnapshotTestJSON-instance-1443541400", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "9a22aa42-c889-4c04-8f21-32e8e44beb9b"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-9ba41fcd-b074-4f81-8780-433ee061d7f3', 'x-compute-request-id': 'req-9ba41fcd-b074-4f81-8780-433ee061d7f3', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance [0.328254s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_actions.py", line 45, in test_attach_detach_volume_to_instance server = self.create_server() File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:58:00,968 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_attach_detach_volume_to_instance): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.038s 2022-09-28 15:58:00,969 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-060c9c0e-3c52-4828-aea6-74b5c1e9b8a5', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e1da2b74f3764f4abd08ea098561adc2", "name": "tempest-VolumesActionsTest-1057529295-project", "password_expires_at": null}, "audit_ids": ["t0NmPh8ARvOU__HmN1JR3w"], "expires_at": "2022-09-28T16:58:00.000000Z", "issued_at": "2022-09-28T15:58:00.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "462713bb342b43b18086c08c10f3ea03", "name": "tempest-VolumesActionsTest-1057529295"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:00,969 128222 INFO [tempest. lib.common.fixed_network] (VolumesActionsTest:test_attach_detach_volume_to_instance) Found network {'id': 'c93a2f79-a622-4698-b475-bdd6e6d99c9d', 'name': 'tempest-VolumesActionsTest-122857200-network', 'tenant_id': '462713bb342b43b18086c08c10f3ea03', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '462713bb342b43b18086c08c10f3ea03', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 222, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:56Z', 'updated_at': '2022-09-28T15:57:56Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:01,249 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_attach_detach_volume_to_instance): 500 POST http://10.222.0.65/compute/v2.1/servers 0.279s 2022-09-28 15:58:01,250 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-900336056", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "c93a2f79-a622-4698-b475-bdd6e6d99c9d"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-6eed194b-5ef7-47a6-a293-8b31cac9d96d', 'x-compute-request-id': 'req-6eed194b-5ef7-47a6-a293-8b31cac9d96d', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment [0.335624s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_actions.py", line 81, in test_get_volume_attachment server = self.create_server() File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:58:01,307 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_get_volume_attachment): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.043s 2022-09-28 15:58:01,307 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-e00a64ed-cece-4c2d-825e-4b0ad61bb18c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e1da2b74f3764f4abd08ea098561adc2", "name": "tempest-VolumesActionsTest-1057529295-project", "password_expires_at": null}, "audit_ids": ["L2006whaQj2CyXTqanL-IQ"], "expires_at": "2022-09-28T16:58:01.000000Z", "issued_at": "2022-09-28T15:58:01.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "462713bb342b43b18086c08c10f3ea03", "name": "tempest-VolumesActionsTest-1057529295"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:01,307 128222 INFO [tempest.lib.common. fixed_network] (VolumesActionsTest:test_get_volume_attachment) Found network {'id': 'c93a2f79-a622-4698-b475-bdd6e6d99c9d', 'name': 'tempest-VolumesActionsTest-122857200-network', 'tenant_id': '462713bb342b43b18086c08c10f3ea03', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '462713bb342b43b18086c08c10f3ea03', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 222, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:56Z', 'updated_at': '2022-09-28T15:57:56Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:01,592 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_get_volume_attachment): 500 POST http://10.222.0.65/compute/v2.1/servers 0.283s 2022-09-28 15:58:01,592 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-636023632", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "c93a2f79-a622-4698-b475-bdd6e6d99c9d"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-fe132770-3fac-4dcf-8b7a-01582a7052d3', 'x-compute-request-id': 'req-fe132770-3fac-4dcf-8b7a-01582a7052d3', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot [8.230645s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_reserve_unreserve_volume [1.100428s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_bootable [0.478970s] ... ok {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_readonly_update [0.422953s] ... ok {2} tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_volume_from_snapshot_no_size [8.498724s] ... ok {5} tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario [16.666179s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/scenario/test_minimum_basic.py", line 109, in test_minimum_basic_scenario server = self.create_server(image_id=image, key_name=keypair['name']) File "/opt/stack/tempest/tempest/scenario/manager.py", line 309, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:53,796 128224 DEBUG [tempest.scenario.manager] paths: img: /home/ubuntu/devstack/files/ubuntu-16.04-minimal-cloudimg-amd64-sync.vhdx, container_format: bare, disk_format: vhdx, properties: None 2022-09-28 15:57:54,210 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 201 POST http://10.222.0.65/image/v2/images 0.413s 2022-09-28 15:57:54,211 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"name": "tempest-scenario-img--993125493", "container_format": "bare", "disk_format": "vhdx", "visibility": "private"} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '640', 'content-type': 'application/json', 'location': 'http://127.0.0.1:60999/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8', 'openstack-image-import-methods': 'glance-direct,web-download,copy-image', 'x-openstack-request-id': 'req-8a3a59c0-9b99-46e5-92d5-82b587202f8e', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/image/v2/images'} Body: b'{"name": "tempest-scenario-img--993125493", "disk_format": "vhdx", "container_format": "bare", "visibility": "private", "size": null, "virtual_size": null, "status": "queued", "checksum": null, "protected": false, "min_ram": 0, "min_disk": 0, "owner": "9b753bf4f21442c19806b94ba25e13ec", "os_hidden": false, "os_hash_algo": null, "os_hash_value": null, "id": "88da1e14-7973-46a2-8790-c421c011a3b8", "created_at": "2022-09-28T15:57:54Z", "updated_at": "2022-09-28T15:57:54Z", "tags": [], "self": "/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8", "file": "/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file", "schema": "/v2/schemas/image"}' 2022-09-28 15:58:07,543 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 204 PUT http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file 13.332s 2022-09-28 15:58:07,544 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/octet-stream', 'X-Auth-Token': ''} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'text/html; charset=UTF-8', 'x-openstack-request-id': 'req-9f6e010d-454d-492d-b4f9-a41b0477146a', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file'} Body: b'' 2022-09-28 15:58:07,544 128224 DEBUG [tempest.scenario.manager] image:88da1e14-7973-46a2-8790-c421c011a3b8 2022-09-28 15:58:07,793 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.246s 2022-09-28 15:58:07,794 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-TestMinimumBasicScenario-619302181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJX3fUPQQknb3hyjDIXhBnjdcn5U9jzyp8/IF9y6qEBs50tz3Kl76dSrYtX0RXzPlo5lRjqh4+jxR+9EqRqiwuwgDeGh4BoEfhdFIZW1/I0aIteDwJgB+RdLe7A+Pw5QHg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '402', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-c9b10c8e-3ddf-4a32-b5e2-6fbbf7e7a77b', 'x-compute-request-id': 'req-c9b10c8e-3ddf-4a32-b5e2-6fbbf7e7a77b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest- TestMinimumBasicScenario-619302181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJX3fUPQQknb3hyjDIXhBnjdcn5U9jzyp8/IF9y6qEBs50tz3Kl76dSrYtX0RXzPlo5lRjqh4+jxR+9EqRqiwuwgDeGh4BoEfhdFIZW1/I0aIteDwJgB+RdLe7A+Pw5QHg==", "fingerprint": "cf:e1:cf:e2:06:89:10:a0:df:ad:84:fa:fc:d2:00:c5", "user_id": "e792fcf119ba425d97419bd96e179f67"}}' 2022-09-28 15:58:07,905 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.102s 2022-09-28 15:58:07,906 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-cf60dbdd-f310-41b8-ac45-998c8fdab0f6', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e792fcf119ba425d97419bd96e179f67", "name": "tempest-TestMinimumBasicScenario-742061588-project", "password_expires_at": null}, "audit_ids": ["0MxP3dIrT92wXM6bgsDmnA"], "expires_at": "2022-09-28T16:58:07.000000Z", "issued_at": "2022-09-28T15:58:07.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "9b753bf4f21442c19806b94ba25e13ec", "name": "tempest-TestMinimumBasicScenario-742061588"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "pla cement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:07,906 128224 INFO [tempest.lib.common.fixed_network] (TestMinimumBasicScenario:test_minimum_basic_scenario) Found network {'id': '9940b844-0923-473a-91fe-a5259e4e22a2', 'name': 'tempest-TestMinimumBasicScenario-942815270-network', 'tenant_id': '9b753bf4f21442c19806b94ba25e13ec', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '9b753bf4f21442c19806b94ba25e13ec', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 226, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:38Z', 'updated_at': '2022-09-28T15:57:38Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:08,291 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 500 POST http://10.222.0.65/compute/v2.1/servers 0.384s 2022-09-28 15:58:08,291 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-TestMinimumBasicScenario-server-922758032", "imageRef": "88da1e14-7973-46a2-8790-c421c011a3b8", "flavorRef": "452", "key_name": "tempest-TestMinimumBasicScenario-619302181", "networks": [{"uuid": "9940b844-0923-473a-91fe-a5259e4e22a2"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-2edfafe3-8874-4414-a1ee-c950843696d5', 'x-compute-request-id': 'req-2edfafe3-8874-4414-a1ee-c950843696d5', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:58:08,387 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestMinimumBasicScenario-619302181 0.094s 2022-09-28 15:58:08,387 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-a22a1578-695e-4f99-a01f-6078e81e5175', 'x-compute-request-id': 'req-a22a1578-695e-4f99-a01f-6078e81e5175', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestMinimumBasicScenario-619302181'} Body: b'' 2022-09-28 15:58:10,460 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:_run_cleanups): 204 DELETE http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8 2.072s 2022-09-28 15:58:10,462 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X- Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'text/html; charset=UTF-8', 'x-openstack-request-id': 'req-cbd7402b-dab2-4d6a-b4c5-92f8c3f26e25', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8'} Body: b'' {4} tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_volume_upload [22.787989s] ... ok {4} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_bootable_volume [16.520816s] ... ok {4} tempest.api.volume.test_volumes_clone.VolumesCloneTest.test_create_from_volume [3.266405s] ... ok ============================== Failed 16 tests - output below: ============================== tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume[id-d0f3f0d6-d9b6-4a32-8da4-23015dcab23c,volume] ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/compute/servers/test_delete_server.py", line 112, in test_delete_server_while_in_attached_volume server = self.create_test_server(wait_until='ACTIVE') File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:56,392 128228 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_attached_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.049s 2022-09-28 15:53:56,392 128228 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-2276fbc3-edef-4f6f-838e-d2f40e58c520', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "5e05b89a6d614258be3210175fd2be9c", "name": "tempest-DeleteServersTestJSON-444759751-project", "password_expires_at": null}, "audit_ids": ["EAMl5GwaReySFRdvg6GzJw"], "expires_at": "2022-09-28T16:53:56.000000Z", "issued_at": "2022-09-28T15:53:56.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "7e640835a7ce43139459c06e950468b6", "name": "tempest-DeleteServersTestJSON-444759751"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/7e640835a7ce43139459c06e950468b6", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:53:56,393 128228 INFO [tempest.lib.common.fixed_network] (DeleteServersTestJSON:test_delete_server_while_in_attached_volume) Found network {'id': '6174323a-cd3e-4b3b-b0e6-b20726a771d5', 'name': 'tempest-DeleteServersTestJSON-4497672-network', 'tenant_id': '7e640835a7ce43139459c06e950468b6', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '7e640835a7ce43139459c06e950468b6', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 243, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:34Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:53:57,269 128228 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_server_while_in_attached_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 0.874s 2022-09-28 15:53:57,269 128228 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-DeleteServersTestJSON-server-613128834", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "6174323a-cd3e-4b3b-b0e6-b20726a771d5"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-632ef2d0-ac71-465d-8389-513201b8ae10', 'x-compute-request-id': 'req-632ef2d0-ac71-465d-8389-513201b8ae10', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server[id-ee37a796-2afb-11e7-bc0f-fa163e65f5ce,negative] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 60, in test_attach_attached_volume_to_different_server server1, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:44,281 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:44,281 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:44,770 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.486s 2022-09-28 15:53:44,771 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-154695867", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:44 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-b7c871bf-9b71-4004-96ec-a0b6868eefcf', 'x-compute-request-id': 'req-b7c871bf-9b71-4004-96ec-a0b6868eefcf', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-154695867", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g==", "fingerprint": "84:6f:42:c3:c1:2a:a1:06:55:aa:bf:75:4a:f3:a3:0f", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:53:44,775 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-154695867 created 2022-09-28 15:53:46,821 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 2.045s 2022-09-28 15:53:46,821 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--376373974", "description": "tempest-description--526193560"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-bf5b95f5-dd16-48c9-9fab-088fa50b3d00', 'date': 'Wed, 28 Sep 2022 15:53:46 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "name": "tempest-securitygroup--376373974", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--526193560", "shared": false, "security_group_rules": [{"id": "9f48888f-c868-45ae-8cd8-61588f24799a", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 105, "description": null, "tags": [], "created_at": "2022-09-28T15:53:45Z", "updated_at": "2022-09-28T15:53:45Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "cc4f90de-8509-491d-bed3-db1a304afeb1", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 106, "description": null, "tags": [], "created_at": "2022-09-28T15:53:46Z", "updated_at": "2022-09-28T15:53:46Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:53:45Z", "updated_at": "2022-09-28T15:53:46Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:47,790 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.968s 2022-09-28 15:53:47,791 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-6a946404-f2ec-441a-9ecf-b15deb7554f3', 'date': 'Wed, 28 Sep 2022 15:53:47 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "4b5cd80c-3b4f-41ff-ba25-715da378a333", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:47Z", "updated_at": "2022-09-28T15:53:47Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:48,719 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.923s 2022-09-28 15:53:48,723 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-9a3dd890-b5d2-4fd1-bc5c-117be239cf44', 'date': 'Wed, 28 Sep 2022 15:53:48 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "bf91fb11-1a94-4700-bb79-333d933e43e7", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "b1f69b44-c85c-49d7-814c-dde946eea4b2", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:48Z", "updated_at": "2022-09-28T15:53:48Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:53:48,723 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--376373974 created 2022-09-28 15:53:55,090 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 6.367s 2022-09-28 15:53:55,091 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'content- length': '493', 'x-openstack-request-id': 'req-9424d940-334c-46ff-a71c-d087ad4d2081', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "d400773b-befd-4582-8a99-2dbe94d4ee54", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.87", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:53:51Z", "updated_at": "2022-09-28T15:53:51Z", "revision_number": 0}}' 2022-09-28 15:53:55,091 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': 'd400773b-befd-4582-8a99-2dbe94d4ee54', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.87', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:51Z', 'updated_at': '2022-09-28T15:53:51Z', 'revision_number': 0, 'ip': '172.28.2.87'} created 2022-09-28 15:53:55,638 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.541s 2022-09-28 15:53:55,638 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-22dec1ab-97dc-42e1-9c5e-bba79b763d20', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["hrdDofGGSR-4XYVRqPSXWw"], "expires_at": "2022-09-28T16:53:55.000000Z", "issued_at": "2022-09-28T15:53:55.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:53:55,639 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:53:55,640 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-154695867', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBHXSOuKlPNw4q6mZ23L4lUetqnSuHPSqnuEnRM2oSEpJGz5nDLwgOPTnVupniKBMlhnoJgaESs3gNmDD4L7RT5iUG1H0xF/ix1k/kt4rMij+dWSZZCtZnH7eV7KzXf7I/g==', 'fingerprint': '84:6f:42:c3:c1:2a:a1:06:55:aa:bf:75:4a:f3:a3:0f', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAeSKrJGKPNb9uka2iNS18/PM16721HXXVzuKP3PhhtI08vyfcNG/IF\naaYcgTpeH+OgBwYFK4EEACKhZANiAAR10jripTzcOKupmdty+JVHrap0rhz0qp7h\nJ0TNqEhKSRs+Zwy8IDj051bqZ4igTJYZ6CYGhErN4DZgw+C+0U+YlBtR9MRf4sdZ\nP5LeKzIo/nVkmWQrWZx+3leys13+yP4=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'name': 'tempest-securitygroup--376373974', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--526193560', 'shared': False, 'security_group_rules': [{'id': '9f48888f-c868-45ae-8cd8-61588f24799a', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 105, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:45Z', 'updated_at': '2022-09-28T15:53:45Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'cc4f90de-8509-491d-bed3-db1a304afeb1', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'b1f69b44-c85c-49d7-814c-dde946eea4b2', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 106, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:46Z', 'updated_at': '2022-09-28T15:53:46Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:53:45Z', 'updated_at': '2022-09-28T15:53:46Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': 'd400773b-befd-4582-8a99-2dbe94d4ee54', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.87', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:51Z', 'updated_at': '2022-09-28T15:53:51Z', 'revision_number': 0, 'ip': '172.28.2.87'}} 2022-09-28 15:53:57,383 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_different_server): 500 POST http://10.222.0.65/compute/v2.1/servers 1.742s 2022-09-28 15:53:57,384 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-736788559", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--376373974"}], "key_name": "tempest-keypair-154695867", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-ac5216ae-a3b3-4ae0-9df6-8e6c0bf67a36', 'x-compute-request-id': 'req-ac5216ae-a3b3-4ae0-9df6-8e6c0bf67a36', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:53:57,532 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-154695867 0.146s 2022-09-28 15:53:57,532 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-2b46964d-0141-4b13-b924-48fdf7608808', 'x-compute-request-id': 'req-2b46964d-0141-4b13-b924-48fdf7608808', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-154695867'} Body: b'' 2022-09-28 15:53:57,982 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2 0.449s 2022-09-28 15:53:57,982 128222 DEBUG [tempest.lib.common.rest _client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-25b217b3-f24d-49bd-a42d-c8fe02eb0a0f', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2'} Body: b'' 2022-09-28 15:53:58,026 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2 0.042s 2022-09-28 15:53:58,026 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-14db1959-3101-4831-a177-7da095c47af7', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/b1f69b44-c85c-49d7-814c-dde946eea4b2'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group b1f69b44-c85c-49d7-814c-dde946eea4b2 does not exist", "detail": ""}}' 2022-09-28 15:53:59,458 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/d400773b-befd-4582-8a99-2dbe94d4ee54 1.432s 2022-09-28 15:53:59,459 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-8c908fdc-3de2-4f10-afd1-3fb2261baa13', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/d400773b-befd-4582-8a99-2dbe94d4ee54'} Body: b'' tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume[id-52e9045a-e90d-4c0d-9087-79d657faffff,slow] ------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 73, in test_attach_detach_volume server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:51,543 128217 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:51,543 128217 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:52,187 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.640s 2022-09-28 15:53:52,187 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1576284026", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '386', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-90cc23e0-67d0-4238-beb6-a76f35708079', 'x-compute-request-id': 'req-90cc23e0-67d0-4238-beb6-a76f35708079', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-1576284026", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g==", "fingerprint": "4a:ff:1b:4e:b5:df:0b:c8:26:76:eb:5f:f6:b9:34:66", "user_id": "ec88e798ca444795b46d5e105d391ee6"}}' 2022-09-28 15:53:52,191 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1576284026 created 2022-09-28 15:53:53,493 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.301s 2022-09-28 15:53:53,493 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--142320346", "description": "tempest-description--370957583"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-2629551e-38eb-4184-bf35-805cb19c0c73', 'date': 'Wed, 28 Sep 2022 15:53:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "name": "tempest-securitygroup--142320346", "stateful": true, "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "tempest-description--370957583", "shared": false, "security_group_rules": [{"id": "b9a8c95a-b087-4f20-87c9-776735166472", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 119, "description": null, "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}, {"id": "eb177f68-dfca-46fb-a27d-a9092566b41a", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nu ll, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 120, "description": null, "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}], "tags": [], "created_at": "2022-09-28T15:53:52Z", "updated_at": "2022-09-28T15:53:52Z", "revision_number": 1, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,107 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.612s 2022-09-28 15:53:55,107 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-5dcb8ed5-7509-4085-bd2a-d6426c1b9838', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "df1ba146-f6bb-4ab4-82fe-4c5e32b9811a", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:54Z", "updated_at": "2022-09-28T15:53:54Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,703 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.595s 2022-09-28 15:53:55,704 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-638666a9-ec21-471e-b4e6-07279bc306f2', 'date': 'Wed, 28 Sep 2022 15:53:55 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "d289babf-f2b9-4fd9-a822-335019b8ff97", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "bfee3f8d-c232-439b-a3b9-66c10d34bb21", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:55Z", "updated_at": "2022-09-28T15:53:55Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:53:55,704 128217 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--142320346 created 2022-09-28 15:53:59,946 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 4.241s 2022-09-28 15:53:59,947 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-f5ddd52e-7910-45f2-86d8-a289a309b99c', 'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "0015a720-7c88-44ae-ab81-b4bbc4fa73db", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "floating_ip_address": "172.28.2.177", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:53:58Z", "updated_at": "2022-09-28T15:53:58Z", "revision_number": 0}}' 2022-09-28 15:53:59,947 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '0015a720-7c88-44ae-ab81-b4bbc4fa73db', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.177', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:58Z', 'updated_at': '2022-09-28T15:53:58Z', 'revision_number': 0, 'ip': '172.28.2.177'} created 2022-09-28 15:54:00,379 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_attach_detach_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.427s 2022-09-28 15:54:00,380 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-2d0ceb7c-00d3-4e94-88dd-9dc17eb70083', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "ec88e798ca444795b46d5e105d391ee6", "name": "tempest-AttachVolumeTestJSON-1166906178-project", "password_expires_at": null}, "audit_ids": ["kFOW_bOPTfOvVlK_fW424A"], "expires_at": "2022-09-28T16:54:00.000000Z", "issued_at": "2022-09-28T15:54:00.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "aa16f2e162fa487b9835d3c3c7610bfa", "name": "tempest-AttachVolumeTestJSON-1166906178"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}, {"id ": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:00,381 128217 INFO [tempest.lib.common.fixed_network] (AttachVolumeTestJSON:test_attach_detach_volume) Found network {'id': 'ce6e4b31-b45d-49d2-80cb-5df91a8deeac', 'name': 'tempest-AttachVolumeTestJSON-1043956429-network', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 247, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:00,382 128217 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-1576284026', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJkLnNsXx0d1Mv3YRN6u4NphSx4dKXD7JQE1Y5C1kV85j1r/F725inFJIjU6BKPnSM/g4/+A/Ad+zJPx+MoQB0TUzK/WNSzMpzYqJQdZOYvMIwpwPTaGa28szdSOg/TC/g==', 'fingerprint': '4a:ff:1b:4e:b5:df:0b:c8:26:76:eb:5f:f6:b9:34:66', 'user_id': 'ec88e798ca444795b46d5e105d391ee6', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDBi2k0qLDkdeVjpHrLupBAJ4acyHDzz52lrG+/wqRVl23b7kMjZ6vWy\ng3a6zTSFlN6gBwYFK4EEACKhZANiAASZC5zbF8dHdTL92ETeruDaYUseHSlw+yUB\nNWOQtZFfOY9a/xe9uYpxSSI1OgSj50jP4OP/gPwHfsyT8fjKEAdE1Myv1jUszKc2\nKiUHWTmLzCMKcD02hmtvLM3UjoP0wv4=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'name': 'tempest-securitygroup--142320346', 'stateful': True, 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': 'tempest-description--370957583', 'shared': False, 'security_group_rules': [{'id': 'b9a8c95a-b087-4f20-87c9-776735166472', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 119, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, {'id': 'eb177f68-dfca-46fb-a27d-a9092566b41a', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': 'bfee3f8d-c232-439b-a3b9-66c10d34bb21', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_ range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 120, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}], 'tags': [], 'created_at': '2022-09-28T15:53:52Z', 'updated_at': '2022-09-28T15:53:52Z', 'revision_number': 1, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, 'floating_ip': {'id': '0015a720-7c88-44ae-ab81-b4bbc4fa73db', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.177', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:53:58Z', 'updated_at': '2022-09-28T15:53:58Z', 'revision_number': 0, 'ip': '172.28.2.177'}} 2022-09-28 15:54:01,966 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_attach_detach_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 1.582s 2022-09-28 15:54:01,966 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeTestJSON-server-732190455", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "ce6e4b31-b45d-49d2-80cb-5df91a8deeac"}], "security_groups": [{"name": "tempest-securitygroup--142320346"}], "key_name": "tempest-keypair-1576284026", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-ce530236-a068-4864-9470-8fede76a424b', 'x-compute-request-id': 'req-ce530236-a068-4864-9470-8fede76a424b', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:02,143 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1576284026 0.175s 2022-09-28 15:54:02,144 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-7a23391b-4648-4804-82c8-baaf2ce68c01', 'x-compute-request-id': 'req-7a23391b-4648-4804-82c8-baaf2ce68c01', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1576284026'} Body: b'' 2022-09-28 15:54:02,593 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21 0.442s 2022-09-28 15:54:02,599 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/j son', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-01d2ef1f-13d4-4582-a991-630da2ab2edc', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21'} Body: b'' 2022-09-28 15:54:02,797 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21 0.196s 2022-09-28 15:54:02,797 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-b62783c8-a336-452e-a25f-60f5231f8428', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/bfee3f8d-c232-439b-a3b9-66c10d34bb21'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group bfee3f8d-c232-439b-a3b9-66c10d34bb21 does not exist", "detail": ""}}' 2022-09-28 15:54:03,971 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/0015a720-7c88-44ae-ab81-b4bbc4fa73db 1.173s 2022-09-28 15:54:03,972 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-582c678b-0305-472f-96b9-cd4c0a210ec4', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/0015a720-7c88-44ae-ab81-b4bbc4fa73db'} Body: b'' tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server[id-13a940b6-3474-4c3c-b03f-29b89112bfee,slow] -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 268, in test_attach_volume_shelved_or_offload_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:54,655 128215 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:54,656 128215 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:55,703 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65/compute/v2.1/os-keypairs 1.044s 2022-09-28 15:53:55,704 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1072849234", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '401', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-0df858b9-2e8f-4776-b52f-04535b070adb', 'x-compute-request-id': 'req-0df858b9-2e8f-4776-b52f-04535b070adb', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"type": "ssh", "name": "tempest-keypair-1072849234", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA==", "fingerprint": "84:0c:ad:37:8a:9e:e5:19:bd:e3:df:2e:4b:f1:4b:c5", "user_id": "eb0ba5afbc2a43c6843d5c90df43ded2"}}' 2022-09-28 15:53:55,708 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1072849234 created 2022-09-28 15:53:57,290 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.581s 2022-09-28 15:53:57,290 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--1472245753", "description": "tempest-description--20111619"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-42a7068e-da1e-439c-85c6-42b543ebdfa2', 'date': 'Wed, 28 Sep 2022 15:53:57 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "name": "tempest-securitygroup--1472245753", "stateful": true, "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "tempest-description--20111619", "shared": false, "security_group_rules": [{"id": "1d2a0674-f50e-4711-9298-d5dfbc1124e3", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 132, "description": null, "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}, {"id": "c0ebec6b-1f8c-4c3a-a561-8396133d098a", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null , "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 134, "description": null, "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}], "tags": [], "created_at": "2022-09-28T15:53:56Z", "updated_at": "2022-09-28T15:53:56Z", "revision_number": 1, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,167 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.876s 2022-09-28 15:53:58,167 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-252591ad-47c9-4f85-9da7-f2c7cd93aafd', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "c38cf1d1-7ef1-450e-bc8b-92f4cfd32f92", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:57Z", "updated_at": "2022-09-28T15:53:57Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,853 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.685s 2022-09-28 15:53:58,853 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-e228cfbb-091f-4897-ac73-f7b8fe585b04', 'date': 'Wed, 28 Sep 2022 15:53:58 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "178048d1-31a3-49e8-a4a7-5263105da256", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "ee0e7120-e729-412c-9b96-b2eff3d4dbd6", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:53:58Z", "updated_at": "2022-09-28T15:53:58Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:53:58,854 128215 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--1472245753 created 2022-09-28 15:54:03,357 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 4.503s 2022-09-28 15:54:03,358 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Respo nse - Headers: {'content-type': 'application/json', 'content-length': '494', 'x-openstack-request-id': 'req-e4a168a3-e9ca-44c7-b8b3-ac4415d7695e', 'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "3f99843c-bcb3-4608-a2eb-7ea438dfc0aa", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "floating_ip_address": "172.28.2.116", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:01Z", "updated_at": "2022-09-28T15:54:01Z", "revision_number": 0}}' 2022-09-28 15:54:03,358 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '3f99843c-bcb3-4608-a2eb-7ea438dfc0aa', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.116', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:01Z', 'updated_at': '2022-09-28T15:54:01Z', 'revision_number': 0, 'ip': '172.28.2.116'} created 2022-09-28 15:54:03,496 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.131s 2022-09-28 15:54:03,496 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3266', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-589b31db-722b-4a2d-b2c6-8ecc483acd84', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb0ba5afbc2a43c6843d5c90df43ded2", "name": "tempest-AttachVolumeShelveTestJSON-1705502689-project", "password_expires_at": null}, "audit_ids": ["9aLYZkU5TkGbTCXWQy51UA"], "expires_at": "2022-09-28T16:54:03.000000Z", "issued_at": "2022-09-28T15:54:03.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "bf01d50560474a7e981ffe60a5bdd1ae", "name": "tempest-AttachVolumeShelveTestJSON-1705502689"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": " http://10.222.0.65:8080/v1/AUTH_bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:03,497 128215 INFO [tempest.lib.common.fixed_network] (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server) Found network {'id': 'e3433c55-16fc-420d-bb8c-eaa264393c96', 'name': 'tempest-AttachVolumeShelveTestJSON-1213550392-network', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 225, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:03,497 128215 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'type': 'ssh', 'name': 'tempest-keypair-1072849234', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBL7w2NOKFZOBkVo7t+yZvZ15yFM/s2FNsIAh77NOKN4FYoBPugJvqcvgIz7qpugxjeNJQowl7vJVFCU1KF4qDHmdLJ2PozTgTxhN+kdMl8mNrAETH+tK49mSBk/HZb6ucA==', 'fingerprint': '84:0c:ad:37:8a:9e:e5:19:bd:e3:df:2e:4b:f1:4b:c5', 'user_id': 'eb0ba5afbc2a43c6843d5c90df43ded2', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDC7KVbZFJIzdynYOVlgZsuB454gXVb9F6oM11mQaRB5Jt5iHDpeOOY/\nSgXLpsjO4OegBwYFK4EEACKhZANiAAS+8NjTihWTgZFaO7fsmb2dechTP7NhTbCA\nIe+zTijeBWKAT7oCb6nL4CM+6qboMY3jSUKMJe7yVRQlNSheKgx5nSydj6M04E8Y\nTfpHTJfJjawBEx/rSuPZkgZPx2W+rnA=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'name': 'tempest-securitygroup--1472245753', 'stateful': True, 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': 'tempest-description--20111619', 'shared': False, 'security_group_rules': [{'id': '1d2a0674-f50e-4711-9298-d5dfbc1124e3', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'security_group_id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 132, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, {'id': 'c0ebec6b-1f8c-4c3a-a561-8396133d098a', 'tenant_id': 'bf01d50560474a7e981ffe6 0a5bdd1ae', 'security_group_id': 'ee0e7120-e729-412c-9b96-b2eff3d4dbd6', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 134, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}], 'tags': [], 'created_at': '2022-09-28T15:53:56Z', 'updated_at': '2022-09-28T15:53:56Z', 'revision_number': 1, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, 'floating_ip': {'id': '3f99843c-bcb3-4608-a2eb-7ea438dfc0aa', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.116', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:01Z', 'updated_at': '2022-09-28T15:54:01Z', 'revision_number': 0, 'ip': '172.28.2.116'}} 2022-09-28 15:54:04,370 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_attach_volume_shelved_or_offload_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.871s 2022-09-28 15:54:04,370 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeShelveTestJSON-server-1587899305", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "e3433c55-16fc-420d-bb8c-eaa264393c96"}], "security_groups": [{"name": "tempest-securitygroup--1472245753"}], "key_name": "tempest-keypair-1072849234", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-77183cbf-bdf3-4987-9608-06b1c00986f9', 'x-compute-request-id': 'req-77183cbf-bdf3-4987-9608-06b1c00986f9', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:04,482 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1072849234 0.109s 2022-09-28 15:54:04,482 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-57f51ca1-d72f-4251-ac96-36693b097481', 'x-compute-request-id': 'req-57f51ca1-d72f-4251-ac96-36693b097481', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1072849234'} Body: b'' 2022-09-28 15:54:04,784 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http:/ /10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6 0.301s 2022-09-28 15:54:04,784 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-4e6c1773-67e8-48a1-bd7c-7d6467b2cb93', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6'} Body: b'' 2022-09-28 15:54:04,852 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6 0.067s 2022-09-28 15:54:04,852 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-1618b036-b463-4508-ba19-9148369b42a3', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/ee0e7120-e729-412c-9b96-b2eff3d4dbd6'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group ee0e7120-e729-412c-9b96-b2eff3d4dbd6 does not exist", "detail": ""}}' 2022-09-28 15:54:05,548 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/3f99843c-bcb3-4608-a2eb-7ea438dfc0aa 0.695s 2022-09-28 15:54:05,549 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-c65cbba0-0ec6-4011-b469-4e6f2d244beb', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/3f99843c-bcb3-4608-a2eb-7ea438dfc0aa'} Body: b'' setUpClass (tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON) ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/test.py", line 168, in setUpClass raise value.with_traceback(trace) File "/opt/stack/tempest/tempest/test.py", line 161, in setUpClass cls.resource_setup() File "/opt/stack/tempest/tempest/api/compute/servers/test_server_rescue_negative.py", line 52, in resource_setup server = cls.create_test_server(adminPass=cls.password, File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server[id-aab919e2-d992-4cbb-a4ed-745c2475398c,negative] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 48, in test_attach_attached_volume_to_same_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:53:59,461 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:53:59,462 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:53:59,735 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.270s 2022-09-28 15:53:59,736 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-655175899", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:53:59 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d9b29296-266c-484b-92fe-e38f67c31ca8', 'x-compute-request-id': 'req-d9b29296-266c-484b-92fe-e38f67c31ca8', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-655175899", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ==", "fingerprint": "6c:2b:f9:f3:80:de:ad:ef:cf:9b:0d:65:2d:c4:3e:a1", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:53:59,739 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-655175899 created 2022-09-28 15:54:00,896 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 1.156s 2022-09-28 15:54:00,896 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--752504676", "description": "tempest-description--2063755033"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-cb83eb17-a0e1-4261-82b2-75c160932743', 'date': 'Wed, 28 Sep 2022 15:54:00 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "48d2a42a-4b10-4807-bc51-a90200b09524", "name": "tempest-securitygroup--752504676", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--2063755033", "shared": false, "security_group_rules": [{"id": "b42d28e5-1338-495f-ad50-d6ec63e711ea", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 142, "description": null, "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "c547a281-c892-4fc6-92f4-3db7f6138b91", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nul l, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 143, "description": null, "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:54:00Z", "updated_at": "2022-09-28T15:54:00Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:02,854 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.957s 2022-09-28 15:54:02,854 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-d9e28448-3f94-41d8-bfd5-a964666a0bae', 'date': 'Wed, 28 Sep 2022 15:54:02 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "5ce0412e-a966-4335-92bf-210021faf7c2", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:02Z", "updated_at": "2022-09-28T15:54:02Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:04,161 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.305s 2022-09-28 15:54:04,161 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-1bb4fa8b-e5c8-4686-aee5-66b361ae8d91', 'date': 'Wed, 28 Sep 2022 15:54:04 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "58f906fe-5df6-43be-a01f-c060811ac4b6", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "48d2a42a-4b10-4807-bc51-a90200b09524", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:03Z", "updated_at": "2022-09-28T15:54:03Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:04,162 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--752504676 created 2022-09-28 15:54:07,008 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.846s 2022-09-28 15:54:07,008 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conten t-length': '493', 'x-openstack-request-id': 'req-f788efca-3380-4bdc-b1c1-1853a4c004fd', 'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "fbfb0ba0-9162-40b8-8db1-2db8b2a17b70", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.91", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0}}' 2022-09-28 15:54:07,009 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': 'fbfb0ba0-9162-40b8-8db1-2db8b2a17b70', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.91', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'ip': '172.28.2.91'} created 2022-09-28 15:54:07,423 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.407s 2022-09-28 15:54:07,423 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-68f903ac-d681-4561-9828-6692dd82492c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["w69y7jJBTkWXuQiE9cfwSw"], "expires_at": "2022-09-28T16:54:07.000000Z", "issued_at": "2022-09-28T15:54:07.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "re gion": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:07,424 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:07,424 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-655175899', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBBoHgTIORhgdqYfpfJa5GQuq42GArqPDe+xAd32OmlZkmqncffCedT186EeFq605zb+FMj7NhqWOi4U8I/DuInyFjBgIHeM72dOftt7kBCZ3mAYwGEw3+njd64oVQQUsAQ==', 'fingerprint': '6c:2b:f9:f3:80:de:ad:ef:cf:9b:0d:65:2d:c4:3e:a1', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDCMBFKcnL47LGXqLHYRQPCi6F8zp36woTBGzlLoZHm/6NU8/7/py/uw\nhEuVlkOsCfqgBwYFK4EEACKhZANiAAQaB4EyDkYYHamH6XyWuRkLquNhgK6jw3vs\nQHd9jppWZJqp3H3wnnU9fOhHhautOc2/hTI+zYaljouFPCPw7iJ8hYwYCB3jO9nT\nn7be5AQmd5gGMBhMN/p43euKFUEFLAE=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'name': 'tempest-securitygroup--752504676', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--2063755033', 'shared': False, 'security_group_rules': [{'id': 'b42d28e5-1338-495f-ad50-d6ec63e711ea', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 142, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'c547a281-c892-4fc6-92f4-3db7f6138b91', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': '48d2a42a-4b10-4807-bc51-a90200b09524', 'ethertype': 'IPv6' , 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 143, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:54:00Z', 'updated_at': '2022-09-28T15:54:00Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': 'fbfb0ba0-9162-40b8-8db1-2db8b2a17b70', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.91', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'ip': '172.28.2.91'}} 2022-09-28 15:54:08,276 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_attach_attached_volume_to_same_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.851s 2022-09-28 15:54:08,277 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-587159048", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--752504676"}], "key_name": "tempest-keypair-655175899", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-6d8d0403-27ba-42eb-baa9-26c49f882238', 'x-compute-request-id': 'req-6d8d0403-27ba-42eb-baa9-26c49f882238', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:08,396 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-655175899 0.118s 2022-09-28 15:54:08,397 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-30fddd36-f952-43d6-932e-e96f027eff5f', 'x-compute-request-id': 'req-30fddd36-f952-43d6-932e-e96f027eff5f', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-655175899'} Body: b'' 2022-09-28 15:54:08,673 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524 0.275s 2022-09-28 15:54:08,673 128222 DEBUG [tempest.lib.common.rest_client] Req uest - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-3754825f-6ad3-42e8-ab4c-9c387e4b18e6', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524'} Body: b'' 2022-09-28 15:54:08,699 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524 0.025s 2022-09-28 15:54:08,699 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-7f69b2e2-5a58-4a1b-9d72-a4f5005a7cae', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/48d2a42a-4b10-4807-bc51-a90200b09524'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 48d2a42a-4b10-4807-bc51-a90200b09524 does not exist", "detail": ""}}' 2022-09-28 15:54:09,592 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/fbfb0ba0-9162-40b8-8db1-2db8b2a17b70 0.892s 2022-09-28 15:54:09,593 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-85116534-a3d2-4034-bc83-8f579faa8673', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/fbfb0ba0-9162-40b8-8db1-2db8b2a17b70'} Body: b'' tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments[id-7fa563fe-f0f7-43eb-9e22-a1ece036b513] --------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 140, in test_list_get_volume_attachments server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:03,975 128217 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:03,975 128217 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:04,197 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.219s 2022-09-28 15:54:04,198 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-1703298292", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:03 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '386', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-0a35adcb-d189-46e4-bb5d-9fd36ae9b43b', 'x-compute-request-id': 'req-0a35adcb-d189-46e4-bb5d-9fd36ae9b43b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-1703298292", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg==", "fingerprint": "c7:6a:eb:4c:26:1f:34:b3:ba:1f:ec:24:f0:26:8f:b0", "user_id": "ec88e798ca444795b46d5e105d391ee6"}}' 2022-09-28 15:54:04,200 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-1703298292 created 2022-09-28 15:54:05,186 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.985s 2022-09-28 15:54:05,187 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--968098814", "description": "tempest-description--387713932"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1595', 'x-openstack-request-id': 'req-45cc2707-7a51-4cc9-acf7-6e4994e9b961', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "name": "tempest-securitygroup--968098814", "stateful": true, "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "tempest-description--387713932", "shared": false, "security_group_rules": [{"id": "1bd52988-3aab-495b-9e2a-5cf2ca2428ba", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 161, "description": null, "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}, {"id": "82bdff10-7a65-448d-8e11-d743e56f7929", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nu ll, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 163, "description": null, "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}], "tags": [], "created_at": "2022-09-28T15:54:04Z", "updated_at": "2022-09-28T15:54:04Z", "revision_number": 1, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:05,969 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.782s 2022-09-28 15:54:05,970 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-9b232b31-a8e8-47a6-bf6f-6a7ee1cc8e06', 'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "65e59f6a-25c3-4b1f-9e59-516bd18be512", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:05Z", "updated_at": "2022-09-28T15:54:05Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:06,723 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.753s 2022-09-28 15:54:06,724 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-5c20f5a1-315b-49de-a03f-55ea0522c8d6', 'date': 'Wed, 28 Sep 2022 15:54:06 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "3445f763-df83-4424-b39e-f2608f8a4dfb", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "security_group_id": "46b9031c-fe0b-4129-9582-e01a5d5940b9", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "aa16f2e162fa487b9835d3c3c7610bfa"}}' 2022-09-28 15:54:06,725 128217 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--968098814 created 2022-09-28 15:54:09,595 128217 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.869s 2022-09-28 15:54:09,622 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-40e90932-c294-4b3a-9a65-6cb26e1789eb', 'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "5d3c170a-32e8-458f-a7fd-2571c1fe91f7", "tenant_id": "aa16f2e162fa487b9835d3c3c7610bfa", "floating_ip_address": "172.28.2.126", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "aa16f2e162fa487b9835d3c3c7610bfa", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:08Z", "updated_at": "2022-09-28T15:54:08Z", "revision_number": 0}}' 2022-09-28 15:54:09,622 128217 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '5d3c170a-32e8-458f-a7fd-2571c1fe91f7', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.126', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:08Z', 'updated_at': '2022-09-28T15:54:08Z', 'revision_number': 0, 'ip': '172.28.2.126'} created 2022-09-28 15:54:10,465 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_list_get_volume_attachments): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.836s 2022-09-28 15:54:10,466 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3254', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-64787b6f-2f1a-4826-855c-be2f22549b72', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "ec88e798ca444795b46d5e105d391ee6", "name": "tempest-AttachVolumeTestJSON-1166906178-project", "password_expires_at": null}, "audit_ids": ["dqc56J48TWivzseGcm76gQ"], "expires_at": "2022-09-28T16:54:10.000000Z", "issued_at": "2022-09-28T15:54:10.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "aa16f2e162fa487b9835d3c3c7610bfa", "name": "tempest-AttachVolumeTestJSON-1166906178"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne" }, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/aa16f2e162fa487b9835d3c3c7610bfa", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:10,466 128217 INFO [tempest.lib.common.fixed_network] (AttachVolumeTestJSON:test_list_get_volume_attachments) Found network {'id': 'ce6e4b31-b45d-49d2-80cb-5df91a8deeac', 'name': 'tempest-AttachVolumeTestJSON-1043956429-network', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 247, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:10,467 128217 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-1703298292', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBB2jEY9Yj8FUvj9dsqGWwdzup1jEK1tu+Y0eG0EL4iWy6J9NBvyZSpjynjbTIXG41cBIIXkcoPMT/PooQL+EEjwObOxI7EPveTJeakgjpyONSYQLTerVbsLI0g5F8NiHqg==', 'fingerprint': 'c7:6a:eb:4c:26:1f:34:b3:ba:1f:ec:24:f0:26:8f:b0', 'user_id': 'ec88e798ca444795b46d5e105d391ee6', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAdGLlaYu0gt5Bx7dBaKYKAicWl7XiO8AfwDFCS2xyYKRMhNcTfAP33\ngOTvBwJ8+kqgBwYFK4EEACKhZANiAAQdoxGPWI/BVL4/XbKhlsHc7qdYxCtbbvmN\nHhtBC+IlsuifTQb8mUqY8p420yFxuNXASCF5HKDzE/z6KEC/hBI8DmzsSOxD73ky\nXmpII6cjjUmEC03q1W7CyNIORfDYh6o=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'name': 'tempest-securitygroup--968098814', 'stateful': True, 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': 'tempest-description--387713932', 'shared': False, 'security_group_rules': [{'id': '1bd52988-3aab-495b-9e2a-5cf2ca2428ba', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 161, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, {'id': '82bdff10-7a65-448d-8e11-d743e56f7929', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'security_group_id': '46b9031c-fe0b-4129-9582-e01a5d5940b9', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol' : None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 163, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 0, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}], 'tags': [], 'created_at': '2022-09-28T15:54:04Z', 'updated_at': '2022-09-28T15:54:04Z', 'revision_number': 1, 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa'}, 'floating_ip': {'id': '5d3c170a-32e8-458f-a7fd-2571c1fe91f7', 'tenant_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'floating_ip_address': '172.28.2.126', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'aa16f2e162fa487b9835d3c3c7610bfa', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:08Z', 'updated_at': '2022-09-28T15:54:08Z', 'revision_number': 0, 'ip': '172.28.2.126'}} 2022-09-28 15:54:11,226 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:test_list_get_volume_attachments): 500 POST http://10.222.0.65/compute/v2.1/servers 0.758s 2022-09-28 15:54:11,226 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeTestJSON-server-169034184", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "ce6e4b31-b45d-49d2-80cb-5df91a8deeac"}], "security_groups": [{"name": "tempest-securitygroup--968098814"}], "key_name": "tempest-keypair-1703298292", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-355d8fb4-a1ed-44d8-92f5-c16342d87a9e', 'x-compute-request-id': 'req-355d8fb4-a1ed-44d8-92f5-c16342d87a9e', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:11,348 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1703298292 0.120s 2022-09-28 15:54:11,353 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-84986116-220a-446f-a2d4-1ef5dddb2b31', 'x-compute-request-id': 'req-84986116-220a-446f-a2d4-1ef5dddb2b31', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-1703298292'} Body: b'' 2022-09-28 15:54:11,662 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9 0.307s 2022-09-28 15:54:11,662 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Ac cept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-68eb5e68-994e-4dcd-b6f0-47d9906d37a3', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9'} Body: b'' 2022-09-28 15:54:11,684 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9 0.021s 2022-09-28 15:54:11,688 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-bfc1cb0d-7e00-4913-9a0c-d8ed8189b089', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/46b9031c-fe0b-4129-9582-e01a5d5940b9'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 46b9031c-fe0b-4129-9582-e01a5d5940b9 does not exist", "detail": ""}}' 2022-09-28 15:54:12,755 128217 INFO [tempest.lib.common.rest_client] Request (AttachVolumeTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/5d3c170a-32e8-458f-a7fd-2571c1fe91f7 1.066s 2022-09-28 15:54:12,756 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-f54fc269-1b5a-4dec-a4b6-d1191adb4c3b', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:12 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/5d3c170a-32e8-458f-a7fd-2571c1fe91f7'} Body: b'' tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server[id-b54e86dd-a070-49c4-9c07-59ae6dae15aa,slow] -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 299, in test_detach_volume_shelved_or_offload_server server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:05,552 128215 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:05,552 128215 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:05,768 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.213s 2022-09-28 15:54:05,769 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-946121181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:05 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '400', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-787c458a-d390-4a17-8588-921c7c7fbe6c', 'x-compute-request-id': 'req-787c458a-d390-4a17-8588-921c7c7fbe6c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"type": "ssh", "name": "tempest-keypair-946121181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg==", "fingerprint": "d5:52:cb:c4:57:8d:3c:fc:b6:47:ea:f5:89:1f:8b:e1", "user_id": "eb0ba5afbc2a43c6843d5c90df43ded2"}}' 2022-09-28 15:54:05,777 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-946121181 created 2022-09-28 15:54:06,394 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.616s 2022-09-28 15:54:06,394 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--967191273", "description": "tempest-description--1386454683"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-c8b0d099-d782-49e9-adf2-d5202eb0ae13', 'date': 'Wed, 28 Sep 2022 15:54:06 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "name": "tempest-securitygroup--967191273", "stateful": true, "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "tempest-description--1386454683", "shared": false, "security_group_rules": [{"id": "d82b5185-c0cd-4fee-8a7a-0d58e322ab2d", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 175, "description": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}, {"id": "e262a8fc-a35f-43b3-880a-d1228e63d147", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 174, "description": null, "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}], "tags": [], "created_at": "2022-09-28T15:54:06Z", "updated_at": "2022-09-28T15:54:06Z", "revision_number": 1, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:07,417 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 1.022s 2022-09-28 15:54:07,417 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-68ebdaba-7232-486b-b6bc-8a1ea09cc373', 'date': 'Wed, 28 Sep 2022 15:54:07 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "0f97569a-6766-4aa2-b386-b718be5b2799", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:07Z", "updated_at": "2022-09-28T15:54:07Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:08,135 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.716s 2022-09-28 15:54:08,135 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-bdadfd10-610e-44d4-a93a-00f157a82ae5', 'date': 'Wed, 28 Sep 2022 15:54:08 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "6a10c6ac-847d-4119-8b1b-e4207be84976", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "security_group_id": "1ddfeb26-1b82-4f65-8ccc-f962d343b4b6", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:07Z", "updated_at": "2022-09-28T15:54:07Z", "revision_number": 0, "project_id": "bf01d50560474a7e981ffe60a5bdd1ae"}}' 2022-09-28 15:54:08,136 128215 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--967191273 created 2022-09-28 15:54:10,239 128215 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.103s 2022-09-28 15:54:10,240 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Respons e - Headers: {'content-type': 'application/json', 'content-length': '494', 'x-openstack-request-id': 'req-f42e8121-6086-4b77-8be3-a4b1dc2e7793', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "494666ca-bf1e-4eae-be0a-9bb34648185d", "tenant_id": "bf01d50560474a7e981ffe60a5bdd1ae", "floating_ip_address": "172.28.2.250", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "bf01d50560474a7e981ffe60a5bdd1ae", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:09Z", "updated_at": "2022-09-28T15:54:09Z", "revision_number": 0}}' 2022-09-28 15:54:10,240 128215 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '494666ca-bf1e-4eae-be0a-9bb34648185d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.250', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:09Z', 'updated_at': '2022-09-28T15:54:09Z', 'revision_number': 0, 'ip': '172.28.2.250'} created 2022-09-28 15:54:10,581 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.334s 2022-09-28 15:54:10,581 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3266', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-fc82cea1-c4e4-482e-9275-a418d89903b2', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb0ba5afbc2a43c6843d5c90df43ded2", "name": "tempest-AttachVolumeShelveTestJSON-1705502689-project", "password_expires_at": null}, "audit_ids": ["iFcGD9scRzmQU_opdw0WTA"], "expires_at": "2022-09-28T16:54:10.000000Z", "issued_at": "2022-09-28T15:54:10.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "bf01d50560474a7e981ffe60a5bdd1ae", "name": "tempest-AttachVolumeShelveTestJSON-1705502689"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "ht tp://10.222.0.65:8080/v1/AUTH_bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/bf01d50560474a7e981ffe60a5bdd1ae", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:10,582 128215 INFO [tempest.lib.common.fixed_network] (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server) Found network {'id': 'e3433c55-16fc-420d-bb8c-eaa264393c96', 'name': 'tempest-AttachVolumeShelveTestJSON-1213550392-network', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 225, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:34Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:10,582 128215 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'type': 'ssh', 'name': 'tempest-keypair-946121181', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBPozItqoHJ/47RzEQz/tMLkHfYIIsiRreNIQQ5mYwbVXKPJdtHpydytn/42LkelAmVm9YOVb/T8A0MAhfEFMkUO5GJE0qfIezzOBwXx4hr1fS+quJ5hqFynns8dAB0FPVg==', 'fingerprint': 'd5:52:cb:c4:57:8d:3c:fc:b6:47:ea:f5:89:1f:8b:e1', 'user_id': 'eb0ba5afbc2a43c6843d5c90df43ded2', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDA+eZ1qkrU8EaLBBGhGpJqlBxpn0OBNnir+XCL0ggoHmd2vFn2vtnSB\n2hubw0wtT5KgBwYFK4EEACKhZANiAAT6MyLaqByf+O0cxEM/7TC5B32CCLIka3jS\nEEOZmMG1VyjyXbR6cncrZ/+Ni5HpQJlZvWDlW/0/ANDAIXxBTJFDuRiRNKnyHs8z\ngcF8eIa9X0vqrieYahcp57PHQAdBT1Y=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'name': 'tempest-securitygroup--967191273', 'stateful': True, 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': 'tempest-description--1386454683', 'shared': False, 'security_group_rules': [{'id': 'd82b5185-c0cd-4fee-8a7a-0d58e322ab2d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'security_group_id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'ethertype': 'IPv6', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 175, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, {'id': 'e262a8fc-a35f-43b3-880a-d1228e63d147', 'tenant_id': 'bf01d50560474a7e981ffe60a 5bdd1ae', 'security_group_id': '1ddfeb26-1b82-4f65-8ccc-f962d343b4b6', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 174, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 0, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}], 'tags': [], 'created_at': '2022-09-28T15:54:06Z', 'updated_at': '2022-09-28T15:54:06Z', 'revision_number': 1, 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae'}, 'floating_ip': {'id': '494666ca-bf1e-4eae-be0a-9bb34648185d', 'tenant_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'floating_ip_address': '172.28.2.250', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': 'bf01d50560474a7e981ffe60a5bdd1ae', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:09Z', 'updated_at': '2022-09-28T15:54:09Z', 'revision_number': 0, 'ip': '172.28.2.250'}} 2022-09-28 15:54:11,373 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:test_detach_volume_shelved_or_offload_server): 500 POST http://10.222.0.65/compute/v2.1/servers 0.789s 2022-09-28 15:54:11,373 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeShelveTestJSON-server-110458087", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "e3433c55-16fc-420d-bb8c-eaa264393c96"}], "security_groups": [{"name": "tempest-securitygroup--967191273"}], "key_name": "tempest-keypair-946121181", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-153d21a2-15c6-4933-af1c-8b461aab1200', 'x-compute-request-id': 'req-153d21a2-15c6-4933-af1c-8b461aab1200', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:11,532 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-946121181 0.157s 2022-09-28 15:54:11,536 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.20', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.20', 'x-openstack-nova-api-version': '2.20', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-f3700d00-1c15-4304-a148-d0ee18ebc8d9', 'x-compute-request-id': 'req-f3700d00-1c15-4304-a148-d0ee18ebc8d9', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-946121181'} Body: b'' 2022-09-28 15:54:11,877 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222 .0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 0.339s 2022-09-28 15:54:11,877 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-4217b30d-5bfa-427b-a477-3b84f2c08bc1', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6'} Body: b'' 2022-09-28 15:54:11,918 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 0.041s 2022-09-28 15:54:11,919 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-f65a9f8e-19d7-43b9-a27f-bfcc581d7cf2', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/1ddfeb26-1b82-4f65-8ccc-f962d343b4b6'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group 1ddfeb26-1b82-4f65-8ccc-f962d343b4b6 does not exist", "detail": ""}}' 2022-09-28 15:54:13,038 128215 INFO [tempest.lib.common.rest_client] Request (AttachVolumeShelveTestJSON:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/494666ca-bf1e-4eae-be0a-9bb34648185d 1.118s 2022-09-28 15:54:13,038 128215 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-d6c56f5b-e746-403a-a811-83a4ea4b9151', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/494666ca-bf1e-4eae-be0a-9bb34648185d'} Body: b'' tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume[id-a313b5cd-fbd0-49cc-94de-870e99f763c7,negative] -------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/lib/decorators.py", line 105, in wrapper raise exc File "/opt/stack/tempest/tempest/lib/decorators.py", line 97, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume_negative.py", line 31, in test_delete_attached_volume server, validation_resources = self._create_server() File "/opt/stack/tempest/tempest/api/compute/volumes/test_attach_volume.py", line 49, in _create_server server = self.create_test_server( File "/opt/stack/tempest/tempest/api/compute/base.py", line 272, in create_test_server body, servers = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:09,624 128222 DEBUG [tempest.lib.common.validation_resources] Requested setup of ValidationResources keypair True, floating IP True, security group True 2022-09-28 15:54:09,624 128222 DEBUG [tempest.lib.common.validation_resources] Requested validation resources keypair True, floating IP True, security group True 2022-09-28 15:54:09,810 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.183s 2022-09-28 15:54:09,811 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-keypair-267577643", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:09 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '385', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d905e936-d74b-4e67-8ae1-0aa83662a75b', 'x-compute-request-id': 'req-d905e936-d74b-4e67-8ae1-0aa83662a75b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-keypair-267577643", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA==", "fingerprint": "0e:9a:04:d4:78:8e:3a:54:20:26:cf:36:3b:d9:98:31", "user_id": "eb807874241746548b46cb63ef670beb"}}' 2022-09-28 15:54:09,814 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource key tempest-keypair-267577643 created 2022-09-28 15:54:10,389 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.574s 2022-09-28 15:54:10,393 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-securitygroup--1052321760", "description": "tempest-description--801617124"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1596', 'x-openstack-request-id': 'req-d2defb72-c4aa-412c-8352-0b5d3c95e395', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "a6147dac-715f-4942-be5a-49d7645ad05d", "name": "tempest-securitygroup--1052321760", "stateful": true, "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "tempest-description--801617124", "shared": false, "security_group_rules": [{"id": "3b19274c-345d-4ceb-a0e5-22f3570a9cfd", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 190, "description": null, "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}, {"id": "a1d8d81c-ffd4-4505-981e-cca4a005685b", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": nul l, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 191, "description": null, "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}], "tags": [], "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 1, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:10,892 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.498s 2022-09-28 15:54:10,892 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "protocol": "tcp", "ethertype": "IPv4", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-682e9bc8-f0d2-4868-97a4-8014912da8b9', 'date': 'Wed, 28 Sep 2022 15:54:10 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "b14054eb-bc15-4684-af66-3dc52c1a0bed", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:10Z", "updated_at": "2022-09-28T15:54:10Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:11,310 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.418s 2022-09-28 15:54:11,311 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "protocol": "icmp", "ethertype": "IPv4", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-3ea35d23-6a3b-4849-b4f8-cde01fd27977', 'date': 'Wed, 28 Sep 2022 15:54:11 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "bdd56547-5f7b-4554-a593-fe7010aacf5d", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "security_group_id": "a6147dac-715f-4942-be5a-49d7645ad05d", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:54:11Z", "updated_at": "2022-09-28T15:54:11Z", "revision_number": 0, "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd"}}' 2022-09-28 15:54:11,311 128222 DEBUG [tempest.lib.common.validation_resources] SSH Validation resource security group with tcp and icmp rules tempest-securitygroup--1052321760 created 2022-09-28 15:54:13,616 128222 INFO [tempest.lib.common.rest_client] Request (ValidationResourcesFixture:setUp): 201 POST http://10.222.0.65:9696/networking/v2.0/floatingips 2.304s 2022-09-28 15:54:13,616 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"floatingip": {"floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7"}} Response - Headers: {'content-type': 'application/json', 'conte nt-length': '494', 'x-openstack-request-id': 'req-b6141407-beb7-4510-a5d1-cba18b95f2e3', 'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips'} Body: b'{"floatingip": {"id": "9ab540da-7eef-4cee-87e2-614e8ef39e02", "tenant_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "floating_ip_address": "172.28.2.184", "floating_network_id": "afa3894e-3768-4b50-b1d7-2f23ee9ce0b7", "router_id": null, "port_id": null, "fixed_ip_address": null, "status": "DOWN", "project_id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "description": "", "port_details": null, "tags": [], "created_at": "2022-09-28T15:54:12Z", "updated_at": "2022-09-28T15:54:12Z", "revision_number": 0}}' 2022-09-28 15:54:13,616 128222 DEBUG [tempest.lib.common.validation_resources] Validation resource floating IP {'id': '9ab540da-7eef-4cee-87e2-614e8ef39e02', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.184', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:12Z', 'updated_at': '2022-09-28T15:54:12Z', 'revision_number': 0, 'ip': '172.28.2.184'} created 2022-09-28 15:54:13,786 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_delete_attached_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.164s 2022-09-28 15:54:13,787 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3262', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-687b6df6-c11e-46b9-838e-ae173ed08871', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "eb807874241746548b46cb63ef670beb", "name": "tempest-AttachVolumeNegativeTest-1031539955-project", "password_expires_at": null}, "audit_ids": ["cRjfZBo3TfSozdTDvE78XA"], "expires_at": "2022-09-28T16:54:13.000000Z", "issued_at": "2022-09-28T15:54:13.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3e5c490ab1cb4b0b9628cbeda45a59fd", "name": "tempest-AttachVolumeNegativeTest-1031539955"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "Reg ionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/3e5c490ab1cb4b0b9628cbeda45a59fd", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:13,787 128222 INFO [tempest.lib.common.fixed_network] (AttachVolumeNegativeTest:test_delete_attached_volume) Found network {'id': '3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e', 'name': 'tempest-AttachVolumeNegativeTest-817980979-network', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 200, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:53:33Z', 'updated_at': '2022-09-28T15:53:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:13,788 128222 DEBUG [tempest.common.compute] Provisioning test server with validation resources {'keypair': {'name': 'tempest-keypair-267577643', 'public_key': 'ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA/XxpW8dejplf9jQ2wohec3OvB43H2qob4uYbjbkwRZe3IM58XJySvEgjFWvFuqbnrz2JyPQ4KeJYLXsMIRCo0M54M+hI1R9EjRGIM4Wglmh7oG1ax+zD22RCGIgURnVA==', 'fingerprint': '0e:9a:04:d4:78:8e:3a:54:20:26:cf:36:3b:d9:98:31', 'user_id': 'eb807874241746548b46cb63ef670beb', 'private_key': '-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDAuxiyDLmXvKJIk1g041CTgMLxbtHcbNhsAJZ/tmi+G0hRnYHIgLHrd\nbRcs5eKDOiqgBwYFK4EEACKhZANiAAQP18aVvHXo6ZX/Y0NsKIXnNzrweNx9qqG+\nLmG425MEWXtyDOfFyckrxIIxVrxbqm5689icj0OCniWC17DCEQqNDOeDPoSNUfRI\n0RiDOFoJZoe6BtWsfsw9tkQhiIFEZ1Q=\n-----END EC PRIVATE KEY-----\n'}, 'security_group': {'id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'name': 'tempest-securitygroup--1052321760', 'stateful': True, 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': 'tempest-description--801617124', 'shared': False, 'security_group_rules': [{'id': '3b19274c-345d-4ceb-a0e5-22f3570a9cfd', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'ethertype': 'IPv4', 'direction': 'egress', 'protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 190, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, {'id': 'a1d8d81c-ffd4-4505-981e-cca4a005685b', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'security_group_id': 'a6147dac-715f-4942-be5a-49d7645ad05d', 'ethertype': 'IPv6', 'direction': 'egress', ' protocol': None, 'port_range_min': None, 'port_range_max': None, 'remote_ip_prefix': None, 'remote_address_group_id': None, 'normalized_cidr': None, 'remote_group_id': None, 'standard_attr_id': 191, 'description': None, 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 0, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}], 'tags': [], 'created_at': '2022-09-28T15:54:10Z', 'updated_at': '2022-09-28T15:54:10Z', 'revision_number': 1, 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd'}, 'floating_ip': {'id': '9ab540da-7eef-4cee-87e2-614e8ef39e02', 'tenant_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'floating_ip_address': '172.28.2.184', 'floating_network_id': 'afa3894e-3768-4b50-b1d7-2f23ee9ce0b7', 'router_id': None, 'port_id': None, 'fixed_ip_address': None, 'status': 'DOWN', 'project_id': '3e5c490ab1cb4b0b9628cbeda45a59fd', 'description': '', 'port_details': None, 'tags': [], 'created_at': '2022-09-28T15:54:12Z', 'updated_at': '2022-09-28T15:54:12Z', 'revision_number': 0, 'ip': '172.28.2.184'}} 2022-09-28 15:54:14,307 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:test_delete_attached_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 0.518s 2022-09-28 15:54:14,307 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-AttachVolumeNegativeTest-server-83005344", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "adminPass": "password", "networks": [{"uuid": "3a1c36e3-66c2-4fa0-bf39-e94a7805eb5e"}], "security_groups": [{"name": "tempest-securitygroup--1052321760"}], "key_name": "tempest-keypair-267577643", "user_data": "IyEvYmluL3NoCmVjaG8gIlByaW50aW5nIHVidW50dSB1c2VyIGF1dGhvcml6ZWQga2V5cyIKY2F0IH51YnVudHUvLnNzaC9hdXRob3JpemVkX2tleXMgfHwgdHJ1ZQo="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:13 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-5190ca39-a415-4ee5-9cff-4cb7f6ff90c0', 'x-compute-request-id': 'req-5190ca39-a415-4ee5-9cff-4cb7f6ff90c0', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:54:14,308 128222 ERROR [tempest.lib.decorators] Hints: This test was made for the bug_type 1630783. The failure could be related to https://launchpad.net/bugs/1630783 2022-09-28 15:54:14,515 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-267577643 0.206s 2022-09-28 15:54:14,522 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:14 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-f313aeb0-2b6c-42cb-88d2-400acdca434b', 'x-compute-request-id': 'req-f313aeb0-2b6c-42cb-88d2-400acdca434b', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-keypair-267577643'} Body: b'' 2022-09-28 15:54:15,185 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/network ing/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d 0.661s 2022-09-28 15:54:15,185 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-ab3c52f8-728f-4b93-87b5-1b57c337dfdd', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d'} Body: b'' 2022-09-28 15:54:15,225 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 404 GET http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d 0.040s 2022-09-28 15:54:15,226 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'content-type': 'application/json', 'content-length': '146', 'x-openstack-request-id': 'req-0d7ccb14-db5e-4021-b6b3-e44de6c89220', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/a6147dac-715f-4942-be5a-49d7645ad05d'} Body: b'{"NeutronError": {"type": "SecurityGroupNotFound", "message": "Security group a6147dac-715f-4942-be5a-49d7645ad05d does not exist", "detail": ""}}' 2022-09-28 15:54:15,972 128222 INFO [tempest.lib.common.rest_client] Request (AttachVolumeNegativeTest:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/floatingips/9ab540da-7eef-4cee-87e2-614e8ef39e02 0.745s 2022-09-28 15:54:15,972 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-cf5766ba-9cac-4616-b98a-6f76ca0afb99', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:54:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/floatingips/9ab540da-7eef-4cee-87e2-614e8ef39e02'} Body: b'' tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume[compute,id-d38285d9-929d-478f-96a5-00e66a115b81] ------------------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/admin/test_volumes_actions.py", line 83, in test_force_detach_volume server_id = self.create_server()['id'] File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:54:42,518 128224 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_force_detach_volume): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.331s 2022-09-28 15:54:42,519 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3246', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-7f945fce-1d15-4ee5-ac88-1b1d747fc64e', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "62264711a02145c2b14411cf89a3db4f", "name": "tempest-VolumesActionsTest-58402918-project", "password_expires_at": null}, "audit_ids": ["FBlOx74vTLWlB-TiR0X2nA"], "expires_at": "2022-09-28T16:54:42.000000Z", "issued_at": "2022-09-28T15:54:42.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "842e4dbec1f34cffbb88f4aacd5933b0", "name": "tempest-VolumesActionsTest-58402918"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/842e4dbec1f34cffbb88f4aacd5933b0", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:54:42,520 128224 INFO [tempest.lib.common.fixed_ network] (VolumesActionsTest:test_force_detach_volume) Found network {'id': 'dd728218-fad9-4337-88ef-1be112400f0e', 'name': 'tempest-VolumesActionsTest-669329676-network', 'tenant_id': '842e4dbec1f34cffbb88f4aacd5933b0', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '842e4dbec1f34cffbb88f4aacd5933b0', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 237, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:54:36Z', 'updated_at': '2022-09-28T15:54:36Z', 'revision_number': 1} available for tenant 2022-09-28 15:54:43,602 128224 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_force_detach_volume): 500 POST http://10.222.0.65/compute/v2.1/servers 1.081s 2022-09-28 15:54:43,602 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-2086804437", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "dd728218-fad9-4337-88ef-1be112400f0e"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:54:42 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-b2bab53e-0209-4db2-b016-6d563f40c58f', 'x-compute-request-id': 'req-b2bab53e-0209-4db2-b016-6d563f40c58f', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance[compute,id-c1b6318c-b9da-490b-9c67-9339b627271f,image,network,slow,volume] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse response.begin() File "/usr/lib/python3.8/http/client.py", line 316, in begin version, status, reason = self._read_status() File "/usr/lib/python3.8/http/client.py", line 277, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.8/socket.py", line 669, in readinto return self._sock.recv_into(b) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/scenario/test_shelve_instance.py", line 120, in test_shelve_volume_backed_instance self._create_server_then_shelve_and_unshelve(boot_from_volume=True) File "/opt/stack/tempest/tempest/scenario/test_shelve_instance.py", line 82, in _create_server_then_shelve_and_unshelve server = self.create_server( File "/opt/stack/tempest/tempest/scenario/manager.py", line 309, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 256, in create_test_server volume = volumes_client.create_volume(**params) File "/opt/stack/tempest/tempest/lib/services/volume/v3/volumes_client.py", line 116, in create_volume resp, body = self.post('volumes', 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 704, in request resp, resp_body = self._request(method, url, headers=headers, File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 583, in _request resp, resp_body = self.raw_request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 623, in raw_request resp, resp_body = self.http_obj.request( File "/opt/stack/tempest/tempest/lib/common/http.py", line 110, in request r = super(ClosingHttp, self).request(method, url, retries=retry, File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request return self.request_encode_body( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/request.py", line 170, in request_encode_body return self.urlopen(method, url, **extra_kw) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 376, in urlopen response = conn.urlopen(method, u.request_uri, **kw) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 451, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/opt/stack/tempest/.tox/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='10.222.0.65', port=80): Read timed out. (read timeout=60) Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:55:50,733 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.350s 2022-09-28 15:55:50,738 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-TestShelveInstance-469851981", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA1nkPXPYsO4CKnt3x0boXeve1nPFvGzrgJkELQIt9NACOVVzx8zTfXNt8OMkl+7Ce9kn+E3sQKF3zDEoiRs6FDxg29HBxrB6dJEgbW3AklgPCk8+TxNwwueg1dxMMOgSQ=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:55:50 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '396', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-d971483d-7f6c-44b6-aa27-b3e72178b4b3', 'x-compute-request-id': 'req-d971483d-7f6c-44b6-aa27-b3e72178b4b3', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest-TestShelveInstance-469851981", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBA1nkPXPYsO4CKnt3x0boXeve1nPFvGzrgJkELQIt9NACOVVzx8zTfXNt8OMkl+7Ce9kn+E3sQKF3zDEoiRs6FDxg29HBxrB6dJEgbW3AklgPCk8+TxNwwueg1dxMMOgSQ==", "fingerprint": "7a:7f:44:bc:27:05:42:d4:94:84:45:71:5d:ec:7f:44", "user_id": "abc56ccdfc25497b9e9490d1f701fcc2"}}' 2022-09-28 15:55:51,320 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-groups 0.579s 2022-09-28 15:55:51,321 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group": {"name": "tempest-secgroup-smoke-1511732937", "description": "tempest-secgroup-smoke-1511732937 description", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}} Response - Headers: {'content-type': 'application/json', 'content-length': '1611', 'x-openstack-request-id': 'req-03d62c57-dfa5-4b23-815a-3310ee6ea151', 'date': 'Wed, 28 Sep 2022 15:55:51 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups'} Body: b'{"security_group": {"id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "name": "tempest-secgroup-smoke-1511732937", "stateful": true, "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "description": "tempest-secgroup-smoke-1511732937 description", "shared": false, "security_group_rules": [{"id": "29a68e26-0149-46c8-b65c-15c2b078802d", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 572, "description": null, "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}, {"id": "fc34ff7e-5a32-4761-bd1b-96f5ffebece6", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "egress", "protocol": null, "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "standard_attr_id": 573, "description": null, "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}], "tags": [], "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09- 28T15:55:51Z", "revision_number": 1, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:51,708 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.387s 2022-09-28 15:55:51,709 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '565', 'x-openstack-request-id': 'req-e5060c70-ad47-476e-ba6b-d16ff0894104', 'date': 'Wed, 28 Sep 2022 15:55:51 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "ad98c6b2-17db-48f3-bb66-1efea0a991a9", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "ingress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:52,243 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.534s 2022-09-28 15:55:52,244 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '564', 'x-openstack-request-id': 'req-d5c4639a-296a-456c-99a6-72c19b78b219', 'date': 'Wed, 28 Sep 2022 15:55:52 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "7777ad8c-9137-4708-a554-a880d6bde0d7", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": "tcp", "port_range_min": 22, "port_range_max": 22, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:51Z", "updated_at": "2022-09-28T15:55:51Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:52,692 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.447s 2022-09-28 15:55:52,692 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '570', 'x-openstack-request-id': 'req-2e493223-e8e1-4d0c-ba5a-4722b82eff5d', 'date': 'Wed, 28 Sep 2022 15:55:52 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "73d3f847-f899-48e9-ae9a-1b25c012c5bf", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "ingress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:52Z", "updated_at": "2022-09-28T15:55:52Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:53,234 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.541s 2022-09-28 15:55:53,234 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '569', 'x-openstack-request-id': 'req-c66205b1-bb7d-40bd-a5d2-9ce024a026b3', 'date': 'Wed, 28 Sep 2022 15:55:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "e3faa9f0-46fc-413c-939a-4af2783cb90a", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv4", "direction": "egress", "protocol": "icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:52Z", "updated_at": "2022-09-28T15:55:52Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:53,664 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.429s 2022-09-28 15:55:53,666 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "ethertype": "IPv6", "direction": "ingress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '575', 'x-openstack-request-id': 'req-c3d3d6ec-e910-4a3d-9d69-b4e05bd4ea70', 'date': 'Wed, 28 Sep 2022 15:55:53 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "ee9b8d15-f8b8-41f4-a4e1-b4967e5a3a3e", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "ingress", "protocol": "ipv6-icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:53Z", "updated_at": "2022-09-28T15:55:53Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:54,126 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65:9696/networking/v2.0/security-group-rules 0.460s 2022-09-28 15:55:54,129 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"security_group_rule": {"security_group_id": "7172f5 cc-a2b5-4f29-9c91-ac8b01c52e90", "project_id": "8a44f66cb91442b3992f2ecb0af5ff90", "protocol": "icmp", "ethertype": "IPv6", "direction": "egress"}} Response - Headers: {'content-type': 'application/json', 'content-length': '574', 'x-openstack-request-id': 'req-bd3e737b-aef4-4e9f-bafb-66226510a185', 'date': 'Wed, 28 Sep 2022 15:55:54 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-group-rules'} Body: b'{"security_group_rule": {"id": "f054f339-dc9e-4a0f-b2f3-56e05d9b86f0", "tenant_id": "8a44f66cb91442b3992f2ecb0af5ff90", "security_group_id": "7172f5cc-a2b5-4f29-9c91-ac8b01c52e90", "ethertype": "IPv6", "direction": "egress", "protocol": "ipv6-icmp", "port_range_min": null, "port_range_max": null, "remote_ip_prefix": null, "remote_address_group_id": null, "normalized_cidr": null, "remote_group_id": null, "description": "", "created_at": "2022-09-28T15:55:53Z", "updated_at": "2022-09-28T15:55:53Z", "revision_number": 0, "project_id": "8a44f66cb91442b3992f2ecb0af5ff90"}}' 2022-09-28 15:55:54,267 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:test_shelve_volume_backed_instance): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.132s 2022-09-28 15:55:54,268 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:55:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-5cad83f6-bc6c-47c9-961f-0f33d259c583', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "abc56ccdfc25497b9e9490d1f701fcc2", "name": "tempest-TestShelveInstance-1623505415-project", "password_expires_at": null}, "audit_ids": ["qsNUhS4pRqmakr_PmED2fw"], "expires_at": "2022-09-28T16:55:54.000000Z", "issued_at": "2022-09-28T15:55:54.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "8a44f66cb91442b3992f2ecb0af5ff90", "name": "tempest-TestShelveInstance-1623505415"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "regi on_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/8a44f66cb91442b3992f2ecb0af5ff90", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:55:54,268 128225 INFO [tempest.lib.common.fixed_network] (TestShelveInstance:test_shelve_volume_backed_instance) Found network {'id': '888ee814-f881-402b-bcce-a0d7c51b853c', 'name': 'tempest-TestShelveInstance-1949409086-network', 'tenant_id': '8a44f66cb91442b3992f2ecb0af5ff90', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '8a44f66cb91442b3992f2ecb0af5ff90', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 201, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:55:33Z', 'updated_at': '2022-09-28T15:55:33Z', 'revision_number': 1} available for tenant 2022-09-28 15:56:54,568 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:_run_cleanups): 204 DELETE http://10.222.0.65:9696/networking/v2.0/security-groups/7172f5cc-a2b5-4f29-9c91-ac8b01c52e90 0.228s 2022-09-28 15:56:54,568 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'x-openstack-request-id': 'req-f4ad1944-82ff-40a2-9517-da29facb0c8b', 'content-length': '0', 'date': 'Wed, 28 Sep 2022 15:56:54 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65:9696/networking/v2.0/security-groups/7172f5cc-a2b5-4f29-9c91-ac8b01c52e90'} Body: b'' 2022-09-28 15:56:54,690 128225 INFO [tempest.lib.common.rest_client] Request (TestShelveInstance:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestShelveInstance-469851981 0.121s 2022-09-28 15:56:54,691 128225 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:56:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-3d5be9d8-f77a-4e09-aea4-244ba6a1c92c', 'x-compute-request-id': 'req-3d5be9d8-f77a-4e09-aea4-244ba6a1c92c', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestShelveInstance-469851981'} Body: b'' tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use[compute,id-8567b54c-4455-446d-a1cf-651ddeaa3ff2] ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py", line 48, in test_snapshot_create_delete_with_volume_in_use server = self.create_server(wait_until='SSHABLE') File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:45,832 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.092s 2022-09-28 15:57:45,832 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-110553d9-d34b-460b-abc1-40ddbf3083d9', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "a13fcb1f4ff54aa3b594fe30146c02d3", "name": "tempest-VolumesSnapshotTestJSON-1307172262-project", "password_expires_at": null}, "audit_ids": ["qe4wgEIfRLqCQ1E3Wri3Bw"], "expires_at": "2022-09-28T16:57:45.000000Z", "issued_at": "2022-09-28T15:57:45.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "fd4076a98c8b40f89292d0fbfe11656f", "name": "tempest-VolumesSnapshotTestJSON-1307172262"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:57:45,833 1 28217 INFO [tempest.lib.common.fixed_network] (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use) Found network {'id': '9a22aa42-c889-4c04-8f21-32e8e44beb9b', 'name': 'tempest-VolumesSnapshotTestJSON-1705875271-network', 'tenant_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 230, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:41Z', 'updated_at': '2022-09-28T15:57:41Z', 'revision_number': 1} available for tenant 2022-09-28 15:57:46,146 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_delete_with_volume_in_use): 500 POST http://10.222.0.65/compute/v2.1/servers 0.313s 2022-09-28 15:57:46,146 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesSnapshotTestJSON-instance-250591408", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "9a22aa42-c889-4c04-8f21-32e8e44beb9b"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:45 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-c02d8530-76eb-41ce-92c0-d71aabe204c9', 'x-compute-request-id': 'req-c02d8530-76eb-41ce-92c0-d71aabe204c9', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online[compute,id-5210a1de-85a0-11e6-bb21-641c676a5d61] ------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py", line 83, in test_snapshot_create_offline_delete_online server = self.create_server(wait_until='SSHABLE') File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:51,898 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 202 POST http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots 0.877s 2022-09-28 15:57:51,898 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"snapshot": {"volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734"}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-104f6cd5-da8a-4b7b-8f77-26bfd6064f4d', 'content-length': '309', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-104f6cd5-da8a-4b7b-8f77-26bfd6064f4d', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:51.548713", "updated_at": null, "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "creating", "size": 1, "metadata": {}}}' 2022-09-28 15:57:51,948 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 200 GET http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3 0.045s 2022-09-28 15:57:51,948 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:51 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-c739493d-cbc9-42c4-b317-b8680719d61f', 'content-length': '441', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-c739493d-cbc9-42c4-b317-b8680719d61f', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:52.000000", "updated_at": null, "name": "tempest-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "creating", "size": 1, "metadata": {}, "os-extended-snapshot-attributes:project_id": "fd4076a98c8b40f89292d0fbfe11656f", "os-extended-snapshot-attributes:progress": "0%"}}' 2022-09-28 15:57:52,985 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 200 GET http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3 0.030s 2022-09-28 15:57:52,986 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:52 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'x-compute-request-id': 'req-0dbc43da-f59b-4153-8ddb-b8d1674bda49', 'content-length': '534', 'openstack-api-version': 'volume 3.0', 'vary': 'OpenStack-API-Version', 'x-openstack-request-id': 'req-0dbc43da-f59b-4153-8ddb-b8d1674bda49', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f/snapshots/4e731764-6467-4e43-8348-c5034c8d39f3'} Body: b'{"snapshot": {"id": "4e731764-6467-4e43-8348-c5034c8d39f3", "created_at": "2022-09-28T15:57:52.000000", "updated_at": "2022-09-28T15:57:53.000000", "name": "temp est-VolumesSnapshotTestJSON-Snapshot-328153734", "description": null, "volume_id": "9956ebf3-fc09-410d-8d92-a97d569b4e12", "status": "available", "size": 1, "metadata": {"backing_file": "volume-9956ebf3-fc09-410d-8d92-a97d569b4e12.vhdx"}, "os-extended-snapshot-attributes:project_id": "fd4076a98c8b40f89292d0fbfe11656f", "os-extended-snapshot-attributes:progress": "100%"}}' 2022-09-28 15:57:52,990 128217 INFO [tempest.common.waiters] snapshot 4e731764-6467-4e43-8348-c5034c8d39f3 reached available after waiting for 1.990158 seconds 2022-09-28 15:57:53,171 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.170s 2022-09-28 15:57:53,171 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-967e91d4-d928-42cd-a687-2ae35a79a9d3', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "a13fcb1f4ff54aa3b594fe30146c02d3", "name": "tempest-VolumesSnapshotTestJSON-1307172262-project", "password_expires_at": null}, "audit_ids": ["5y9du2tTQt6S7bO5Dr4Z_A"], "expires_at": "2022-09-28T16:57:53.000000Z", "issued_at": "2022-09-28T15:57:53.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "fd4076a98c8b40f89292d0fbfe11656f", "name": "tempest-VolumesSnapshotTestJSON-1307172262"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65 b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/fd4076a98c8b40f89292d0fbfe11656f", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:57:53,172 128217 INFO [tempest.lib.common.fixed_network] (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online) Found network {'id': '9a22aa42-c889-4c04-8f21-32e8e44beb9b', 'name': 'tempest-VolumesSnapshotTestJSON-1705875271-network', 'tenant_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'fd4076a98c8b40f89292d0fbfe11656f', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 230, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:41Z', 'updated_at': '2022-09-28T15:57:41Z', 'revision_number': 1} available for tenant 2022-09-28 15:57:53,531 128217 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotTestJSON:test_snapshot_create_offline_delete_online): 500 POST http://10.222.0.65/compute/v2.1/servers 0.359s 2022-09-28 15:57:53,532 128217 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesSnapshotTestJSON-instance-1443541400", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "9a22aa42-c889-4c04-8f21-32e8e44beb9b"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-9ba41fcd-b074-4f81-8780-433ee061d7f3', 'x-compute-request-id': 'req-9ba41fcd-b074-4f81-8780-433ee061d7f3', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance[compute,id-fff42874-7db5-4487-a8e1-ddda5fb5288d,smoke] ------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_actions.py", line 45, in test_attach_detach_volume_to_instance server = self.create_server() File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:58:00,968 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_attach_detach_volume_to_instance): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.038s 2022-09-28 15:58:00,969 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-060c9c0e-3c52-4828-aea6-74b5c1e9b8a5', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e1da2b74f3764f4abd08ea098561adc2", "name": "tempest-VolumesActionsTest-1057529295-project", "password_expires_at": null}, "audit_ids": ["t0NmPh8ARvOU__HmN1JR3w"], "expires_at": "2022-09-28T16:58:00.000000Z", "issued_at": "2022-09-28T15:58:00.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "462713bb342b43b18086c08c10f3ea03", "name": "tempest-VolumesActionsTest-1057529295"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:00,969 128222 INFO [tempest. lib.common.fixed_network] (VolumesActionsTest:test_attach_detach_volume_to_instance) Found network {'id': 'c93a2f79-a622-4698-b475-bdd6e6d99c9d', 'name': 'tempest-VolumesActionsTest-122857200-network', 'tenant_id': '462713bb342b43b18086c08c10f3ea03', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '462713bb342b43b18086c08c10f3ea03', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 222, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:56Z', 'updated_at': '2022-09-28T15:57:56Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:01,249 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_attach_detach_volume_to_instance): 500 POST http://10.222.0.65/compute/v2.1/servers 0.279s 2022-09-28 15:58:01,250 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-900336056", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "c93a2f79-a622-4698-b475-bdd6e6d99c9d"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:00 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-6eed194b-5ef7-47a6-a293-8b31cac9d96d', 'x-compute-request-id': 'req-6eed194b-5ef7-47a6-a293-8b31cac9d96d', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment[compute,id-9516a2c8-9135-488c-8dd6-5677a7e5f371] -------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/api/volume/test_volumes_actions.py", line 81, in test_get_volume_attachment server = self.create_server() File "/opt/stack/tempest/tempest/api/volume/base.py", line 204, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:58:01,307 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_get_volume_attachment): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.043s 2022-09-28 15:58:01,307 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3250', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-e00a64ed-cece-4c2d-825e-4b0ad61bb18c', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e1da2b74f3764f4abd08ea098561adc2", "name": "tempest-VolumesActionsTest-1057529295-project", "password_expires_at": null}, "audit_ids": ["L2006whaQj2CyXTqanL-IQ"], "expires_at": "2022-09-28T16:58:01.000000Z", "issued_at": "2022-09-28T15:58:01.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "462713bb342b43b18086c08c10f3ea03", "name": "tempest-VolumesActionsTest-1057529295"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/462713bb342b43b18086c08c10f3ea03", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:01,307 128222 INFO [tempest.lib.common. fixed_network] (VolumesActionsTest:test_get_volume_attachment) Found network {'id': 'c93a2f79-a622-4698-b475-bdd6e6d99c9d', 'name': 'tempest-VolumesActionsTest-122857200-network', 'tenant_id': '462713bb342b43b18086c08c10f3ea03', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '462713bb342b43b18086c08c10f3ea03', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 222, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:56Z', 'updated_at': '2022-09-28T15:57:56Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:01,592 128222 INFO [tempest.lib.common.rest_client] Request (VolumesActionsTest:test_get_volume_attachment): 500 POST http://10.222.0.65/compute/v2.1/servers 0.283s 2022-09-28 15:58:01,592 128222 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-VolumesActionsTest-instance-636023632", "imageRef": "1ed1dc2a-1efa-4817-a406-4002199520cd", "flavorRef": "452", "networks": [{"uuid": "c93a2f79-a622-4698-b475-bdd6e6d99c9d"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:01 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-fe132770-3fac-4dcf-8b7a-01582a7052d3', 'x-compute-request-id': 'req-fe132770-3fac-4dcf-8b7a-01582a7052d3', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,id-bdbb5441-9204-419d-a225-b4fdbfb1a1a8,image,network,volume] -------------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper return f(*func_args, **func_kwargs) File "/opt/stack/tempest/tempest/scenario/test_minimum_basic.py", line 109, in test_minimum_basic_scenario server = self.create_server(image_id=image, key_name=keypair['name']) File "/opt/stack/tempest/tempest/scenario/manager.py", line 309, in create_server body, _ = compute.create_test_server( File "/opt/stack/tempest/tempest/common/compute.py", line 285, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 115, in create_server resp, body = self.post('servers', 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/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request self._error_checker(resp, resp_body) File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 896, in _error_checker raise exceptions.ServerFault(resp_body, resp=resp, tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2022-09-28 15:57:53,796 128224 DEBUG [tempest.scenario.manager] paths: img: /home/ubuntu/devstack/files/ubuntu-16.04-minimal-cloudimg-amd64-sync.vhdx, container_format: bare, disk_format: vhdx, properties: None 2022-09-28 15:57:54,210 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 201 POST http://10.222.0.65/image/v2/images 0.413s 2022-09-28 15:57:54,211 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"name": "tempest-scenario-img--993125493", "container_format": "bare", "disk_format": "vhdx", "visibility": "private"} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:53 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '640', 'content-type': 'application/json', 'location': 'http://127.0.0.1:60999/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8', 'openstack-image-import-methods': 'glance-direct,web-download,copy-image', 'x-openstack-request-id': 'req-8a3a59c0-9b99-46e5-92d5-82b587202f8e', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/image/v2/images'} Body: b'{"name": "tempest-scenario-img--993125493", "disk_format": "vhdx", "container_format": "bare", "visibility": "private", "size": null, "virtual_size": null, "status": "queued", "checksum": null, "protected": false, "min_ram": 0, "min_disk": 0, "owner": "9b753bf4f21442c19806b94ba25e13ec", "os_hidden": false, "os_hash_algo": null, "os_hash_value": null, "id": "88da1e14-7973-46a2-8790-c421c011a3b8", "created_at": "2022-09-28T15:57:54Z", "updated_at": "2022-09-28T15:57:54Z", "tags": [], "self": "/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8", "file": "/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file", "schema": "/v2/schemas/image"}' 2022-09-28 15:58:07,543 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 204 PUT http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file 13.332s 2022-09-28 15:58:07,544 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/octet-stream', 'X-Auth-Token': ''} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:57:54 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'text/html; charset=UTF-8', 'x-openstack-request-id': 'req-9f6e010d-454d-492d-b4f9-a41b0477146a', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8/file'} Body: b'' 2022-09-28 15:58:07,544 128224 DEBUG [tempest.scenario.manager] image:88da1e14-7973-46a2-8790-c421c011a3b8 2022-09-28 15:58:07,793 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 200 POST http://10.222.0.65/compute/v2.1/os-keypairs 0.246s 2022-09-28 15:58:07,794 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"keypair": {"name": "tempest-TestMinimumBasicScenario-619302181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJX3fUPQQknb3hyjDIXhBnjdcn5U9jzyp8/IF9y6qEBs50tz3Kl76dSrYtX0RXzPlo5lRjqh4+jxR+9EqRqiwuwgDeGh4BoEfhdFIZW1/I0aIteDwJgB+RdLe7A+Pw5QHg=="}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '402', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-c9b10c8e-3ddf-4a32-b5e2-6fbbf7e7a77b', 'x-compute-request-id': 'req-c9b10c8e-3ddf-4a32-b5e2-6fbbf7e7a77b', 'connection': 'close', 'status': '200', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs'} Body: b'{"keypair": {"name": "tempest- TestMinimumBasicScenario-619302181", "public_key": "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBJX3fUPQQknb3hyjDIXhBnjdcn5U9jzyp8/IF9y6qEBs50tz3Kl76dSrYtX0RXzPlo5lRjqh4+jxR+9EqRqiwuwgDeGh4BoEfhdFIZW1/I0aIteDwJgB+RdLe7A+Pw5QHg==", "fingerprint": "cf:e1:cf:e2:06:89:10:a0:df:ad:84:fa:fc:d2:00:c5", "user_id": "e792fcf119ba425d97419bd96e179f67"}}' 2022-09-28 15:58:07,905 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 201 POST http://10.222.0.65/identity/v3/auth/tokens 0.102s 2022-09-28 15:58:07,906 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'} Body: Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'application/json', 'content-length': '3260', 'x-subject-token': '', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-cf60dbdd-f310-41b8-ac45-998c8fdab0f6', 'connection': 'close', 'status': '201', 'content-location': 'http://10.222.0.65/identity/v3/auth/tokens'} Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e792fcf119ba425d97419bd96e179f67", "name": "tempest-TestMinimumBasicScenario-742061588-project", "password_expires_at": null}, "audit_ids": ["0MxP3dIrT92wXM6bgsDmnA"], "expires_at": "2022-09-28T16:58:07.000000Z", "issued_at": "2022-09-28T15:58:07.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "9b753bf4f21442c19806b94ba25e13ec", "name": "tempest-TestMinimumBasicScenario-742061588"}, "is_domain": false, "roles": [{"id": "f8846aecb6f24fd990980de95d21fbc4", "name": "reader"}, {"id": "d1ee6b83f7db4bc3af79427eba76fc99", "name": "member"}], "catalog": [{"endpoints": [{"id": "ea0a0ad50c4a430aa9cb5eec2c0fed40", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/image", "region": "RegionOne"}], "id": "0c7c1ab984dc42f981c731931b78ae06", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a720498235ab41feba7f3c24dc447ba6", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:9696/networking", "region": "RegionOne"}], "id": "21f548aea39e4dbfa8800eb7c27164ba", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "cbf6c3d217cb4ffe8470ba1b15de5dc2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/identity", "region": "RegionOne"}], "id": "5735396d6e1146c79ddca0abf3f600b2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "e3b3703bfc7b4ccd80bebef56070c8d2", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "584a6456eefc452aa4b71ddb0d424a34", "type": "block-storage", "name": "cinder"}, {"endpoints": [{"id": "699c53a174364f8e81a83d5ce895354e", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65:8080/v1/AUTH_9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}, {"id": "96803cbaad9e4f91b2f0748c94d22db1", "interface": "admin", "region_id": "RegionOne", "url": "http://10.222.0.65:8080", "region": "RegionOne"}], "id": "6c6aa86e58f344d99c0f230efdb9e3fa", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "19ff45da8d93475eaafe3552e46ca154", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2.1", "region": "RegionOne"}], "id": "7fae44bc24fd4e86bce699c8ad6c8a47", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "b8324f0d420143aa9fec0840246b56eb", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/volume/v3/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "8093f38ef89b4ad090178e8aa4ad91bb", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "1cc9ce0d46aa4ee5ab1eb65b7915edca", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/placement", "region": "RegionOne"}], "id": "80cf9748ce404681bf47b75d5ca1b350", "type": "pla cement", "name": "placement"}, {"endpoints": [{"id": "43dbc30c276046d38ddc302dbc201867", "interface": "public", "region_id": "RegionOne", "url": "http://10.222.0.65/compute/v2/9b753bf4f21442c19806b94ba25e13ec", "region": "RegionOne"}], "id": "9254dc62f37a42a685c54ccb19be39c5", "type": "compute_legacy", "name": "nova_legacy"}]}}' 2022-09-28 15:58:07,906 128224 INFO [tempest.lib.common.fixed_network] (TestMinimumBasicScenario:test_minimum_basic_scenario) Found network {'id': '9940b844-0923-473a-91fe-a5259e4e22a2', 'name': 'tempest-TestMinimumBasicScenario-942815270-network', 'tenant_id': '9b753bf4f21442c19806b94ba25e13ec', 'admin_state_up': True, 'mtu': 1500, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': '9b753bf4f21442c19806b94ba25e13ec', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'vlan', 'provider:physical_network': 'physnet1', 'provider:segmentation_id': 226, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'tags': [], 'created_at': '2022-09-28T15:57:38Z', 'updated_at': '2022-09-28T15:57:38Z', 'revision_number': 1} available for tenant 2022-09-28 15:58:08,291 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:test_minimum_basic_scenario): 500 POST http://10.222.0.65/compute/v2.1/servers 0.384s 2022-09-28 15:58:08,291 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: {"server": {"name": "tempest-TestMinimumBasicScenario-server-922758032", "imageRef": "88da1e14-7973-46a2-8790-c421c011a3b8", "flavorRef": "452", "key_name": "tempest-TestMinimumBasicScenario-619302181", "networks": [{"uuid": "9940b844-0923-473a-91fe-a5259e4e22a2"}]}} Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:07 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'content-type': 'application/json; charset=UTF-8', 'content-length': '214', 'x-openstack-request-id': 'req-2edfafe3-8874-4414-a1ee-c950843696d5', 'x-compute-request-id': 'req-2edfafe3-8874-4414-a1ee-c950843696d5', 'connection': 'close', 'status': '500', 'content-location': 'http://10.222.0.65/compute/v2.1/servers'} Body: b'{"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\\n"}}' 2022-09-28 15:58:08,387 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:_run_cleanups): 202 DELETE http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestMinimumBasicScenario-619302181 0.094s 2022-09-28 15:58:08,387 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '0', 'content-type': 'application/json', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-openstack-request-id': 'req-a22a1578-695e-4f99-a01f-6078e81e5175', 'x-compute-request-id': 'req-a22a1578-695e-4f99-a01f-6078e81e5175', 'connection': 'close', 'status': '202', 'content-location': 'http://10.222.0.65/compute/v2.1/os-keypairs/tempest-TestMinimumBasicScenario-619302181'} Body: b'' 2022-09-28 15:58:10,460 128224 INFO [tempest.lib.common.rest_client] Request (TestMinimumBasicScenario:_run_cleanups): 204 DELETE http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8 2.072s 2022-09-28 15:58:10,462 128224 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X- Auth-Token': ''} Body: None Response - Headers: {'date': 'Wed, 28 Sep 2022 15:58:08 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'text/html; charset=UTF-8', 'x-openstack-request-id': 'req-cbd7402b-dab2-4d6a-b4c5-92f8c3f26e25', 'connection': 'close', 'status': '204', 'content-location': 'http://10.222.0.65/image/v2/images/88da1e14-7973-46a2-8790-c421c011a3b8'} Body: b'' ====== Totals ====== Ran: 236 tests in 319.8942 sec. - Passed: 210 - Skipped: 10 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 16 Sum of execute time for each test: 890.5642 sec. ============== Worker Balance ============== - Worker 0 (24 tests) => 0:01:36.223926 - Worker 1 (51 tests) => 0:03:55.850014 - Worker 2 (27 tests) => 0:04:18.721468 - Worker 3 (55 tests) => 0:01:49.399810 - Worker 4 (20 tests) => 0:05:19.894248 - Worker 5 (16 tests) => 0:04:03.133234 - Worker 6 (22 tests) => 0:03:15.065897 - Worker 7 (21 tests) => 0:02:03.189082 tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume[id-d0f3f0d6-d9b6-4a32-8da4-23015dcab23c,volume] tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_different_server[id-ee37a796-2afb-11e7-bc0f-fa163e65f5ce,negative] tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume[id-52e9045a-e90d-4c0d-9087-79d657faffff,slow] tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_volume_shelved_or_offload_server[id-13a940b6-3474-4c3c-b03f-29b89112bfee,slow] setUpClass (tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON) tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_attach_attached_volume_to_same_server[id-aab919e2-d992-4cbb-a4ed-745c2475398c,negative] tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments[id-7fa563fe-f0f7-43eb-9e22-a1ece036b513] tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_detach_volume_shelved_or_offload_server[id-b54e86dd-a070-49c4-9c07-59ae6dae15aa,slow] tempest.api.compute.volumes.test_attach_volume_negative.AttachVolumeNegativeTest.test_delete_attached_volume[id-a313b5cd-fbd0-49cc-94de-870e99f763c7,negative] tempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume[compute,id-d38285d9-929d-478f-96a5-00e66a115b81] tempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance[compute,id-c1b6318c-b9da-490b-9c67-9339b627271f,image,network,slow,volume] tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_delete_with_volume_in_use[compute,id-8567b54c-4455-446d-a1cf-651ddeaa3ff2] tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestJSON.test_snapshot_create_offline_delete_online[compute,id-5210a1de-85a0-11e6-bb21-641c676a5d61] tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_attach_detach_volume_to_instance[compute,id-fff42874-7db5-4487-a8e1-ddda5fb5288d,smoke] tempest.api.volume.test_volumes_actions.VolumesActionsTest.test_get_volume_attachment[compute,id-9516a2c8-9135-488c-8dd6-5677a7e5f371] tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario[compute,id-bdbb5441-9204-419d-a225-b4fdbfb1a1a8,image,network,volume] ~ Exit code: 1