How to start nova services if we setup nova from github

Asked by sajuptpm on 2013-03-21

Hi,

I am following below doc to setup Nova development environment.
http://docs.openstack.org/developer/nova/devref/development.environment.html

I installed nova successfully. Nest i want to run all nova services, How do it ??

I tried
#source .venv/bin/activate
$ ./bin/nova-all

But getting following errors
* Failed to load ec2-api, osapi_compute-api, metadata-api, nova-compute
* ConfigNotFound: Could not find config at api-paste.ini
* TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at

Steps I followed
############

1)
sudo apt-get install python-dev libssl-dev python-pip git-core libxml2-dev libxslt-dev

2)
#git clone https://github.com/openstack/nova.git
#cd nova
#python tools/install_venv.py

Successfully installed coverage discover feedparser fixtures mox MySQL-python psycopg2 pep8 pyflakes pylint python-subunit sphinx testrepository testtools logilab-common logilab-astng Pygments Jinja2 docutils extras
Cleaning up...

    Nova development environment setup is complete.

    Nova development uses virtualenv to track and manage Python dependencies
    while in development and testing.

    To activate the Nova virtualenv for the extent of your current shell
    session you can run:

    $ source /home/saju/openstk_manual/nova/.venv/bin/activate

    Or, if you prefer, you can run commands in the virtualenv on a case by case
    basis by running:

    $ /home/saju/openstk_manual/nova/tools/with_venv.sh <your command>

    Also, make test will automatically use the virtualenv.

3)
#source .venv/bin/activate
$ ./bin/nova-all

##### ERRORS #####

