From xen-api-bounces@lists.xenproject.org Fri Mar 02 15:42:54 2018
Return-path: <xen-api-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xen.org
Delivery-date: Fri, 02 Mar 2018 15:42:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.84_2)
	(envelope-from <xen-api-bounces@lists.xenproject.org>)
	id 1ermpc-0001Su-CM; Fri, 02 Mar 2018 15:42:48 +0000
Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6])
 by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from
 <srs0=llaa=fw=adventiumlabs.com=mike.neilsen@srs-us1.protection.inumbo.net>)
 id 1er2RN-0001xy-7v
 for xen-api@lists.xenproject.org; Wed, 28 Feb 2018 14:10:41 +0000
X-Inumbo-ID: 0496e9b9-1c91-11e8-ba59-bc764e045a96
Received: from mail-io0-x234.google.com (unknown [2607:f8b0:4001:c06::234])
 by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS
 id 0496e9b9-1c91-11e8-ba59-bc764e045a96;
 Wed, 28 Feb 2018 15:09:41 +0100 (CET)
Received: by mail-io0-x234.google.com with SMTP id e7so3358822ioj.1
 for <xen-api@lists.xenproject.org>; Wed, 28 Feb 2018 06:10:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=adventiumlabs-com.20150623.gappssmtp.com; s=20150623;
 h=to:cc:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=qXoG0ZlaLOf2oK/p0qdwhhGiRVFwhnSp2vaPYaPLc2k=;
 b=Surp6ZfLj1qblUm66I1F4uNXf4rUkvG7g9scC1KZ5c1C6s531dX0cH3w12HhKw2nem
 C43Hq7HlPf/H8UsI95PXHwS+cuyPDNKPU//I7NYt4mPFm6W5/6jxngExEOaJ8BoADBfS
 aE2EHI7xeL4dxL2OrBx9fUXWnq8rtkUwtFqn/xOevi1sHWHkvX6M9gAvfLzhni0YgBn4
 Ux7lotrnoaiKhtxEllw1eFobcCasRFCMlNR8d2/+KMuNR1wQD3icNj3dZnsdkPXeeRZv
 mrwCAULmxXHuJyh8J1NajT/aU7vaZttTAY5tHLLSIWqMi1g1SFIbXEKIyijAOn3vT22M
 vKSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=qXoG0ZlaLOf2oK/p0qdwhhGiRVFwhnSp2vaPYaPLc2k=;
 b=Rv8zPkbchWFrgTuNSCwpUn8uAocQZ2ktZFCRuDhzX3mPhG7z66Obu9AYRgcymxwFOK
 pGknAD0UnXshdMwkQfZxREpMxX/5xNCkWCI2BLjd4sRP2/1/Ot3ZPn9f0LAEQS6/cl7o
 iHSIRzghs7SgnP7qKpDFcJO0ZN53exQ7+ic6lCbmmaCAVnHSmabZAnh//Gg3Gih0UWcR
 S7WPgVxWQ+ffGln3NImV0OgXguxQgc5DF7gTpQfOKO9crJv3al4FQlfszL0g+R1xVFji
 8JU7u5/1hX2YPFjLn1965vC2w8xD4OmxN/D5wLyXzVBCSEIMRhMpXd5XWf2jgGdsQPZ6
 Fayg==
X-Gm-Message-State: APf1xPAi6DU27iTMwwnDCsnPPaUBhHDetthis89EpP3N/9oZYXz1Pnc4
 8/470rezoRosMXWPiskweW3Q
X-Google-Smtp-Source: AG47ELtcMf7v8PYoIpKMFFN6Bj03JkAZA1Mqg3fVRdxhzshzNPLR8DopmeyLe0wpTKWPRcaAcEm5Uw==
X-Received: by 10.107.19.233 with SMTP id 102mr19347737iot.276.1519827038125; 
 Wed, 28 Feb 2018 06:10:38 -0800 (PST)
Received: from [192.168.220.120] ([38.92.135.226])
 by smtp.gmail.com with ESMTPSA id v140sm1699380itb.42.2018.02.28.06.10.37
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 28 Feb 2018 06:10:37 -0800 (PST)
To: xen-api@lists.xenproject.org
From: Mike Neilsen <mike.neilsen@adventiumlabs.com>
Message-ID: <9139ce1e-2249-8c7d-ecb5-9698674176bb@adventiumlabs.com>
Date: Wed, 28 Feb 2018 08:10:37 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Language: en-US
X-Mailman-Approved-At: Fri, 02 Mar 2018 15:42:47 +0000
Cc: dave.scott@docker.com
Subject: [Xen-API] Storage driver domains and XAPI
X-BeenThere: xen-api@lists.xenproject.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User and development list for XCP and XAPI
 <xen-api.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:xen-api@lists.xenproject.org>
List-Help: <mailto:xen-api-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: xen-api-bounces@lists.xenproject.org
Sender: "Xen-api" <xen-api-bounces@lists.xenproject.org>

