[openstack-dev] can't install devstack - nova-api did not start

Sean Dague sean at dague.net
Fri Aug 9 15:11:14 UTC 2013


This should be addressed by the latest devstack, however because we 
moved to oslo.config out of git, some install environments might still 
have oslo.config 1.1.0 somewhere, that pip no longer sees (so can't 
uninstall)

sudo pip install oslo.config
sudo pip uninstall oslo.config

rerun devstack, see if it works.

	-Sean

On 08/09/2013 09:14 AM, Roman Gorodeckij wrote:
> Tried to install devstack to dedicated server, ip's are defined.
>
> Here's the output:
>
> 13-08-09 09:06:28 ++ echo -ne '\015'
>
> 2013-08-09 09:06:28 + NL=$'\r'
> 2013-08-09 09:06:28 + screen -S stack -p n-api -X stuff 'cd /opt/stack/nova && /'sr/local/bin/nova-api || touch "/opt/stack/status/stack/n-api.failure"
> 2013-08-09 09:06:28 + echo 'Waiting for nova-api to start...'
> 2013-08-09 09:06:28 Waiting for nova-api to start...
> 2013-08-09 09:06:28 + wait_for_service 60http://192.168.1.6:8774
> 2013-08-09 09:06:28 + local timeout=60
> 2013-08-09 09:06:28 + local url=http://192.168.1.6:8774
> 2013-08-09 09:06:28 + timeout 60 sh -c 'while ! http_proxy= https_proxy= curl -shttp://192.168.1.6:8774  >/dev/null; do sleep 1; done'
> 2013-08-09 09:07:28 + die 698 'nova-api did not start'
> 2013-08-09 09:07:28 + local exitcode=0
> stack at hp:~/devstack$ 2013-08-09 09:07:28 + set +o xtrace
>
> Here's the log:
>
> 2013-08-09 09:07:28 [ERROR] ./stack.sh:698 nova-api did not start
> stack at hp:~/devstack$ cat /tmp/devstack/log//screen-n-api.log
> t/stack/status/stack/n-api.failure"nova && /usr/local/bin/nova-api || touch "/op
> Traceback (most recent call last):
>    File "/usr/local/bin/nova-api", line 6, in <module>
>      from nova.cmd.api import main
>    File "/opt/stack/nova/nova/cmd/api.py", line 29, in <module>
>      from nova import config
>    File "/opt/stack/nova/nova/config.py", line 22, in <module>
>      from nova.openstack.common.db.sqlalchemy import session as db_session
>    File "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 279, in <module>
>      deprecated_opts=[cfg.DeprecatedOpt('sql_connection',
> AttributeError: 'module' object has no attribute 'DeprecatedOpt'
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>


-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list