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

Re: [Xen-API] [MirageOS-devel] cubie2 arm image loses mac



> On 4 Jun 2015, at 18:00, Nick Betteridge <buzzheavyyear@xxxxxxxxxxx> wrote:
> 
> Excellent, they both compile, but I'm getting an error with the upload:
> 
> ./dns.xe
> Uploading VDI containing unikernel
> result = [<?xml 
> version="1.0"?><methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:da16d417-e6d1-c55f-1957-5f2e169d44ff</value></member></struct></value></param></params></methodResponse>]
> result = [<?xml 
> version="1.0"?><methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><array><data><value>OpaqueRef:02d446ef-7760-6096-09cd-909e82b9d706</value></data></array></value></member></struct></value></param></params></methodResponse>]
> result = [<?xml 
> version="1.0"?><methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:NULL</value></member></struct></value></param></params></methodResponse>]
> result = [<?xml 
> version="1.0"?><methodResponse><params><param><value><struct><member><name>Status</name><value>Failure</value></member><member><name>ErrorDescription</name><value><array><data><value>HANDLE_INVALID</value><value>SR</value><value>OpaqueRef:NULL</value></data></array></value></member></struct></value></param></params></methodResponse>]
> result = [<?xml 
> version="1.0"?><methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value></value></member></struct></value></param></params></methodResponse>]
> xe-unikernel-upload: internal error, uncaught exception:
>                      Api_errors.Server_error("HANDLE_INVALID", _)
> 
> I'm on the sudo's list - is this just a permissions thing or a xapi 
> configuration issue?

I think it’s a xapi configuration thing: I think this XMLRPC is saying “the SR 
with reference ‘NULL’ doesn’t exist. Looking at the code, it gets the SR 
reference from the Pool.default_SR, so I think this is not set on the server 
side.

Try running

xe sr-list

# look for a good SR to upload files too — I think the one called “Local 
storage” or “ffs” should do

xe pool-param-set uuid=<tab> default-SR=<uuid of the SR>

and then it should get further.

Cheers,
Dave


> 
> Cheers
> Nick


_______________________________________________
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®.