Re: [Openstack] [OpenStack][Nova] Live Migration Error
I see pre_live_migration in destination compute log, so migration at least started. Since there are no errors in either compute log, is it possible that migration is taking long ? (Just a possibility) When you say migration fails what error did you get ? -Mandar On Mon, Jul 9, 2012 at 7:39 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Ok, so i've updated to the test packages from The migration still fails, but i see no errors in the logs. I'm trying to migrate a VM with the m1.tiny flavor from one machine to another. Their hardware are identical and they have more than enough resources to support the m1.tiny flavor: cloud35 (total) 43867 186 cloud35 (used_now) 0 312 5 cloud35 (used_max) 0 0 0 These are the logs from the origin compute node: http://paste.openstack.org/show/19319/ and the destination compute node: http://paste.openstack.org/show/19318/ . The scheduler's log has no visible errors or stack traces. I'm still using nfsv4. Any ideas? On Fri, Jul 6, 2012 at 7:57 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Thanks for the tip, it's a better than nothing :) Regards, Leander On Fri, Jul 6, 2012 at 6:32 PM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: Not sure if you are able to debug this, but a while ago there was a bug where instance.id was passed where instance.uuid was expected. This used to cause some problem. It looks like you are using distribution package rather than devstack installation, so it is likely that the issue is now fixed. Can you try latest packages (and/or try devstack if you can) I wish I could help more. -Mandar On Fri, Jul 6, 2012 at 3:26 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Hello, I've recently setup a system to test out the live migration feature. So far i've been able to launch the instances with the shared nfs folder. However, when i run the live-migration command i encounter this error in the destination compute node: 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 solve this? 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
Re: [Openstack] 答复: [OpenStack][Nova] Live Migration + NFSv4 - Permission issues
So i've managed to get my instances to launch, thx Mandar! Does that mean you used nfsv3 ? Based on the comments on the URL, several people (all ??) seems to have problem with nfsv4 *Anne, Is it possible to add this to FAQ (or relevant document(s) )? *(after Leander confirms that nfs v3 solved the problem) (See https://answers.launchpad.net/nova/+question/164689, specifically comment #11) -Mandar ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] [OpenStack][Nova] Live Migration Error
Not sure if you are able to debug this, but a while ago there was a bug where instance.id was passed where instance.uuid was expected. This used to cause some problem. It looks like you are using distribution package rather than devstack installation, so it is likely that the issue is now fixed. Can you try latest packages (and/or try devstack if you can) I wish I could help more. -Mandar On Fri, Jul 6, 2012 at 3:26 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Hello, I've recently setup a system to test out the live migration feature. So far i've been able to launch the instances with the shared nfs folder. However, when i run the live-migration command i encounter this error in the destination compute node: 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 solve this? 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
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
Re: [Openstack] Openstack Baremetal Provisioning
Please help me understand on how modifying nova.conf with the respective options can help bringing up tilera like machines up either from command line or from GUI. http://wiki.openstack.org/HeterogeneousTileraSupport Seems to have a lot of information. http://wiki.openstack.org/GeneralBareMetalProvisioningFramework This seems work in progress and may not be completely done. One for Essex is also prototype -Mandar ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] 401 Not Authorized from glance - How to fix ?
Hi, I'm working on python program that needs to get images detail from glance. I was using get_admin_context earlier to do all the work in nova side, but this doesn't seem to work when I query glance. I get 401 Not Authorized error. I think I need to get auth_token from keystone, and use it when creating RequestContext object - then glance query might work. (Is this assumption correct, in the first place) But I do not know how to do this programatically, I looked at nova image-list command, but I didn't get clear picture on how this should be done. Can you point to any existing code that authenticates with keystone and then uses the auth-token to talk to glance ? Thanks, -Mandar ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Pending reviews
It would be great if someone can spare some time to have a look at these : https://review.openstack.org/#/c/6451/ : I've addressed comments from first review cycle - Second patch set needs to be reviewed and approved https://review.openstack.org/#/c/6452/ : Brad Hall reviewed - But more review and/or approval needed. https://review.openstack.org/#/c/6076/ : Chuck Short and Kevin Mitchell said Looks good - But approval still needed. Thanks !!! -Mandar ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp