Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Keith Tobin,

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

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

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

Getting the same error " no such table" again

also there is another errors like

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

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

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

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

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

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

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