Re: Getting Installation Status from XMLRPC
James Cammarata <jimi <at> sngx.net>
2012-06-18 23:49:17 GMT
On Mon, Jun 18, 2012 at 6:17 PM, Nishanth Aravamudan
<nacc <at> linux.vnet.ibm.com> wrote:
> On 13.06.2012 [13:35:01 -0700], Jake Xu wrote:
>> Hi all,
>> I've been wondering if there is any way for me to query a Cobbler server
>> and to find out if a system installation is completed.
>> I know that I can use the command "cobbler status" to get some ideas, but
>> not sure if there is any equivalent API call.
>> If there is, is it possible to get the percentage/stage of installation
> Roughly speaking -- no. Keep in mind that Cobbler, per se, doesn't track
> installation status, it just is able to initiate the booting via
> DHCP and control how the installation proceeds via kickstarts. But there
> is no guarantee that you as the end-user use a particular
> If you set pxe_just_once in settings, then you can poll on
> netboot-enabled is true to indicate installation is ongoing. But it
> doesn't strictly indicate success or failure.
> Percentages would be even harder and is arguably more vague and depends
> on what you're installing, etc.
> That all being said, you could probably setup some kickstart snippets to
> write to a log file on the installer server that indicates the progress
> stage-wise of the installation?
If you're using a RHEL-based system, there is anamon for this:
cobbler mailing list
cobbler <at> lists.fedorahosted.org