← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1309733] [NEW] VMWARE: os-hypervisors api call returning invalid response

 

Public bug reported:

Following tempest test failed:
tempest.api.compute.admin.test_hypervisor.HypervisorAdminTestJSON.test_get_hypervisor_show_details

Error:
ft115.3: tempest.api.compute.admin.test_hypervisor.HypervisorAdminTestJSON.test_get_hypervisor_show_details[gate]_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-04-18 12:09:28,673 Request (HypervisorAdminTestJSON:test_get_hypervisor_show_details): 200 GET http://172.30.0.3:8774/v2/1f6893bb24904ef0a9a90ed9fef9d86c/os-hypervisors 0.013s
2014-04-18 12:09:28,715 Request (HypervisorAdminTestJSON:test_get_hypervisor_show_details): 200 GET http://172.30.0.3:8774/v2/1f6893bb24904ef0a9a90ed9fef9d86c/os-hypervisors/1 0.038s
}}}

Traceback (most recent call last):
  File "tempest/api/compute/admin/test_hypervisor.py", line 60, in test_get_hypervisor_show_details
    get_hypervisor_show_details(hypers[0]['id']))
  File "tempest/services/compute/json/hypervisor_client.py", line 53, in get_hypervisor_show_details
    resp, body)
  File "tempest/common/rest_client.py", line 602, in validate_response
    raise exceptions.InvalidHTTPResponseBody(msg)
InvalidHTTPResponseBody: HTTP response body is invalid json or xml
Details: HTTP response body is invalid (None is not of type 'integer'

Failed validating 'type' in schema['properties']['hypervisor']['properties']['disk_available_least']:
    {'type': 'integer'}

On instance['hypervisor']['disk_available_least']:
    None)

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

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

Title:
  VMWARE: os-hypervisors api call returning invalid response

Status in OpenStack Compute (Nova):
  New

Bug description:
  Following tempest test failed:
  tempest.api.compute.admin.test_hypervisor.HypervisorAdminTestJSON.test_get_hypervisor_show_details

  Error:
  ft115.3: tempest.api.compute.admin.test_hypervisor.HypervisorAdminTestJSON.test_get_hypervisor_show_details[gate]_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2014-04-18 12:09:28,673 Request (HypervisorAdminTestJSON:test_get_hypervisor_show_details): 200 GET http://172.30.0.3:8774/v2/1f6893bb24904ef0a9a90ed9fef9d86c/os-hypervisors 0.013s
  2014-04-18 12:09:28,715 Request (HypervisorAdminTestJSON:test_get_hypervisor_show_details): 200 GET http://172.30.0.3:8774/v2/1f6893bb24904ef0a9a90ed9fef9d86c/os-hypervisors/1 0.038s
  }}}

  Traceback (most recent call last):
    File "tempest/api/compute/admin/test_hypervisor.py", line 60, in test_get_hypervisor_show_details
      get_hypervisor_show_details(hypers[0]['id']))
    File "tempest/services/compute/json/hypervisor_client.py", line 53, in get_hypervisor_show_details
      resp, body)
    File "tempest/common/rest_client.py", line 602, in validate_response
      raise exceptions.InvalidHTTPResponseBody(msg)
  InvalidHTTPResponseBody: HTTP response body is invalid json or xml
  Details: HTTP response body is invalid (None is not of type 'integer'

  Failed validating 'type' in schema['properties']['hypervisor']['properties']['disk_available_least']:
      {'type': 'integer'}

  On instance['hypervisor']['disk_available_least']:
      None)

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


Follow ups

References