Cloning from: openstack-dev/devstack yields c-api and other installation failures.

asked 2015-04-04 11:52:08 -0600

fatk1d gravatar image

In trying to get used to the various options of OpenStack, I've been installing Devstack over the last week at various times. The first time I cloned from Devstack, I setup an all-in-one installation on Dell R610 using minimal local.conf with nova based networking. It worked like a champ. I've since (approximately one week later) removed that installation after playing around with it and I'm now trying to get it back using the exact same local.conf file that produced my initial successful installation. Between each attempt at installing Devstack, I am of course doing an "./" followed by a "./" and then removal of devstack directory. I then

git clone

and proceed with the "./" after I copy in my simplistic local.conf file:



As you can see, there's not much to it and it produced a working devstack installation the first time I tried it a week ago. Now, using a more recent(?) Devstack clone, I'm getting a failure when c-api tries to start. Below is the failure:

2015-04-04 10:50:01.981 DEBUG cinder.openstack.common.service [-] Full set of CONF: from (pid=17714) wait /opt/stack/cinder/cinder/openstack/common/
2015-04-04 10:50:01.981 DEBUG cinder.openstack.common.service [-] ******************************************************************************** from (pid=17714) log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/
2015-04-04 10:50:01.981 INFO eventlet.wsgi.server [-] (17751) wsgi starting up on
2015-04-04 10:50:01.982 DEBUG cinder.openstack.common.service [-] Configuration options gathered from: from (pid=17714) log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/
2015-04-04 10:50:01.982 DEBUG cinder.openstack.common.service [-] command line args: None from (pid=17714) log_opt_values /usr/lib/python2.7/dist-packages/oslo/config/
2015-04-04 10:50:01.982 INFO eventlet.wsgi.server [-] (17752) wsgi starting up on
2015-04-04 10:50:01.982 CRITICAL cinder [-] NoSuchOptError: no such option: config_file

2015-04-04 10:50:01.982 TRACE cinder Traceback (most recent call last):
2015-04-04 10:50:01.982 TRACE cinder   File "/usr/local/bin/cinder-api", line 10, in <module>
2015-04-04 10:50:01.982 TRACE cinder     sys.exit(main())
2015-04-04 10:50:01.982 TRACE cinder   File "/opt/stack/cinder/cinder/cmd/", line 61, in main
2015-04-04 10:50:01.982 TRACE cinder     launcher.wait()
2015-04-04 10:50:01.982 TRACE cinder   File "/opt/stack/cinder/cinder/openstack/common/", line 379, in wait
2015-04-04 10:50:01.982 TRACE cinder     CONF.log_opt_values(LOG, logging.DEBUG)
2015-04-04 10:50:01.982 TRACE cinder   File "/usr/lib/python2.7/dist-packages/oslo/config/", line 1931, in log_opt_values
2015-04-04 10:50:01.982 TRACE cinder     logger.log ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-04-04 12:36:57 -0600

dbaxps gravatar image

updated 2015-04-06 06:28:49 -0600

Master branch worked fine just a couple hours ago



# Useful logging options for debugging:

# The default fixed range ( conflicted with an address
# range I was using locally.

# Services
disable_service n-net
enable_service n-cauth
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service horizon
disable_service tempest

I would suggest you you clean Ubuntu install.
Would you have any problems with Horizon console, retry

/usr/local/bin/nova-consoleauth --config-file /etc/nova/nova.conf

Checkout stable branch , just in case.

edit flag offensive delete link more


Sir, I finally got the installation to work like I wanted it to. It would have taken me much longer to resolve the issues without your help. Hats off to you for your assistance. If you lived in Missouri, I'd have to buy your lunch. Since you're quite far away, accept my sincere gratitude. :)

fatk1d gravatar imagefatk1d ( 2015-04-09 21:05:57 -0600 )edit

answered 2015-04-13 00:17:42 -0600

Te gravatar image

Hi guys,

Same error is taking place in here.

I got a Error on Exit when was trying to start cinder-api:

  • screen -S stack -p c-api -X stuff '/usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf & echo $! >/opt/stack/status/stack/; fg || echo "c-api fai'ed to start" | tee "/opt/stack/status/stack/c-api.failure"
  • echo 'Waiting for Cinder API to start...' Waiting for Cinder API to start...
  • wait_for_service 60
  • local timeout=60
  • local url=
  • timeout 60 sh -c 'while ! curl -g -k --noproxy '\''*'\'' -s >/dev/null; do sleep 1; done'
  • die 424 'c-api did not start'
  • local exitcode=0
  • set +o xtrace [Call Trace] ./ /home/liyichen/devstack/lib/cinder:424:die [ERROR] /home/liyichen/devstack/lib/cinder:424 c-api did not start Error on exit

fatk1d: Did you solve this problem just by installing a clean ubuntu or you did something else?

Thanks in advance

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-04-04 11:52:08 -0600

Seen: 2,414 times

Last updated: Apr 13 '15