RG9lcyBhbnlvbmUgcmVjYWxsIGlmL2hvdyBYQVBJIHN1cHBvcnQgZm9yIHN0b3JhZ2UgZHJpdmVy
IGRvbWFpbnMgd2FzCnJlbW92ZWQgb3IgYWx0ZXJlZCBiZXR3ZWVuIFhlblNlcnZlciA2LnggKHhh
cGktMC4yKSBhbmQgWGVuU2VydmVyIDcueAooeGFwaS0xLjkuNTcrKQoKUGVyaGFwcyB0aGVyZSBp
cyBhIG5ldyBwcmVmZXJyZWQgbWVjaGFuaXNtIHRvIGVzdGFibGlzaCBhIHN0b3JhZ2UKZHJpdmVy
IGRvbWFpbj8gSWYgc28sIGNvdWxkIHNvbWVvbmUgc2hlZCBhbnkgbGlnaHQgb24gd2hhdApjb25m
aWd1cmF0aW9uIGlzIHJlcXVpcmVkIHRvIGJ5cGFzcyBEb20wJ3MgU01BUEkgcGx1Z2lucz8KCkJh
Y2tncm91bmQuLi4gSW4gWGVuU2VydmVyIDYueCwgb25jZSBjb3VsZDoKMS4gQ3JlYXRlIGFuZCBw
cm92aXNpb24gYSBzdG9yYWdlIGRyaXZlciBWTSB0byBjb21tdW5pY2F0ZSB3aXRoIFhBUEkKICAg
c3RvcmFnZSByZXF1ZXN0cyBvdmVyIFhNTFJQQyBvbiB0aGUgaG9zdCBpbnRlcm5hbCBtYW5hZ2Vt
ZW50CiAgIG5ldHdvcmsKMi4gQ3JlYXRlIGFuIFNSIGluIERvbTA7IHNldCB0aGUgcmVxdWlyZWQg
InR5cGUiIHBhcmFtZXRlciB0byAiZXh0Ii4KMy4gQ3JlYXRlIGEgUEJEIGluIERvbTAgbGlua2Vk
IHRvIHRoZSBTUiBjcmVhdGVkIGluIHN0ZXAgMi4KNC4gU2V0IHN0ZXAgMydzIFBCRCdzICJvdGhl
ci1jb25maWc6c3RvcmFnZV9kcml2ZXJfZG9tYWluIiB0byB0aGUgVk0KICAgY3JlYXRlZCBpbiBz
dGVwIDEuCjUuIEZpbmFsbHksIHBsdWcgaW4gdGhlIFBCRC4KCkluIFhlblNlcnZlciA3LnggaG93
ZXZlciwgc3RlcCA1IChwbHVnIGluIGEgUEJEKSBYQVBJIGF0dGVtcHRzIHRvIHVzZQphc3NldHMg
aW4gRG9tMC0tYW4gU00gcGx1Z2luIG9yIG1lc3NhZ2Utc3dpdGNoIHF1ZXVlIG5hbWVkIGFmdGVy
IHN0ZXAKMidzIFNSIHR5cGUgKCJleHQiLCBmb3IgZXhhbXBsZSktLWluc3RlYWQgb2YgYSByZW1v
dGUgZW5kcG9pbnQgc3VjaCBhcwp0aGUgc3RvcmFnZSBkcml2ZXIgVk0uIEluIDcueCwgaWYgc3Rl
cCAyJ3MgU1IgdHlwZSBpcyAiZXh0IiwgWEFQSSB1c2VzCkRvbTAncyAvb3B0L3hlbnNvdXJjZS9z
bS9FWFRTUi5weSwgd2hpbGUgaW4gNi54LCBEb20wJ3MgcGx1Z2lucyBhcmUKYnlwYXNzZWQgaW4g
ZmF2b3Igb2YgdXNpbmcgdGhlIHN0b3JhZ2UgZHJpdmVyIFZNLgoKVGhlIGZvbGxvd2luZyBjb21t
aXQgKERhdmUgU2NvdHQpIHNlZW1zIHZhZ3VlbHkgcmVsZXZhbnQ6CiAgIkFsbCBTTUFQSSBhY2Nl
c3MgaXMgbm93IHJvdXRlZCB0aHJvdWdoIHRoZSB4Y3AtaWRsIGNsaWVudCBjb2RlIgogIGh0dHBz
Oi8vZ2l0aHViLmNvbS94YXBpLXByb2plY3QveGVuLWFwaS9jb21taXQvYjBkYmE2N2U3MWEyMDUz
NGJjNGU4NGQyNDlmMzI2NGMyMWQxODkzZAoKIkRyaXZlcl9raW5kLmNsYXNzaWZ5IiB3YXMgY2Fw
YWJsZSBvZiByZXR1cm5pbmcgdGhlIElQIG9mIGEgc3RvcmFnZQpkcml2ZXIgVk0uICBMb29raW5n
IHRocm91Z2ggNy54J3MgWEFQSSBhbmQgSURMIGNvZGUsIEkgd2FzIG5vdCBhYmxlIHRvCmZpbmQg
ZXF1aXZhbGVudCBmdW5jdGlvbmFsaXR5LgoKU28sIGRyaXZlciBkb21haW4gZmVhdHVyZTogZ29u
ZSwgb3Igb3ZlcnRha2VuIGJ5IGFuIGFsdGVybmF0aXZlCm1lY2hhbmlzbT8KClRoYW5rcwogIG1p
a2UubmVpbHNlbkBhZHZlbnRpdW1sYWJzLmNvbQoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KWGVuLWFwaSBtYWlsaW5nIGxpc3QKWGVuLWFwaUBsaXN0cy54
ZW5wcm9qZWN0Lm9yZwpodHRwczovL2xpc3RzLnhlbnByb2plY3Qub3JnL21haWxtYW4vbGlzdGlu
Zm8veGVuLWFwaQo=

From xen-api-bounces@lists.xenproject.org Fri Mar 02 15:42:54 2018
Return-path: <xen-api-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xen.org
Delivery-date: Fri, 02 Mar 2018 15:42:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.84_2)
	(envelope-from <xen-api-bounces@lists.xenproject.org>)
	id 1ermpc-0001Sl-91; Fri, 02 Mar 2018 15:42:48 +0000
Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6])
 by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from
 <srs0=kqbw=fi=bluestatedigital.com=rkahil@srs-us1.protection.inumbo.net>)
 id 1em4XN-0007vd-8l
 for xen-api@lists.xenproject.org; Wed, 14 Feb 2018 21:24:21 +0000
X-Inumbo-ID: 550008a8-11cd-11e8-ba59-bc764e045a96
Received: from mail-qk0-x233.google.com (unknown [2607:f8b0:400d:c09::233])
 by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS
 id 550008a8-11cd-11e8-ba59-bc764e045a96;
 Wed, 14 Feb 2018 22:23:43 +0100 (CET)
Received: by mail-qk0-x233.google.com with SMTP id s198so12361307qke.5
 for <xen-api@lists.xenproject.org>; Wed, 14 Feb 2018 13:24:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bluestatedigital.com; s=google;
 h=from:mime-version:subject:message-id:date:to;
 bh=whB//is1k29D+gCL/GVW5dLDXhyNTihL0TDX50GcCCA=;
 b=GpkoaKaDVv66QavDkXyMHqM+0L88l3jk9/Z1qbU7DJZkBRYD/9dBqVJTtb5v+AJLIL
 ZtI/CCO82s/8BNFFVOM1NUVIg9XvuEn/CMspqPYWN/LQKqJW7qdRC3msWD4vHTRjzZPO
 TnJq5/p4uOVmZGsn1jKkiL3HtbAU7zq5OGmiM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:subject:message-id:date:to;
 bh=whB//is1k29D+gCL/GVW5dLDXhyNTihL0TDX50GcCCA=;
 b=NYids6Fiu2mgEw5lsnirBzDdnCY+gce6z6kld/StCRgm2wZQRkbwXy8uVyh3UM+Qi2
 oc+mUCm6ogCy6kS7nBER1LERwqTPvjWh3sbw5tQb3NGsPoiI0678Qy28Gy13Vd8O2Jnr
 lpX4E1r748zLAyl1MsWMck0sLQNUGYpVamAv04jmOqEiUx5xo2zpXg2JW4SoxUmSZLw0
 Bxa08AbXqp1lh3gc+49ORtqCqJFLKzW7cf4hJ5tiNqkIQhu9JgeAtNiIJQ/rdvcx5ekU
 qzKDR5EVDkoBcuNDvmNc3708tkpz9RhPK5+mdFxbcg0fBIBsyWlUeq65/+Pe2aH5LH28
 vj7A==
X-Gm-Message-State: APf1xPBQPF/7pnUri/QPeiODqYr38KSFAWwKx4DDnTgyG4Z5g3iqvXpr
 DKaQzKt/fGVeEdRIB3kUGI5ShFe5MWc=
