from xml.dom import minidom
from xml.parsers import expat
-from cinder.api.openstack import extensions
+from cinder.api import extensions
from cinder.api.openstack import wsgi
-from cinder.api.openstack import xmlutil
+from cinder.api import xmlutil
from cinder import db
from cinder import exception
from cinder import flags
try:
host_ref = db.service_get_by_host_and_topic(context,
host,
- 'cinder-volume')
+ FLAGS.volume_topic)
except exception.ServiceNotFound:
raise webob.exc.HTTPNotFound(explanation=_("Host not found"))