[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen-ceph-rbd usage - "Permission Denied"



On Wed, 2015-09-23 at 11:24 +0100, John Cobley wrote:
> Hi,
> 
> I'm trying to use the "xen-ceph-rbd" script found here - 
> https://github.com/FlorianHeigl/xen-ceph-rbd .  Whenever I try to start 
> my VM I get this error -
> 
> > libxl: cannot execute /etc/xen/scripts/block-rbd: Permission denied
> > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: 
> > /etc/xen/scripts/block-rbd add [-1] exited with error status 255
> > libxl: error: libxl_create.c:1054:domcreate_launch_dm: unable to add 
> > disk devices
> 
> My Ceph cluster uses cephx for authentication so I've added a keyring 
> entry to the conf file but I'm still seeing the error.

Did you chmod +x the file? 


> My VM conf file -
> > #
> > # Configuration file for the Xen instance debiantest, created
> > # by xen-tools 4.5 on Tue Sep 22 10:58:36 2015.
> > #
> > 
> > #
> > #  Kernel + memory size
> > #
> > 
> > kernel = '/boot/vmlinuz-3.16.0-4-amd64'
> > 
> > #bootloader = '/usr/lib/xen-4.4/bin/pygrub'
> > 
> > vcpus       = '2'
> > memory      = '512'
> > 
> > 
> > #
> > #  Disk device(s).
> > #
> > 
> > 
> > #
> > #  Physical volumes
> > #
> > root        = '/dev/xvda2 ro'
> > #disk        = [
> > #                'phy:/dev/rbd/rbd/debiantest,xvda1,w',
> > #              ]
> > disk = [ 'script=block-rbd,vdev=xvda2,target=rbd:debiantest' ]
> > #
> > #  Hostname
> > #
> > name        = 'debiantest'
> > 
> > #
> > #  Networking
> > #
> > dhcp        = 'dhcp'
> > vif         = [ 'mac=00:16:3E:32:D9:A9' ]
> > 
> > #
> > #  Behaviour
> > #
> > on_poweroff = 'destroy'
> > on_reboot   = 'restart'
> > on_crash    = 'restart'
> 
> Can anyone point me in the right direction?
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.