yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21461
[Bug 1258856] Re: tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_stop_start_server fails with quota error
** 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/1258856
Title:
tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_stop_start_server
fails with quota error
Status in OpenStack Compute (Nova):
Invalid
Bug description:
See: http://logs.openstack.org/10/56710/10/check/check-tempest-dsvm-
full/187705b/console.html.gz
2013-12-07 01:35:54.908 | ======================================================================
2013-12-07 01:35:54.909 | FAIL: tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_stop_start_server[gate]
2013-12-07 01:35:54.909 | tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_stop_start_server[gate]
2013-12-07 01:35:54.909 | ----------------------------------------------------------------------
2013-12-07 01:35:54.909 | _StringException: Empty attachments:
2013-12-07 01:35:54.909 | stderr
2013-12-07 01:35:54.909 | stdout
2013-12-07 01:35:54.910 |
2013-12-07 01:35:54.910 | pythonlogging:'': {{{
2013-12-07 01:35:54.910 | 2013-12-07 01:15:59,684 Request: GET http://127.0.0.1:8774/v2/04d6f70250e94a5e94e506386812bba3/servers/562fe7bb-f952-4cc3-af24-5d612dc3f022
2013-12-07 01:35:54.910 | 2013-12-07 01:15:59,685 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2013-12-07 01:35:54.910 | 2013-12-07 01:15:59,745 Response Status: 404
2013-12-07 01:35:54.910 | 2013-12-07 01:15:59,745 Nova request id: req-ee502842-f694-4b3f-b696-0b0d1a2ce925
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,745 Response Headers: {'content-length': '137', 'date': 'Sat, 07 Dec 2013 01:15:59 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,746 Response Body: <itemNotFound code="404" xmlns="http://docs.openstack.org/compute/api/v1.1"><message>Instance could not be found</message></itemNotFound>
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,746 Request: DELETE http://127.0.0.1:8774/v2/04d6f70250e94a5e94e506386812bba3/servers/562fe7bb-f952-4cc3-af24-5d612dc3f022
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,746 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,801 Response Status: 404
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,802 Nova request id: req-703c4944-902f-4a14-a27c-0ae724ce66b1
2013-12-07 01:35:54.911 | 2013-12-07 01:15:59,802 Response Headers: {'content-length': '73', 'date': 'Sat, 07 Dec 2013 01:15:59 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59,802 Response Body: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59,803 Object not found
2013-12-07 01:35:54.912 | Details: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base Traceback (most recent call last):
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base File "tempest/api/compute/base.py", line 188, in rebuild_server
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base cls.servers_client.delete_server(server_id)
2013-12-07 01:35:54.912 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base File "tempest/services/compute/xml/servers_client.py", line 238, in delete_server
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base return self.delete("servers/%s" % str(server_id))
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base File "tempest/common/rest_client.py", line 308, in delete
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base return self.request('DELETE', url, headers)
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base File "tempest/common/rest_client.py", line 436, in request
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base resp, resp_body)
2013-12-07 01:35:54.913 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base File "tempest/common/rest_client.py", line 481, in _error_checker
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base raise exceptions.NotFound(resp_body)
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base NotFound: Object not found
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base Details: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59.803 5212 TRACE tempest.api.compute.base
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59,803 Request: POST http://127.0.0.1:8774/v2/04d6f70250e94a5e94e506386812bba3/servers
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59,804 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2013-12-07 01:35:54.914 | 2013-12-07 01:15:59,804 Request Body: <?xml version="1.0" encoding="UTF-8"?>
2013-12-07 01:35:54.915 | <server flavorRef="42" xmlns="http://docs.openstack.org/compute/api/v1.1" name="ServerActionsTestXML-instance-tempest-1497396172" imageRef="1a8d729f-d69f-4e0e-a397-8eedec6ead97"/>
2013-12-07 01:35:54.915 | 2013-12-07 01:16:00,352 Response Status: 413
2013-12-07 01:35:54.915 | 2013-12-07 01:16:00,353 Nova request id: req-16cf0042-316c-43b4-9914-d68056410a83
2013-12-07 01:35:54.915 | 2013-12-07 01:16:00,353 Response Headers: {'retry-after': '0', 'content-length': '208', 'date': 'Sat, 07 Dec 2013 01:16:00 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2013-12-07 01:35:54.915 | 2013-12-07 01:16:00,353 Response Body: <overLimit code="413" xmlns="http://docs.openstack.org/compute/api/v1.1"><message>Quota exceeded for instances: Requested 1, but already used 10 of 10 instances</message><retryAfter>0</retryAfter></overLimit>
2013-12-07 01:35:54.915 | }}}
2013-12-07 01:35:54.916 |
2013-12-07 01:35:54.916 | Traceback (most recent call last):
2013-12-07 01:35:54.916 | File "tempest/api/compute/servers/test_server_actions.py", line 48, in setUp
2013-12-07 01:35:54.916 | self.server_id = self.rebuild_server(self.server_id)
2013-12-07 01:35:54.916 | File "tempest/api/compute/base.py", line 193, in rebuild_server
2013-12-07 01:35:54.916 | resp, server = cls.create_test_server(wait_until='ACTIVE', **kwargs)
2013-12-07 01:35:54.916 | File "tempest/api/compute/base.py", line 103, in create_test_server
2013-12-07 01:35:54.917 | name, image_id, flavor, **kwargs)
2013-12-07 01:35:54.917 | File "tempest/services/compute/xml/servers_client.py", line 362, in create_server
2013-12-07 01:35:54.917 | resp, body = self.post('servers', str(Document(server)), self.headers)
2013-12-07 01:35:54.917 | File "tempest/common/rest_client.py", line 302, in post
2013-12-07 01:35:54.917 | return self.request('POST', url, headers, body)
2013-12-07 01:35:54.917 | File "tempest/common/rest_client.py", line 436, in request
2013-12-07 01:35:54.918 | resp, resp_body)
2013-12-07 01:35:54.918 | File "tempest/common/rest_client.py", line 497, in _error_checker
2013-12-07 01:35:54.918 | raise exceptions.OverLimit(resp_body)
2013-12-07 01:35:54.918 | OverLimit: Quota exceeded
2013-12-07 01:35:54.918 | Details: {'message': 'Quota exceeded for instances: Requested 1, but already used 10 of 10 instances', 'code': '413', 'retryAfter': '0'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1258856/+subscriptions
References