← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331492] [NEW] tempest failure with "The server could not comply with the request since it is either malformed or otherwise incorrect."

 

Public bug reported:

tempest failure in
tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_update_server_from_auto_to_manual[gate]
with followed log:

2014-06-18 03:12:25.984 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_update_server_from_auto_to_manual[gate]
2014-06-18 03:12:25.984 | -----------------------------------------------------------------------------------------------------------------
2014-06-18 03:12:25.984 | 
2014-06-18 03:12:25.984 | Captured traceback:
2014-06-18 03:12:25.984 | ~~~~~~~~~~~~~~~~~~~
2014-06-18 03:12:25.984 |     Traceback (most recent call last):
2014-06-18 03:12:25.984 |       File "tempest/api/compute/servers/test_disk_config.py", line 130, in test_update_server_from_auto_to_manual
2014-06-18 03:12:25.984 |         self.client.wait_for_server_status(server['id'], 'ACTIVE')
2014-06-18 03:12:25.984 |       File "tempest/services/compute/xml/servers_client.py", line 390, in wait_for_server_status
2014-06-18 03:12:25.985 |         raise_on_error=raise_on_error)
2014-06-18 03:12:25.985 |       File "tempest/common/waiters.py", line 86, in wait_for_server_status
2014-06-18 03:12:25.985 |         _console_dump(client, server_id)
2014-06-18 03:12:25.985 |       File "tempest/common/waiters.py", line 27, in _console_dump
2014-06-18 03:12:25.985 |         resp, output = client.get_console_output(server_id, None)
2014-06-18 03:12:25.985 |       File "tempest/services/compute/xml/servers_client.py", line 598, in get_console_output
2014-06-18 03:12:25.985 |         length=length)
2014-06-18 03:12:25.985 |       File "tempest/services/compute/xml/servers_client.py", line 441, in action
2014-06-18 03:12:25.985 |         resp, body = self.post("servers/%s/action" % server_id, str(doc))
2014-06-18 03:12:25.985 |       File "tempest/common/rest_client.py", line 217, in post
2014-06-18 03:12:25.985 |         return self.request('POST', url, extra_headers, headers, body)
2014-06-18 03:12:25.986 |       File "tempest/common/rest_client.py", line 427, in request
2014-06-18 03:12:25.986 |         resp, resp_body)
2014-06-18 03:12:25.986 |       File "tempest/common/rest_client.py", line 476, in _error_checker
2014-06-18 03:12:25.986 |         raise exceptions.BadRequest(resp_body)
2014-06-18 03:12:26.003 |     BadRequest: Bad request
2014-06-18 03:12:26.003 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}

And also:


2014-06-18 03:12:25.967 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_resize_server_from_manual_to_auto[gate]
2014-06-18 03:12:25.967 | -----------------------------------------------------------------------------------------------------------------
2014-06-18 03:12:25.967 | 
2014-06-18 03:12:25.967 | Captured traceback:
2014-06-18 03:12:25.967 | ~~~~~~~~~~~~~~~~~~~
2014-06-18 03:12:25.967 |     Traceback (most recent call last):
2014-06-18 03:12:25.968 |       File "tempest/api/compute/servers/test_disk_config.py", line 99, in test_resize_server_from_manual_to_auto
2014-06-18 03:12:25.968 |         self.client.wait_for_server_status(self.server_id, 'ACTIVE')
2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 390, in wait_for_server_status
2014-06-18 03:12:25.968 |         raise_on_error=raise_on_error)
2014-06-18 03:12:25.968 |       File "tempest/common/waiters.py", line 86, in wait_for_server_status
2014-06-18 03:12:25.968 |         _console_dump(client, server_id)
2014-06-18 03:12:25.968 |       File "tempest/common/waiters.py", line 27, in _console_dump
2014-06-18 03:12:25.968 |         resp, output = client.get_console_output(server_id, None)
2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 598, in get_console_output
2014-06-18 03:12:25.968 |         length=length)
2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 441, in action
2014-06-18 03:12:25.968 |         resp, body = self.post("servers/%s/action" % server_id, str(doc))
2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 217, in post
2014-06-18 03:12:25.969 |         return self.request('POST', url, extra_headers, headers, body)
2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 427, in request
2014-06-18 03:12:25.969 |         resp, resp_body)
2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 476, in _error_checker
2014-06-18 03:12:25.969 |         raise exceptions.BadRequest(resp_body)
2014-06-18 03:12:25.969 |     BadRequest: Bad request
2014-06-18 03:12:25.969 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}
2014-06-18 03:12:25.969 |     


As in http://logs.openstack.org/32/69732/8/gate/gate-tempest-dsvm-full/97ab040/console.html

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1331492

Title:
  tempest failure with "The server could not comply with the request
  since it is either malformed or otherwise incorrect."

Status in OpenStack Compute (Nova):
  New

