← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257799] Re: tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_with_existing_server_name fail in gate with BuildExceptionError

 

** 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/1257799

Title:
  tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_with_existing_server_name
  fail in gate with BuildExceptionError

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_with_existing_server_name
  fail in gate with BuildExceptionError

  See: http://logs.openstack.org/79/59879/2/gate/gate-tempest-dsvm-
  postgres-full/ceb9759/console.html

  2013-12-04 06:11:28.345 | ======================================================================
  2013-12-04 06:11:28.372 | FAIL: tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_with_existing_server_name[gate]
  2013-12-04 06:11:28.372 | tempest.api.compute.servers.test_servers.ServersTestJSON.test_create_with_existing_server_name[gate]
  2013-12-04 06:11:28.373 | ----------------------------------------------------------------------
  2013-12-04 06:11:28.373 | _StringException: Empty attachments:
  2013-12-04 06:11:28.373 |   stderr
  2013-12-04 06:11:28.374 |   stdout
  2013-12-04 06:11:28.374 | 
  2013-12-04 06:11:28.374 | pythonlogging:'': {{{
  2013-12-04 06:11:28.374 | 2013-12-04 05:54:55,289 Request: POST http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers
  2013-12-04 06:11:28.375 | 2013-12-04 05:54:55,289 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.375 | 2013-12-04 05:54:55,290 Request Body: {"server": {"flavorRef": "42", "name": "server-tempest-2040253626", "imageRef": "465be8b0-dd45-47c5-91d4-efb628aa375e"}}
  2013-12-04 06:11:28.375 | 2013-12-04 05:54:55,594 Response Status: 202
  2013-12-04 06:11:28.376 | 2013-12-04 05:54:55,594 Nova request id: req-57892045-1ed9-4f17-b96e-0babe4bebaf9
  2013-12-04 06:11:28.376 | 2013-12-04 05:54:55,594 Response Headers: {'content-length': '434', 'location': 'http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac', 'date': 'Wed, 04 Dec 2013 05:54:55 GMT', 'content-type': 'application/json', 'connection': 'close'}
  2013-12-04 06:11:28.376 | 2013-12-04 05:54:55,594 Response Body: {"server": {"security_groups": [{"name": "default"}], "OS-DCF:diskConfig": "MANUAL", "id": "3abd4be9-b3dc-4b87-9cf5-f5b597173cac", "links": [{"href": "http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "self"}, {"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "bookmark"}], "adminPass": "3F5iaFVxr8Pi"}}
  2013-12-04 06:11:28.377 | 2013-12-04 05:54:55,594 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac
  2013-12-04 06:11:28.377 | 2013-12-04 05:54:55,594 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.377 | 2013-12-04 05:54:55,706 Response Status: 200
  2013-12-04 06:11:28.378 | 2013-12-04 05:54:55,706 Nova request id: req-85e0828c-baad-432a-b28f-9433b293eb5c
  2013-12-04 06:11:28.378 | 2013-12-04 05:54:55,707 Response Headers: {'content-length': '1347', 'content-location': u'http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac', 'date': 'Wed, 04 Dec 2013 05:54:55 GMT', 'content-type': 'application/json', 'connection': 'close'}
  2013-12-04 06:11:28.378 | 2013-12-04 05:54:55,707 Response Body: {"server": {"status": "BUILD", "updated": "2013-12-04T05:54:55Z", "hostId": "", "addresses": {}, "links": [{"href": "http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "self"}, {"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "bookmark"}], "key_name": null, "image": {"id": "465be8b0-dd45-47c5-91d4-efb628aa375e", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/images/465be8b0-dd45-47c5-91d4-efb628aa375e";, "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-SRV-USG:launched_at": null, "flavor": {"id": "42", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/flavors/42";, "rel": "bookmark"}]}, "id": "3abd4be9-b3dc-4b87-9cf5-f5b597173cac", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "21689027acab4b11ae0885e5cbd26a4b", "name": "server-tempest-2040253626", "created": "2013-12-04T05:54:55Z", "tenant_id": "6ddc4dd2e1bc4683bfb199e225f8c9e9", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 0, "config_drive": "", "metadata": {}}}

  .
  .
  .

  2013-12-04 06:11:28.407 | 2013-12-04 05:55:03,128 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/c74d9399-03a4-4b01-8d5d-b3e4d8a85738
  2013-12-04 06:11:28.408 | 2013-12-04 05:55:03,128 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.408 | 2013-12-04 05:55:03,165 Response Status: 404
  2013-12-04 06:11:28.408 | 2013-12-04 05:55:03,165 Nova request id: req-ca12c9f4-eb0e-435c-8b87-2d233c45e50d
  2013-12-04 06:11:28.409 | 2013-12-04 05:55:03,165 Response Headers: {'content-length': '73', 'date': 'Wed, 04 Dec 2013 05:55:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
  2013-12-04 06:11:28.409 | 2013-12-04 05:55:03,166 Response Body: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
  2013-12-04 06:11:28.409 | 2013-12-04 05:55:03,166 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/6a10c503-5f6e-47ba-ab53-63e9d4a832d1
  2013-12-04 06:11:28.410 | 2013-12-04 05:55:03,166 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.410 | 2013-12-04 05:55:03,200 Response Status: 404
  2013-12-04 06:11:28.410 | 2013-12-04 05:55:03,200 Nova request id: req-4b5b3e9c-29c8-4756-aee6-7b1472facc0c
  2013-12-04 06:11:28.412 | 2013-12-04 05:55:03,201 Response Headers: {'content-length': '73', 'date': 'Wed, 04 Dec 2013 05:55:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
  2013-12-04 06:11:28.413 | 2013-12-04 05:55:03,201 Response Body: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
  2013-12-04 06:11:28.413 | 2013-12-04 05:55:03,201 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac
  2013-12-04 06:11:28.413 | 2013-12-04 05:55:03,201 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.414 | 2013-12-04 05:55:03,255 Response Status: 200
  2013-12-04 06:11:28.414 | 2013-12-04 05:55:03,255 Nova request id: req-774db92f-097e-4e68-b9fd-9c9c529b82a4
  2013-12-04 06:11:28.414 | 2013-12-04 05:55:03,255 Response Headers: {'content-length': '1548', 'content-location': u'http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac', 'date': 'Wed, 04 Dec 2013 05:55:03 GMT', 'content-type': 'application/json', 'connection': 'close'}
  2013-12-04 06:11:28.415 | 2013-12-04 05:55:03,255 Response Body: {"server": {"status": "ACTIVE", "updated": "2013-12-04T05:55:02Z", "hostId": "e4a68f9d27bfc8c32204256adfaeaaa3e3d66e423a343c92803ca667", "addresses": {"private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:74:cc:e5", "version": 4, "addr": "10.1.0.67", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "self"}, {"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "bookmark"}], "key_name": null, "image": {"id": "465be8b0-dd45-47c5-91d4-efb628aa375e", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/images/465be8b0-dd45-47c5-91d4-efb628aa375e";, "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2013-12-04T05:55:00.792553", "flavor": {"id": "42", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/flavors/42";, "rel": "bookmark"}]}, "id": "3abd4be9-b3dc-4b87-9cf5-f5b597173cac", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "21689027acab4b11ae0885e5cbd26a4b", "name": "server-tempest-2040253626", "created": "2013-12-04T05:54:55Z", "tenant_id": "6ddc4dd2e1bc4683bfb199e225f8c9e9", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}
  2013-12-04 06:11:28.415 | 2013-12-04 05:55:04,257 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac
  2013-12-04 06:11:28.415 | 2013-12-04 05:55:04,257 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.416 | 2013-12-04 05:55:04,308 Response Status: 200
  2013-12-04 06:11:28.416 | 2013-12-04 05:55:04,309 Nova request id: req-9b64310b-5e21-43cc-b6cd-516a31c3736f
  2013-12-04 06:11:28.416 | 2013-12-04 05:55:04,309 Response Headers: {'content-length': '1548', 'content-location': u'http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac', 'date': 'Wed, 04 Dec 2013 05:55:04 GMT', 'content-type': 'application/json', 'connection': 'close'}
  2013-12-04 06:11:28.417 | 2013-12-04 05:55:04,309 Response Body: {"server": {"status": "ACTIVE", "updated": "2013-12-04T05:55:02Z", "hostId": "e4a68f9d27bfc8c32204256adfaeaaa3e3d66e423a343c92803ca667", "addresses": {"private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:74:cc:e5", "version": 4, "addr": "10.1.0.67", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "self"}, {"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac";, "rel": "bookmark"}], "key_name": null, "image": {"id": "465be8b0-dd45-47c5-91d4-efb628aa375e", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/images/465be8b0-dd45-47c5-91d4-efb628aa375e";, "rel": "bookmark"}]}, "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2013-12-04T05:55:00.792553", "flavor": {"id": "42", "links": [{"href": "http://127.0.0.1:8774/6ddc4dd2e1bc4683bfb199e225f8c9e9/flavors/42";, "rel": "bookmark"}]}, "id": "3abd4be9-b3dc-4b87-9cf5-f5b597173cac", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "21689027acab4b11ae0885e5cbd26a4b", "name": "server-tempest-2040253626", "created": "2013-12-04T05:54:55Z", "tenant_id": "6ddc4dd2e1bc4683bfb199e225f8c9e9", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}
  2013-12-04 06:11:28.417 | 2013-12-04 05:55:05,310 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/3abd4be9-b3dc-4b87-9cf5-f5b597173cac
  2013-12-04 06:11:28.417 | 2013-12-04 05:55:05,310 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.418 | 2013-12-04 05:55:05,344 Response Status: 404
  2013-12-04 06:11:28.418 | 2013-12-04 05:55:05,344 Nova request id: req-90afdccf-4cb1-4377-a437-bc44035d8926
  2013-12-04 06:11:28.418 | 2013-12-04 05:55:05,344 Response Headers: {'content-length': '73', 'date': 'Wed, 04 Dec 2013 05:55:05 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,344 Response Body: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,345 Request: GET http://127.0.0.1:8774/v2/6ddc4dd2e1bc4683bfb199e225f8c9e9/servers/2fe91f2b-4be0-4890-9696-7f43f8423a24
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,345 Request Headers: {'X-Auth-Token': '<Token omitted>'}
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,384 Response Status: 404
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,385 Nova request id: req-d5e373d6-686c-4d15-8c13-29571c67a8c2
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,385 Response Headers: {'content-length': '73', 'date': 'Wed, 04 Dec 2013 05:55:05 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
  2013-12-04 06:11:28.419 | 2013-12-04 05:55:05,385 Response Body: {"itemNotFound": {"message": "Instance could not be found", "code": 404}}
  2013-12-04 06:11:28.420 | }}}
  2013-12-04 06:11:28.420 | 
  2013-12-04 06:11:28.420 | Traceback (most recent call last):
  2013-12-04 06:11:28.420 |   File "tempest/api/compute/servers/test_servers.py", line 54, in test_create_with_existing_server_name
  2013-12-04 06:11:28.420 |     wait_until='ACTIVE')
  2013-12-04 06:11:28.420 |   File "tempest/api/compute/base.py", line 117, in create_test_server
  2013-12-04 06:11:28.421 |     server['id'], kwargs['wait_until'])
  2013-12-04 06:11:28.421 |   File "tempest/services/compute/json/servers_client.py", line 160, in wait_for_server_status
  2013-12-04 06:11:28.421 |     extra_timeout=extra_timeout)
  2013-12-04 06:11:28.421 |   File "tempest/common/waiters.py", line 73, in wait_for_server_status
  2013-12-04 06:11:28.421 |     raise exceptions.BuildErrorException(server_id=server_id)
  2013-12-04 06:11:28.421 | BuildErrorException: Server 2fe91f2b-4be0-4890-9696-7f43f8423a24 failed to build and is in ERROR status

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1257799/+subscriptions


References