python-suds shouldn't be a hard dependency

Bug #744833 reported by Soren Hansen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Josh Kearney

Bug Description

nova.virt.connection has:
from nova.virt import vmwareapi_conn

nova.virt.vmwareapi_conn has:
from nova.virt.vmwareapi import vim

nova.virt.vmwareapi.vim has:
from suds import WebFault

This makes python-suds a hard dependency, even for non-VMWare deployments.

Related branches

Josh Kearney (jk0)
Changed in nova:
status: New → In Progress
assignee: nobody → Josh Kearney (jk0)
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
importance: Low → Medium
Josh Kearney (jk0)
Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Dan Prince (dan-prince) wrote :

I'm still hitting this in nova-trunk:

(nova): TRACE: from nova.virt import vmwareapi_conn
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi_conn.py", line 46, in <module>
(nova): TRACE: from nova.virt.vmwareapi import vim
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi/vim.py", line 49, in <module>
(nova): TRACE: class VIMMessagePlugin(MessagePlugin):
(nova): TRACE: NameError: name 'MessagePlugin' is not defined
(nova): TRACE:

Revision history for this message
Dan Prince (dan-prince) wrote :

Not sure if I should reopen this ticket or not. I'll file a new one.

Revision history for this message
Thierry Carrez (ttx) wrote :

Yep, fix is not sufficient, see bug 746135

Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.