Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to start nova services if we setup nova from github

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)

How to start nova services if we setup nova from github

Hi,

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

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

I tried

source .venv/bin/activate

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

./bin/nova-all

But getting following errors * errors

  • Failed to load ec2-api, osapi_compute-api, metadata-api, nova-compute * nova-compute
  • ConfigNotFound: Could not find config at api-paste.ini * 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 libxslt-dev #git clone https://github.com/openstack/nova.git

cd nova

python tools/install_venv.py

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. complete.

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

To activate the Nova virtualenv for the extent of your current shell shell session you can run: 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 case basis by running: running:

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

Also, make test will automatically use the virtualenv.

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

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)
*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)
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)
*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)
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)
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)
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)
*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)
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)
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)
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)
*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)
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)
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)
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)
*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)
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)
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)
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)
*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)
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)
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)
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)
*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)
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)
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)
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)
*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)
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)
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)

0)

How to start nova services if we setup nova from github

I am following below doc to setup Nova development environment. I installed nova successfully. Next i want to run all nova services, How do it ???? 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

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

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

#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.

#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)

How to start nova services if we setup nova from github

I am following below doc to setup Nova development environment. I installed nova successfully. Next i want to run all nova services, How do it ?? 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

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

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

#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.

#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)

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