[Pkg-xen-devel] Bug#677614: xcp-xapi: someone should create /etc/default/xen

Ritesh Raj Sarraf rrs at debian.org
Fri Jun 15 10:52:03 UTC 2012


Package: xcp-xapi
Version: 1.3.2-6
Severity: important

Looks like on Wheezy, /etc/default/xen is not created by xen-utils-common. Since xcp-xapi depends on its existence and further declaration of the toolstack in it, it should take extra care to ensure that it is present.


root at debian:~# aptitude install xcp-xapi
The following NEW packages will be installed:
  blktap-dkms{a} blktap-utils{a} dkms{a} fakeroot{a} libblktapctl0{a} libvhd0{a} libvhdio-2.0.90{a}
  linux-headers-3.2.0-2-amd64{a} linux-headers-3.2.0-2-common{a} linux-headers-amd64{a} linux-kbuild-3.2{a}
  openvswitch-common{a} openvswitch-datapath-dkms{a} openvswitch-switch{a} python-xenapi{a} stunnel4{a}
  xcp-eliloader{a} xcp-fe{a} xcp-guest-templates{a} xcp-networkd{a} xcp-squeezed{a} xcp-storage-managers{a}
  xcp-v6d{a} xcp-vncterm{a} xcp-xapi xen-utils-4.1{a} xen-utils-common{a}
