nova-manage db sync error

Bug #1083054 reported by liuzhenbang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

when i use the guide in the webside openstack http://docs.openstack.org/trunk/openstack-compute/install/apt/content/compute-db-sync.html to intsall my nova ,an error ocur.
when use the command nova-manage db sync it saids that Command failed, please check log for more info
2012-11-26 12:59:58 CRITICAL nova [-] (OperationalError) unable to open database file None None
when i check the log it said that 2012-11-26 13:00:49 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc'> from (pid=2523) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:494
and i use the mysqlclient to login the remote db it works ,the command mysql -h192.168.1.44 -unova -pmypassword
and the following is my nova.conf
[DEFAULT]
# LOGS/STATE
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 192.168.1.44
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova
signing_dirname = /tmp/keystone-signing-nova

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
# VOLUMES
volume_driver=nova.volume.driver.ISCSIDriver
volume_group=nova-volumes
volume_name_template=volume-%s
iscsi_helper=tgtadm

# DATABASE
sql_connection=mysql://nova:mypassword@192.168.1.44/nova

# COMPUTE
libvirt_type=qemu
compute_driver=libvirt.LibvirtDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini

# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=192.168.1.54
s3_host=192.168.1.54
# RABBITMQ
rabbit_host=192.168.1.54

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.1.54:9292

# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
# Change my_ip to match each host
my_ip=192.168.1.54
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
fixed_range=192.168.100.0/24

# NOVNC CONSOLE
novncproxy_base_url=http://192.168.1.54:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.1.54
vncserver_listen=192.168.1.54

when i use mysqlclient to longin the remote datebase the db nova is empty,there is no one table in it.
and i have create the db nova ,and grand it

Tags: nova
tags: added: nova
Revision history for this message
Chuck Short (zulcss) wrote :

Which version are you using?

Changed in nova:
status: New → Incomplete
Revision history for this message
Sean Dague (sdague) wrote :

incomplete for 60 days with no response from bug creator

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.