X-Google-Smtp-Source: AH8x226w+pe/s+rLR0bR+FuL2IeRhevzLOuJKQ9LUQ5KqbtHDG/3+D3kzzZs+A70dskd3R9ZUYl63g==
X-Received: by 10.233.214.18 with SMTP id r18mr680524qkk.175.1518643458602;
 Wed, 14 Feb 2018 13:24:18 -0800 (PST)
Received: from [10.10.41.122] (50-203-223-14-static.hfc.comcastbusiness.net.
 [50.203.223.14])
 by smtp.gmail.com with ESMTPSA id k1sm4308496qkl.89.2018.02.14.13.24.17
 for <xen-api@lists.xenproject.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 14 Feb 2018 13:24:18 -0800 (PST)
From: Ryan Kahil <rkahil@bluestatedigital.com>
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Message-Id: <3CDF57E2-180D-46A4-9897-353C10D21A75@bluestatedigital.com>
Date: Wed, 14 Feb 2018 16:24:17 -0500
To: xen-api@lists.xenproject.org
X-Mailer: Apple Mail (2.3445.5.20)
X-Mailman-Approved-At: Fri, 02 Mar 2018 15:42:47 +0000
Subject: [Xen-API] XenAPI Python Question
X-BeenThere: xen-api@lists.xenproject.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User and development list for XCP and XAPI
 <xen-api.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:xen-api@lists.xenproject.org>
List-Help: <mailto:xen-api-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7665536941176675814=="
Errors-To: xen-api-bounces@lists.xenproject.org
Sender: "Xen-api" <xen-api-bounces@lists.xenproject.org>


--===============7665536941176675814==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_5D4B7434-352C-41C3-8C1A-F97A78E97128"


--Apple-Mail=_5D4B7434-352C-41C3-8C1A-F97A78E97128
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

I am creating a script that spins up VMs, including the creation of VDIs =
and VBDs, respectively. But I have came across an issue with it and have =
been following along the documentation, found here: =
http://xapi-project.github.io/xen-api/overview.html =
<http://xapi-project.github.io/xen-api/overview.html>

When I go to create a disk image, it constantly fails:

Collecting info on the VM Specs.....
Connection Successful!
Checking for template: CentOS 7
Server has 75 VM objects (this includes templates):
Found: OpaqueRef:858d7cdb-6882-7055-74d1-2e6162533d59 CentOS 7
('Selected template: ', 'CentOS 7')
Installing new VM from the template
Adding non-interactive to the kernel commandline
Choosing an SR to instantiate the VM's disks
Choosing SR: NFS VM disks (uuid 95a58c17-6a0d-1d61-33e2-e445a5e147b3)
Rewriting the disk provisioning XML
Creating Disk for VM..... Test
Connection Successful!
Caught ['UUID_INVALID', 'VDI', '95a58c17-6a0d-1d61-33e2-e445a5e147b3']:
Traceback (most recent call last):
  File "/Users/ryankahil/Xen-Builder/bsdxenbuilder.py", line 148, in =
create_vdi
    src_vdi =3D session.xenapi.VDI.get_by_uuid(vdi_uuid)
  File "/Library/Python/2.7/site-packages/XenAPI.py", line 229, in =
__call__
    return self.__send(self.__name, args)
  File "/Library/Python/2.7/site-packages/XenAPI.py", line 133, in =
xenapi_request
    result =3D _parse_result(getattr(self, methodname)(*full_params))
  File "/Library/Python/2.7/site-packages/XenAPI.py", line 203, in =
_parse_result
    raise Failure(result['ErrorDescription'])
