Re: [Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Gary Poster
Hi Marius. I take it that you encountered this problem again? Under what circumstances–what versions of the charm and GUI? ~juju-gui's trunk of the charm + juju GUI trunk should do what you need but everything else will not at the moment. We are blocked by ~charmers in getting the charm published,

Re: [Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-03-14 Thread Gary Poster
On 03/14/2013 08:17 AM, Marius B. Kotsbak wrote: Yes, I encountered it again, using juju-gui-source: trunk. and cs:precise/juju-gui. Maybe this was a slightly different problem, but still at loading the main page and failing to connect to the API. I also saw this in the log: Starting or

[Bug 1149410] Re: Stuck on Trying to connect to the Juju environment

2013-06-19 Thread Gary Poster
For anyone looking at this bug, the Juju GUI fix mentioned has been released for several months now. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju in Ubuntu. https://bugs.launchpad.net/bugs/1149410 Title: Stuck on Trying to

[Bug 902190] [NEW] udev fails to update (oneric host, lucid container)

2011-12-09 Thread Gary Poster
Public bug reported: You will find when running “apt-get upgrade” (if you have Lucid updates enabled in /etc/apt/sources.list) that you get this error on upgrading udev: mknod: `/lib/udev/devices/ppp': Operation not permitted This problem is mentioned on

[Bug 902190] Re: udev fails to update (oneric host, lucid container)

2011-12-14 Thread Gary Poster
Hi. I'm trying to verify, but lxc-create no longer works for me, probably because of a careless mistake on my part (updating all proposed packages). I'll keep working on it. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in

[Bug 902190] Re: udev fails to update (oneric host, lucid container)

2011-12-14 Thread Gary Poster
To be clear, lxc-create is still broken after I revert lxc to the current, non-proposed version. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/902190 Title: udev fails to update

[Bug 902190] Re: udev fails to update (oneric host, lucid container)

2011-12-16 Thread Gary Poster
My lxc is working again (the solution was to clear out the lxc cache). Unfortunately, it still does not work for me with a fresh lxc--running a lucid container inside an oneiric host. Perhaps the SRU was for running an oneiric container? Symptoms: as before, during an update, I get this:

[Bug 902190] Re: udev fails to update (oneric host, lucid container)

2011-12-19 Thread Gary Poster
My apologies, Serge and Clint. I can confirm that this proposed SRU fixes the problem for me, and I don't see any newly introduced problems. Apparently I had not updated correctly: I was using 0.7.5 -0ubuntu8.2. I see the new config now that I create a new instance with lxc 0.7.5 -0ubuntu8.3.

[Bug 906500] [NEW] lxc-create fails with errors that it is unable to access archive.ubuntu.com

2011-12-19 Thread Gary Poster
Public bug reported: I encountered this problem when trying to create lxc containers after my first one. The host had full access to archive.ubuntu.com, as verified by Serge Hallyn and Robert Collins via various diagnostics. After trying more careful approaches to a solution, Serge Hallyn

[Bug 914169] [NEW] lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-10 Thread Gary Poster
Public bug reported: William and Robert developed the lxc-start-ephemeral script to support a use case that the version in the package no longer supports, to the best of our knowledge. Specifically, we need to be able to programmatically start ephemeral instances, send them a command and get the

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-10 Thread Gary Poster
Yes, the way the ssh was assembled was a bit rough--running sed over the dhcp leases to find the ip address of the container name. In the solution I proposed on this bug, we were going to initially do the same within the command string. At least the hack would not be in lxc itself. Later we

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-10 Thread Gary Poster
** Also affects: launchpad Importance: Undecided Status: New ** Changed in: launchpad Status: New = Triaged ** Changed in: launchpad Importance: Undecided = High ** Tags added: paralleltest -- You received this bug notification because you are a member of Ubuntu Server

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-11 Thread Gary Poster
Thank you Serge. The switch from aufs looks good. We're evaluating it now. We'll have feedback soon. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/914169 Title: lxc-start-ephemeral

[Bug 915941] [NEW] overlayfs does not honor lxc-related permissions

2012-01-13 Thread Gary Poster
Public bug reported: Using overlayfs with lxc causes tty problems that can kill X. Overlayfs needs to honor the necessary cgroup permission calls, per the following information from Serge. here is a script which you can use to test the overlayfs issue: =

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-19 Thread Gary Poster
With the fix from bug 914169, the only basic change we need in this script is as follows: 121,122c121,122 mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3 mkdir -p $LXC_DIR/rootfs/var/lib/dhcp --- sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3 sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp We're also

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-23 Thread Gary Poster
** No longer affects: launchpad -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/914169 Title: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral

[Bug 914169] Re: lxc-start-ephemeral script does not support in-line programmatic commands to ephemeral containers

2012-01-23 Thread Gary Poster
@serge Thank you! @Robert IIUC we do both dhcp and dhcp3. My diff merely added a sudo. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/914169 Title: lxc-start-ephemeral script does

[Bug 924337] [NEW] lxc on precise is not working with lucid containers

2012-01-31 Thread Gary Poster
Public bug reported: On precise with newest packages as of 2012-01-31 1500Z, trying to start an lxc lucid container hangs. Oneric and Precise containers work fine. $ sudo lxc-start -n lp init: ureadahead-other main process (31) terminated with status 4 init: console-setup main process (32)

[Bug 924337] Re: lxc on precise is not working with lucid containers

2012-01-31 Thread Gary Poster
I reported on IRC to Serge that virbr0 did indeed have STP enabled, but that I did not see any obvious dnsmasq errors. He already had diagnosed the problem said as a workaround I could just change the 'start on' in /etc/init/console.conf in my container to 'start on mounted MOUNTPOINT=/run'.

[Bug 924337] Re: lxc on precise is not working with lucid containers

2012-02-01 Thread Gary Poster
I tried the fix and I got the same symptom. For clarity: - I wiped out /var/lxc/cache before I started because lxc-create wasn't working. That got lxc-create working. I used the same commands I listed in the bug description. - I changed the container's console.conf as described: $ cat

[Bug 925024] [NEW] apparmor makes it impossible to install postgresql-common on Precise

2012-02-01 Thread Gary Poster
Public bug reported: Repro: $ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary $ sudo lxc-start -n precise [log in as root] root@precise:~# apt-get install postgresql-common Reading package lists... Done Building dependency tree Reading state

[Bug 925028] [NEW] apparmor breaks lxc-start-ephemeral

2012-02-01 Thread Gary Poster
Public bug reported: Repro: $ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary $ sudo lxc-start-ephemeral -o precise Setting up ephemeral container... Starting up the container... lxc-start: Invalid argument - failed to open

[Bug 924337] Re: lxc on precise is not working with lucid containers

2012-02-01 Thread Gary Poster
Serge, cool. The workaround is fine. Thanks. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/924337 Title: lxc on precise is not working with lucid containers To manage notifications

[Bug 925028] AplayDevices.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: AplayDevices.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706220/+files/AplayDevices.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] Card0.Amixer.values.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Card0.Amixer.values.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706221/+files/Card0.Amixer.values.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] Card0.Codecs.codec.0.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Card0.Codecs.codec.0.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706222/+files/Card0.Codecs.codec.0.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] AlsaDevices.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: AlsaDevices.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706219/+files/AlsaDevices.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] IwConfig.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: IwConfig.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706224/+files/IwConfig.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] Dependencies.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706223/+files/Dependencies.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] PciMultimedia.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PciMultimedia.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706227/+files/PciMultimedia.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] Lsusb.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Lsusb.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706226/+files/Lsusb.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028

[Bug 925028] Lspci.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Lspci.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706225/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028

[Bug 925028] ProcModules.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: ProcModules.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706230/+files/ProcModules.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] ProcInterrupts.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: ProcInterrupts.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706229/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] PulseSinks.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PulseSinks.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706231/+files/PulseSinks.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] UdevDb.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: UdevDb.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706234/+files/UdevDb.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028

[Bug 925028] RfKill.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: RfKill.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706233/+files/RfKill.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028

[Bug 925028] PulseSources.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PulseSources.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706232/+files/PulseSources.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925028] UdevLog.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: UdevLog.txt https://bugs.launchpad.net/bugs/925028/+attachment/2706235/+files/UdevLog.txt ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which

[Bug 925024] Re: apparmor makes it impossible to install postgresql-common on Precise

2012-02-01 Thread Gary Poster
apport information ** Tags added: apport-collected running-unity ** Description changed: Repro: $ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary $ sudo lxc-start -n precise [log in as root] root@precise:~# apt-get install

[Bug 925024] AlsaDevices.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: AlsaDevices.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706239/+files/AlsaDevices.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] AplayDevices.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: AplayDevices.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706240/+files/AplayDevices.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] Card0.Amixer.values.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Card0.Amixer.values.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706241/+files/Card0.Amixer.values.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] Card0.Codecs.codec.0.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Card0.Codecs.codec.0.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706242/+files/Card0.Codecs.codec.0.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] Dependencies.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706243/+files/Dependencies.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] IwConfig.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: IwConfig.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706244/+files/IwConfig.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] Lspci.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Lspci.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706245/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925024

[Bug 925024] ProcCpuinfo.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: ProcCpuinfo.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706248/+files/ProcCpuinfo.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] PciMultimedia.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PciMultimedia.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706247/+files/PciMultimedia.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] PulseSinks.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PulseSinks.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706251/+files/PulseSinks.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] PulseSources.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: PulseSources.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706252/+files/PulseSources.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 925024] UdevDb.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: UdevDb.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706254/+files/UdevDb.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925024

[Bug 925024] UdevLog.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: UdevLog.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706255/+files/UdevLog.txt ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which

[Bug 925028] Re: apparmor breaks lxc-start-ephemeral

2012-02-01 Thread Gary Poster
apport information ** Tags added: apport-collected precise running-unity ** Description changed: Repro: $ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary $ sudo lxc-start-ephemeral -o precise Setting up ephemeral container... Starting up the

[Bug 925024] Lsusb.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: Lsusb.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706246/+files/Lsusb.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925024

[Bug 925024] RfKill.txt

2012-02-01 Thread Gary Poster
apport information ** Attachment added: RfKill.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706253/+files/RfKill.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925024

[Bug 925520] Re: lxc script non-root errors can be confusing

2012-02-02 Thread Gary Poster
This seems related, but not identical, to bug 918327 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925520 Title: lxc script non-root errors can be confusing To manage notifications

[Bug 925520] [NEW] lxc script non-root errors can be confusing

2012-02-02 Thread Gary Poster
Public bug reported: A trivial thing, but at least a couple of people have been confused by something like this, just being forgetful: $ lxc-start -n lp lxc-start: failed to cap_get_flag: Invalid argument lxc-start: failed to create veth5HNAcN-vethyuiOEf : Operation not permitted lxc-start:

[Bug 925024] Re: apparmor makes it impossible to install postgresql-common on Precise

2012-02-03 Thread Gary Poster
** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925024 Title: apparmor makes it impossible to install

[Bug 925028] Re: apparmor breaks lxc-start-ephemeral (apparmor+overlayfs returns -EINVAL)

2012-02-03 Thread Gary Poster
** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028 Title: apparmor breaks lxc-start-ephemeral (apparmor+overlayfs

[Bug 925028] Re: apparmor breaks lxc-start-ephemeral (apparmor+overlayfs returns -EINVAL)

2012-02-03 Thread Gary Poster
** Tags added: bot-stop-nagging -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/925028 Title: apparmor breaks lxc-start-ephemeral (apparmor+overlayfs returns -EINVAL) To manage

[Bug 933779] [NEW] lxc-start-ephemeral intermittently fails to connect to container

2012-02-16 Thread Gary Poster
Public bug reported: We believe sshd just hasn't started quickly enough, sometimes. Graham Binns worked out this kind of solution, if it works for you: http://pastebin.ubuntu.com/844925/ (see lines 146-157 in particular). Thanks Gary ** Affects: lxc (Ubuntu) Importance: Undecided

[Bug 945183] [NEW] lxc-start-ephemeral is difficult to use with non-ubuntu accounts

2012-03-02 Thread Gary Poster
Public bug reported: Because of the current ssh approach used in lxc-start-ephemeral in lieu of lxc-attach, you need a password or key in the ubuntu account to connect. If you want to do this with automation, you can use a key. If you want to use this with another user and that user's key, you

[Bug 949956] [NEW] lxc-start-ephemeral keeps same MAC address, and so same IP address, as base instance

2012-03-08 Thread Gary Poster
Public bug reported: As smoser pointed out, lxc-start-ephemeral needs to do the same kinds of things that lxc-clone does, such as this: # change hwaddrs mv ${c} ${c}.old ( while read line; do if [ ${line:0:18} = lxc.network.hwaddr ]; then echo lxc.network.hwaddr=

[Bug 951150] [NEW] lxc-start-ephemeral is not all ephemeral

2012-03-09 Thread Gary Poster
Public bug reported: The directories mounted both using the ephemeral's fstab and using -b are not ephemeral. Changes to them persist on the filesystem, and are thus shared across other ephemeral instances that mount the same directories. We have a branch that addresses this concern. We took

[Bug 951181] [NEW] lxc-wait: bind : Address already in use.

2012-03-09 Thread Gary Poster
Public bug reported: If multiple lxc-waits are run simultaneously, all after the first will fail with bind : Address already in use. This is apparently a known issue. http://comments.gmane.org/gmane.linux.kernel.containers.lxc.general/962 ** Affects: lxc (Ubuntu) Importance: Undecided

[Bug 951150] Re: lxc-start-ephemeral is not all ephemeral

2012-03-11 Thread Gary Poster
Hi Serge. I don't actually know the original intent of -b, but what you say makes sense. I changed our code to change all bind mounts in the ephemeral's container to an ephemeral overlay, instead. That's kind of what I wanted anyway, but I was being lazy. :-) I also worried it would not be

[Bug 954632] [NEW] The -- option to lxc-start-ephemeral no longer works

2012-03-13 Thread Gary Poster
Public bug reported: This fixes it: === modified file 'debian/local/lxc-start-ephemeral' --- debian/local/lxc-start-ephemeral2012-03-12 13:22:06 + +++ debian/local/lxc-start-ephemeral2012-03-14 01:10:20 + @@ -100,6 +100,8 @@ esac done +COMMAND=$@ +COMMAND_LENGTH=$#

[Bug 960262] [NEW] include an option to use aufs instead of overlayfs in lxc-start-ephemeral

2012-03-20 Thread Gary Poster
Public bug reported: Because of the problems we've encountered with overlayfs over the past couple of months, and because aufs did seem to be working earlier, I'd like it if we could have an option to use aufs with lxc-start-ephemeral. Because overlayfs is the well-advertised future and aufs is

[Bug 959352] Re: Ephemeral containers have /rootfs prefix in /proc/self/maps entries

2012-03-20 Thread Gary Poster
We are discovering that this, or something very similar to it, is serious. For our own use, at least, I'd raise this to high (we don't have privileges to do so). According to lsof, many, many processes (sshd, upstart, init, ntpd, etc., as well as processes we start directly such as xvfb-run and

[Bug 959352] Re: Ephemeral containers have /rootfs prefix in /proc/self/maps entries

2012-03-20 Thread Gary Poster
Hi Serge. Thanks for looking at this. On an aufs-mounted ephemeral: gary@lpdev-temp-tKJg9Ss:~$ cat /proc/self/maps 08048000-08054000 r-xp 08:12 414657 /var/lib/lxc/lpdev/rootfs/bin/cat 08054000-08055000 r--p b000 08:12 414657

[Bug 959352] Re: Ephemeral containers have /rootfs prefix in /proc/self/maps entries

2012-03-28 Thread Gary Poster
** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/959352 Title: Ephemeral containers have /rootfs prefix in

[Bug 959352] Re: Ephemeral containers have /rootfs prefix in /proc/self/maps entries

2012-03-29 Thread Gary Poster
I have duped the problem Benji reported, and did the kernel test in order to let him work on other tasks. The given kernel (reported in /proc/version as Linux version 3.3.0-030300-generic (apw@gomeisa) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #201203182135 SMP Mon Mar 19 01:36:20 UTC 2012)

[Bug 968371] [NEW] lxc-create -b is broken

2012-03-29 Thread Gary Poster
Public bug reported: The -b flag in current Precise lxc-create sets up an fstab that has $homedir $homedir none bind 0 0 instead of $homedir /var/lib/lxc/$container/rootfs/$homedir none bind 0 0. This doesn't seem to work, which is a regression. I created a container with this: $ sudo

[Bug 969604] [NEW] lxc-stop should be able to handle ephemeral containers more robustly

2012-03-30 Thread Gary Poster
Public bug reported: It is possible to have an ephemeral container remaining after lxc-start- ephemeral has been killed--trivially by calling kill -9 on lxc-start- ephemeral. At that point, the script does not get a chance to clean up after itself, and the system is left with a running ephemeral

[Bug 969604] Re: lxc-stop should be able to handle ephemeral containers more robustly

2012-03-30 Thread Gary Poster
I agree. I was thinking as I wrote this that we would be awfully close to being able to get rid of the -- COMMAND stuff if this were implemented, for instance; and generally close to being able to make lxc-start-ephemeral behave very similarly to lxc-start in terms of interaction patterns.

[Bug 974584] Re: celery tests fail on parallel testing instances

2012-04-11 Thread Gary Poster
This is easily and repeatably duplicatable on in my lxc lucid container. The error for the last test (with the multiprocessing SemLock OSError seems the most likely to be a shared root cause to me. Interestingly, the OSError was slightly different for me, with a newer lxc: OSError: [Errno 38]

[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-12 Thread Gary Poster
Salgado, would you be able to do this verification? If not, let me know, and I'll do it. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/924337 Title: lxc on precise is not working

[Bug 994752] [NEW] lxc-start-ephemeral's use of dhcp lease table is fragile

2012-05-04 Thread Gary Poster
Public bug reported: When lxc-start-ephemeral is given a command to run (-- do_something) it wants to use lxc-attach to run the command, but lxc-attach is not ready yet. Instead, it parses the dhcp leases to figure out the IP for the container, and then tries to use ssh to run the command.

[Bug 994752] Re: lxc-start-ephemeral's use of dhcp lease table is fragile

2012-05-25 Thread Gary Poster
** Description changed: [Impact] - fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release + This affects anyone using lxc-start-ephemeral as part of an automated process for which intermittent failures are a

[Bug 994752] Re: lxc-start-ephemeral's use of dhcp lease table is fragile

2012-06-01 Thread Gary Poster
The improvement in the new version is significant, and there is no regression. The improvement is still insufficient for our use case, as I noted would be likely in the updated description. For our use case of 32 LXC containers running on a 32 core (16 hyperthreaded) EC2 box, 21 ephemeral

[Bug 1014916] [NEW] simultaneously started lucid containers pause while starting after the first seven

2012-06-18 Thread Gary Poster
Public bug reported: We are gathering more data, but it feels like we have enough to start a bug report. On Precise, on a 16 core/32 thread EC2 machine (instance type cc2.8xlarge), when starting approximately eight or more Lucid containers simultaneously, after the first seven or so connect to

[Bug 1014916] Re: simultaneously started lucid containers pause while starting after the first seven

2012-06-18 Thread Gary Poster
** Description changed: We are gathering more data, but it feels like we have enough to start a bug report. On Precise, on a 16 core/32 thread EC2 machine (instance type cc2.8xlarge), when starting approximately eight or more Lucid containers - simultaneously, after the first seven or

[Bug 1014916] Re: simultaneously started lucid containers pause while starting after the first seven

2012-06-19 Thread Gary Poster
Serge, thank you! The workaround appears to work very well for us. The containers started quickly, and it should not only give us more reliable starts but also seems to have taken at least three minutes off our average run time, as you might expect. -- You received this bug notification

[Bug 1014916] Re: simultaneously started lucid containers pause while starting after the first seven

2012-07-09 Thread Gary Poster
This was working very well for us, and the lxc-start-ephemeral TRIES=60 was working fine. Starting last week, we began seeing recurrence of this problem, even with the workarounds applied and TRIES hacked to 180. I intend to circle around with Serge and see if he has any other ideas. -- You

[Bug 1014916] Re: simultaneously started lucid containers pause while starting after the first seven

2012-07-10 Thread Gary Poster
Note that the workaround helps significantly but is not always sufficient. If I do not apply it, I can reliably encounter the problem every single test run. Another team is working on moving us to run on Precise in production, which would let us use Precise containers. Precise containers do not

[Bug 924281] Re: cgroup-lite not installable inside 'lxc create -t ubuntu' container

2012-07-24 Thread Gary Poster
If someone encounters these symptoms in Precise, the more detailed instructions to fix it is to adjust apparmor as described in http://www.stgraber.org/2012/05/04/lxc-in-ubuntu-12-04-lts/ , in the section labeled Container nesting. The apparmor change is part of Quantal, so the blog post's steps

[Bug 834930] Re: Need a way to manage SSH keys in a juju environment.

2014-02-03 Thread Gary Poster
+1 on adding to GUI. Priority-wise I think it goes after a decent chunk of other goals, but it definitely fits into what we've said we want the GUI to accomplish, and if we see a way to fit it in quickly hopefully we can. ** Changed in: juju-gui Status: New = Triaged ** Changed in: