2012-09-17 17:38:21 |
Dan Kegel |
description |
On Ubuntu 12.04.1, ephemeral containers seem to conflict with NFS home directories.
The user's home directory is on a remote NFS server.
The original container is created with
sudo lxc-create -t ubuntu -n foobar -- -r lucid --bindhome $LOGNAME
The ephemeral container is started with
lxc-start-ephemeral -o foobar
The user logs in to the ephemeral container. This hangs.
After that, any reference to the home directory -- inside or outside of the container -- seems to hang.
mount in the container shows:
none on / type overlayfs (rw,relatime,lowerdir=/var/lib/lxc/buildhost2-ubu10,upperdir=/tmp/lxc-lp-v92y7NU)
none on /mnt/home/builder type overlayfs (rw,relatime,lowerdir=/mnt/home/builder,upperdir=/var/lib/lxc/buildhost2-ubu10-temp-loNNGB5/ephemeralbind/mnt/home/builder)
mount outside the container shows:
obnas1a:/vol/homes/builder 419430400 362328576 57101824 87% /mnt/home/builder
But sometimes, mount outside the container shows nothing for /mnt/home/builder after the problem happens.
This seems 100% repeatable. |
On Ubuntu 12.04.1, ephemeral containers seem to conflict with NFS home directories.
The user's home directory is on a remote NFS server.
The original container is created with
sudo lxc-create -t ubuntu -n foobar -- -r lucid --bindhome $LOGNAME
The ephemeral container is started with
lxc-start-ephemeral -o foobar
The user logs in to the ephemeral container. This hangs.
After that, any reference to the home directory -- inside or outside of the container -- seems to hang.
mount in the container shows:
none on / type overlayfs (rw,relatime,lowerdir=/var/lib/lxc/buildhost2-ubu10,upperdir=/tmp/lxc-lp-v92y7NU)
none on /mnt/home/builder type overlayfs (rw,relatime,lowerdir=/mnt/home/builder,upperdir=/var/lib/lxc/buildhost2-ubu10-temp-loNNGB5/ephemeralbind/mnt/home/builder)
mount outside the container shows:
obnas1a:/vol/homes/builder 419430400 362328576 57101824 87% /mnt/home/builder
But sometimes, mount outside the container shows nothing for /mnt/home/builder after the problem happens.
This seems 100% repeatable.
---
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 Sep 14 15:17 seq
crw-rw---T 1 root audio 116, 33 Sep 14 15:17 timer
AplayDevices: aplay: device_list:252: no soundcards found...
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
ArecordDevices: arecord: device_list:252: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120402)
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: VMware, Inc. VMware Virtual Platform
NonfreeKernelModules: vmci
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 svgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-30-generic root=UUID=51e9e90f-c222-4072-892d-871faa221c9b ro quiet splash
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill:
Tags: precise
Uname: Linux 3.2.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
WifiSyslog:
dmi.bios.date: 01/07/2011
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd01/07/2011:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc. |
|