Cells: tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_rebuild_server_with_manual_disk_config

Bug #1445629 reported by Andrew Laski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Low
Unassigned

Bug Description

Tempest failure has been seen due to various failures in the tests. It's failed on 'MANUAL' != 'AUTO' in an assert, and occasionally the 500 error as seen below.

2015-04-17 15:52:46.992 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_rebuild_server_with_manual_disk_config[gate,id-bef56b09-2e8c-4883-a370-4950812f430e]
2015-04-17 15:52:46.992 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------
2015-04-17 15:52:46.992 |
2015-04-17 15:52:46.992 | Captured traceback:
2015-04-17 15:52:46.993 | ~~~~~~~~~~~~~~~~~~~
2015-04-17 15:52:46.993 | Traceback (most recent call last):
2015-04-17 15:52:46.993 | File "tempest/api/compute/servers/test_disk_config.py", line 62, in test_rebuild_server_with_manual_disk_config
2015-04-17 15:52:46.993 | disk_config='MANUAL')
2015-04-17 15:52:46.993 | File "tempest/services/compute/json/servers_client.py", line 286, in rebuild
2015-04-17 15:52:46.993 | rebuild_schema, **kwargs)
2015-04-17 15:52:46.993 | File "tempest/services/compute/json/servers_client.py", line 223, in action
2015-04-17 15:52:46.993 | post_body)
2015-04-17 15:52:46.993 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 252, in post
2015-04-17 15:52:46.993 | return self.request('POST', url, extra_headers, headers, body)
2015-04-17 15:52:46.993 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 629, in request
2015-04-17 15:52:46.994 | resp, resp_body)
2015-04-17 15:52:46.994 | File "/opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 734, in _error_checker
2015-04-17 15:52:46.994 | raise exceptions.ServerFault(message)
2015-04-17 15:52:46.994 | tempest_lib.exceptions.ServerFault: Got server fault
2015-04-17 15:52:46.994 | Details: The server has either erred or is incapable of performing the requested operation.
2015-04-17 15:52:46.994 |
2015-04-17 15:52:46.994 |
2015-04-17 15:52:46.994 | Captured pythonlogging:
2015-04-17 15:52:46.994 | ~~~~~~~~~~~~~~~~~~~~~~~
2015-04-17 15:52:46.994 | 2015-04-17 15:41:20,649 22297 INFO [tempest_lib.common.rest_client] Request (ServerDiskConfigTestJSON:test_rebuild_server_with_manual_disk_config): 200 GET http://127.0.0.1:8774/v2/122b3703a169473b95c2df822ab3b445/servers/64384837-aeed-4716-8b70-e352969dc70e 0.093s
2015-04-17 15:52:46.994 | 2015-04-17 15:41:20,649 22297 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2015-04-17 15:52:46.994 | Body: None
2015-04-17 15:52:46.995 | Response - Headers: {'date': 'Fri, 17 Apr 2015 15:41:20 GMT', 'content-location': 'http://127.0.0.1:8774/v2/122b3703a169473b95c2df822ab3b445/servers/64384837-aeed-4716-8b70-e352969dc70e', 'content-length': '1561', 'connection': 'close', 'content-type': 'application/json', 'x-compute-request-id': 'req-d4ffd48d-d352-43a0-93f2-69aaac4b15cc', 'status': '200'}
2015-04-17 15:52:46.995 | Body: {"server": {"status": "ACTIVE", "updated": "2015-04-17T15:41:19Z", "hostId": "76f5dd41c013d68299b15e024f385c17e44224a89fec40092bc453a1", "addresses": {"private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:fc:d9:ec", "version": 4, "addr": "10.1.0.3", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://127.0.0.1:8774/v2/122b3703a169473b95c2df822ab3b445/servers/64384837-aeed-4716-8b70-e352969dc70e", "rel": "self"}, {"href": "http://127.0.0.1:8774/122b3703a169473b95c2df822ab3b445/servers/64384837-aeed-4716-8b70-e352969dc70e", "rel": "bookmark"}], "key_name": null, "image": {"id": "c119e569-3af7-41c9-a5da-6bab97b7c508", "links": [{"href": "http://127.0.0.1:8774/122b3703a169473b95c2df822ab3b445/images/c119e569-3af7-41c9-a5da-6bab97b7c508", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2015-04-17T15:41:17.000000", "flavor": {"id": "42", "links": [{"href": "http://127.0.0.1:8774/122b3703a169473b95c2df822ab3b445/flavors/42", "rel": "bookmark"}]}, "id": "64384837-aeed-4716-8b70-e352969dc70e", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "0cbc6e298f524a5d85f68992d71ffa33", "name": "ServerDiskConfigTestJSON-instance-905081337", "created": "2015-04-17T15:41:10Z", "tenant_id": "122b3703a169473b95c2df822ab3b445", "OS-DCF:diskConfig": "AUTO", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "True", "metadata": {}}}
2015-04-17 15:52:46.995 | 2015-04-17 15:41:21,776 22297 INFO [tempest_lib.common.rest_client] Request (ServerDiskConfigTestJSON:test_rebuild_server_with_manual_disk_config): 500 POST http://127.0.0.1:8774/v2/122b3703a169473b95c2df822ab3b445/servers/64384837-aeed-4716-8b70-e352969dc70e/action 1.094s
2015-04-17 15:52:46.995 | 2015-04-17 15:41:21,776 22297 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2015-04-17 15:52:46.995 | Body: {"rebuild": {"OS-DCF:diskConfig": "MANUAL", "imageRef": "c119e569-3af7-41c9-a5da-6bab97b7c508"}}
2015-04-17 15:52:46.995 | Response - Headers: {'date': 'Fri, 17 Apr 2015 15:41:21 GMT', 'content-length': '128', 'connection': 'close', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-6bdd300b-db96-4c0b-bd8a-13f3a648f80e', 'status': '500'}
2015-04-17 15:52:46.995 | Body: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}

Tags: cells
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: cells
Revision history for this message
Andrew Laski (alaski) wrote :

There's not enough data here to debug, and the test is no longer running to get additional data. The likelihood of fixing this seems low right now since effort is on cells v2.

Changed in nova:
status: Confirmed → Triaged
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/287830
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=83c1fa6c03a61580212241d566b4bc04c29fe776
Submitter: Jenkins
Branch: master

commit 83c1fa6c03a61580212241d566b4bc04c29fe776
Author: Matt Riedemann <email address hidden>
Date: Thu Mar 3 09:29:30 2016 -0500

    Enable rebuild tests in cellsv1 job

    Change 022802997c10fc4ed56b1e1875cd7ccb16cc0688 fixed evacuate/rebuild
    in the cells API so enable the rebuild-related tests we were skipping
    before.

    Related-Bug: #1445629
    Related-Bug: #1445631
    Related-Bug: #1552046

    Change-Id: I15f867d8c6ff280bc68a6abf8b0da6e970c2bb39

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.