[Pkg-xen-devel] Bug#674132: Bug#674132: xcp-xapi: backend check error

Mike McClurg mike.mcclurg at gmail.com
Wed May 23 10:03:53 UTC 2012


On Wed, May 23, 2012 at 10:25 AM, Ritesh Raj Sarraf <rrs at debian.org> wrote:
> Package: xcp-xapi
> Severity: important
>
> The README doc mentions:
>
> 4/ Configuring Xen and XCP
> --------------------------
> 4.1/ Switch using xl instead of xm and xend to control Xen
> As of writing, you should do that:
> sed -i "s/TOOLSTACK=/TOOLSTACK=xl/" /etc/default/xen
>
>
> Where as the init script checks for:
>
> # Exit cleanly if TOOLSTACK != xapi
> if [ "${TOOLSTACK}" != "xapi" ]; then
>        log_failure_msg "Xen toolstack is not set to xapi! Exiting."
>        exit 0
> fi
>
>
> Please fix this to one.

Hi Ritesh,

Should this really be an error? It's likely that for Xen 4.1, someone
might have three toolstacks installed at the same time: xm, xl, and
xapi. It seems that they should have the option to switch between the
three without causing an error in the init scripts of the other two.

In this case, do we really want to return an error here?

Mike





More information about the Pkg-xen-devel mailing list