← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1514320] Re: Unexpected API Error: hypervisor-uptime

 

Reviewed:  https://review.openstack.org/289868
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7b272b3edb13c7bdf8dffedc420594602e48c58d
Submitter: Jenkins
Branch:    master

commit 7b272b3edb13c7bdf8dffedc420594602e48c58d
Author: Madhuri Kumari <madhuri.kumari@xxxxxxxxx>
Date:   Tue Mar 8 16:55:11 2016 +0530

    Fix API Error on hypervisor-uptime API
    
    This patch fixes HTTP 500 error response when running
    uptime on a down hypervisor.
    
    Change-Id: I84bfde4e494daf1c87ef79a758612b5f2fd15e5e
    Closes-Bug: #1514320


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  Unexpected API Error: hypervisor-uptime

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  1. Nova version:
  $ git log -1
  commit 74509a7dc7023e70cc398048c764877c81dc6ec2
  Merge: cab9eb1 32246da
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Thu Nov 5 21:18:46 2015 +0000

      Merge "hacking check for contextlib.nested for py34 support"

  2. Relevant log: 
  http://paste.openstack.org/show/478287/

  3. Reproduce steps:

  Hypervisor state should be enabled and down.
  Run 'nova hypervisor-uptime <hypervisor-name>'

  Actual result:
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.ComputeServiceUnavailable'> (HTTP 500) (Request-ID: req-7258e6ae-458c-4c5e-821b-f8a56dfefdc6)

  Expected result:
  May be status 400 stating that hypervisor state is down.

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


References