failed to reach ACTIVE status within the required time during tempest

Bug #1315569 reported by Jerry Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compass
New
Undecided
Compass Team

Bug Description

http://12.234.32.44/logs/compass-bare-daily-allin1/2014-05-02_16-52-37/cobbler_logs/host1.1/

http://12.234.32.44/logs/compass-bare-daily-allin1/2014-05-02_16-52-37/cobbler_logs/host1.1/nova-conductor.log?level=TRACE
http://12.234.32.44/logs/compass-bare-daily-allin1/2014-05-02_16-52-37/cobbler_logs/host1.1/nova-compute.log?level=TRACE

014-05-02 17:50:35.479 |
2014-05-02 17:50:35.479 | ======================================================================
2014-05-02 17:50:35.479 | ERROR: test suite for <class 'tempest.tests.compute.servers.test_server_actions.ServerActionsTestJSON'>
2014-05-02 17:50:35.479 | ----------------------------------------------------------------------
2014-05-02 17:50:35.480 | Traceback (most recent call last):
2014-05-02 17:50:35.480 | File "/usr/lib/python2.6/site-packages/nose/suite.py", line 208, in run
2014-05-02 17:50:35.480 | self.setUp()
2014-05-02 17:50:35.480 | File "/usr/lib/python2.6/site-packages/nose/suite.py", line 291, in setUp
2014-05-02 17:50:35.480 | self.setupContext(ancestor)
2014-05-02 17:50:35.480 | File "/usr/lib/python2.6/site-packages/nose/suite.py", line 314, in setupContext
2014-05-02 17:50:35.480 | try_run(context, names)
2014-05-02 17:50:35.481 | File "/usr/lib/python2.6/site-packages/nose/util.py", line 469, in try_run
2014-05-02 17:50:35.481 | return func()
2014-05-02 17:50:35.481 | File "/tmp/tempest/tempest/tests/compute/servers/test_server_actions.py", line 52, in setUpClass
2014-05-02 17:50:35.481 | cls.rebuild_servers()
2014-05-02 17:50:35.481 | File "/tmp/tempest/tempest/tests/compute/servers/test_server_actions.py", line 260, in rebuild_servers
2014-05-02 17:50:35.481 | resp, server = cls.create_server(wait_until='ACTIVE')
2014-05-02 17:50:35.482 | File "/tmp/tempest/tempest/tests/compute/base.py", line 192, in create_server
2014-05-02 17:50:35.482 | server['id'], kwargs['wait_until'])
2014-05-02 17:50:35.482 | File "/tmp/tempest/tempest/services/compute/json/servers_client.py", line 157, in wait_for_server_status
2014-05-02 17:50:35.482 | raise exceptions.BuildErrorException(server_id=server_id)
2014-05-02 17:50:35.482 | BuildErrorException: Server 408d85c9-d3d2-4f67-867a-8522e00ff9f6 failed to build and is in ERROR status
2014-05-02 17:50:35.482 | -------------------- >> begin captured logging << --------------------
2014-05-02 17:50:35.482 | 2014-05-02 10:31:06,137 Request: DELETE http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,137 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,338 Response Status: 204
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,339 Response Headers: {'date': 'Fri, 02 May 2014 17:31:06 GMT', 'content-length': '0', 'content-type': 'application/json', 'x-compute-request-id': 'req-f2af4440-1e94-4931-9294-4a7e19c3cc58'}
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,339 Request: GET http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,339 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.483 | 2014-05-02 10:31:06,477 Response Status: 200
2014-05-02 17:50:35.484 | 2014-05-02 10:31:06,477 Response Headers: {'content-length': '1831', 'content-location': u'http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a', 'date': 'Fri, 02 May 2014 17:31:06 GMT', 'x-compute-request-id': 'req-a74b234f-3b4f-4693-9045-441e81574a3b', 'content-type': 'application/xml'}
2014-05-02 17:50:35.484 | 2014-05-02 10:31:06,477 Response Body: <?xml version='1.0' encoding='UTF-8'?>
2014-05-02 17:50:35.484 | <server xmlns:OS-DCF="http://docs.openstack.org/compute/ext/disk_config/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-EXT-IPS="http://docs.openstack.org/compute/ext/extended_ips/api/v1.1" xmlns:OS-EXT-STS="http://docs.openstack.org/compute/ext/extended_status/api/v1.1" xmlns:OS-EXT-AZ="http://docs.openstack.org/compute/ext/extended_availability_zone/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" status="ACTIVE" updated="2014-05-02T17:31:06Z" hostId="8a767ed478f70433accd6338ec3caf68b65b912795bd6a90210435eb" name="server708958" created="2014-05-02T17:30:50Z" userId="57004a8b69664fb9a0727cf378e233c7" tenantId="7b83caaffa464960a18f07d2fad14b5a" accessIPv4="1.1.1.1" accessIPv6="::babe:dc0c:1602" progress="0" id="8f3fad4c-2772-447d-baac-3d3d1014f06a" key_name="None" config_drive="" OS-EXT-STS:vm_state="active" OS-EXT-STS:task_state="deleting" OS-EXT-STS:power_state="1" OS-EXT-AZ:availability_zone="nova" OS-DCF:diskConfig="MANUAL"><image id="1a90eece-1f7c-468f-a960-5939a32864de"><atom:link href="http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/images/1a90eece-1f7c-468f-a960-5939a32864de" rel="bookmark"/></image><flavor id="1"><atom:link href="http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/flavors/1" rel="bookmark"/></flavor><metadata><meta key="hello">world</meta></metadata><addresses><network id="private"><ip OS-EXT-IPS:type="fixed" version="4" addr="10.10.0.4"/></network></addresses><atom:link href="http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a" rel="self"/><atom:link href="http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a" rel="bookmark"/><security_groups><security_group name="default"/></security_groups></server>
2014-05-02 17:50:35.484 | 2014-05-02 10:31:21,494 Request: GET http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/8f3fad4c-2772-447d-baac-3d3d1014f06a
2014-05-02 17:50:35.484 | 2014-05-02 10:31:21,494 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.484 | 2014-05-02 10:31:21,539 Response Status: 404
2014-05-02 17:50:35.485 | 2014-05-02 10:31:21,539 Response Headers: {'date': 'Fri, 02 May 2014 17:31:21 GMT', 'content-length': '137', 'content-type': 'application/xml; charset=UTF-8', 'x-compute-request-id': 'req-ab220263-a68f-447c-9ebb-964cf116711c'}
2014-05-02 17:50:35.485 | 2014-05-02 10:31:21,539 Response Body: <itemNotFound code="404" xmlns="http://docs.openstack.org/compute/api/v1.1"><message>Instance could not be found</message></itemNotFound>
2014-05-02 17:50:35.485 | 2014-05-02 10:31:22,002 Request: POST http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers
2014-05-02 17:50:35.485 | 2014-05-02 10:31:22,002 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.485 | 2014-05-02 10:31:22,002 Request Body: {"server": {"flavorRef": 1, "name": "ServerActionsTestJSON-instance523514", "imageRef": "1a90eece-1f7c-468f-a960-5939a32864de"}}
2014-05-02 17:50:35.485 | 2014-05-02 10:31:22,428 Response Status: 202
2014-05-02 17:50:35.485 | 2014-05-02 10:31:22,428 Response Headers: {'content-length': '438', 'location': 'http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6', 'date': 'Fri, 02 May 2014 17:31:22 GMT', 'x-compute-request-id': 'req-e1cef90d-e2d7-42a4-818f-eb422438efc8', 'content-type': 'application/json'}
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,428 Response Body: {"server": {"security_groups": [{"name": "default"}], "OS-DCF:diskConfig": "MANUAL", "id": "408d85c9-d3d2-4f67-867a-8522e00ff9f6", "links": [{"href": "http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "self"}, {"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "bookmark"}], "adminPass": "wYh3vTdhjsWB"}}
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,429 Request: GET http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,429 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,632 Response Status: 200
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,632 Response Headers: {'content-length': '1212', 'content-location': u'http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6', 'date': 'Fri, 02 May 2014 17:31:22 GMT', 'x-compute-request-id': 'req-3be72fb1-e406-4b94-8d18-847a1d61502f', 'content-type': 'application/json'}
2014-05-02 17:50:35.486 | 2014-05-02 10:31:22,632 Response Body: {"server": {"status": "BUILD", "updated": "2014-05-02T17:31:22Z", "hostId": "", "addresses": {}, "links": [{"href": "http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "self"}, {"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "bookmark"}], "key_name": null, "image": {"id": "1a90eece-1f7c-468f-a960-5939a32864de", "links": [{"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/images/1a90eece-1f7c-468f-a960-5939a32864de", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "flavor": {"id": "1", "links": [{"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/flavors/1", "rel": "bookmark"}]}, "id": "408d85c9-d3d2-4f67-867a-8522e00ff9f6", "OS-EXT-AZ:availability_zone": "nova", "user_id": "57004a8b69664fb9a0727cf378e233c7", "name": "ServerActionsTestJSON-instance523514", "created": "2014-05-02T17:31:22Z", "tenant_id": "7b83caaffa464960a18f07d2fad14b5a", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}
2014-05-02 17:50:35.487 | 2014-05-02 10:31:37,649 Request: GET http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6
2014-05-02 17:50:35.487 | 2014-05-02 10:31:37,649 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-05-02 17:50:35.487 | 2014-05-02 10:31:38,230 Response Status: 200
2014-05-02 17:50:35.487 | 2014-05-02 10:31:38,230 Response Headers: {'content-length': '1456', 'content-location': u'http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6', 'date': 'Fri, 02 May 2014 17:31:38 GMT', 'x-compute-request-id': 'req-66f2d1e6-f254-459a-a10a-00900f0fae70', 'content-type': 'application/json'}
2014-05-02 17:50:35.487 | 2014-05-02 10:31:38,230 Response Body: {"server": {"status": "ERROR", "updated": "2014-05-02T17:31:31Z", "hostId": "8a767ed478f70433accd6338ec3caf68b65b912795bd6a90210435eb", "addresses": {"private": [{"version": 4, "addr": "10.10.0.5", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://172.16.0.10:8774/v2/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "self"}, {"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/servers/408d85c9-d3d2-4f67-867a-8522e00ff9f6", "rel": "bookmark"}], "key_name": null, "image": {"id": "1a90eece-1f7c-468f-a960-5939a32864de", "links": [{"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/images/1a90eece-1f7c-468f-a960-5939a32864de", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "flavor": {"id": "1", "links": [{"href": "http://172.16.0.10:8774/7b83caaffa464960a18f07d2fad14b5a/flavors/1", "rel": "bookmark"}]}, "id": "408d85c9-d3d2-4f67-867a-8522e00ff9f6", "security_groups": [{"name": "default"}], "OS-EXT-AZ:availability_zone": "nova", "user_id": "57004a8b69664fb9a0727cf378e233c7", "name": "ServerActionsTestJSON-instance523514", "created": "2014-05-02T17:31:22Z", "tenant_id": "7b83caaffa464960a18f07d2fad14b5a", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "fault": {"message": "QuantumClientException", "code": 500, "created": "2014-05-02T17:31:31Z"}, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}

Jerry Zhao (zhaoxinyu)
Changed in compass:
assignee: nobody → Compass Team (syscompass)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.