Failure: ['UUID_INVALID', 'VDI', =
'95a58c17-6a0d-1d61-33e2-e445a5e147b3=E2=80=99]

I am following the documentation as best as possible and can=E2=80=99t =
seem to find out why the UUID is invalid. The SR I am using is NFS if =
that helps. And have taken some code snippets for VDI and VBD creations =
in your GitHub repo to see if there is something I am doing wrong but =
again, the same issue. Here is a snippet of my code:

def create_vdi(ctx,name,sr,readonly,hdspace,diskimage,vdi_uuid):
    click.echo("Creating Disk for VM..... " + name)
    session =3D xen_session()
    vdi =3D None
    try:
        src_vdi =3D session.xenapi.VDI.get_by_uuid(vdi_uuid)
       # sr =3D session.xenapi.VDI.get_SR(src_vdi)
        vdi_args =3D session.xenapi.VDI.get_record(src_vdi)
        vdi =3D session.xenapi.VDI.create(vdi_args)
        create_vbd(name,vdi,readonly,userdevice)
    except Exception, e:
        print("Caught %s: " % str(e))
        traceback.print_exc()

The vdi_uuid is provided in another method:

        sr_pool =3D session.xenapi.pool.get_all()[0]
        default_sr =3D session.xenapi.pool.get_default_SR(sr_pool)
        default_sr =3D session.xenapi.SR.get_record(default_sr)
        print("Choosing SR: %s (uuid %s)" % (default_sr['name_label'], =
default_sr['uuid']))
        print("Rewriting the disk provisioning XML")
        spec =3D provision.getProvisionSpec(session, vm)
        spec.setSR(default_sr['uuid'])
        provision.setProvisionSpec(session, vm, spec)


        create =3D session.xenapi.VM.provision(vm)
        session.xenapi.VM.start(vm,False, True)
        vdi_uuid =3D default_sr['uuid=E2=80=99]

I have noticed that once the VM is created (in a stopped state due to =
having no boot disk), simply attaching a DVD drive allows me to install =
CentOS. But is there a way to programmatically do this with XenAPI (I =
thought creating the VDI/VBD does this for me)?

Thanks,
Ryan=

--Apple-Mail=_5D4B7434-352C-41C3-8C1A-F97A78E97128
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Hello,<div class=3D""><br class=3D""></div><div class=3D"">I =
am creating a script that spins up VMs, including the creation of VDIs =
and VBDs, respectively. But I have came across an issue with it and have =
been following along the documentation, found here:&nbsp;<a =
href=3D"http://xapi-project.github.io/xen-api/overview.html" =
class=3D"">http://xapi-project.github.io/xen-api/overview.html</a></div><d=
iv class=3D""><br class=3D""></div><div class=3D"">When I go to create a =
disk image, it constantly fails:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">Collecting info on the =
VM Specs.....</div><div class=3D"">Connection Successful!</div><div =
class=3D"">Checking for template: CentOS 7</div><div class=3D"">Server =
has 75 VM objects (this includes templates):</div><div class=3D"">Found: =
OpaqueRef:858d7cdb-6882-7055-74d1-2e6162533d59 CentOS 7</div><div =
class=3D"">('Selected template: ', 'CentOS 7')</div><div =
class=3D"">Installing new VM from the template</div><div class=3D"">Adding=
 non-interactive to the kernel commandline</div><div class=3D"">Choosing =
an SR to instantiate the VM's disks</div><div class=3D"">Choosing SR: =
NFS VM disks (uuid 95a58c17-6a0d-1d61-33e2-e445a5e147b3)</div><div =
class=3D"">Rewriting the disk provisioning XML</div><div =
class=3D"">Creating Disk for VM..... Test</div><div class=3D"">Connection =
Successful!</div><div class=3D"">Caught ['UUID_INVALID', 'VDI', =
'95a58c17-6a0d-1d61-33e2-e445a5e147b3']:</div><div class=3D"">Traceback =
(most recent call last):</div><div class=3D"">&nbsp; File =
"/Users/ryankahil/Xen-Builder/bsdxenbuilder.py", line 148, in =
create_vdi</div><div class=3D"">&nbsp; &nbsp; src_vdi =3D =
session.xenapi.VDI.get_by_uuid(vdi_uuid)</div><div class=3D"">&nbsp; =
File "/Library/Python/2.7/site-packages/XenAPI.py", line 229, in =
__call__</div><div class=3D"">&nbsp; &nbsp; return =
self.__send(self.__name, args)</div><div class=3D"">&nbsp; File =
"/Library/Python/2.7/site-packages/XenAPI.py", line 133, in =
xenapi_request</div><div class=3D"">&nbsp; &nbsp; result =3D =
_parse_result(getattr(self, methodname)(*full_params))</div><div =
class=3D"">&nbsp; File "/Library/Python/2.7/site-packages/XenAPI.py", =
line 203, in _parse_result</div><div class=3D"">&nbsp; &nbsp; raise =
Failure(result['ErrorDescription'])</div><div class=3D"">Failure: =
['UUID_INVALID', 'VDI', =
'95a58c17-6a0d-1d61-33e2-e445a5e147b3=E2=80=99]</div></div><div =
class=3D""><br class=3D""></div><div class=3D"">I am following the =
documentation as best as possible and can=E2=80=99t seem to find out why =
the UUID is invalid. The SR I am using is NFS if that helps. And have =
taken some code snippets for VDI and VBD creations in your GitHub repo =
to see if there is something I am doing wrong but again, the same issue. =
Here is a snippet of my code:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">def =
create_vdi(ctx,name,sr,readonly,hdspace,diskimage,vdi_uuid):</div><div =
class=3D"">&nbsp; &nbsp; click.echo("Creating Disk for VM..... " + =
name)</div><div class=3D"">&nbsp; &nbsp; session =3D =
xen_session()</div><div class=3D"">&nbsp; &nbsp; vdi =3D None</div><div =
class=3D"">&nbsp; &nbsp; try:</div><div class=3D"">&nbsp; &nbsp; &nbsp; =
&nbsp; src_vdi =3D session.xenapi.VDI.get_by_uuid(vdi_uuid)</div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp;# sr =3D =
session.xenapi.VDI.get_SR(src_vdi)</div><div class=3D"">&nbsp; &nbsp; =
&nbsp; &nbsp; vdi_args =3D =
session.xenapi.VDI.get_record(src_vdi)</div><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; vdi =3D =
session.xenapi.VDI.create(vdi_args)</div><div class=3D"">&nbsp; &nbsp; =
&nbsp; &nbsp; create_vbd(name,vdi,readonly,userdevice)</div><div =
class=3D"">&nbsp; &nbsp; except Exception, e:</div><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; print("Caught %s: " % str(e))</div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
traceback.print_exc()</div></div><div class=3D""><br class=3D""></div><div=
 class=3D"">The vdi_uuid is provided in another method:</div><div =
class=3D""><br class=3D""></div><div class=3D""><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; sr_pool =3D =
session.xenapi.pool.get_all()[0]</div><div class=3D"">&nbsp; &nbsp; =
&nbsp; &nbsp; default_sr =3D =
session.xenapi.pool.get_default_SR(sr_pool)</div><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; default_sr =3D =
session.xenapi.SR.get_record(default_sr)</div><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; print("Choosing SR: %s (uuid %s)" % =
(default_sr['name_label'], default_sr['uuid']))</div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; print("Rewriting the disk =
provisioning XML")</div><div class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; spec =
=3D provision.getProvisionSpec(session, vm)</div><div class=3D"">&nbsp; =
&nbsp; &nbsp; &nbsp; spec.setSR(default_sr['uuid'])</div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
provision.setProvisionSpec(session, vm, spec)</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; create =3D =
session.xenapi.VM.provision(vm)</div><div class=3D"">&nbsp; &nbsp; =
&nbsp; &nbsp; session.xenapi.VM.start(vm,False, True)</div><div =
class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; vdi_uuid =3D =
default_sr['uuid=E2=80=99]</div></div><div class=3D""><br =
class=3D""></div><div class=3D"">I have noticed that once the VM is =
created (in a stopped state due to having no boot disk), simply =
attaching a DVD drive allows me to install CentOS. But is there a way to =
programmatically do this with XenAPI (I thought creating the VDI/VBD =
does this for me)?</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks,</div><div class=3D"">Ryan</div></body></html>=

--Apple-Mail=_5D4B7434-352C-41C3-8C1A-F97A78E97128--


--===============7665536941176675814==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWFwaSBt
YWlsaW5nIGxpc3QKWGVuLWFwaUBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwczovL2xpc3RzLnhl
bnByb2plY3Qub3JnL21haWxtYW4vbGlzdGluZm8veGVuLWFwaQo=

--===============7665536941176675814==--


From xen-api-bounces@lists.xenproject.org Wed Mar 07 10:05:12 2018
Return-path: <xen-api-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xen.org
Delivery-date: Wed, 07 Mar 2018 10:05:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.84_2)
	(envelope-from <xen-api-bounces@lists.xenproject.org>)
	id 1etVwX-0004Wi-A9; Wed, 07 Mar 2018 10:05:05 +0000
Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6])
 by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from
 <srs0=rihp=f5=gmail.com=lars.kurth.xen@srs-us1.protection.inumbo.net>)
 id 1etVwW-0004Wc-8c
 for xen-api@lists.xenproject.org; Wed, 07 Mar 2018 10:05:04 +0000
X-Inumbo-ID: 29e26e16-21ee-11e8-ba59-bc764e045a96
Received: from mail-wm0-x22a.google.com (unknown [2a00:1450:400c:c09::22a])
 by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS
 id 29e26e16-21ee-11e8-ba59-bc764e045a96;
 Wed, 07 Mar 2018 10:59:04 +0100 (CET)
Received: by mail-wm0-x22a.google.com with SMTP id 139so3526435wmn.2;
 Wed, 07 Mar 2018 02:00:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:subject:from:in-reply-to:date:cc:message-id:references
 :to; bh=PLUcMmm++3zt0rNzt+qnRvxL3SkVXclrIgxUgXK+GWM=;
 b=qJ4APIlVPn7Z0M7STBZ9830C+M8cz+TmLktoJCEm1eo4xunG5wjsHjlJsCFD7UFR5I
 XWVNUEIXHWZ/+pyioLK37ymUBgHQNE7H6PBbPu1gFqsaGOEYOQrSc09r3R8X41WE9VwZ
 nUQ9USs5+vfN/UORlaPLqUJ2l88i5gItEFQaOAFYO0h3a1vNfjaYuSpdlEhhZ+QkrvT3
 Fz/eLI1RjcxX38Bcjp5qJ9yl5fRBo8XQXd88sfg0VryUepNTlJFhydos3l0uV/N8jGzn
 mr+BvbCX9Oimt0pA1Q2NURZH1THwuQcAV7uW8kZVG/ujhkNJmqHs9t0KJnqhNxb3Cdry
 7VYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :message-id:references:to;
 bh=PLUcMmm++3zt0rNzt+qnRvxL3SkVXclrIgxUgXK+GWM=;
 b=LH8BCjJn82rQITZTa9+YWcgt8ezC3JKEnc/fsc9fzIyEExYeS4xw1aN8cBEWQIE8VF
 8OpaWeu2pKzR78WtQ0BqMRBQKPuDy8HdI9pyTjXfDPr4dZLAN1VrovzQToilOmIW8+zm
 /mVaz0POF3zCEQYSHimxLOJlIO4sFesEttspJ8UkUIiK1q3mUrJnBSK95r1SzLx0J9rU
 MvqDC9TlCqrduTSMdd1Q2WNAzUcgMtc3jTR/6t4oflN4mU1Jjdc0n18M9gg8aKn3vITC
 h9Ov3X/i2tVk+2JTn5p7mgd62LpI78ijccWimLEw6ckQbRdsqjs2dfZpiQg4VkghOX80
 dEow==
X-Gm-Message-State: APf1xPCmnCmlfinG1PeEfBcsRUOpCTagGhecGB8wYMRAefO6Y+NCkCWV
 MeqoMJtegzlUwSoModrmt1QdOtoG
X-Google-Smtp-Source: AG47ELvtQeLVt4H1e7uX5RAVoUk77ExjcjxoTkg3wZi4cHo06ODLsTLizrftX9cBkEwupLMAgTmaVw==
X-Received: by 10.80.195.78 with SMTP id q14mr27309392edb.254.1520416809943;
 Wed, 07 Mar 2018 02:00:09 -0800 (PST)
Received: from ?IPv6:2a00:c1a0:4883:a700:28ff:4b76:e09b:11a1?
 ([2a00:c1a0:4883:a700:28ff:4b76:e09b:11a1])
 by smtp.gmail.com with ESMTPSA id z7sm10333203edb.46.2018.03.07.02.00.08
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 07 Mar 2018 02:00:09 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Lars Kurth <lars.kurth.xen@gmail.com>
In-Reply-To: <7B105F1A-A54A-4613-8108-91D96DEB9708@gmail.com>
Date: Wed, 7 Mar 2018 11:00:07 +0100
Message-Id: <BC87D943-9E13-48CB-A8FB-2EDBC8A2F813@gmail.com>
References: <7B105F1A-A54A-4613-8108-91D96DEB9708@gmail.com>
To: xen-devel <xen-devel@lists.xenproject.org>,
 mirageos-devel@lists.xenproject.org, unikraft-devel@lists.xenproject.org,
 win-pv-devel@lists.xenproject.org, embedded-pv-devel@lists.xenproject.org,
 xen-api@lists.xenproject.org
X-Mailer: Apple Mail (2.3445.5.20)
Cc: advisory-board@lists.xenproject.org, committers@xenproject.org
Subject: Re: [Xen-API] Save the date: Xen Project Developer Summit, Nanjing,
 China, June 20-22 (Wednesday - Friday)
X-BeenThere: xen-api@lists.xenproject.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User and development list for XCP and XAPI
 <xen-api.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:xen-api@lists.xenproject.org>
List-Help: <mailto:xen-api-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8002551459257232557=="
Errors-To: xen-api-bounces@lists.xenproject.org
Sender: "Xen-api" <xen-api-bounces@lists.xenproject.org>


--===============8002551459257232557==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_57E2C50C-4D64-4C0A-82C5-593101269260"


--Apple-Mail=_57E2C50C-4D64-4C0A-82C5-593101269260
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi everyone,

a quick update. We finally have the contract in hand: that took a lot =
longer than expected as we didn't realise that contracts which involve =
foreign events hosted in China, need to be vetted by the Chinese =
government.

My LF contact will meet the Linux Foundation's contract specialist later =
today to make sure there are no large red flags: hopefully there aren't =
any which means we will be able to offically announce the event, publish =
the website, etc. this week.

Best Regards
Lars

> On 5 Feb 2018, at 15:52, Lars Kurth <lars.kurth.xen@gmail.com> wrote:
>=20
> Dear Community members,
>=20
> we finalized the Xen Project Developer Summit proposal with the event =
hotel. Apologies this has taken so long.
>=20
> The event will be held at the Crowne Plaza Nanjing Jiangning =
<https://www.ihg.com/crowneplaza/hotels/us/en/nanjing/nkgnj/hoteldetail/ev=
ents-facilities#scmisc=3Dnav_events-facilities_cp>. I am still waiting =
for the schedule to put registration and the website into place, as well =
as CfP time-table, but this should all be done within a couple of weeks =
or so.
> The cost per hotel room is $135/night + taxes.
> The dates for the summit are June 20-22 (Wednesday - Friday), allowing =
attendees to travel to Beijing and attend LinuxCon China the following =
Monday. =20
>=20
> For those, who want to attend LinuxCon as well as the Dev Summit, the =
LinuxCon CfP is still open until March 4th (see =
https://www.lfasiallc.com/linuxcon-containercon-cloudopen-china/cfp =
<https://www.lfasiallc.com/linuxcon-containercon-cloudopen-china/cfp>)
> =20
> I will provide more information on travel logistics, etc. a little =
later
>=20
> Best Regards
> Lars


--Apple-Mail=_57E2C50C-4D64-4C0A-82C5-593101269260
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
everyone,<div class=3D""><br class=3D""><div class=3D"">a quick =
update.&nbsp;We finally have the contract in hand: that took a lot =
longer than expected as we didn't realise that contracts which involve =
foreign events hosted in China, need to be vetted by the Chinese =
government.</div><div class=3D""><br class=3D""></div><div class=3D"">My =
LF contact will meet the Linux Foundation's contract specialist later =
today to make sure there are no large red flags: hopefully there aren't =
any which means we will be able to offically announce the event, publish =
the website, etc. this week.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Best Regards</div><div =
class=3D"">Lars</div><div class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On 5 Feb 2018, at 15:52, Lars =
Kurth &lt;<a href=3D"mailto:lars.kurth.xen@gmail.com" =
class=3D"">lars.kurth.xen@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">Dear Community =
members,<div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt;" class=3D"">we =
finalized the Xen Project Developer Summit proposal with the event =
hotel. Apologies this has taken so long.</div><div style=3D"margin: 0cm =
0cm 0.0001pt;" class=3D""><br class=3D""></div><div style=3D"margin: 0cm =
0cm 0.0001pt;" class=3D"">The event will be held at the&nbsp;<a =
href=3D"https://www.ihg.com/crowneplaza/hotels/us/en/nanjing/nkgnj/hotelde=
tail/events-facilities#scmisc=3Dnav_events-facilities_cp" style=3D"color: =
purple;" class=3D"">Crowne Plaza Nanjing Jiangning</a>. I am still =
waiting for the schedule to put registration and the website into place, =
as well as CfP time-table, but this should all be done within a couple =
of weeks or so.<o:p class=3D""></o:p></div></div><div style=3D"margin: =
0cm 0cm 0.0001pt;" class=3D"">The cost per hotel room is $135/night + =
taxes.</div><div style=3D"margin: 0cm 0cm 0.0001pt;" class=3D"">The =
dates for the summit are June 20-22 (Wednesday - Friday), allowing =
attendees to travel to Beijing and attend LinuxCon China the following =
Monday. &nbsp;</div><div class=3D""><div style=3D"margin: 0cm 0cm =
0.0001pt;" class=3D""><o:p class=3D""></o:p></div></div><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt;" class=3D""><br =
class=3D""></div><div style=3D"margin: 0cm 0cm 0.0001pt;" class=3D"">For =
those, who want to attend LinuxCon as well as the Dev Summit, the =
LinuxCon CfP is still open until March 4th (see&nbsp;<a =
href=3D"https://www.lfasiallc.com/linuxcon-containercon-cloudopen-china/cf=
p" =
class=3D"">https://www.lfasiallc.com/linuxcon-containercon-cloudopen-china=
/cfp</a>)</div><div style=3D"margin: 0cm 0cm 0.0001pt;" =
class=3D"">&nbsp;</div></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt;" class=3D"">I will provide more information on travel =
logistics, etc. a little later</div></div></div><div style=3D"margin: =
0cm 0cm 0.0001pt;" class=3D""><br class=3D""></div><div style=3D"margin: =
0cm 0cm 0.0001pt;" class=3D"">Best Regards</div><div style=3D"margin: =
0cm 0cm 0.0001pt;" class=3D"">Lars</div></div></div></blockquote></div><br=
 class=3D""></div></div></body></html>=

--Apple-Mail=_57E2C50C-4D64-4C0A-82C5-593101269260--


--===============8002551459257232557==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWFwaSBt
YWlsaW5nIGxpc3QKWGVuLWFwaUBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwczovL2xpc3RzLnhl
bnByb2plY3Qub3JnL21haWxtYW4vbGlzdGluZm8veGVuLWFwaQo=

--===============8002551459257232557==--


From xen-api-bounces@lists.xenproject.org Thu Mar 15 16:02:36 2018
Return-path: <xen-api-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xen.org
Delivery-date: Thu, 15 Mar 2018 16:02:36 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.84_2)
	(envelope-from <xen-api-bounces@lists.xenproject.org>)
	id 1ewVKm-0008N1-GZ; Thu, 15 Mar 2018 16:02:28 +0000
Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6])
 by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from
 <srs0=ymaq=gf=gmail.com=lars.kurth.xen@srs-us1.protection.inumbo.net>)
 id 1ewVKl-0008Mu-Ok
 for xen-api@lists.xenproject.org; Thu, 15 Mar 2018 16:02:27 +0000
