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

Ubuntu Foundation's Bug Bot 994752 at bugs.launchpad.net
Mon May 14 12:13:53 UTC 2012


The attachment "bug-994752-lxc-ip.debdiff" of this bug report has been
identified as being a patch in the form of a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/994752

Title:
  lxc-start-ephemeral's use of dhcp lease table is fragile

Status in “lxc” package in Ubuntu:
  Triaged
Status in “lxc” source package in Precise:
  New
Status in “lxc” source package in Quantal:
  Triaged

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/994752/+subscriptions



More information about the Ubuntu-sponsors mailing list