(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-all
2013-03-21 20:49:54.763 10926 ERROR nova.all [-] Failed to load ec2-api
2013-03-21 20:49:54.763 10926 TRACE nova.all Traceback (most recent call last):
2013-03-21 20:49:54.763 10926 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-21 20:49:54.763 10926 TRACE nova.all server = service.WSGIService(api)
2013-03-21 20:49:54.763 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 597, in __init__
2013-03-21 20:49:54.763 10926 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-21 20:49:54.763 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-21 20:49:54.763 10926 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-21 20:49:54.763 10926 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-21 20:49:54.763 10926 TRACE nova.all
2013-03-21 20:49:54.791 10926 ERROR nova.all [-] Failed to load osapi_compute-api
2013-03-21 20:49:54.791 10926 TRACE nova.all Traceback (most recent call last):
2013-03-21 20:49:54.791 10926 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-21 20:49:54.791 10926 TRACE nova.all server = service.WSGIService(api)
2013-03-21 20:49:54.791 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 597, in __init__
2013-03-21 20:49:54.791 10926 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-21 20:49:54.791 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-21 20:49:54.791 10926 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-21 20:49:54.791 10926 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-21 20:49:54.791 10926 TRACE nova.all
2013-03-21 20:49:55.119 10926 ERROR nova.all [-] Failed to load metadata-api
2013-03-21 20:49:55.119 10926 TRACE nova.all Traceback (most recent call last):
2013-03-21 20:49:55.119 10926 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-21 20:49:55.119 10926 TRACE nova.all server = service.WSGIService(api)
2013-03-21 20:49:55.119 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 597, in __init__
2013-03-21 20:49:55.119 10926 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-21 20:49:55.119 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-21 20:49:55.119 10926 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-21 20:49:55.119 10926 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-21 20:49:55.119 10926 TRACE nova.all
2013-03-21 20:49:55.698 10926 ERROR nova.virt.driver [-] Compute driver option required, but not specified
2013-03-21 20:49:55.699 10926 ERROR nova.all [-] Failed to load nova-compute
2013-03-21 20:49:55.699 10926 TRACE nova.all Traceback (most recent call last):
2013-03-21 20:49:55.699 10926 TRACE nova.all File "./bin/nova-all", line 97, in <module>
2013-03-21 20:49:55.699 10926 TRACE nova.all manager=manager))
2013-03-21 20:49:55.699 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 534, in create
2013-03-21 20:49:55.699 10926 TRACE nova.all db_allowed=db_allowed)
2013-03-21 20:49:55.699 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 413, in __init__
2013-03-21 20:49:55.699 10926 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-21 20:49:55.699 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 332, in __init__
2013-03-21 20:49:55.699 10926 TRACE nova.all self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2013-03-21 20:49:55.699 10926 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/driver.py", line 924, in load_compute_driver
2013-03-21 20:49:55.699 10926 TRACE nova.all sys.exit(1)
2013-03-21 20:49:55.699 10926 TRACE nova.all SystemExit: 1
2013-03-21 20:49:55.699 10926 TRACE nova.all
[sudo] password for saju: 2013-03-21 20:49:56.670 10944 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:56.670 10944 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:56.670 10944 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:56.670 10944 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:56.670 10944 TRACE nova.service server.start()
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:56.670 10944 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:56.670 10944 TRACE nova.service binary=binary)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:56.670 10944 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:56.670 10944 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:56.670 10944 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:56.670 10944 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:56.670 10944 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:56.670 10944 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:56.670 10944 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:56.670 10944 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:56.670 10944 TRACE nova.service return list(res)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:56.670 10944 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:56.670 10944 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:56.670 10944 TRACE nova.service params)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:56.670 10944 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:56.670 10944 TRACE nova.service context)
2013-03-21 20:49:56.670 10944 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:56.670 10944 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:56.670 10944 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-scheduler', 1, 0)
2013-03-21 20:49:56.670 10944 TRACE nova.service
2013-03-21 20:49:56.719 10946 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:56.719 10946 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:56.719 10946 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:56.719 10946 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:56.719 10946 TRACE nova.service server.start()
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:56.719 10946 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:56.719 10946 TRACE nova.service binary=binary)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:56.719 10946 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:56.719 10946 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:56.719 10946 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:56.719 10946 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:56.719 10946 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:56.719 10946 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:56.719 10946 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:56.719 10946 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:56.719 10946 TRACE nova.service return list(res)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:56.719 10946 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:56.719 10946 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:56.719 10946 TRACE nova.service params)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:56.719 10946 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:56.719 10946 TRACE nova.service context)
2013-03-21 20:49:56.719 10946 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:56.719 10946 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:56.719 10946 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-conductor', 1, 0)
2013-03-21 20:49:56.719 10946 TRACE nova.service
2013-03-21 20:49:56.693 10945 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:56.693 10945 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:56.693 10945 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:56.693 10945 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:56.693 10945 TRACE nova.service server.start()
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:56.693 10945 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:56.693 10945 TRACE nova.service binary=binary)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:56.693 10945 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:56.693 10945 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:56.693 10945 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:56.693 10945 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:56.693 10945 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:56.693 10945 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:56.693 10945 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:56.693 10945 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:56.693 10945 TRACE nova.service return list(res)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:56.693 10945 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:56.693 10945 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:56.693 10945 TRACE nova.service params)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:56.693 10945 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:56.693 10945 TRACE nova.service context)
2013-03-21 20:49:56.693 10945 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:56.693 10945 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:56.693 10945 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-cert', 1, 0)
2013-03-21 20:49:56.693 10945 TRACE nova.service
2013-03-21 20:49:57.055 10947 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:57.055 10947 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:57.055 10947 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:57.055 10947 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:57.055 10947 TRACE nova.service server.start()
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:57.055 10947 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:57.055 10947 TRACE nova.service binary=binary)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:57.055 10947 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:57.055 10947 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:57.055 10947 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:57.055 10947 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:57.055 10947 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:57.055 10947 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:57.055 10947 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:57.055 10947 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:57.055 10947 TRACE nova.service return list(res)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:57.055 10947 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:57.055 10947 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:57.055 10947 TRACE nova.service params)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:57.055 10947 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:57.055 10947 TRACE nova.service context)
2013-03-21 20:49:57.055 10947 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:57.055 10947 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:57.055 10947 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-scheduler', 1, 0)
2013-03-21 20:49:57.055 10947 TRACE nova.service
2013-03-21 20:49:57.195 10948 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:57.195 10948 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:57.195 10948 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:57.195 10948 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:57.195 10948 TRACE nova.service server.start()
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:57.195 10948 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:57.195 10948 TRACE nova.service binary=binary)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:57.195 10948 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:57.195 10948 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:57.195 10948 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:57.195 10948 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:57.195 10948 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:57.195 10948 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:57.195 10948 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:57.195 10948 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:57.195 10948 TRACE nova.service return list(res)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:57.195 10948 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:57.195 10948 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:57.195 10948 TRACE nova.service params)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:57.195 10948 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:57.195 10948 TRACE nova.service context)
2013-03-21 20:49:57.195 10948 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:57.195 10948 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:57.195 10948 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-conductor', 1, 0)
2013-03-21 20:49:57.195 10948 TRACE nova.service
2013-03-21 20:49:57.214 10949 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:57.214 10949 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:57.214 10949 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:57.214 10949 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:57.214 10949 TRACE nova.service server.start()
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:57.214 10949 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:57.214 10949 TRACE nova.service binary=binary)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:57.214 10949 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:57.214 10949 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:57.214 10949 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:57.214 10949 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:57.214 10949 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:57.214 10949 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:57.214 10949 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:57.214 10949 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:57.214 10949 TRACE nova.service return list(res)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:57.214 10949 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:57.214 10949 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:57.214 10949 TRACE nova.service params)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:57.214 10949 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:57.214 10949 TRACE nova.service context)
2013-03-21 20:49:57.214 10949 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:57.214 10949 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:57.214 10949 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-cert', 1, 0)
2013-03-21 20:49:57.214 10949 TRACE nova.service
2013-03-21 20:49:58.331 10952 ERROR nova.service [-] Unhandled exception
2013-03-21 20:49:58.331 10952 TRACE nova.service Traceback (most recent call last):
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 307, in _start_child
2013-03-21 20:49:58.331 10952 TRACE nova.service self._child_process(wrap.server)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 284, in _child_process
2013-03-21 20:49:58.331 10952 TRACE nova.service launcher.run_server(server)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 147, in run_server
2013-03-21 20:49:58.331 10952 TRACE nova.service server.start()
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 434, in start
2013-03-21 20:49:58.331 10952 TRACE nova.service self.host, self.binary)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-21 20:49:58.331 10952 TRACE nova.service binary=binary)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-21 20:49:58.331 10952 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-21 20:49:58.331 10952 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-21 20:49:58.331 10952 TRACE nova.service return func(*args, **kwargs)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-21 20:49:58.331 10952 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-21 20:49:58.331 10952 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-21 20:49:58.331 10952 TRACE nova.service return f(*args, **kwargs)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-21 20:49:58.331 10952 TRACE nova.service filter_by(binary=binary).\
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-21 20:49:58.331 10952 TRACE nova.service ret = list(self[0:1])
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-21 20:49:58.331 10952 TRACE nova.service return list(res)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-21 20:49:58.331 10952 TRACE nova.service return self._execute_and_instances(context)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-21 20:49:58.331 10952 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-21 20:49:58.331 10952 TRACE nova.service params)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-21 20:49:58.331 10952 TRACE nova.service compiled_sql, distilled_params
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-21 20:49:58.331 10952 TRACE nova.service context)
2013-03-21 20:49:58.331 10952 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-21 20:49:58.331 10952 TRACE nova.service None, sys.exc_info()[2]
2013-03-21 20:49:58.331 10952 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-cert', 1, 0)

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2013-03-26
Last reply:
2013-03-31
Jason (zzs) said : #1

did you use the Ubuntu or others, which version?

sajuptpm (sajuptpm) said : #2

Hi, Jason (zzs)

I am using Ubuntu 12.04 LTS

saju@saju-desktop:~/openstk_manual/nova$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

Jason (zzs) said : #3

I think you need run the command between 1 and 2 if you are using the Pricise.

sudo apt-get build-dep python-mysqldb

sajuptpm (sajuptpm) said : #4

Hi, Jason (zzs)

I installed
sudo apt-get build-dep python-mysqldb

Then ran
#source .venv/bin/activate
$ ./bin/nova-all

Got same error again

I tried in Ubuntu 12.10 ang getting same error

======== Complete Steps I followed ==========

#lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal

#sudo apt-get install python-dev libssl-dev python-pip git-core libxml2-dev libxslt-dev
#sudo apt-get build-dep python-mysqldb
#sudo apt-get install libpq-dev python-dev

#git clone https://github.com/openstack/nova.git
#cd nova

#python tools/install_venv.py

#source .venv/bin/activate
#./bin/nova-all

####### ERROR ##########