X-Inumbo-ID: 3d0d2d80-286a-11e8-9728-bc764e045a96
Received: from mail-wm0-x242.google.com (unknown [2a00:1450:400c:c09::242])
 by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS
 id 3d0d2d80-286a-11e8-9728-bc764e045a96;
 Thu, 15 Mar 2018 17:02:20 +0100 (CET)
Received: by mail-wm0-x242.google.com with SMTP id u10so11335868wmu.4
 for <xen-api@lists.xenproject.org>; Thu, 15 Mar 2018 09:02:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:mime-version:subject:message-id:date:to;
 bh=0pdT7AA3ICtxfJx7nAfV10aTO6iuvJJwezpWEra7+rU=;
 b=RCa6l8AAvZ5aDlbCcIgDghTZ1eBOQHrGB2s6fhKu2TDDgHjLRyieZpxQTNQuAjrz8l
 rdTPv0FJ8ui8i3Y+F1Sq0a35PDzq8jhFQoAbPzb97afgATSQepIAYqFNhBpnvbgXNZCA
 I47H7qnQjElckG1EeqERUa2cwX1vxNwJmqxogGouUMkJwxJY+QZ3e4zNpe6RIdbLHq7G
 /BPIeQHG8Nkadk9Ka6wPCxfsBN6StKLQJyJUyijyqgub5pUiorYMfB4azw2FE0hxGlJq
 IAkuub+liLiYlLRqegzspLhax1P6awMiZyskrI9z7VeQrebrSBAo6y83fgMBgysI9cLR
 VvfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:subject:message-id:date:to;
 bh=0pdT7AA3ICtxfJx7nAfV10aTO6iuvJJwezpWEra7+rU=;
 b=ubI5ayWd6ZnAYc8Mp7TqwQw9Ownfvc2/8uXiowyRcBnS23tPfQJwxiuP+Vwq71H7dB
 1l5yqmOSdgQ7An4fZcDaL97pUjgNS2d2DgsfojZCK93TSsLE2eT1GoAdoyNSCeWANehL
 GOJ3y3C4dwTAGxju6RrIJEFVXL/3j1SmhbOg/r7fC+gIDn4UGozg25iYvD3DP8Bfigc5
 V0yt2mqeZUJRGJRifazGgjFp8sfK77zmdW2XBmbrmjh7jQliFXKOegZ4dGceFTIdHL/M
 YExBS5TrZYAbfk+NuQX7UV9QGZopmS+S/Gnltt/rMthtkS3gVoBIVDeUuLfDLIe0vclw
 JLZQ==
