[xen-tools-discuss] Problem: Ubuntu 14.04 LTS DomU via xen-create-image on Debian Wheezy Dom0
Dominik Henze
info at dominikhenze.de
Wed Apr 23 17:44:34 CEST 2014
Hi,
i tried to install the new ubuntu via xen-tools on my debian wheezy
xen-setup.
I added the new symlink in the debootstrap folder
(/usr/share/debootstrap/scripts/) as following, cause I saw in the actual
package of xen-tools in ubuntu 14.04 that the link is still to gusty.
lrwxrwxrwx 1 root root 5 Apr 23 16:10 trusty -> gutsy
Then I added the sym-link in the folder (/usr/lib/xen-tools) as following
cause the last version of ubunto was also pointed to karmic:
lrwxrwxrwx 1 root root 8 Apr 23 16:34 trusty.d -> karmic.d
Then I tried to install as followed:
xen-create-image --hostname=test --ip=xxx.xxx.xxx.xxx
--gateway=xxx.xxx.xxx.xxx --netmask=255.255.255.0 --pygrub --size=20G
--dist=trusty --bridge=xenbr0 --install-method=debootstrap
--mirror=http://de.archive.ubuntu.com/ubuntu/ --role=udev
The Setup starts as expected but after the following line in the log-file of
/var/log/xen-tools/test.log xen-tools stopped working
I: Base system installed successfully.
A few minutes later after any response the process terminates without any
error or warning. But the lvm of the new device is still mounted in tmp and
it seems that udevd is still accessing some files inside:
#:/usr/lib/xen-tools# lsof /tmp/iUWdYNtPvu
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
udevd 3947 root cwd DIR 253,55 4096 2 /tmp/iUWdYNtPvu
udevd 3947 root rtd DIR 253,55 4096 2 /tmp/iUWdYNtPvu
udevd 3947 root txt REG 253,55 239896 467300
/tmp/iUWdYNtPvu/lib/systemd/systemd-udevd
udevd 3947 root mem REG 253,55 47712 466974
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnss_files-2.19.so
udevd 3947 root mem REG 253,55 47760 466981
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnss_nis-2.19.so
udevd 3947 root mem REG 253,55 97296 466978
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnsl-2.19.so
udevd 3947 root mem REG 253,55 39824 466982
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnss_compat-2.19.so
udevd 3947 root mem REG 253,55 5660180 467087
/tmp/iUWdYNtPvu/lib/udev/hwdb.bin
udevd 3947 root mem REG 253,55 141574 466988
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libpthread-2.19.so
udevd 3947 root mem REG 253,55 18624 466952
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libattr.so.1.1.0
udevd 3947 root mem REG 253,55 18936 467068
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libuuid.so.1.3.0
udevd 3947 root mem REG 253,55 14664 466985
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libdl-2.19.so
udevd 3947 root mem REG 253,55 252032 467042
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libpcre.so.3.13.1
udevd 3947 root mem REG 253,55 1845024 466972
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libc-2.19.so
udevd 3947 root mem REG 253,55 31792 466989
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/librt-2.19.so
udevd 3947 root mem REG 253,55 281552 467003
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
udevd 3947 root mem REG 253,55 38920 467023
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
udevd 3947 root mem REG 253,55 96280 467025
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libnih.so.1.0.0
udevd 3947 root mem REG 253,55 104384 466995
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libcgmanager.so.0.0.0
udevd 3947 root mem REG 253,55 31168 466949
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libacl.so.1.1.0
udevd 3947 root mem REG 253,55 88704 467013
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libkmod.so.2.2.5
udevd 3947 root mem REG 253,55 155384 466958
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libblkid.so.1.1.0
udevd 3947 root mem REG 253,55 134296 467058
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/libselinux.so.1
udevd 3947 root mem REG 253,55 149120 466970
/tmp/iUWdYNtPvu/lib/x86_64-linux-gnu/ld-2.19.so
udevd 3947 root 0u CHR 1,3 0t0 729131
/tmp/iUWdYNtPvu/dev/null
udevd 3947 root 1u CHR 1,3 0t0 729131
/tmp/iUWdYNtPvu/dev/null
udevd 3947 root 2u CHR 1,3 0t0 729131
/tmp/iUWdYNtPvu/dev/null
udevd 3947 root 6u REG 253,55 8 844074
/tmp/iUWdYNtPvu/run/udev/queue.bin
udevd 3947 root 7w REG 253,55 60649 458754
/tmp/iUWdYNtPvu/var/log/bootstrap.log
udevd 3947 root 12r REG 253,55 5660180 467087
/tmp/iUWdYNtPvu/lib/udev/hwdb.bin
so I cannot umount the tmp-device and I don´t know if I can kill this udevd
process without having issues on the root-server.
I tried to search for processes who still working on the image creation. I
searched via ps aux for perl, xen-create-image, debootstrap, the tmp folder
and so on.
My Questions are:
- What is this udevd deamon does with the files ? can I kill it or
doing something else to umount the tmp-device again
- Are there any ideas or issues of using 14.04 lts on xen-tools
Any help would be very great.
Thank you very much!
Greetings
Dominik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20140423/280c30fd/attachment.html>
More information about the xen-tools-discuss
mailing list