yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01099
[Bug 1083054] Re: nova-manage db sync error
incomplete for 60 days with no response from bug creator
** Changed in: nova
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1083054
Title:
nova-manage db sync error
Status in OpenStack Compute (Nova):
Invalid
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1083054/+subscriptions