(.venv)saju@saju-Inspiron-N5010:~/ops_manual/nova$ ./bin/nova-all
2013-03-23 01:35:27.802 5250 ERROR nova.all [-] Failed to load ec2-api
2013-03-23 01:35:27.802 5250 TRACE nova.all Traceback (most recent call last):
2013-03-23 01:35:27.802 5250 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-23 01:35:27.802 5250 TRACE nova.all server = service.WSGIService(api)
2013-03-23 01:35:27.802 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/service.py", line 597, in __init__
2013-03-23 01:35:27.802 5250 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-23 01:35:27.802 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-23 01:35:27.802 5250 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-23 01:35:27.802 5250 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-23 01:35:27.802 5250 TRACE nova.all
2013-03-23 01:35:27.804 5250 ERROR nova.all [-] Failed to load osapi_compute-api
2013-03-23 01:35:27.804 5250 TRACE nova.all Traceback (most recent call last):
2013-03-23 01:35:27.804 5250 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-23 01:35:27.804 5250 TRACE nova.all server = service.WSGIService(api)
2013-03-23 01:35:27.804 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/service.py", line 597, in __init__
2013-03-23 01:35:27.804 5250 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-23 01:35:27.804 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-23 01:35:27.804 5250 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-23 01:35:27.804 5250 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-23 01:35:27.804 5250 TRACE nova.all
2013-03-23 01:35:27.871 5250 ERROR nova.all [-] Failed to load metadata-api
2013-03-23 01:35:27.871 5250 TRACE nova.all Traceback (most recent call last):
2013-03-23 01:35:27.871 5250 TRACE nova.all File "./bin/nova-all", line 67, in <module>
2013-03-23 01:35:27.871 5250 TRACE nova.all server = service.WSGIService(api)
2013-03-23 01:35:27.871 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/service.py", line 597, in __init__
2013-03-23 01:35:27.871 5250 TRACE nova.all self.loader = loader or wsgi.Loader()
2013-03-23 01:35:27.871 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/wsgi.py", line 469, in __init__
2013-03-23 01:35:27.871 5250 TRACE nova.all raise exception.ConfigNotFound(path=config_path)
2013-03-23 01:35:27.871 5250 TRACE nova.all ConfigNotFound: Could not find config at api-paste.ini
2013-03-23 01:35:27.871 5250 TRACE nova.all
2013-03-23 01:35:27.991 5250 ERROR nova.virt.driver [-] Compute driver option required, but not specified
2013-03-23 01:35:27.992 5250 ERROR nova.all [-] Failed to load nova-compute
2013-03-23 01:35:27.992 5250 TRACE nova.all Traceback (most recent call last):
2013-03-23 01:35:27.992 5250 TRACE nova.all File "./bin/nova-all", line 97, in <module>
2013-03-23 01:35:27.992 5250 TRACE nova.all manager=manager))
2013-03-23 01:35:27.992 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/service.py", line 534, in create
2013-03-23 01:35:27.992 5250 TRACE nova.all db_allowed=db_allowed)
2013-03-23 01:35:27.992 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/service.py", line 413, in __init__
2013-03-23 01:35:27.992 5250 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-23 01:35:27.992 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/compute/manager.py", line 353, in __init__
2013-03-23 01:35:27.992 5250 TRACE nova.all self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2013-03-23 01:35:27.992 5250 TRACE nova.all File "/home/saju/ops_manual/nova/nova/virt/driver.py", line 924, in load_compute_driver
2013-03-23 01:35:27.992 5250 TRACE nova.all sys.exit(1)
2013-03-23 01:35:27.992 5250 TRACE nova.all SystemExit: 1
2013-03-23 01:35:27.992 5250 TRACE nova.all
2013-03-23 01:35:28.262 5263 ERROR nova.service [-] Unhandled exception
2013-03-23 01:35:28.262 5263 TRACE nova.service Traceback (most recent call last):
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/service.py", line 307, in _start_child
2013-03-23 01:35:28.262 5263 TRACE nova.service self._child_process(wrap.server)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/service.py", line 284, in _child_process
2013-03-23 01:35:28.262 5263 TRACE nova.service launcher.run_server(server)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/service.py", line 147, in run_server
2013-03-23 01:35:28.262 5263 TRACE nova.service server.start()
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/service.py", line 434, in start
2013-03-23 01:35:28.262 5263 TRACE nova.service self.host, self.binary)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/conductor/api.py", line 258, in service_get_by_args
2013-03-23 01:35:28.262 5263 TRACE nova.service binary=binary)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/utils.py", line 1348, in wrapper
2013-03-23 01:35:28.262 5263 TRACE nova.service return func(*args, **kwargs)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/openstack/common/rpc/common.py", line 424, in inner
2013-03-23 01:35:28.262 5263 TRACE nova.service return catch_client_exception(exceptions, func, *args, **kwargs)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/openstack/common/rpc/common.py", line 407, in catch_client_exception
2013-03-23 01:35:28.262 5263 TRACE nova.service return func(*args, **kwargs)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/conductor/manager.py", line 322, in service_get_all_by
2013-03-23 01:35:28.262 5263 TRACE nova.service result = self.db.service_get_by_args(context, host, binary)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/db/api.py", line 155, in service_get_by_args
2013-03-23 01:35:28.262 5263 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/db/sqlalchemy/api.py", line 96, in wrapper
2013-03-23 01:35:28.262 5263 TRACE nova.service return f(*args, **kwargs)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/nova/db/sqlalchemy/api.py", line 411, in service_get_by_args
2013-03-23 01:35:28.262 5263 TRACE nova.service filter_by(binary=binary).\
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-23 01:35:28.262 5263 TRACE nova.service ret = list(self[0:1])
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-23 01:35:28.262 5263 TRACE nova.service return list(res)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-23 01:35:28.262 5263 TRACE nova.service return self._execute_and_instances(context)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-23 01:35:28.262 5263 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-23 01:35:28.262 5263 TRACE nova.service params)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-23 01:35:28.262 5263 TRACE nova.service compiled_sql, distilled_params
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-23 01:35:28.262 5263 TRACE nova.service context)
2013-03-23 01:35:28.262 5263 TRACE nova.service File "/home/saju/ops_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1850, in _handle_dbapi_exception
2013-03-23 01:35:28.262 5263 TRACE nova.service None, sys.exc_info()[2]
2013-03-23 01:35:28.262 5263 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-Inspiron-N5010', 'nova-scheduler', 1, 0)
2013-03-23 01:35:28.262 5263 TRACE nova.service
2013-03-23 01:35:28.400 5265 ERROR nova.service [-] Unhandled exception

sajuptpm (sajuptpm) said : #5

Hi, Jason (zzs)

There is two files ./etc/nova/api-paste.ini and ./etc/nova/nova.conf.sample

Do i need to setup any thing with these files before running #./bin/nova-all

