[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Getting started with the API on python (fixed)
I was getting this because the pool did not have a default SR. xe sr-list # shows you available SR’s xe pool-param-set default-SR=d94bbf44-f957-d448-6704-fb7b197a056a uuid=8337fd42-a2e3-bcd6-1806-f4e0fa88028f where default-SR is the SR and uuid is the pool. On 27 Dec 2013, at 03:21, Andrew Holway <aholway@xxxxxxxxxxx> wrote: > Hello, > > I am attempting to use the python example in the XenAPI github[1] to create > virtual machines on XenServer but I see the following error. > > ['HANDLE_INVALID', 'SR', 'OpaqueRef:NULL’] > > I believe this is something to do with the storage being local. > > Here is a paste of the script and output: > https://gist.github.com/mooperd/c35998c48de90c5affe4 > > Thanks, > > Andrew > > > [1] > https://github.com/xapi-project/xen-api/blob/master/scripts/examples/python/install.py > _______________________________________________ > 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |