yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21518
[Bug 1281351] Re: tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern volume status not available
I'm going to mark as invalid. I think there is a meta bug here which is
the race between Nova and Cinder that gets a bunch of other symptoms,
but we don't have a great reproduce for it.
** Changed in: nova
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1281351
Title:
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern volume
status not available
Status in Cinder:
New
Status in OpenStack Compute (Nova):
Invalid
Status in Tempest:
In Progress
Bug description:
During a run of check-tempest-dsvm-postgres-full
2014-02-17 22:04:31.036 | 2014-02-17 22:03:41,733 Waiting for <Server: scenario-server--1813410115> to get to NotFound status. Currently in ACTIVE status
2014-02-17 22:04:31.036 | 2014-02-17 22:03:41,733 Sleeping for 1 seconds
2014-02-17 22:04:31.036 | 2014-02-17 22:03:42,734
2014-02-17 22:04:31.037 | REQ: curl -i 'http://127.0.0.1:8774/v2/3437c74f89904598a189851959e53779/servers/72361b22-1ea4-49ce-be61-003467145fe5' -X GET -H "X-Auth-Project-Id: TestVolumeBootPattern-1661167687" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIISvQYJKoZIhvcNAQcCoIISrjCCEqoCAQExCTAHBgUrDgMCGjCCERMGCSqGSIb3DQEHAaCCEQQEghEAeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMi0xN1QyMjowMzowOC4yMjQyMTgiLCAiZXhwaXJlcyI6ICIyMDE0LTAyLTE3VDIzOjAzOjA4WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIlRlc3RWb2x1bWVCb290UGF0dGVybi0xNjYxMTY3Njg3LWRlc2MiLCAiZW5hYmxlZCI6IHRydWUsICJpZ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ICJUZXN0Vm9sdW1lQm9vdFBhdHRlcm4tNzU3MTc3MzM1In0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbIjlmZTJmZjllZTQzODRiMTg5NGE5MDg3OGQzZTkyYmFiIiwgIjExNzRjYTc3YjZlYTQ5NjFhYmFkNTdhMTljMGIyZDBiIl19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAhIoiFqFpiKm5OacJofWJSXfIGXwV6jfMqCFIBD7+EtoCFJsefNGiHDUvt6PmruwSKH5o562LdRVy0jwZNcCohS+9LGLlJTq877O6HAA44xOwsKzU4XmSlqqzu1nxDnZM5IL0b9EFIYCGqf9AntO0-Pxy0GbSoz85qkJkouzIoykOnzc-+ZLJy5r08fNlqRcRF3MiNNKtV1C7IfNJYhAx9KsBlrlGgmuouBrKPIxkT9XF4A69e+QoClk2iF-F3ChBOVQwKzNQxFWtWvAuBtanDYdr33q8d1RhWwUR1K652pAUP4dZnyvRNvcgz3D7g96QNmklScAofr71V+9hMnJTBQ=="
2014-02-17 22:04:31.037 |
2014-02-17 22:04:31.037 | 2014-02-17 22:03:42,859 "GET /v2/3437c74f89904598a189851959e53779/servers/72361b22-1ea4-49ce-be61-003467145fe5 HTTP/1.1" 200 1854
2014-02-17 22:04:31.037 | 2014-02-17 22:03:42,860 RESP: [200] CaseInsensitiveDict({'date': 'Mon, 17 Feb 2014 22:03:42 GMT', 'content-length': '1854', 'content-type': 'application/json', 'x-compute-request-id': 'req-e7b6a44b-2a86-4873-bce5-b7dc5a112ea8'})
2014-02-17 22:04:31.037 | RESP BODY: {"server": {"status": "ERROR", "updated": "2014-02-17T22:03:41Z", "hostId": "870084b710a66abc3474d13baedc0694ff8ca8e740d7ddf5fd98b51d", "addresses": {"private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:af:91:07", "version": 4, "addr": "10.1.0.95", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:af:91:07", "version": 4, "addr": "172.24.4.19", "OS-EXT-IPS:type": "floating"}]}, "links": [{"href": "http://127.0.0.1:8774/v2/3437c74f89904598a189851959e53779/servers/72361b22-1ea4-49ce-be61-003467145fe5", "rel": "self"}, {"href": "http://127.0.0.1:8774/3437c74f89904598a189851959e53779/servers/72361b22-1ea4-49ce-be61-003467145fe5", "rel": "bookmark"}], "key_name": "scenario-keypair--1126359914", "image": {"id": "ea50123c-2f7e-445b-a5c7-3d86365237a9", "links": [{"href": "http://127.0.0.1:8774/3437c74f89904598a189851959e53779/images/ea50123c-2f7e-445b-a5c7-3d86365237a9", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "error", "OS-SRV-USG:launched_at": "2014-02-17T22:03:20.000000", "flavor": {"id": "42", "links": [{"href": "http://127.0.0.1:8774/3437c74f89904598a189851959e53779/flavors/42", "rel": "bookmark"}]}, "id": "72361b22-1ea4-49ce-be61-003467145fe5", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "65143ec99ace4201bfc6fa2388bc3a36", "name": "scenario-server--1813410115", "created": "2014-02-17T22:03:12Z", "tenant_id": "3437c74f89904598a189851959e53779", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [{"id": "3488e37a-9921-435c-82cb-624ee27b45a3"}], "accessIPv4": "", "accessIPv6": "", "fault": {"message": "Failed to terminate instance: Error unfiltering instance.", "code": 400, "created": "2014-02-17T22:03:41Z"}, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}
2014-02-17 22:04:31.037 | }}}
2014-02-17 22:04:31.038 |
2014-02-17 22:04:31.038 | Traceback (most recent call last):
2014-02-17 22:04:31.038 | File "tempest/test.py", line 101, in wrapper
2014-02-17 22:04:31.038 | return f(self, *func_args, **func_kwargs)
2014-02-17 22:04:31.038 | File "tempest/scenario/test_volume_boot_pattern.py", line 146, in test_volume_boot_pattern
2014-02-17 22:04:31.038 | self._delete_server(instance_1st)
2014-02-17 22:04:31.038 | File "tempest/scenario/test_volume_boot_pattern.py", line 124, in _delete_server
2014-02-17 22:04:31.038 | self.delete_timeout(self.compute_client.servers, server.id)
2014-02-17 22:04:31.038 | File "tempest/scenario/manager.py", line 367, in delete_timeout
2014-02-17 22:04:31.038 | not_found_exception=not_found_exception)
2014-02-17 22:04:31.038 | File "tempest/scenario/manager.py", line 411, in _status_timeout
2014-02-17 22:04:31.039 | CONF.compute.build_interval):
2014-02-17 22:04:31.039 | File "tempest/test.py", line 575, in call_until_true
2014-02-17 22:04:31.039 | if func():
2014-02-17 22:04:31.039 | File "tempest/scenario/manager.py", line 402, in check_status
2014-02-17 22:04:31.039 | server_id=thing_id)
2014-02-17 22:04:31.039 | BuildErrorException: Server 72361b22-1ea4-49ce-be61-003467145fe5 failed to build and is in ERROR status
2014-02-17 22:04:31.039 | Details: <Server: scenario-server--1813410115> failed to get to expected status. In ERROR state.
2014-02-17 22:04:31.039 |
2014-02-17 22:04:31.039 |
2014-02-17 22:04:31.039 | ======================================================================
2014-02-17 22:04:31.039 | FAIL: tearDownClass (tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern)
2014-02-17 22:04:31.039 | tearDownClass (tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern)
2014-02-17 22:04:31.040 | ----------------------------------------------------------------------
2014-02-17 22:04:31.040 | _StringException: Traceback (most recent call last):
2014-02-17 22:04:31.040 | File "tempest/scenario/manager.py", line 294, in tearDownClass
2014-02-17 22:04:31.040 | thing.delete()
2014-02-17 22:04:31.040 | File "/opt/stack/new/python-cinderclient/cinderclient/v1/volumes.py", line 35, in delete
2014-02-17 22:04:31.040 | self.manager.delete(self)
2014-02-17 22:04:31.040 | File "/opt/stack/new/python-cinderclient/cinderclient/v1/volumes.py", line 228, in delete
2014-02-17 22:04:31.040 | self._delete("/volumes/%s" % base.getid(volume))
2014-02-17 22:04:31.040 | File "/opt/stack/new/python-cinderclient/cinderclient/base.py", line 162, in _delete
2014-02-17 22:04:31.040 | resp, body = self.api.client.delete(url)
2014-02-17 22:04:31.040 | File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 215, in delete
2014-02-17 22:04:31.040 | return self._cs_request(url, 'DELETE', **kwargs)
2014-02-17 22:04:31.041 | File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 173, in _cs_request
2014-02-17 22:04:31.041 | **kwargs)
2014-02-17 22:04:31.041 | File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 156, in request
2014-02-17 22:04:31.041 | raise exceptions.from_response(resp, body)
2014-02-17 22:04:31.041 | BadRequest: Invalid volume: Volume status must be available or error, but current status is: in-use (HTTP 400) (Request-ID: req-5130d2d0-ae88-4267-b200-31cd5adf6297)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1281351/+subscriptions