LXC container creation fails

Bug #1595239 reported by Christopher Townsend
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libertine
Status tracked in Devel
Devel
Fix Released
High
Christopher Townsend
Trunk
Fix Released
High
Christopher Townsend
libertine (Ubuntu)
Fix Released
High
Christopher Townsend

Bug Description

LXC containers fail to create.

A "Failed to create container" message is displayed.

This is due to the new reporting facility I added for displaying errors on container start. The problem stems from adding the config entries when the LxcContainer class is instantiated, but when creating a container, the config doesn't exist yet, so it messes up the creation.

Tags: cli lxc

Related branches

Changed in libertine (Ubuntu):
status: New → Triaged
importance: Undecided → High
summary: - LXC containers creation fails
+ LXC container creation fails
tags: added: cli lxc
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision 250, scheduled for release in libertine, milestone Unknown

Changed in libertine:
status: In Progress → Fix Committed
Changed in libertine (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Christopher Townsend (townsend)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libertine - 1.2.1+16.10.20160623-0ubuntu1

---------------
libertine (1.2.1+16.10.20160623-0ubuntu1) yakkety; urgency=medium

  [ Chris Townsend ]
  * Make sure the chroot container distro version matches the host distro version
    due to incompatibilities when mixing distro versions. (LP: #1592117)
  * Only set the LXC log file config if the container is already defined.
    (LP: #1595239)
  * Make sure the directory where ContainersConfig.json lives exists before
    trying to write out the file.

  [ Larry Price ]
  * Define XDG_RUNTIME_DIR environment variable for python container testing.

 -- Christopher Townsend <email address hidden> Thu, 23 Jun 2016 14:01:47 +0000

Changed in libertine (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.