[Openstack] [Cinder] n-api did not start .. .

Hohyun Jeon jeonhohyun at gmail.com
Wed Jun 27 04:55:03 UTC 2012


Hi,
Thank a lot for the integration of cinder with devstack.

I got devstack installation from https://github.com/j-griffith/devstack .
I tried to install controller node of multi-nodes
and failed  in starting n-api step.

According to below nova-api.log, "ImportError: Class CloudController cannot
be found (Class API cannot be found (Class API cannot be found (No module
named cinder))" met.
Devstack installed cinder module without manual job, i think. Is right?
(if not, how can i detect the module?)

How can I finish the installation and test the cinder?

from nova-api.log:
...
2012-06-27 13:26:09 TRACE nova   File
"/opt/stack/nova/nova/api/ec2/__init__.py", line 297, in __init__
2012-06-27 13:26:09 TRACE nova     self.controller =
importutils.import_object(controller)
2012-06-27 13:26:09 TRACE nova   File
"/opt/stack/nova/nova/openstack/common/importutils.py", line 38, in
import_object
2012-06-27 13:26:09 TRACE nova     return import_class(import_str)(*args,
**kwargs)
2012-06-27 13:26:09 TRACE nova   File
"/opt/stack/nova/nova/openstack/common/importutils.py", line 33, in
import_class
2012-06-27 13:26:09 TRACE nova     (class_str, str(exc)))
2012-06-27 13:26:09 TRACE nova ImportError: Class CloudController cannot be
found (Class API cannot be found (Class API cannot be found (No module
named cinder)))
2012-06-27 13:26:09 TRACE nova


from stack.sh.log:
....
+ screen -S stack -p n-api -X stuff 'cd /opt/stack/nova &&
/opt/stack/nova/bin/n'va-api
+ echo 'Waiting for nova-api to start...'
Waiting for nova-api to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O- http://127.0.0.1:8774;
do sleep 1; done'
+ echo 'nova-api did not start'
nova-api did not start
+ exit 1

localrc :
HOST_IP=121.199.100.13
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=121.199.100.24/29
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=cloudcomp
MYSQL_PASSWORD=cloudcomp
RABBIT_PASSWORD=cloudcomp
SERVICE_TENANT_NAME=demo
SERVICE_PASSWORD=cloudcomp
SERVICE_TOKEN=xyzpdqlazydog

LOGFILE=stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
SYSLOG=True
SYSLOG_HOST=$HOST_IP
SYSLOG_PORT=516
#RECLONE=yes
#API_RATE_LIMIT=False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120627/5c2c2ceb/attachment.html>


More information about the Openstack mailing list