Bug description:
  tempest failure in
  tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_update_server_from_auto_to_manual[gate]
  with followed log:

  2014-06-18 03:12:25.984 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_update_server_from_auto_to_manual[gate]
  2014-06-18 03:12:25.984 | -----------------------------------------------------------------------------------------------------------------
  2014-06-18 03:12:25.984 | 
  2014-06-18 03:12:25.984 | Captured traceback:
  2014-06-18 03:12:25.984 | ~~~~~~~~~~~~~~~~~~~
  2014-06-18 03:12:25.984 |     Traceback (most recent call last):
  2014-06-18 03:12:25.984 |       File "tempest/api/compute/servers/test_disk_config.py", line 130, in test_update_server_from_auto_to_manual
  2014-06-18 03:12:25.984 |         self.client.wait_for_server_status(server['id'], 'ACTIVE')
  2014-06-18 03:12:25.984 |       File "tempest/services/compute/xml/servers_client.py", line 390, in wait_for_server_status
  2014-06-18 03:12:25.985 |         raise_on_error=raise_on_error)
  2014-06-18 03:12:25.985 |       File "tempest/common/waiters.py", line 86, in wait_for_server_status
  2014-06-18 03:12:25.985 |         _console_dump(client, server_id)
  2014-06-18 03:12:25.985 |       File "tempest/common/waiters.py", line 27, in _console_dump
  2014-06-18 03:12:25.985 |         resp, output = client.get_console_output(server_id, None)
  2014-06-18 03:12:25.985 |       File "tempest/services/compute/xml/servers_client.py", line 598, in get_console_output
  2014-06-18 03:12:25.985 |         length=length)
  2014-06-18 03:12:25.985 |       File "tempest/services/compute/xml/servers_client.py", line 441, in action
  2014-06-18 03:12:25.985 |         resp, body = self.post("servers/%s/action" % server_id, str(doc))
  2014-06-18 03:12:25.985 |       File "tempest/common/rest_client.py", line 217, in post
  2014-06-18 03:12:25.985 |         return self.request('POST', url, extra_headers, headers, body)
  2014-06-18 03:12:25.986 |       File "tempest/common/rest_client.py", line 427, in request
  2014-06-18 03:12:25.986 |         resp, resp_body)
  2014-06-18 03:12:25.986 |       File "tempest/common/rest_client.py", line 476, in _error_checker
  2014-06-18 03:12:25.986 |         raise exceptions.BadRequest(resp_body)
  2014-06-18 03:12:26.003 |     BadRequest: Bad request
  2014-06-18 03:12:26.003 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}

  And also:

  
  2014-06-18 03:12:25.967 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_resize_server_from_manual_to_auto[gate]
  2014-06-18 03:12:25.967 | -----------------------------------------------------------------------------------------------------------------
  2014-06-18 03:12:25.967 | 
  2014-06-18 03:12:25.967 | Captured traceback:
  2014-06-18 03:12:25.967 | ~~~~~~~~~~~~~~~~~~~
  2014-06-18 03:12:25.967 |     Traceback (most recent call last):
  2014-06-18 03:12:25.968 |       File "tempest/api/compute/servers/test_disk_config.py", line 99, in test_resize_server_from_manual_to_auto
  2014-06-18 03:12:25.968 |         self.client.wait_for_server_status(self.server_id, 'ACTIVE')
  2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 390, in wait_for_server_status
  2014-06-18 03:12:25.968 |         raise_on_error=raise_on_error)
  2014-06-18 03:12:25.968 |       File "tempest/common/waiters.py", line 86, in wait_for_server_status
  2014-06-18 03:12:25.968 |         _console_dump(client, server_id)
  2014-06-18 03:12:25.968 |       File "tempest/common/waiters.py", line 27, in _console_dump
  2014-06-18 03:12:25.968 |         resp, output = client.get_console_output(server_id, None)
  2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 598, in get_console_output
  2014-06-18 03:12:25.968 |         length=length)
  2014-06-18 03:12:25.968 |       File "tempest/services/compute/xml/servers_client.py", line 441, in action
  2014-06-18 03:12:25.968 |         resp, body = self.post("servers/%s/action" % server_id, str(doc))
  2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 217, in post
  2014-06-18 03:12:25.969 |         return self.request('POST', url, extra_headers, headers, body)
  2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 427, in request
  2014-06-18 03:12:25.969 |         resp, resp_body)
  2014-06-18 03:12:25.969 |       File "tempest/common/rest_client.py", line 476, in _error_checker
  2014-06-18 03:12:25.969 |         raise exceptions.BadRequest(resp_body)
  2014-06-18 03:12:25.969 |     BadRequest: Bad request
  2014-06-18 03:12:25.969 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}
  2014-06-18 03:12:25.969 |     

  
  As in http://logs.openstack.org/32/69732/8/gate/gate-tempest-dsvm-full/97ab040/console.html

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


Follow ups

References