(.venv)saju@saju-Inspiron-N5010:~/ops_manual/nova$ find . -name api-paste.ini*
./etc/nova/api-paste.ini

(.venv)saju@saju-Inspiron-N5010:~/ops_manual/nova$ find . -name nova.conf*
./etc/nova/nova.conf.sample

Jason (zzs) said : #6

Hmmm, it strange, had you ever installed the Openstack components before, if not, the error message should not like this.
Anyway, yes, please check the Devstack for detailed information of nova configuration.

Keith Tobin (keith-tobin) said : #7

I had a quick look at you errors,

you need to verify that api-paste.ini is present and containers configuration data.
api-paste.ini should be present in /etc/openstack/api-paste.ini
you will need to configure the keystone parameters at the bottom of this file,

Make sure that the following parameter in nova.conf is set correctly, or commented out
#api_paste_config=api-paste.ini

It also seems that you are missing tables in the mysql database, you need to configure the mysql database.
You could login to mysql and confirm the tables do or not exist.

sajuptpm (sajuptpm) said : #8

Hi Keith Tobin,

1)
In my system, no such folder "openstack" or "nova" under /etc

(.venv)saju@saju-desktop:~/openstk_manual/nova$ cd /etc/op
openal/ openvpn/ opt/

(.venv)saju@saju-desktop:~/openstk_manual/nova$ cd /etc/no

2)
But, I could find similar file "api-paste.ini" and "nova.conf.sample" in git repo

(.venv)saju@saju-desktop:~/openstk_manual/nova/etc/nova$ pwd
/home/saju/openstk_manual/nova/etc/nova

(.venv)saju@saju-desktop:~/openstk_manual/nova/etc/nova$ ls
api-paste.ini logging_sample.conf nova.conf.sample policy.json rootwrap.conf rootwrap.d

3)
The database "nova.sqlite" is creating auto when running ./bin/nova-all

4)
Sould I create a folder named "openstack" unde /etc ???
and copy the files "api-paste.ini" and "nova.conf.sample" from git repo to there ???

Thanks,

sajuptpm (sajuptpm) said : #9

Hi Keith Tobin,

I created a directory named "nova" under /etc and copied "api-paste.ini" from git repo to there.

I think, after that the command " ./bin/nova-all" started some services.

But again failed, Please check the atatched results of command "./bin/nova-all"

Getting the same error " no such table" again

also there is another errors like

* AttributeError: 'module' object has no attribute 'Mount'
* VirtDriverNotFound: Could not find driver for connection_type None
* ImportError: Class MultiScheduler cannot be found (['Traceback (most recent call last
* nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created

(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-all
2013-03-25 19:47:23 15871 INFO nova.wsgi [-] ec2 listening on 0.0.0.0:8773
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15876
2013-03-25 19:47:23 15876 INFO nova.ec2.wsgi.server [-] (15876) wsgi starting up on http://0.0.0.0:8773/

2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.compute.extensions [-] Initializing extension manager.
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-volume-types
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-SCH-HNT
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-deferred-delete
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-FLV-EXT-DATA
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-multiple-create
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-consoles
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-volumes
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-extra-specs
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-hypervisors
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-swap
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-cloudpipe
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-simple-tenant-usage
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ip-pools
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-config-drive
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-DCF
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-certificates
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-hosts
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-availability-zone
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-FLV-DISABLED
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-quota-class-sets
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-rxtx
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-used-limits
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-instance_usage_audit_log
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-user-data
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-rescue
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-EXT-SRV-ATTR
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-create-server-ext
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-EXT-STS
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ip-dns
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-virtual-interfaces
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ips
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-networks
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-manage
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-security-groups
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-quota-sets
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-console-output
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-keypairs
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: NMN
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-access
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-server-start-stop
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-aggregates
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-server-diagnostics
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-admin-actions
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.compute.extensions [-] Initializing extension manager.
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-volume-types
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-SCH-HNT
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-deferred-delete
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-FLV-EXT-DATA
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-multiple-create
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-consoles
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-volumes
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-extra-specs
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-hypervisors
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-swap
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-cloudpipe
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-simple-tenant-usage
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ip-pools
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-config-drive
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-DCF
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-certificates
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-hosts
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-availability-zone
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-FLV-DISABLED
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-quota-class-sets
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-rxtx
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-used-limits
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-instance_usage_audit_log
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-user-data
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-rescue
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-EXT-SRV-ATTR
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-create-server-ext
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: OS-EXT-STS
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ip-dns
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-virtual-interfaces
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-floating-ips
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-networks
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-manage
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-security-groups
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-quota-sets
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-console-output
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-keypairs
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: NMN
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-flavor-access
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-server-start-stop
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-aggregates
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-server-diagnostics
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-admin-actions
2013-03-25 19:47:23 15871 INFO nova.wsgi [-] osapi_compute listening on 0.0.0.0:8774
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15877
2013-03-25 19:47:23 15877 INFO nova.osapi_compute.wsgi.server [-] (15877) wsgi starting up on http://0.0.0.0:8774/

2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.volume.extensions [-] Initializing extension manager.
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-types-extra-specs
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-volume-actions
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-image-create
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-types-manage
2013-03-25 19:47:23 15871 AUDIT nova.api.openstack.extensions [-] Loaded extension: os-admin-actions
2013-03-25 19:47:23 15871 INFO nova.wsgi [-] osapi_volume listening on 0.0.0.0:8776
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15878
2013-03-25 19:47:23 15878 INFO nova.osapi_volume.wsgi.server [-] (15878) wsgi starting up on http://0.0.0.0:8776/

2013-03-25 19:47:23 15871 ERROR nova.all [-] Failed to load metadata-api
2013-03-25 19:47:23 15871 TRACE nova.all Traceback (most recent call last):
2013-03-25 19:47:23 15871 TRACE nova.all File "./bin/nova-all", line 62, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all server = service.WSGIService(api)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 577, in __init__
2013-03-25 19:47:23 15871 TRACE nova.all self.app = self.loader.load_app(name)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/wsgi.py", line 372, in load_app
2013-03-25 19:47:23 15871 TRACE nova.all return deploy.loadapp("config:%s" % self.config_path, name=name)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2013-03-25 19:47:23 15871 TRACE nova.all return loadobj(APP, uri, name=name, **kw)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2013-03-25 19:47:23 15871 TRACE nova.all return context.create()
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2013-03-25 19:47:23 15871 TRACE nova.all return self.object_type.invoke(self)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2013-03-25 19:47:23 15871 TRACE nova.all **context.local_conf)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2013-03-25 19:47:23 15871 TRACE nova.all val = callable(*args, **kw)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2013-03-25 19:47:23 15871 TRACE nova.all app = loader.get_app(app_name, global_conf=global_conf)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2013-03-25 19:47:23 15871 TRACE nova.all name=name, global_conf=global_conf).create()
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 362, in app_context
2013-03-25 19:47:23 15871 TRACE nova.all APP, name=name, global_conf=global_conf)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2013-03-25 19:47:23 15871 TRACE nova.all global_additions=global_additions)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
2013-03-25 19:47:23 15871 TRACE nova.all APP, pipeline[-1], global_conf)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2013-03-25 19:47:23 15871 TRACE nova.all section)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2013-03-25 19:47:23 15871 TRACE nova.all value = import_string(found_expr)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2013-03-25 19:47:23 15871 TRACE nova.all return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2015, in load
2013-03-25 19:47:23 15871 TRACE nova.all entry = __import__(self.module_name, globals(),globals(), ['__name__'])
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/api/metadata/handler.py", line 25, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all from nova.api.metadata import base
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/api/metadata/base.py", line 32, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all from nova.virt import netutils
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/netutils.py", line 31, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all flags.DECLARE('injected_network_template', 'nova.virt.disk.api')
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/flags.py", line 52, in DECLARE
2013-03-25 19:47:23 15871 TRACE nova.all __import__(module_string, globals(), locals())
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/disk/api.py", line 41, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all from nova.virt.disk import guestfs
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/disk/guestfs.py", line 25, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all class Mount(mount.Mount):
2013-03-25 19:47:23 15871 TRACE nova.all AttributeError: 'module' object has no attribute 'Mount'
2013-03-25 19:47:23 15871 TRACE nova.all
2013-03-25 19:47:23 15871 INFO nova.wsgi [-] S3 Objectstore listening on 0.0.0.0:3333
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15879
2013-03-25 19:47:23 15871 AUDIT nova.vnc.xvp_proxy [-] Starting nova-xvpvncproxy node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
2013-03-25 19:47:23 15871 INFO nova.wsgi [-] XCP VNC Proxy listening on 0.0.0.0:6081
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15879 INFO nova.S3 Objectstore.wsgi.server [-] (15879) wsgi starting up on http://0.0.0.0:3333/