X-Gm-Message-State: AElRT7GOnsmG3oeChI8tHE+fOXQH0Gmyh435LjG/urkeCjFoF+TPmPwl
 JOiZdAoOyotfFhyKkOVSA1eL3IVP
X-Google-Smtp-Source: AG47ELtb9DrsbHvkIoNesk1sKE3GpxomPQf+gI+q5IZdjouZhVq3raiR5yDMD4lucFk8aeJZB3UJjQ==
X-Received: by 10.80.137.83 with SMTP id f19mr9189446edf.206.1521129743195;
 Thu, 15 Mar 2018 09:02:23 -0700 (PDT)
Received: from ?IPv6:2a00:c1a0:4883:a700:81ec:b016:3b25:4325?
 ([2a00:c1a0:4883:a700:81ec:b016:3b25:4325])
 by smtp.gmail.com with ESMTPSA id b8sm1802571edc.47.2018.03.15.09.02.22
 for <xen-api@lists.xenproject.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 15 Mar 2018 09:02:22 -0700 (PDT)
From: Lars Kurth <lars.kurth.xen@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Message-Id: <AA6558E7-D4F3-4A23-B512-D37752F33681@gmail.com>
Date: Thu, 15 Mar 2018 17:02:21 +0100
To: xen-api@lists.xenproject.org
X-Mailer: Apple Mail (2.3445.5.20)
Subject: [Xen-API] 2018 Xen Project Developer and Design Summit: CfP open
 from now to April 13, Event is held June 20-22, 2018 in Nanjing, China
