← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1165262] Re: LOG is not defined in nova-baremetal-deploy-helper

 

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

** Changed in: nova
    Milestone: None => havana-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/1165262

Title:
  LOG is not defined in nova-baremetal-deploy-helper

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Since LOG is defined locally in main(), cannot use it from the other
  part in the module.

  Traceback (most recent call last):
    File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
      self.result = application(self.environ, self.start_response)
    File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 262, in __call__
      return self.post(environ, start_response)
    File "/opt/stack/nova/nova/cmd/baremetal_deploy_helper.py", line 269, in post
      LOG.info("post: environ=%s", environ)
  NameError: global name 'LOG' is not defined

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