@Romi, check if the libvirt-bin is running, that usually means its not. So i've managed to get my instances to launch, thx Mandar!
However, when i try to migrate i get this error: > 2012-07-05 09:33:48 ERROR nova.manager [-] Error during > ComputeManager.update_available_resource: Domain not found: no domain with > matching id 2 > 2012-07-05 09:33:48 TRACE nova.manager Traceback (most recent call last): > 2012-07-05 09:33:48 TRACE nova.manager File > "/usr/lib/python2.7/dist-packages/nova/manager.py", line 155, in > periodic_tasks > 2012-07-05 09:33:48 TRACE nova.manager task(self, context) > 2012-07-05 09:33:48 TRACE nova.manager File > "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2409, in > update_available_resource > 2012-07-05 09:33:48 TRACE nova.manager > self.driver.update_available_resource(context, self.host) > 2012-07-05 09:33:48 TRACE nova.manager File > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line > 1936, in update_available_resource > 2012-07-05 09:33:48 TRACE nova.manager 'vcpus_used': > self.get_vcpu_used(), > 2012-07-05 09:33:48 TRACE nova.manager File > "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line > 1743, in get_vcpu_used > 2012-07-05 09:33:48 TRACE nova.manager dom = > self._conn.lookupByID(dom_id) > 2012-07-05 09:33:48 TRACE nova.manager File > "/usr/lib/python2.7/dist-packages/libvirt.py", line 2363, in lookupByID > 2012-07-05 09:33:48 TRACE nova.manager if ret is None:raise > libvirtError('virDomainLookupByID() failed', conn=self) > 2012-07-05 09:33:48 TRACE nova.manager libvirtError: Domain not found: no > domain with matching id 2 Any ideas on how to debug solve this? On Thu, Jul 5, 2012 at 9:03 AM, romi zhang <romizhang1...@163.com> wrote: > I am also met the problem when I restart nova-compute “libvirtError: > Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file > or directory” after modify factors of libvirt, also use NFS as share > storage.**** > > ** ** > > Romi**** > > ** ** > > ** ** > > *发件人:* openstack-bounces+romizhang1968=163....@lists.launchpad.net[mailto: > openstack-bounces+romizhang1968=163....@lists.launchpad.net] *代表 *Mandar > Vaze / ????? ??? > *发送时间:* 2012年7月5日 星期四 12:14 > *收件人:* Leander Bessa Beernaert > *抄送:* openstack@lists.launchpad.net > *主题:* Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - > Permission issues**** > > ** ** > > See if mounting as nfsv3 helps**** > > See https://answers.launchpad.net/nova/+question/164689, > specifically comment #11**** > > ** ** > > -Mandar**** > > On Tue, Jul 3, 2012 at 7:18 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote:**** > > Hello all,**** > > ** ** > > I've been trying to get the live migration to work according to the guide > http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html. > **** > > ** ** > > So far i've setup 2 compute nodes and 1 controller node. They all share > the /var/lib/nova/instances dir. I've already verified that the nova user > id is the same across all the servers. **** > > ** ** > > Currently i'm running into this error when i launch an instance: > http://paste.openstack.org/show/19221/**** > > ** ** > > It's certainly a permission issue, so i tried adding the group "nova" to > the user "libvirt-qemu". However, it still doesn't work. To which user must > i give the nova group permission in order to be able to write in that > directory?**** > > ** ** > > Regards,**** > > Leander**** > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp**** > > ** ** >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp