← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1295426] Re: "get console output" v3 API should allow -1 as the length

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

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

Title:
  "get console output" v3 API should allow -1 as the length

Status in OpenStack Compute (Nova):
  Fix Released
Status in Python client library for Nova:
  Fix Committed

Bug description:
  If running "nova console-log" command against v3 API, the command
  fails like the following:

  $ nova --os-compute-api-version 3 console-log vm01
  ERROR: Invalid input for field/attribute length. Value: None. None is not of type 'integer', 'string' (HTTP 400) (Request-ID: req-b8588c9b-58a7-4e22-a2e9-30c5354ae4f7)
  $

  This is because API schema of the API does not allow null as the length of log. The other APIs(quota, etc) considers -1 as an unlimited value.
  So it would be nice that "get console output" API also considers -1 as the
  unlimited length for API consistency.

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


References