← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1537629] Re: No HTTPBadRequest(400) error will be raised from get_console_output.

 

Reviewed:  https://review.openstack.org/270685
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=56773f04c70760f137b5270d56da927159fde698
Submitter: Jenkins
Branch:    master

commit 56773f04c70760f137b5270d56da927159fde698
Author: Eli Qiao <liyong.qiao@xxxxxxxxx>
Date:   Thu Jan 21 17:19:54 2016 +0800

    API: Remove unexpected from errors get_console_output
    
    No HTTPBadRequest(400) error will be raised from get_console_output.
    
    Closes-Bug: #1537629
    Change-Id: I5c652697ac0e7ccdb6af33a35074e26fb3f3891f


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

Title:
  No HTTPBadRequest(400) error will be raised from get_console_output.

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  No HTTPBadRequest(400) error will be raised from get_console_output.

      @extensions.expected_errors((400, 404, 409, 501))
      @wsgi.action('os-getConsoleOutput')
      @validation.schema(console_output.get_console_output)
      def get_console_output(self, req, id, body):

  extensions.expected_errors should contain all errors which would be raised from the function which is decorated,
  but there is no 400 error come out from the body of get_console_output()

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


References