2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15880
2013-03-25 19:47:23 15871 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-25 19:47:23 15871 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
2013-03-25 19:47:23 15880 INFO nova.XCP VNC Proxy.wsgi.server [-] (15880) wsgi starting up on http://0.0.0.0:6081/

2013-03-25 19:47:23 15871 ERROR nova.all [-] Failed to load nova-compute
2013-03-25 19:47:23 15871 TRACE nova.all Traceback (most recent call last):
2013-03-25 19:47:23 15871 TRACE nova.all File "./bin/nova-all", line 76, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all launcher.launch_server(service.Service.create(binary=binary))
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 492, in create
2013-03-25 19:47:23 15871 TRACE nova.all periodic_fuzzy_delay=periodic_fuzzy_delay)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 387, in __init__
2013-03-25 19:47:23 15871 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 223, in __init__
2013-03-25 19:47:23 15871 TRACE nova.all importutils.import_object_ns('nova.virt', compute_driver),
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/openstack/common/importutils.py", line 53, in import_object_ns
2013-03-25 19:47:23 15871 TRACE nova.all return import_class(import_str)(*args, **kwargs)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/connection.py", line 76, in get_connection
2013-03-25 19:47:23 15871 TRACE nova.all raise exception.VirtDriverNotFound(name=FLAGS.connection_type)
2013-03-25 19:47:23 15871 TRACE nova.all VirtDriverNotFound: Could not find driver for connection_type None
2013-03-25 19:47:23 15871 TRACE nova.all
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15881
2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15882
2013-03-25 19:47:23 15881 AUDIT nova.service [-] Starting volume node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
2013-03-25 19:47:23 WARNING nova.common.deprecated [req-93f9e569-aacb-45c3-b448-a981c1c02580 None None] Deprecated Config: The root_helper option (which lets you specify a root wrapper different from nova-rootwrap, and defaults to using sudo) is now deprecated. You should use the rootwrap_config option instead.
2013-03-25 19:47:23 15882 AUDIT nova.service [-] Starting network node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
2013-03-25 19:47:23 15882 WARNING nova.common.deprecated [-] Deprecated Config: The root_helper option (which lets you specify a root wrapper different from nova-rootwrap, and defaults to using sudo) is now deprecated. You should use the rootwrap_config option instead.
[sudo] password for saju: 2013-03-25 19:47:23 15871 ERROR nova.all [-] Failed to load nova-scheduler
2013-03-25 19:47:23 15871 TRACE nova.all Traceback (most recent call last):
2013-03-25 19:47:23 15871 TRACE nova.all File "./bin/nova-all", line 76, in <module>
2013-03-25 19:47:23 15871 TRACE nova.all launcher.launch_server(service.Service.create(binary=binary))
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 492, in create
2013-03-25 19:47:23 15871 TRACE nova.all periodic_fuzzy_delay=periodic_fuzzy_delay)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 387, in __init__
2013-03-25 19:47:23 15871 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/scheduler/manager.py", line 64, in __init__
2013-03-25 19:47:23 15871 TRACE nova.all self.driver = importutils.import_object(scheduler_driver)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/openstack/common/importutils.py", line 40, in import_object
2013-03-25 19:47:23 15871 TRACE nova.all return import_class(import_str)(*args, **kwargs)
2013-03-25 19:47:23 15871 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/openstack/common/importutils.py", line 35, in import_class
2013-03-25 19:47:23 15871 TRACE nova.all traceback.format_exception(*sys.exc_info())))
2013-03-25 19:47:23 15871 TRACE nova.all ImportError: Class MultiScheduler cannot be found (['Traceback (most recent call last):\n', ' File "/home/saju/openstk_manual/nova/nova/openstack/common/importutils.py", line 30, in import_class\n __import__(mod_str)\n', ' File "/home/saju/openstk_manual/nova/nova/scheduler/multi.py", line 27, in <module>\n from nova.scheduler import driver\n', ' File "/home/saju/openstk_manual/nova/nova/scheduler/driver.py", line 59, in <module>\n flags.DECLARE(\'libvirt_type\', \'nova.virt.libvirt.driver\')\n', ' File "/home/saju/openstk_manual/nova/nova/flags.py", line 52, in DECLARE\n __import__(module_string, globals(), locals())\n', ' File "/home/saju/openstk_manual/nova/nova/virt/libvirt/__init__.py", line 17, in <module>\n from nova.virt.libvirt.driver import LibvirtDriver\n', ' File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 58, in <module>\n from nova.api.metadata import base as instance_metadata\n', ' File "/home/saju/openstk_manual/nova/nova/api/metadata/base.py", line 32, in <module>\n from nova.virt import netutils\n', ' File "/home/saju/openstk_manual/nova/nova/virt/netutils.py", line 31, in <module>\n flags.DECLARE(\'injected_network_template\', \'nova.virt.disk.api\')\n', ' File "/home/saju/openstk_manual/nova/nova/flags.py", line 52, in DECLARE\n __import__(module_string, globals(), locals())\n', ' File "/home/saju/openstk_manual/nova/nova/virt/disk/api.py", line 41, in <module>\n from nova.virt.disk import guestfs\n', ' File "/home/saju/openstk_manual/nova/nova/virt/disk/guestfs.py", line 25, in <module>\n class Mount(mount.Mount):\n', "AttributeError: 'module' object has no attribute 'Mount'\n"])
2013-03-25 19:47:23 15871 TRACE nova.all
[sudo] password for saju: 2013-03-25 19:47:23 15871 INFO nova.service [-] Starting 1 workers
2013-03-25 19:47:23 15871 INFO nova.service [-] Started child 15885
2013-03-25 19:47:23 15885 AUDIT nova.service [-] Starting cert node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
2013-03-25 19:47:23 ERROR nova.service [req-dfa44d34-f88e-4911-87a7-23d0d67c2953 None None] Unhandled exception
2013-03-25 19:47:23 15885 TRACE nova.service Traceback (most recent call last):
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 290, in _start_child
2013-03-25 19:47:23 15885 TRACE nova.service self._child_process(wrap.server)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 267, in _child_process
2013-03-25 19:47:23 15885 TRACE nova.service launcher.run_server(server)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 132, in run_server
2013-03-25 19:47:23 15885 TRACE nova.service server.start()
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 404, in start
2013-03-25 19:47:23 15885 TRACE nova.service self.binary)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 171, in service_get_by_args
2013-03-25 19:47:23 15885 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 111, in wrapper
2013-03-25 19:47:23 15885 TRACE nova.service return f(*args, **kwargs)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 459, in service_get_by_args
2013-03-25 19:47:23 15885 TRACE nova.service filter_by(binary=binary).\
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-25 19:47:23 15885 TRACE nova.service ret = list(self[0:1])
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-25 19:47:23 15885 TRACE nova.service return list(res)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-25 19:47:23 15885 TRACE nova.service return self._execute_and_instances(context)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-25 19:47:23 15885 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-25 19:47:23 15885 TRACE nova.service params)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-25 19:47:23 15885 TRACE nova.service compiled_sql, distilled_params
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-25 19:47:23 15885 TRACE nova.service context)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
2013-03-25 19:47:23 15885 TRACE nova.service context)
2013-03-25 19:47:23 15885 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
2013-03-25 19:47:23 15885 TRACE nova.service cursor.execute(statement, parameters)
2013-03-25 19:47:23 15885 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-cert', 1, 0)
2013-03-25 19:47:23 15885 TRACE nova.service
2013-03-25 19:47:24 15871 INFO nova.service [-] Child 15885 exited with status 2
2013-03-25 19:47:24 15871 INFO nova.service [-] Started child 15886
2013-03-25 19:47:24 15886 AUDIT nova.service [-] Starting cert node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
2013-03-25 19:47:24 ERROR nova.service [req-6352ef8f-0a5d-4d9a-a2ff-3a2e034f065b None None] Unhandled exception
2013-03-25 19:47:24 15886 TRACE nova.service Traceback (most recent call last):
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 290, in _start_child
2013-03-25 19:47:24 15886 TRACE nova.service self._child_process(wrap.server)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 267, in _child_process
2013-03-25 19:47:24 15886 TRACE nova.service launcher.run_server(server)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 132, in run_server
2013-03-25 19:47:24 15886 TRACE nova.service server.start()
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/service.py", line 404, in start
2013-03-25 19:47:24 15886 TRACE nova.service self.binary)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/api.py", line 171, in service_get_by_args
2013-03-25 19:47:24 15886 TRACE nova.service return IMPL.service_get_by_args(context, host, binary)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 111, in wrapper
2013-03-25 19:47:24 15886 TRACE nova.service return f(*args, **kwargs)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/nova/db/sqlalchemy/api.py", line 459, in service_get_by_args
2013-03-25 19:47:24 15886 TRACE nova.service filter_by(binary=binary).\
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2156, in first
2013-03-25 19:47:24 15886 TRACE nova.service ret = list(self[0:1])
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2023, in __getitem__
2013-03-25 19:47:24 15886 TRACE nova.service return list(res)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2227, in __iter__
2013-03-25 19:47:24 15886 TRACE nova.service return self._execute_and_instances(context)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
2013-03-25 19:47:24 15886 TRACE nova.service result = conn.execute(querycontext.statement, self._params)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1449, in execute
2013-03-25 19:47:24 15886 TRACE nova.service params)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
2013-03-25 19:47:24 15886 TRACE nova.service compiled_sql, distilled_params
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1698, in _execute_context
2013-03-25 19:47:24 15886 TRACE nova.service context)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1691, in _execute_context
2013-03-25 19:47:24 15886 TRACE nova.service context)
2013-03-25 19:47:24 15886 TRACE nova.service File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
2013-03-25 19:47:24 15886 TRACE nova.service cursor.execute(statement, parameters)
2013-03-25 19:47:24 15886 TRACE nova.service OperationalError: (OperationalError) no such table: services u'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone \nFROM services \nWHERE services.deleted = ? AND services.host = ? AND services.binary = ?\n LIMIT ? OFFSET ?' (0, 'saju-desktop', 'nova-cert', 1, 0)

