← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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()

** Affects: nova
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Eli Qiao (taget-9)

-- 
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):
  In Progress

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


Follow ups