0 packages upgraded, 27 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/21.7 MB of archives. After unpacking 90.3 MB will be used.
Do you want to continue? [Y/n/?]
Preconfiguring packages ...             
Selecting previously unselected package stunnel4.
(Reading database ... 126318 files and directories currently installed.)
Unpacking stunnel4 (from .../stunnel4_3%3a4.53-1_amd64.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1_all.deb) ...
Selecting previously unselected package linux-headers-3.2.0-2-common.
Unpacking linux-headers-3.2.0-2-common (from .../linux-headers-3.2.0-2-common_3.2.19-1_amd64.deb) ...
Selecting previously unselected package linux-kbuild-3.2.
Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.7-2_amd64.deb) ...
Selecting previously unselected package linux-headers-3.2.0-2-amd64.
Unpacking linux-headers-3.2.0-2-amd64 (from .../linux-headers-3.2.0-2-amd64_3.2.19-1_amd64.deb) ...
Selecting previously unselected package linux-headers-amd64.
Unpacking linux-headers-amd64 (from .../linux-headers-amd64_3.2+44_amd64.deb) ...
Selecting previously unselected package blktap-dkms.
Unpacking blktap-dkms (from .../blktap-dkms_2.0.91-1_amd64.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.3-1_amd64.deb) ...
Selecting previously unselected package xen-utils-common.
Unpacking xen-utils-common (from .../xen-utils-common_4.1.2-6_all.deb) ...
Selecting previously unselected package xen-utils-4.1.
Unpacking xen-utils-4.1 (from .../xen-utils-4.1_4.1.2-6_amd64.deb) ...
Selecting previously unselected package libblktapctl0.
Unpacking libblktapctl0 (from .../libblktapctl0_2.0.90-1_amd64.deb) ...
Selecting previously unselected package libvhd0.
Unpacking libvhd0 (from .../libvhd0_2.0.90-1_amd64.deb) ...
Selecting previously unselected package libvhdio-2.0.90.
Unpacking libvhdio-2.0.90 (from .../libvhdio-2.0.90_2.0.90-1_amd64.deb) ...
Selecting previously unselected package blktap-utils.
Unpacking blktap-utils (from .../blktap-utils_2.0.90-1_amd64.deb) ...
Selecting previously unselected package openvswitch-common.
Unpacking openvswitch-common (from .../openvswitch-common_1.4.0+git20120426-1_amd64.deb) ...
Selecting previously unselected package openvswitch-datapath-dkms.
Unpacking openvswitch-datapath-dkms (from .../openvswitch-datapath-dkms_1.4.0+git20120426-1_all.deb) ...
Selecting previously unselected package openvswitch-switch.
Unpacking openvswitch-switch (from .../openvswitch-switch_1.4.0+git20120426-1_amd64.deb) ...
Selecting previously unselected package python-xenapi.
Unpacking python-xenapi (from .../python-xenapi_1.3.2-6_all.deb) ...
Selecting previously unselected package xcp-eliloader.
Unpacking xcp-eliloader (from .../xcp-eliloader_0.1-4_all.deb) ...
Selecting previously unselected package xcp-fe.
Unpacking xcp-fe (from .../xcp-fe_0.5.2-3+b1_amd64.deb) ...
Selecting previously unselected package xcp-squeezed.
Unpacking xcp-squeezed (from .../xcp-squeezed_1.3.2-6_amd64.deb) ...
Selecting previously unselected package xcp-v6d.
Unpacking xcp-v6d (from .../xcp-v6d_1.3.2-6_amd64.deb) ...
Selecting previously unselected package xcp-storage-managers.
Unpacking xcp-storage-managers (from .../xcp-storage-managers_0.1.1-2_amd64.deb) ...
Selecting previously unselected package xcp-networkd.
Unpacking xcp-networkd (from .../xcp-networkd_1.3.2-6_amd64.deb) ...
Selecting previously unselected package xcp-xapi.
Unpacking xcp-xapi (from .../xcp-xapi_1.3.2-6_amd64.deb) ...
Selecting previously unselected package xcp-guest-templates.
Unpacking xcp-guest-templates (from .../xcp-guest-templates_0.1-3_amd64.deb) ...
Selecting previously unselected package xcp-vncterm.
Unpacking xcp-vncterm (from .../xcp-vncterm_0.1-2_amd64.deb) ...
Processing triggers for man-db ...
Setting up stunnel4 (3:4.53-1) ...
SSL tunnels disabled, see /etc/default/stunnel4
Setting up dkms (2.2.0.3-1) ...
Setting up linux-headers-3.2.0-2-common (3.2.19-1) ...
Setting up linux-kbuild-3.2 (3.2.7-2) ...
Setting up linux-headers-3.2.0-2-amd64 (3.2.19-1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-2-amd64
Setting up linux-headers-amd64 (3.2+44) ...
Setting up blktap-dkms (2.0.91-1) ...
Loading new blktap-2.0.91 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-2-amd64
Building initial module for 3.2.0-2-amd64
Done.

blktap:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-2-amd64/updates/dkms/

depmod....

DKMS: install completed.
Setting up fakeroot (1.18.3-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up xen-utils-common (4.1.2-6) ...
[ ok ] Starting Xen daemons: xenstored xenconsoled xend.
Setting up xen-utils-4.1 (4.1.2-6) ...
update-alternatives: using /usr/lib/xen-4.1 to provide /usr/lib/xen-default (xen-default) in auto mode.
Setting up libblktapctl0 (2.0.90-1) ...
Setting up libvhd0 (2.0.90-1) ...
Setting up libvhdio-2.0.90 (2.0.90-1) ...
Setting up blktap-utils (2.0.90-1) ...
Setting up openvswitch-common (1.4.0+git20120426-1) ...
Setting up openvswitch-datapath-dkms (1.4.0+git20120426-1) ...

Creating symlink /var/lib/dkms/openvswitch/1.4.0+git20120426/source ->
                 /usr/src/openvswitch-1.4.0+git20120426

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
../configure --with-linux='/lib/modules/3.2.0-2-amd64/build' && make -C datapath/linux.............
cleaning build area....(bad exit status: 2)

DKMS: build completed.

openvswitch_mod:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-2-amd64/updates/dkms/

brcompat_mod.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-2-amd64/updates/dkms/

depmod....

DKMS: install completed.
Setting up openvswitch-switch (1.4.0+git20120426-1) ...
[ ok ] ovs-brcompatd is not running.
[ ok ] ovs-vswitchd is not running.
[ ok ] ovsdb-server is not running.
[ ok ] Starting ovsdb-server.
[ ok ] Configuring Open vSwitch system IDs.
[ ok ] Starting ovs-vswitchd.
[ ok ] iptables already has a rule for gre, not explicitly enabling.
Setting up python-xenapi (1.3.2-6) ...
Setting up xcp-eliloader (0.1-4) ...
Setting up xcp-fe (0.5.2-3+b1) ...
Setting up xcp-squeezed (1.3.2-6) ...
Setting up xcp-v6d (1.3.2-6) ...
Setting up xcp-storage-managers (0.1.1-2) ...
Setting up xcp-networkd (1.3.2-6) ...
[ ok ] Starting XCP networking daemon: xcp-networkd.
Setting up xcp-xapi (1.3.2-6) ...
[FAIL] Xen toolstack is not set to xapi! Exiting. ... failed!
Setting up xcp-guest-templates (0.1-3) ...
Setting up xcp-vncterm (0.1-2) ...



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xcp-xapi depends on:
ii  hwdata                                         0.233-1
ii  libc6                                          2.13-32
ii  libpam0g                                       1.1.3-7.1
ii  libuuid1                                       2.20.1-5
ii  libvhd0                                        2.0.90-1
ii  libxen-4.1                                     4.1.2-6
ii  libxenstore3.0                                 4.1.2-6
ii  lsb-base                                       4.1+Debian4
ii  pciutils                                       1:3.1.9-3
ii  python                                         2.7.2-10
ii  python-xenapi                                  1.3.2-6
ii  stunnel4 [stunnel]                             3:4.52-1
ii  xcp-eliloader                                  0.1-4
ii  xcp-fe                                         0.5.2-3+b1
ii  xcp-networkd                                   1.3.2-6
ii  xcp-squeezed                                   1.3.2-6
ii  xcp-storage-managers                           0.1.1-2
ii  xcp-v6d                                        1.3.2-6
ii  xcp-xe                                         1.3.2-6
ii  xen-hypervisor-4.1-amd64 [xen-hypervisor-4.1]  4.1.2-6
ii  xen-utils-4.1                                  4.1.2-6
ii  zlib1g                                         1:1.2.7.dfsg-11

Versions of packages xcp-xapi recommends:
ii  cifs-utils           2:5.4-2
ii  xcp-guest-templates  0.1-3
ii  xcp-vncterm          0.1-2

xcp-xapi suggests no packages.

-- no debconf information





More information about the Pkg-xen-devel mailing list