Jason (zzs) said : #10

it looks like there is no services table inside the nova databases, so please check if it exists.
can you try
/bin/nova-manage db sync and run nova-all again.

sajuptpm (sajuptpm) said : #11

Hi, Jason (zzs)

Its working now

I did following steps

#git checkout remotes/origin/stable/folsom
#./bin/nova-manage db sync
#./bin/nova-all

(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-manage service list
Binary Host Zone Status State Updated_At
nova-cert saju-desktop nova enabled XXX 2013-03-26 09:23:15.382040
nova-scheduler saju-desktop nova enabled XXX 2013-03-26 09:23:15.523775
(.venv)saju@saju-desktop:~/openstk_manual/nova$

But, Failed to load nova-compute
#######################

Error : when running ./bin/nova-all (Fixed)
**********************************
2013-03-26 13:15:13 15512 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-26 13:15:13 15512 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
2013-03-26 13:15:13 15512 ERROR nova.all [-] Failed to load nova-compute
2013-03-26 13:15:13 15512 TRACE nova.all Traceback (most recent call last):
2013-03-26 13:15:13 15512 TRACE nova.all File "./bin/nova-all", line 76, in <module>
2013-03-26 13:15:13 15512 TRACE nova.all launcher.launch_server(service.Service.create(binary=binary))
2013-03-26 13:15:13 15512 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 492, in create
2013-03-26 13:15:13 15512 TRACE nova.all periodic_fuzzy_delay=periodic_fuzzy_delay)
2013-03-26 13:15:13 15512 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 387, in __init__
2013-03-26 13:15:13 15512 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-26 13:15:13 15512 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 223, in __init__
2013-03-26 13:15:13 15512 TRACE nova.all importutils.import_object_ns('nova.virt', compute_driver),
2013-03-26 13:15:13 15512 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/openstack/common/importutils.py", line 53, in import_object_ns
2013-03-26 13:15:13 15512 TRACE nova.all return import_class(import_str)(*args, **kwargs)
2013-03-26 13:15:13 15512 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/virt/connection.py", line 76, in get_connection
2013-03-26 13:15:13 15512 TRACE nova.all raise exception.VirtDriverNotFound(name=FLAGS.connection_type)
2013-03-26 13:15:13 15512 TRACE nova.all VirtDriverNotFound: Could not find driver for connection_type None
2013-03-26 13:15:13 15512 TRACE nova.all
2013-03-26 13:15:13 15512 INFO nova.service [-] Starting 1 workers
2013-03-26 13:15:13 15523 INFO nova.XCP VNC Proxy.wsgi.server [-] (15523) wsgi starting up on http://0.0.0.0:6081/

