What causes error "service n-net is not running" when running stack.sh?
Hi! I'm trying to run a DevStack installation in a fresh Ubuntu 12.04 Server installation. I am using two physical servers - the controller node is working fine (or seems to), but the compute node is not, since stack.sh fails every time I run it.
I created a user "stack" with password "stack" and I'm running stack.sh with it. Every time I try to run it, I get this error: "Error: service n-net is not running". Typing "nova-manage service list" or "nova-manage host list" after stack.sh fails gives me the following error:
2013-05-09 14:44:07.926 CRITICAL nova [req-83022c84-e910-4eb3-aa02-4e992fa5002a None None] Could not parse rfc1738 URL from string ''
2013-05-09 14:44:07.926 TRACE nova Traceback (most recent call last):
2013-05-09 14:44:07.926 TRACE nova File "/usr/local/bin/nova-manage", line 9, in <module>
2013-05-09 14:44:07.926 TRACE nova load_entry_point('nova==2013.2.a549.g4ce8f2a', 'console_scripts', 'nova-manage')()
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/cmd/manage.py", line 1292, in main
2013-05-09 14:44:07.926 TRACE nova ret = fn(*fn_args, **fn_kwargs)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/cmd/manage.py", line 652, in list
2013-05-09 14:44:07.926 TRACE nova services = db.service_get_all(ctxt)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/db/api.py", line 132, in service_get_all
2013-05-09 14:44:07.926 TRACE nova return IMPL.service_get_all(context, disabled)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 97, in wrapper
2013-05-09 14:44:07.926 TRACE nova return f(*args, **kwargs)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 362, in service_get_all
2013-05-09 14:44:07.926 TRACE nova query = model_query(context, models.Service)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 178, in model_query
2013-05-09 14:44:07.926 TRACE nova session = kwargs.get('session') or get_session()
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 350, in get_session
2013-05-09 14:44:07.926 TRACE nova engine = get_engine(sqlite_fk=sqlite_fk)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 472, in get_engine
2013-05-09 14:44:07.926 TRACE nova sqlite_fk=sqlite_fk)
2013-05-09 14:44:07.926 TRACE nova File "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 531, in create_engine
2013-05-09 14:44:07.926 TRACE nova connection_dict = sqlalchemy.engine.url.make_url(sql_connection)
2013-05-09 14:44:07.926 TRACE nova File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 178, in make_url
2013-05-09 14:44:07.926 TRACE nova return _parse_rfc1738_args(name_or_url)
2013-05-09 14:44:07.926 TRACE nova File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 219, in _parse_rfc1738_args
2013-05-09 14:44 ...
The trace from the end of the failed stack.sh run, and the localrc from both nodes would be useful.
There you go! :)