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

Re: [Xen-API] XCP 1.6, create ISO shared storage on NFS using CLI - "missing the location parameter"


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: John Else <john.else@xxxxxxxxxx>
  • Date: Tue, 12 Feb 2013 16:55:25 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Tue, 12 Feb 2013 17:00:50 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac4IeYrg7NWSeTlXTlWCKBtjTTl5hAAx/m6w
  • Thread-topic: [Xen-API] XCP 1.6, create ISO shared storage on NFS using CLI - "missing the location parameter"

Hi Alexandre,

There's a typo in the docs - "device_config:location=<nfs server:path>" should 
be "device-config:location=<nfs server:path>" - the underscore should be a 
dash/minus sign.

I'll raise a ticket with the docs team.

John

-----Original Message-----
From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On 
Behalf Of Alexandre Kouznetsov
Sent: 11 February 2013 16:58
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] XCP 1.6, create ISO shared storage on NFS using CLI - 
"missing the location parameter"

Hello.

I'm trying to add a shared ISO storage over NFS to my pool, using the 
CLI, and get a error that suggests something is wrong with my syntax. 
The NFS server works fine, as far as I can test it. I'm able to add the 
shared ISO storage using XenCenter GUI.

Using XenServer 6.1 documentation [1] as reference, I run:
xe sr-create name-label="NFS ISO library" \
   type=iso content-type=iso  shared=true\
   device_config:location=nfs-server-hostname:/srv/nfs/xcp-library

And get:
Error code: SR_BACKEND_FAILURE_94
Error parameters: , The request is missing the location parameter,

(Those whitespace around commas may indicate that some parameters are 
not parsed correctly?)

In the same reference document, I found a mention of a slightly 
different syntax [2], normally used to create a NFS VHD storage. I 
tested it, modifying the type= and content-type=:
xe sr-create name-label="NFS ISO library" \
   type=iso content-type=iso shared=true \
   device-config:server=nfs-server-hostname \
   device-config:serverpath=/srv/nfs/xcp-library

...and got the same error.

Even if I try to bind the SR to a specific host, it's the same:
xe sr-create name-label="NFS ISO library" \
   host-uuid=`xe host-list name-label=xcp-node24 --minimal` \
   type=iso content-type=iso \
   device_config:location=nfs-server-hostname:/srv/nfs/xcp-library

...same error.

I must add, the CLI works great when I create a NFS VHD:
xe sr-create name-label="NFS virtual disk storage" \
   type=nfs content-type=user shared=true \
   device-config:server=nfs-server-hostname \
   device-config:serverpath=/srv/nfs/xcp-storage

Please advice, what am I missing?

Thank you.

References:
[1] 
http://docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/reference.html#id891311
[2] 
http://docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/reference.html#id894664

-- 
Alexandre Kouznetsov


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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