X-BeenThere: xen-api@lists.xenproject.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User and development list for XCP and XAPI
 <xen-api.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:xen-api@lists.xenproject.org>
List-Help: <mailto:xen-api-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6060332263878622123=="
Errors-To: xen-api-bounces@lists.xenproject.org
Sender: "Xen-api" <xen-api-bounces@lists.xenproject.org>


--===============6060332263878622123==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_44B29E3D-7A51-4012-8BCB-0E12954484EB";
	protocol="application/pgp-signature";
	micalg=pgp-sha512


--Apple-Mail=_44B29E3D-7A51-4012-8BCB-0E12954484EB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Dear Community Members,

I am excited to announce that registration and the call for
proposals is open for Xen Project Developer and Design
Summit 2018. The event will be held in at the Crowne Plaza
Nanjing, China from June 20-22, 2018. The Xen Project
Developer and Design Summit will follow the same format
as last year combining Xen Project Developer Summits with
Xen Project Hackathons. We will have talks in the mornings
and smaller interactive design and problem solving sessions
in the afternoon.

Note that the CfP period is quite short: if you need extra
time, or you otherwise have difficulties with the CfP please
contact me via community.manager@xenproject.org.

Submit a Talk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Several formats are being accepted for speaking proposals,
including:

* Presentations and Panels: these are presentations and
 panels as we always had them at Developer Summits in the
 past.
* Interactive design and problem solving sessions. These
 sessions can be submitted as part of the CFP, but we will
 reserve a number of design sessions to be allocated during
 the event. Proposers of design sessions are expected to
 host and moderate design sessions following the format we
 have used at Xen Project Hackathons.

If you have not participated in these in the past, check
out past event reports from 2018
* https://xen.markmail.org/thread/hs6gpgjbbx2smadn
 (Notes from PCI Passthrough design discussion at Xen Summit)
* https://markmail.org/thread/7e2mdpimvrmsppq5
 (Notes Design Session: Making Releases Lessons Learned:
  Improving Our Release Process and Tooling)
* https://xen.markmail.org/thread/37annnvm7wwygr4j
 (Notes from Design Summit Hypervisor Fuzzing Session)

Never talked at a conference before? Don=E2=80=99t worry! We encourage
new speakers to submit for our events and have plenty of
resources to help you prepare for your presentation.

Here are some dates to remember for submissions and in
general:

* CFP Close: April 13, 2018
* CFP Notifications: April 30, 2018
* Schedule Announced: May 3, 2018
* Event: June 20-22, 2018

Links to the CfP are at:
https://www.lfasiallc.com/events/xensummit2018/program/cfp/
=
https://www.lfasiallc.com/events/xensummit2018/program/cfp-designsessions/=


Note that each link goes to the same back-end: the main
difference between the two links are the instructions.

Registration
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Registration information is available at
https://www.regonline.com/registration/Checkin.aspx?EventID=3D2239305

Travel stipends are only available for students or individuals
that are not associated with a company.

Accommodation and other information
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

General information about the event can be found on
https://www.lfasiallc.com/events/xensummit2018/

Note that the following information is not yet in place: we
will add this shortly
- hotel block booking information

Travel
=3D=3D=3D=3D=3D=3D
Most international flights to Nanjing will go via Beijing or
Shanghai. There are non-stop flights from many Asian cities,
as well as Frankfurt (Lufthansa), Milan (Neos) and Los Angeles
(China Eastern). It is also possible to take a flight to
Shanghai and then a bullet train from Shanghai Hongqiao to
Nanjing South (G trains take about 1h15 - 1h30). If you want
to take up this option, drop me a line. I have done this many
times before.

If you have any questions, please contact me via
community.manager@xenproject.org

Best Regards
Lars

--Apple-Mail=_44B29E3D-7A51-4012-8BCB-0E12954484EB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIzBAEBCgAdFiEEGMt8INYPShzLT5l8yRKINn2yyNoFAlqqmQ0ACgkQyRKINn2y
yNqaww//VR2tbviXFiihUg7bQht6Cks1cNiJnBaVbbHcNnRprm5PXUOEHe1IX4Qa
5ZrwY/0C2ShAOZxAlK0RGuJDUFSnfHAxQ3LSbRED/bWqZqpEKkPXwfh7ZrLQod4x
OXwNTQM0PEEcKTWQ85qSMeVzKH164hDT22Bx2C6ZFcvFHaWjWxARRNZssUit1mBR
KKiwCTocjlg00xxuAJL2Gi+m2lCQjD28eqpbiag4U2ouh6O4U0b6dabMQww8V47W
pmQKyFKiZWjCIFjmigQtkrwSNMVbPi4AcGtG+7XBXoi0qI9R7N6tH5qYEvKe6H4g
TldboZOYCrw4lTFn2cQv6RFgRygIQz5js+d4MyT+RtmCGBcoFYkdPTaQEiv1kJq7
RjOMI6sN95zuO9zYZEB/nKKc8TVEnrf3jh12Cx8cSBMNJF3nIeOOr1Pm2qNsiz+d
Zlcxq2WRVzBjwdTzfGNTayQzG+f36uyMO6erMSUKSDHLjSu/cn+49+mLc+XAKnpg
fEWAq9JZ8AgNvrNvSJ8BxR4/fl3Znmi0smQaQB1wyIBAqvShyLmmSyZZhMMSy8du
L/nCvvO+7dFDtH3zH/Yd4vU5xOrRA6vTmL+MUkwISjhO1AKuY8dlyB4r+QhSLMag
LNqhn/YbzL2HUJ9y/vOqDiJQgvAm9KZu3Isl+tPH9oRXSc3tWYs=
=XIHl
-----END PGP SIGNATURE-----

--Apple-Mail=_44B29E3D-7A51-4012-8BCB-0E12954484EB--


--===============6060332263878622123==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWFwaSBt
YWlsaW5nIGxpc3QKWGVuLWFwaUBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwczovL2xpc3RzLnhl
bnByb2plY3Qub3JnL21haWxtYW4vbGlzdGluZm8veGVuLWFwaQo=

