wrong volume_api_class generated (cinder related)

Bug #1020263 reported by Evgeniy Afonichev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

Devstack provides nova.conf with
volume_api_class=nova.volume.cinder.API
which leads to "ImportError: Class CloudController cannot be found (Class API cannot be found (Class API cannot be found (No module named cinder)))" starting n-api

Replacing that line with
volume_api_class=cinder.volume.api.API
fixes the problem

Tags: cinder
Revision history for this message
Evgeniy Afonichev (eafonichev) wrote :

diff --git a/stack.sh b/stack.sh
index 77ef642..490237e 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1858,7 +1858,7 @@ fi

 # If cinder is enabled, use the cinder volume driver
 if is_service_enabled cinder; then
- add_nova_opt "volume_api_class=nova.volume.cinder.API"
+ add_nova_opt "volume_api_class=cinder.volume.api.API"
 fi

 # Provide some transition from EXTRA_FLAGS to EXTRA_OPTS

Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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