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

[Xen-API] 'BOOTLOADER_FAILED' install-repository was not set to an appropriate value, and this is required for the selected distribution type.


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Andrew Holway <aholway@xxxxxxxxxxx>
  • Date: Fri, 27 Dec 2013 15:25:59 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Fri, 27 Dec 2013 15:26:14 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHPAxfx/1CoyYqeZEehZSuf8iplFQ==
  • Thread-topic: 'BOOTLOADER_FAILED' install-repository was not set to an appropriate value, and this is required for the selected distribution type.

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