← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1352595] [NEW] nova boot fails when using rbd backend

 

Public bug reported:

Trace ends with:

TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3]  File "/opt/stack/nova/nova/virt/libvirt/rbd.py", line 238, in exists
TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3]     except rbd.ImageNotFound:
TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3] AttributeError: 'module' object has no attribute 'ImageNotFound'

It looks like the above module tries to do a "import rbd" and ends up
importing itself again instead of the global library module.

A quick fix would be renaming the file to rbd2.py and changing the
references in driver.py and imagebackend.py, but maybe there is a better
solution?

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova boot fails when using rbd backend

Status in OpenStack Compute (Nova):
  New

Bug description:
  Trace ends with:

  TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3]  File "/opt/stack/nova/nova/virt/libvirt/rbd.py", line 238, in exists
  TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3]     except rbd.ImageNotFound:
  TRACE nova.compute.manager [instance: c1edd5bf-ba48-4374-880f-1f5fa2f41cd3] AttributeError: 'module' object has no attribute 'ImageNotFound'

  It looks like the above module tries to do a "import rbd" and ends up
  importing itself again instead of the global library module.

  A quick fix would be renaming the file to rbd2.py and changing the
  references in driver.py and imagebackend.py, but maybe there is a
  better solution?

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


Follow ups

References