← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1153414] Re: vfs/guestfs raising TypeErrors

 

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

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

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

Title:
  vfs/guestfs raising TypeErrors

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Using the latest Nova grizzly codebase (git 81e2eef).

  When booting incompatible images (with no or multiple filestystems,
  etc) I'm seeing the following exception in nova compute.log:

  2013-03-10 21:20:14.203 ERROR nova.compute.manager
  [req-64973210-d381-4e52-883a-f792ab74fa10
  88e044e56439427398f73938b9b75b29 c03bc5e9ec164a49bf39ecfbded6f056]
  [instance: ee4ac819-1718-4e0d-8755-1a8f93784b97] Error: ['Traceback
  (most recent call last):\n', '  File "/usr/lib/python2.7/site-
  packages/nova/compute/manager.py", line 788, in _run_instance\n
  injected_files, admin_password)\n', '  File "/usr/lib/python2.7/site-
  packages/nova/compute/manager.py", line 1064, in _spawn\n
  block_device_info)\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/libvirt/driver.py", line 1515, in spawn\n
  admin_pass=admin_password)\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/libvirt/driver.py", line 1893, in _create_image\n
  mandatory=(\'files\',))\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/disk/api.py", line 304, in inject_data\n
  fs.setup()\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/disk/vfs/guestfs.py", line 106, in setup\n
  self.setup_os()\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/disk/vfs/guestfs.py", line 50, in setup_os\n
  self.setup_os_inspect()\n', '  File "/usr/lib/python2.7/site-
  packages/nova/virt/disk/vfs/guestfs.py", line 69, in
  setup_os_inspect\n    self.imgfile)\n', 'TypeError: __init__() takes
  at most 2 arguments (3 given)\n']

  It looks like we have some incorrectly formatted NovaException's in
  the code there.

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