Fix-1 : I made following change to fix this error
=====================================
a)
Open #sudo vim /etc/nova/nova.conf
Changed #connection_type=<None>
to
connection_type=libvirt

Error: when running ./bin/nova-all (After above change) (Not Fixed)
***************************************************************

2013-03-26 13:39:59 18063 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-26 13:39:59 18063 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
[sudo] password for saju: 2013-03-26 13:39:59 18063 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
2013-03-26 13:39:59 18063 ERROR nova.compute.manager [-] Unable to load the virtualization driver: No module named libvirt
2013-03-26 13:39:59 18063 ERROR nova.all [-] Failed to load nova-compute
2013-03-26 13:39:59 18063 TRACE nova.all Traceback (most recent call last):
2013-03-26 13:39:59 18063 TRACE nova.all File "./bin/nova-all", line 76, in <module>
2013-03-26 13:39:59 18063 TRACE nova.all launcher.launch_server(service.Service.create(binary=binary))
2013-03-26 13:39:59 18063 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 492, in create
2013-03-26 13:39:59 18063 TRACE nova.all periodic_fuzzy_delay=periodic_fuzzy_delay)
2013-03-26 13:39:59 18063 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/service.py", line 387, in __init__
2013-03-26 13:39:59 18063 TRACE nova.all self.manager = manager_class(host=self.host, *args, **kwargs)
2013-03-26 13:39:59 18063 TRACE nova.all File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 227, in __init__
2013-03-26 13:39:59 18063 TRACE nova.all sys.exit(1)
2013-03-26 13:39:59 18063 TRACE nova.all SystemExit: 1
2013-03-26 13:39:59 18063 TRACE nova.all
2013-03-26 13:39:59 18063 INFO nova.service [-] Starting 1 workers
2013-03-26 13:39:59 18075 AUDIT nova.service [-] Starting volume node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)

Current issue is
==============
Failed to load nova-compute
Unable to load the virtualization driver: No module named libvirt

sajuptpm (sajuptpm) said : #12

Hi,

I also tried to start "nova-compute" without using "nova-all" command.

############

