WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [ERR] xen-api Digest, Vol 58, Issue 2

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [ERR] xen-api Digest, Vol 58, Issue 2
From: postmaster@xxxxxxxxxxxxx
Date: Thu, 03 Mar 2011 04:26:43 +0900
Auto-submitted: auto-generated
Delivery-date: Thu, 03 Mar 2011 09:19:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Transmit Report:

 To: kkangeva@xxxxxxxxxxxxx, 451 Requested action aborted: No failover server
--- Begin Message ---
To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: xen-api Digest, Vol 58, Issue 2
From: xen-api-request@xxxxxxxxxxxxxxxxxxx
Date: Thu, 03 Mar 2011 04:26:43 +0900
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-api@xxxxxxxxxxxxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Y-mail-class: None
Y-message-id: <1299093823.24295.postech@xxxxxxxxxxxxx>
Send xen-api mailing list submissions to
        xen-api@xxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.xensource.com/mailman/listinfo/xen-api
or, via email, send a message with subject or body 'help' to
        xen-api-request@xxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        xen-api-owner@xxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of xen-api digest..."


Today's Topics:

   1. [SPAM]  DEFAULT_SR_NOT_FOUND when importing a VM
      (Jean-Francois Couture)
   2. Re: [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
      (Alberto Gonz?lez Rodr?guez)
   3. RE: [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
      (Jean-Francois Couture)
   4. Re: [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
      (Alberto Gonz?lez Rodr?guez)


----------------------------------------------------------------------

Message: 1
Date: Wed, 02 Mar 2011 11:35:57 -0700
From: "Jean-Francois Couture" <jfcouture@xxxxxxxxxxxxxx>
Subject: [Xen-API] [SPAM]  DEFAULT_SR_NOT_FOUND when importing a VM
To: xen-api@xxxxxxxxxxxxxxxxxxx
Message-ID:
        
<20110302113557.ce9108a3647f4398263da6a089a91ede.08dea08cd4.wbe@xxxxxxxxxxxxxxxxxxxxxxxx>
        
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/mailman/private/xen-api/attachments/20110302/67a87a8a/attachment.html

------------------------------

Message: 2
Date: Wed, 2 Mar 2011 20:06:13 +0100
From: Alberto Gonz?lez Rodr?guez <alberto@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
To: Jean-Francois Couture <jfcouture@xxxxxxxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <AANLkTimw-YJ0ftux=p4x6Jyo9UpqR5oD23TdvrRuzEK+@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

Field is sr_id and not sr_uuid

and is recommended use task_id too

Regards

On Wed, Mar 2, 2011 at 7:35 PM, Jean-Francois Couture <
jfcouture@xxxxxxxxxxxxxx> wrote:

> Hi,
>
> in xenServer 5.6,
>
> I'm trying to import a XVA file via command line using curl.
>
> I tried the example in the sdk document telling:
>
> curl -T <exportfile> http://root:foo@myxenserver2/import?sr_uuid=<uuid_of_sr>
>
>
>
> my exact line :  curl -k -T 12c38b19-c528-aa1c-5a4c-4112875c02f9.xva 
> https://root:<password>@192.168.111.17/import?sr_uuid=ff852c97-e6c9-7ff2-0e2b-8becb7b5fb16
>
>
>
> on that example, the 192.168.111.17 server is the pool master but the SR is 
> on another machine.
>
> I tried with the SR's server IP also.
>
>
>
> using my credentials and copy/paste the UUID of the target SR (from 
> xenCenter).
>
>
>
> I also checked the UUID using "xe sr-list type=lvm" to be sure.
>
> I even tried the OpaqueRef: reference to that SR
>
>
>
> but its not working.
>
>
>
> the error I get is : <html><body><h1>Internal Server 
> Error</h1>DEFAULT_SR_NOT_FOUND: [ OpaqueRef:NULL ]</body></html>
>
>
>
> My config is 3 xenservers 5.6 (not fp1) in a pool each with local storage.
>
>
>
> On the otherhand, exporting a VM with curl works great.
>
>
>
> Could someone shine some light on my problem ?
>
>
>
> thanks,
>
>
>
> Jeff C.
>
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/mailman/private/xen-api/attachments/20110302/b1163dbc/attachment.html

------------------------------

Message: 3
Date: Wed, 02 Mar 2011 12:13:38 -0700
From: "Jean-Francois Couture" <jfcouture@xxxxxxxxxxxxxx>
Subject: RE: [Xen-API] [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
To: " Alberto_Gonz?lez_Rodr?guez "      <alberto@xxxxxxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Message-ID:
        
<20110302121338.ce9108a3647f4398263da6a089a91ede.3b81c9a24a.wbe@xxxxxxxxxxxxxxxxxxxxxxxx>
        
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/mailman/private/xen-api/attachments/20110302/57bfb522/attachment.html

------------------------------

Message: 4
Date: Wed, 2 Mar 2011 20:23:06 +0100
From: Alberto Gonz?lez Rodr?guez <alberto@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
To: Jean-Francois Couture <jfcouture@xxxxxxxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <AANLkTinwMbV5qss9kNjsK1t+=1-w=Ne=07m5s=PBTRox@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

see your /var/log/* files for more information or use task id for related
errors

Regards



2011/3/2 Jean-Francois Couture <jfcouture@xxxxxxxxxxxxxx>

> Ok, thanks.
>
> Did what you said, now I have this error:
>
> <html><body><h1>Internal Server Error</h1>NO_HOSTS_AVAILABLE: [
> ]</body></html>
>
> with this line:
>
> curl -k -T 12c38b19-c528-aa1c-5a4c-4112875c02f9.xva
> https://root:<password>@192.168.111.17/import?sr_id=ff852c97-e6c9-7ff2-0e2b-8becb7b5fb16
>
>
> any ideas ?
>
> Jeff C.
>
> -------- Original Message --------
> Subject: Re: [Xen-API] [SPAM] DEFAULT_SR_NOT_FOUND when importing a VM
> From: Alberto_González_Rodríguez <alberto@xxxxxxxxxxxxx>
> Date: Wed, March 02, 2011 12:06 pm
> To: Jean-Francois Couture <jfcouture@xxxxxxxxxxxxxx>
> Cc: xen-api@xxxxxxxxxxxxxxxxxxx
>
> Hello,
>
> Field is sr_id and not sr_uuid
>
> and is recommended use task_id too
>
> Regards
>
> On Wed, Mar 2, 2011 at 7:35 PM, Jean-Francois Couture <
> jfcouture@xxxxxxxxxxxxxx> wrote:
>
>>  Hi,
>>
>> in xenServer 5.6,
>>
>> I'm trying to import a XVA file via command line using curl.
>>
>> I tried the example in the sdk document telling:
>>
>> curl -T <exportfile> http://root:foo@myxenserver2/import?sr_uuid=<uuid_of_sr>
>>
>>
>>
>> my exact line :  curl -k -T 12c38b19-c528-aa1c-5a4c-4112875c02f9.xva 
>> https://root:<password>@192.168.111.17/import?sr_uuid=ff852c97-e6c9-7ff2-0e2b-8becb7b5fb16
>>
>>
>>
>> on that example, the 192.168.111.17 server is the pool master but the SR is 
>> on another machine.
>>
>> I tried with the SR's server IP also.
>>
>>
>>
>> using my credentials and copy/paste the UUID of the target SR (from 
>> xenCenter).
>>
>>
>>
>> I also checked the UUID using "xe sr-list type=lvm" to be sure.
>>
>> I even tried the OpaqueRef: reference to that SR
>>
>>
>>
>> but its not working.
>>
>>
>>
>> the error I get is : <html><body><h1>Internal Server 
>> Error</h1>DEFAULT_SR_NOT_FOUND: [ OpaqueRef:NULL ]</body></html>
>>
>>
>>
>> My config is 3 xenservers 5.6 (not fp1) in a pool each with local storage.
>>
>>
>>
>> On the otherhand, exporting a VM with curl works great.
>>
>>
>>
>> Could someone shine some light on my problem ?
>>
>>
>>
>> thanks,
>>
>>
>>
>> Jeff C.
>>
>>
>> _______________________________________________
>> xen-api mailing list
>> xen-api@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/mailman/listinfo/xen-api
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/mailman/private/xen-api/attachments/20110302/dcada263/attachment.html

------------------------------

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


End of xen-api Digest, Vol 58, Issue 2
**************************************




--- End Message ---
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api