← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1097931] Re: baremetal pxe driver logs exception from unlink_without_raise

 

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

** Changed in: nova
    Milestone: None => grizzly-3

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

Title:
  baremetal pxe driver logs exception from unlink_without_raise

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  nova/virt/baremetal/pxe.py clears symlinks for the tftp configuration
  files before it creates new ones, but it is logging an exception if
  the symlink being unlinked doesn't exist. The exception is confusing
  since it does not indicate an error, and should not be recorded in the
  log.

  Log:

  2013-01-09 20:28:56 ERROR nova.virt.baremetal.utils [req-dee4f521-5d7d-4ce2-8402-9b7eb684561a demo demo] Failed to unlink /tftpboot/pxelinux.cfg/01-<snip>
  2013-01-09 20:28:56 TRACE nova.virt.baremetal.utils Traceback (most recent call last):
  2013-01-09 20:28:56 TRACE nova.virt.baremetal.utils   File "/opt/stack/nova/nova/virt/baremetal/utils.py", line 45, in unlink_without_raise
  2013-01-09 20:28:56 TRACE nova.virt.baremetal.utils     os.unlink(path)
  2013-01-09 20:28:56 TRACE nova.virt.baremetal.utils OSError: [Errno 2] No such file or directory: '/tftpboot/pxelinux.cfg/01-<snip>'
  2013-01-09 20:28:56 TRACE nova.virt.baremetal.utils

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