openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24972
Re: error while creating instance on nfs share
On Tue, Jul 9, 2013 at 3:27 AM, Chathura M. Sarathchandra Magurawalage
<77.chathura@xxxxxxxxx> wrote:
> Hello al,
>
> I followed the Openstack instructions for enabling vm migration (
> http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-live-migrations.html
> )
>
> But I can not get it working, since when I create an instance I get the
> following error on the compute node.
>
[snip]
> 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1310,
> in _create_image
> 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
> utils.ensure_tree(basepath(suffix=''))
> 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp File
> "/usr/lib/python2.7/dist-packages/nova/utils.py", line 1367, in ensure_tree
> 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp
> os.makedirs(path)
> 2013-07-08 17:01:34 9329 TRACE nova.openstack.common.rpc.amqp File
> "/usr/lib/python2.7/os.py", line 157, in makedirs
Thanks heaps for including the traceback in your message, it makes
these things much easier to debug.
This looks to me like a permissions problem. The code has tried to
make a directory on your NFS share, and that has failed. Specifically,
this looks like the directory the instance files go into.
What happens if you try to create a directory on the NFS share as the
user that nova is running as?
Cheers,
Michael
--
Rackspace Australia
References