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

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


  • To: Dave Scott <Dave.Scott@xxxxxxxxxx>
  • From: Andrew Holway <aholway@xxxxxxxxxxx>
  • Date: Wed, 1 Jan 2014 20:12:06 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 01 Jan 2014 20:12:18 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHPAxfx/1CoyYqeZEehZSuf8iplFZpslZrQgAQkRoA=
  • Thread-topic: [Xen-API] 'BOOTLOADER_FAILED' install-repository was not set to an appropriate value, and this is required for the selected distribution type.

session.xenapi.VM.add_to_other_config(vm, “install-repository”, “<my URL>”)

Perfect, thank you.

 
just before the session.xenapi.VM.start()
 
HTH
Dave
 
 
From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Andrew Holway
Sent: 27 December 2013 3:26 PM
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] '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®.