[Bug 994752] [NEW] lxc-start-ephemeral's use of dhcp lease table is fragile
Gary Poster
gary.poster at canonical.com
Fri May 4 18:16:13 UTC 2012
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.
Twice today in tests involving lxc-start-ephemeral, the dhcp leases were
unavailable and lxc-start-ephemeral failed. The machine was under
fairly heavy load and was virtualized (EC2).
I'd like to try and make this less fragile. As discussed on IRC, using
lxcip
(http://bazaar.launchpad.net/~launchpad/lpsetup/trunk/files/head:/lplxcip/)
should make this more reliable. Perhaps increasing the timeout in that
code might be useful as well.
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
--
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/994752
Title:
lxc-start-ephemeral's use of dhcp lease table is fragile
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/994752/+subscriptions
More information about the Ubuntu-server-bugs
mailing list