nova-manage db sync error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when i use the guide in the webside openstack http://
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.
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=
state_path=
lock_path=
rootwrap_
# AUTHENTICATION
auth_strategy=
[keystone_
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-
# SCHEDULER
compute_
# VOLUMES
volume_
volume_
volume_
iscsi_helper=tgtadm
# DATABASE
sql_connection=
# COMPUTE
libvirt_type=qemu
compute_
instance_
api_paste_
# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_
# APIS
osapi_compute_
ec2_dmz_
s3_host=
# RABBITMQ
rabbit_
# GLANCE
image_service=
glance_
# NETWORK
network_
force_dhcp_
dhcpbridge_
firewall_
# Change my_ip to match each host
my_ip=192.168.1.54
public_
vlan_interface=eth0
flat_network_
flat_interface=eth0
fixed_range=
# NOVNC CONSOLE
novncproxy_
# Change vncserver_
vncserver_
vncserver_
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: | added: nova |
Which version are you using?