Hello,

I am struggling to understand how to clone from templates via the XenAPI using 
Python using the code samples in the

This is the python I am trying with: 
https://gist.github.com/mooperd/33ab0b908dc411443652

If, in the GUI I use “quick create”, it works fine. The error is below.

Thanks,

Andrew

Asking server to provision storage from the template specification
Starting VM
['BOOTLOADER_FAILED', 'OpaqueRef:13ac7347-c597-50b3-c66e-8f4ce172d3d1', 
'UNSUPPORTED_INSTALL_METHOD\nother-config:install-repository was not set to an 
appropriate value, and this is required for the selected distribution 
type.\n\n']
Traceback (most recent call last):
  File "./install.py", line 140, in <module>
    main(session)
  File "./install.py", line 95, in main
    session.xenapi.VM.start(vm, False, True)
  File "/root/xen-api/scripts/examples/python/XenAPI.py", line 245, in __call__
    return self.__send(self.__name, args)
  File "/root/xen-api/scripts/examples/python/XenAPI.py", line 149, in 
xenapi_request
    result = _parse_result(getattr(self, methodname)(*full_params))
  File "/root/xen-api/scripts/examples/python/XenAPI.py", line 219, in 
_parse_result
    raise Failure(result['ErrorDescription'])
XenAPI.Failure: ['BOOTLOADER_FAILED', 
'OpaqueRef:13ac7347-c597-50b3-c66e-8f4ce172d3d1', 
'UNSUPPORTED_INSTALL_METHOD\nother-config:install-repository was not set to an 
appropriate value, and this is required for the selected distribution 
type.\n\n']
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to