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
> progress?

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
kickstart/snippet.

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?

Thanks,
Nish


-- 
Nishanth Aravamudan <[email protected]>
IBM Linux Technology Center

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to