[Openstack] nova-network cannot start because 'host' set in db

2011-11-14 Thread mao weijie
Hi, I have found something maybe bug in nova-network ie: using FLATDHCP my br100 is set 10.200.200.2,hostname=node1 when I start nova-network, br100 will be add an other ip, maybe 10.200.200.5 here in nova db, fixed_ips table , 'host' field of address="10.200.200.5" entry will be set to 'node1

Re: [Openstack] Weird behaviour regarding nova image-create

2011-11-08 Thread mao weijie
It is linux problem, it never sync the same time and return just write into system cache. But FreeBSD does not ,so I like BSD :) 非淡泊無以明志,非寧靜無以致遠 On Nov 8, 2011, at 11:15 PM, Razique Mahroua wrote: > Thanks to praefect, > I figured that was related to the pending I/O > > so before creating th

Re: [Openstack] All instances cannot be started and how to update nova, glance from older to the latest version

2011-11-07 Thread mao weijie
And I know "keystone-manage db_sync" does not exist . How to sync glance and keystone db? 非淡泊無以明志,非寧靜無以致遠 On Nov 7, 2011, at 10:53 PM, Jay Pipes wrote: > On 11/07/2011 09:39 AM, mao weijie wrote: >> Today I git pull the latest nova,glance, keystone and novaclient. Then I &

Re: [Openstack] All instances cannot be started and how to update nova, glance from older to the latest version

2011-11-07 Thread mao weijie
e some subtilities that require precaution, and that would help you > for an upgrade process . > > what > $ virsh > virsh# list --all > > shows ? > > Le 7 nov. 2011 à 15:39, mao weijie a écrit : > >> Today I git pull the latest nova,glance, keystone and novacl

Re: [Openstack] All instances cannot be started and how to update nova, glance from older to the latest version

2011-11-07 Thread mao weijie
Thanks Jay Does glance have "db sync" command? 非淡泊無以明志,非寧靜無以致遠 On Nov 7, 2011, at 10:53 PM, Jay Pipes wrote: > On 11/07/2011 09:39 AM, mao weijie wrote: >> Today I git pull the latest nova,glance, keystone and novaclient. Then I >> reinstall them in my production.B

[Openstack] All instances cannot be started and how to update nova, glance from older to the latest version

2011-11-07 Thread mao weijie
Today I git pull the latest nova,glance, keystone and novaclient. Then I reinstall them in my production.But I found it cannot work fine with older version about one week ago. I use nova-manage db sync. Now I have some questions: 1. glance now use like md5 result as id not single number in glanc

[Openstack] nova-compute often stop since of libvirt-bin

2011-10-27 Thread mao weijie
I have found nova-compute often stopped that no update info in log and service status is XXX. Then I restart nova-compute, but it is still stop in "DEBUG nova.virt.libvirt_conn [-] Connecting to libvirt: qemu:///system from (pid=31811) _get_connection /data/nova/nova/virt/libvirt/connection.py:2

Re: [Openstack] glance-api errors and stop

2011-10-12 Thread mao weijie
Does anyone meet this problem? I think it is Django(python) problem. more log: 2011-10-12 06:22:01DEBUG [eventlet.wsgi.server] 10.200.200.2 - - [12/Oct/2011 06:22:01] "GET /v1/images/4 HTTP/1.1" 200 66241 0.109968 2011-10-12 06:22:03DEBUG [glance.api.middleware.version_negotiation] Pro

[Openstack] How to backup instances and restore it in another storage

2011-10-11 Thread mao weijie
I have just installed nova/glance/keystone/dashboard on one controller and compute/network nodes. Images and instances are stored in local disk. I know the instances are (base image + Copy-On-Write) files. Which file should I backup that are enough to restore a instance in another disk? If m

[Openstack] How to use glance and nova-manage in command with keystone

2011-10-09 Thread mao weijie
Hi, I used devstack to install openstack and it work well with dashboard. But now I want to use command(glance or nova-manage), it tells me that credentials problem. Does anyone use dashboard with keystone and also use command in terminal? 非淡泊無以明志,非寧靜無以致遠