(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-compute
2013-03-26 15:09:52 22130 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-26 15:09:52 22130 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
2013-03-26 15:09:52 22130 WARNING nova.virt.libvirt.firewall [-] Libvirt module could not be loaded. NWFilterFirewall will not work correctly.
2013-03-26 15:09:52 22130 ERROR nova.compute.manager [-] Unable to load the virtualization driver: No module named libvirt
(.venv)saju@saju-desktop:~/openstk_manual/nova$

############ nova.conf ############

(.venv)saju@saju-desktop:~/openstk_manual/nova$ cat /etc/nova/nova.conf | grep "^[^#]"
[DEFAULT]
connection_type=libvirt
sql_connection=sqlite:///$state_path/$sqlite_db
sqlite_db=nova.sqlite

############ api-paste.ini ############

(.venv)saju@saju-desktop:~/openstk_manual/nova$ cat /etc/nova/api-paste.ini | grep "^[^#]"
[composite:metadata]
use = egg:Paste#urlmap
/: meta
[pipeline:meta]
pipeline = ec2faultwrap logrequest metaapp
[app:metaapp]
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
[composite:ec2]
use = egg:Paste#urlmap
/services/Cloud: ec2cloud
[composite:ec2cloud]
use = call:nova.api.auth:pipeline_factory
noauth = ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
keystone = ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor
[filter:ec2faultwrap]
paste.filter_factory = nova.api.ec2:FaultWrapper.factory
[filter:logrequest]
paste.filter_factory = nova.api.ec2:RequestLogging.factory
[filter:ec2lockout]
paste.filter_factory = nova.api.ec2:Lockout.factory
[filter:ec2keystoneauth]
paste.filter_factory = nova.api.ec2:EC2KeystoneAuth.factory
[filter:ec2noauth]
paste.filter_factory = nova.api.ec2:NoAuth.factory
[filter:cloudrequest]
controller = nova.api.ec2.cloud.CloudController
paste.filter_factory = nova.api.ec2:Requestify.factory
[filter:authorizer]
paste.filter_factory = nova.api.ec2:Authorizer.factory
[filter:validator]
paste.filter_factory = nova.api.ec2:Validator.factory
[app:ec2executor]
paste.app_factory = nova.api.ec2:Executor.factory
[composite:osapi_compute]
use = call:nova.api.openstack.urlmap:urlmap_factory
/: oscomputeversions
/v1.1: openstack_compute_api_v2
/v2: openstack_compute_api_v2
[composite:osapi_volume]
use = call:nova.api.openstack.urlmap:urlmap_factory
/: osvolumeversions
/v1: openstack_volume_api_v1
[composite:openstack_compute_api_v2]
use = call:nova.api.auth:pipeline_factory
noauth = faultwrap sizelimit noauth ratelimit osapi_compute_app_v2
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_compute_app_v2
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v2
[composite:openstack_volume_api_v1]
use = call:nova.api.auth:pipeline_factory
noauth = faultwrap sizelimit noauth ratelimit osapi_volume_app_v1
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_volume_app_v1
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1
[filter:faultwrap]
paste.filter_factory = nova.api.openstack:FaultWrapper.factory
[filter:noauth]
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
[filter:ratelimit]
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
[filter:sizelimit]
paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory
[app:osapi_compute_app_v2]
paste.app_factory = nova.api.openstack.compute:APIRouter.factory
[pipeline:oscomputeversions]
pipeline = faultwrap oscomputeversionapp
[app:osapi_volume_app_v1]
paste.app_factory = nova.api.openstack.volume:APIRouter.factory
[app:oscomputeversionapp]
paste.app_factory = nova.api.openstack.compute.versions:Versions.factory
[pipeline:osvolumeversions]
pipeline = faultwrap osvolumeversionapp
[app:osvolumeversionapp]
paste.app_factory = nova.api.openstack.volume.versions:Versions.factory
[filter:keystonecontext]
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
signing_dir = /tmp/keystone-signing-nova

sajuptpm (sajuptpm) said : #13

Hi,

Fixed the error : Unable to load the virtualization driver: No module named libvirt

Fix-1
####
sudo apt-get install python-libvirt
Update .venv/lib/python2.7/site-packages/easy-install.pth

But, after that when running ./bin/nova-all getting following erros

Error : when running ./bin/nova-compute OR ./bin/nova-all
===============================================
(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-compute
2013-03-26 16:34:21 25350 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-26 16:34:21 25350 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
2013-03-26 16:34:21 25350 AUDIT nova.service [-] Starting compute node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
libvir: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Traceback (most recent call last):
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/event.py", line 163, in _do_send
    waiter.switch(result)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/home/saju/openstk_manual/nova/nova/service.py", line 132, in run_server
    server.start()
  File "/home/saju/openstk_manual/nova/nova/service.py", line 398, in start
    self.manager.init_host()
  File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 268, in init_host
    self.driver.init_host(host=self.host)
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 333, in init_host
    if not self.has_min_version(MIN_LIBVIRT_VERSION):
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 322, in has_min_version
    libvirt_version = self._conn.getLibVersion()
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 350, in _get_connection
    self._connect, self.uri, self.read_only)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/tpool.py", line 147, in proxy_call
    rv = execute(f,*args,**kwargs)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/tpool.py", line 76, in tworker
    rv = meth(*args,**kwargs)
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 404, in _connect
    return libvirt.openAuth(uri, auth, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
2013-03-26 16:34:21 25350 CRITICAL nova [-] Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
(.venv)saju@saju-desktop:~/openstk_manual/nova

I also fixed the error: Failed to connect socket to '/var/run/libvirt/libvirt-sock':, with following steps

Fix-2
####
a)
Install libvirt-1.0 from tarball
http://fosshelp.blogspot.in/2013/03/how-to-compile-and-install-libvirt-100.html

b)
Run libvirtd deamon as root
#su - root
#libvirtd -d

c)
Run
 ./bin/nova-all
OR
./bin/nova-compute

The commands "nova-all" and "nova-compute" are prompted for sudo password and failed with following error

(.venv)saju@saju-desktop:~/openstk_manual/nova$ ./bin/nova-compute
2013-03-26 18:36:12 5878 INFO nova.compute.manager [-] Loading compute driver 'nova.virt.connection.get_connection'
2013-03-26 18:36:12 5878 WARNING nova.common.deprecated [-] Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead.
2013-03-26 18:36:13 5878 AUDIT nova.service [-] Starting compute node (version 2012.2.4-LOCALBRANCH:LOCALREVISION)
Traceback (most recent call last):
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/event.py", line 163, in _do_send
    waiter.switch(result)
  File "/home/saju/openstk_manual/nova/.venv/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
  File "/home/saju/openstk_manual/nova/nova/service.py", line 132, in run_server
    server.start()
  File "/home/saju/openstk_manual/nova/nova/service.py", line 410, in start
    self.manager.update_available_resource(ctxt)
  File "/home/saju/openstk_manual/nova/nova/compute/manager.py", line 2845, in update_available_resource
    self.resource_tracker.update_available_resource(context)
  File "/home/saju/openstk_manual/nova/nova/utils.py", line 804, in inner
    retval = f(*args, **kwargs)
  File "/home/saju/openstk_manual/nova/nova/compute/resource_tracker.py", line 390, in update_available_resource
    resources = self.driver.get_available_resource()
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 2250, in get_available_resource
    'local_gb': self.get_local_gb_total(),
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/driver.py", line 2044, in get_local_gb_total
    stats = libvirt_utils.get_fs_info(FLAGS.instances_path)
  File "/home/saju/openstk_manual/nova/nova/virt/libvirt/utils.py", line 429, in get_fs_info
    hddinfo = os.statvfs(path)
OSError: [Errno 2] No such file or directory: '/home/saju/openstk_manual/nova/instances'
2013-03-26 18:36:17 5878 CRITICAL nova [-] [Errno 2] No such file or directory: '/home/saju/openstk_manual/nova/instances'
(.venv)saju@saju-desktop:~/openstk_manual/nova$

sajuptpm (sajuptpm) said : #14

Hi,

Current issue I am facing is
OSError: [Errno 2] No such file or directory: '/home/saju/openstk_manual/nova/instances'
when runniing ./bin/nova-compute OR ./bin/nova-all

Please check previous comment.

Right now, I am installed libvirt-1.0 from tarball and running using command "libvirtd -d" as root user.
Otherwise getting error Failed to connect socket to '/var/run/libvirt/libvirt-sock (error log attached in previous comment)
Do you know any other way to fix this issue.

Thanks,

Jason (zzs) said : #15

I think you should create the instance directory by yourself and give the user permission.
Also you have to add the user to the libvirtd user group if you do not want to run as root.

Can you help with this problem?

Provide an answer of your own, or ask sajuptpm for more information if necessary.

To post a message you must log in.