--===============6060332263878622123==--


From xen-api-bounces@lists.xenproject.org Thu Mar 22 22:28:44 2018
Return-path: <xen-api-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xen.org
Delivery-date: Thu, 22 Mar 2018 22:28:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.89)
	(envelope-from <xen-api-bounces@lists.xenproject.org>)
	id 1ez8hE-0006PQ-96; Thu, 22 Mar 2018 22:28:32 +0000
Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6])
 by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from
 <srs0=wjrl=gm=de-smet.name=ringo@srs-us1.protection.inumbo.net>)
 id 1ez8hC-0006PL-DR
 for xen-api@lists.xen.org; Thu, 22 Mar 2018 22:28:30 +0000
X-Inumbo-ID: 4cdcd214-2e20-11e8-9728-bc764e045a96
Received: from mail-wm0-x230.google.com (unknown [2a00:1450:400c:c09::230])
 by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS
 id 4cdcd214-2e20-11e8-9728-bc764e045a96;
 Thu, 22 Mar 2018 23:28:11 +0100 (CET)
Received: by mail-wm0-x230.google.com with SMTP id r82so384983wme.0
 for <xen-api@lists.xen.org>; Thu, 22 Mar 2018 15:28:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=de-smet.name; s=google;
 h=mime-version:from:date:message-id:subject:to;
 bh=LvCV0UeoEoJ6P0exr+GnnsGIZZt6FDsPLK7v1shKbmo=;
 b=BglYpH6whbt7ZYQw7GuJU1I4T+uJsiFxYX+POECmeuYHOsCEaKN7SSknnim7r5xUVI
 /5iQBxqZtEwVqk73SvW6oX0boJGnce7qgYQrgzayxxrQo4xu6Gd+JBskm36pOEdJbYss
 O5JGa4RF5e4kFcCkxdZRS/6M0s4y2UofMThis=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=LvCV0UeoEoJ6P0exr+GnnsGIZZt6FDsPLK7v1shKbmo=;
 b=Ufrp6PxcavKhS1aK2ao7vkSIPefx5EIGdBDRcB0XEGTWvMf9VY392r0vsV/9CTF+gI
 MvbByLvcdQKpLJloPGcJqQHxlteScvT5sVS/EEGoj1zCSXv4DY+/hcM/rYja4GBDY9/A
 ELYYuvjkQM/a2oCTkmGDdCZi3bTP0/dxWXgaSGNPuAZUpuTswEg0hBCiRubdkXVknnz+
 fZezJh/kYm8pOXxV5oc7G0ZDWNzweBORmvxdsUZw1pzLswX9XSdZ53QCGWfA5fFa5229
 Vp0nRkTcREtmFtKTFo5IqgIgSBQgic7ykL0AvRyLK1QHMSZJmUYC6zI3Ibs+iQ4/W/cm
 xNsA==
X-Gm-Message-State: AElRT7He1kpsDZn96YO4EQbkrhcVbLUeLIywvWAaZVh3m5uqkagFQPmN
 MNWzJnUM/sVTHmtKgGye/FpoZE1qpfwPoxyKgVf4prS5
X-Google-Smtp-Source: AG47ELs62fk6r66Gusbvy0Ym5u0EDExm1OYtf1QlCTLt/DxGxsMKCixcsyIwiTNjPq6udtC9+Rh+AO71EfDZm35/c6w=
X-Received: by 10.28.24.66 with SMTP id 63mr6663168wmy.115.1521757705373; Thu,
 22 Mar 2018 15:28:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.4.72 with HTTP; Thu, 22 Mar 2018 15:28:24 -0700 (PDT)
From: Ringo De Smet <ringo@de-smet.name>
Date: Thu, 22 Mar 2018 23:28:24 +0100
Message-ID: <CAJ7cHBLW4+c9+u-HJEH2q0c-xu-Nz2OzhDPLNdjCqCF=5sPWtA@mail.gmail.com>
To: xen-api@lists.xen.org
Subject: [Xen-API] session.login_with_password: version argument?
X-BeenThere: xen-api@lists.xenproject.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: User and development list for XCP and XAPI
 <xen-api.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:xen-api@lists.xenproject.org>
List-Help: <mailto:xen-api-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-api>,
 <mailto:xen-api-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3505749237795771253=="
Errors-To: xen-api-bounces@lists.xenproject.org
Sender: "Xen-api" <xen-api-bounces@lists.xenproject.org>

--===============3505749237795771253==
Content-Type: multipart/alternative; boundary="001a11469b0e76cf29056807d3fa"

--001a11469b0e76cf29056807d3fa
Content-Type: text/plain; charset="UTF-8"

Hello,

I would like to get some extra insights in the third argument, named
`version`, to the call session.login_with_password.

The docs state this is the client API version. But how does this have an
influence on the client to server interaction. Here are some scenarios:

Scenario 1:
Client is generated based on version 7.2. I don't pass a version to
session.login_with_password and connect to a 7.1 server.
Should this work?

Scenario 2:
Client is generated based on version 7.2. I pass in version 7.1 to
session.login_with_password against a 7.2 server.
Should the server speak 7.1 protocol?

Scenario 3:
Client is generated based on version 7.2. I don't pass a version
to session.login_with_password against a 7.4 server.
Should the server speak 7.2 protocol?

Thanks for elaborating.

Ringo

--001a11469b0e76cf29056807d3fa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I would like to get some extra i=
nsights in the third argument, named `version`, to the call session.login_w=
ith_password.</div><div><br></div><div>The docs state this is the client AP=
I version. But how does this have an influence on the client to server inte=
raction. Here are some scenarios:</div><div><br></div><div>Scenario 1:</div=
><div>Client is generated based on version 7.2. I don&#39;t pass a version =
to session.login_with_password and connect to a 7.1 server.=C2=A0</div><div=
>Should this work?<br></div><div><br></div><div>Scenario 2:</div><div>Clien=
t is generated based on version 7.2. I pass in version 7.1 to session.login=
_with_password against a 7.2 server.=C2=A0</div><div>Should the server spea=
k 7.1 protocol?</div><div><br></div><div>Scenario 3:</div><div><div>Client =
is generated based on version 7.2. I don&#39;t pass a version to=C2=A0sessi=
on.login_with_password against a 7.4 server.=C2=A0</div><div>Should the ser=
ver speak 7.2 protocol?</div></div><div><br></div><div>Thanks for elaborati=
ng.</div><div><br></div><div>Ringo</div></div>

--001a11469b0e76cf29056807d3fa--


--===============3505749237795771253==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWFwaSBt
YWlsaW5nIGxpc3QKWGVuLWFwaUBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwczovL2xpc3RzLnhl
bnByb2plY3Qub3JnL21haWxtYW4vbGlzdGluZm8veGVuLWFwaQo=

--===============3505749237795771253==--


