← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1786683] Re: instance log with vmware fails

 

*** This bug is a duplicate of bug 1752824 ***
    https://bugs.launchpad.net/bugs/1752824

Already fixed (in rocky). I'll propose a backport to stable/queens.

** Tags added: privsep vmware

** This bug has been marked a duplicate of bug 1752824
    VMware: error while get serial console log

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

Title:
  instance log with vmware fails

Status in OpenStack Compute (nova):
  New

Bug description:
  This happens on a fully updated Queens release using Ubuntu's Bionic
  release.

  Basically the vmwareapi/driver.py opens the log-file and passes it to
  nova.privsep.path.last_bytes as argument.

  However, nova.privsep.path.last_bytes expects a path and not a file-
  handle. Thus it throws a TypeError exception.

  
  Changing the vmwareapi/driver.py to call

  ```
  read_log_data, remaining = nova.privsep.path.last_bytes(path, MAX_CONSOLE_BYTES)
  ```
  instead, fixes the issue.

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


References