[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu67

---
lxc (0.7.5-3ubuntu67) precise-proposed; urgency=low

  * Don't directly write/remove /etc/dnsmasq.d/lxc as that's causing problems
when removing and reinstalling lxc.
Instead have dnsmasq ship /etc/dnsmasq.d-available/lxc and create/remove
a symlink in /etc/dnsmasq.d/. (LP: #1113821)
  * Bump debhelper dependency and add Pre-Depends on newer dpkg for above fix.
  * Allow the container to mount efivars on /sys/firmware/efi/efivars.
efivars is automatically mounted by mountall on UEFI systems, failure to
do so leads to a complete boot failure. (LP: #1117589)
  * 0221-make-nonflush-upgrades-robust: be more robust about out of date
container caches.  (LP: #942862)
  * 0207-ubuntu-cloud-fixes.patch: cleanups to lxc-ubuntu-cloud.in
fix for quantal images that do not have user 'ubuntu' present
(LP: #1045955)
  * 0301-debian-copy-config: Pass all the arguments to copy_configuration.
(LP: #613)
 -- Stephane Graber stgra...@ubuntu.com   Thu, 07 Feb 2013 13:08:07 -0500

** Changed in: lxc (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-02-20 Thread Clint Byrum
Hello Scott, or anyone else affected,

Accepted lxc into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lxc/0.7.5-3ubuntu67 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: lxc (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-02-20 Thread Scott Moser
$ rel=$(lsb_release -sc)
$ echo $rel
precise
$ echo deb http://archive.ubuntu.com/ubuntu $rel-proposed main universe |
   sudo tee /etc/apt/sources.list.d/$rel-proposed.list
$ sudo apt-get update

$ apt-cache policy lxc
lxc:
  Installed: (none)
  Candidate: 0.7.5-3ubuntu67
  Version table:
 0.7.5-3ubuntu67 0
500 http://archive.ubuntu.com/ubuntu/ precise-proposed/universe amd64 
Packages
 0.7.5-3ubuntu66 0
500 http://nova.clouds.archive.ubuntu.com/ubuntu/ 
precise-updates/universe amd64 Packages
 0.7.5-3ubuntu52 0
500 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe 
amd64 Packages

$ sudo apt-get install -q -y lxc distro-info
$ sudo lxc-create -t ubuntu-cloud -n quantal-i386-source -- --release=quantal 
--arch=i386 
$ sudo lxc-clone -o quantal-i386-source -n quantal-i386
$ sudo lxc-start -n quantal-i386

Then logged in using 'ubuntu:ubuntu'.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-02-07 Thread Stéphane Graber
** Changed in: lxc (Ubuntu Precise)
   Status: Triaged = In Progress

** Changed in: lxc (Ubuntu Precise)
 Assignee: (unassigned) = Stéphane Graber (stgraber)

** Description changed:

+ === Rationale ===
+ The quantal cloud image doesn't ship with an existing ubuntu user, instead it 
uses cloud-utils to create it at boot time.
+ This breaks older versions of lxc-ubuntucloud which expects the user to be 
there.
+ 
+ The fix is a backport from what was pushed into quantal and basically
+ moves the user handling code to the cloud-init config file.
+ 
+ === Test case ===
+ 1) lxc-create -t ubuntucloud -n p1 -- -r q
+ 2) If this works, you're good (otherwise it'll fail when setting up the user 
saying that ubuntu doesn't exist.)
+ 
+ === Regression potential ===
+ The fix is a direct port of the change that was pushed to quantal and it's 
been tested on 12.04 with both a precise and quantal container. In the worst 
case, cloud-init would fail to run, rendering the container close to useless, 
but the testing I've been doing would have shown anything that bad.
+ 
+ 
+ -- original bug report 
+ 
  'lxc-create -t ubuntu-cloud' was broken on quantal images as it assumes
  presense of 'ubuntu' user, and that has been removed from the images.
  Now, cloud-init creates the ubuntu user on first  boot.
  
  $ lxc-create -t ubuntu-cloud -n source-quantal-amd64 -- --release quantal 
--arch amd64 --stream daily
  No config file specified, using the default config
  ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query
  wget is /usr/bin/wget
  --2012-09-04 18:16:36--  
https://cloud-images.ubuntu.com/server/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz
  Resolving cloud-images.ubuntu.com (cloud-images.ubuntu.com)... 91.189.88.141
  Connecting to cloud-images.ubuntu.com 
(cloud-images.ubuntu.com)|91.189.88.141|:443... connected.
  HTTP request sent, awaiting response... 302 Found
  Location: 
https://cloud-images.ubuntu.com/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz
 [following]
  --2012-09-04 18:16:36--  
https://cloud-images.ubuntu.com/quantal/20120904/quantal-server-cloudimg-amd64-root.tar.gz
  Reusing existing connection to cloud-images.ubuntu.com:443.
  HTTP request sent, awaiting response... 200 OK
  Length: 172848992 (165M) [application/x-gzip]
  Saving to: `quantal-server-cloudimg-amd64-root.tar.gz'
  
  100%[==]
  172,848,992 17.5M/s   in 10s
  
  2012-09-04 18:16:46 (16.4 MB/s) - `quantal-server-cloudimg-
  amd64-root.tar.gz' saved [172848992/172848992]
  
  Extracting container rootfs
  Configuring for running outside of a cloud environment
  If you want to configure for a cloud evironment, please use '-- -C' to create 
the container
  usermod: user 'ubuntu' does not exist
  failed to execute template 'ubuntu-cloud'
  aborted
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: lxc 0.8.0~rc1-4ubuntu32
  ProcVersionSignature: User Name 3.5.0-13.13-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  Architecture: amd64
  Date: Tue Sep  4 18:17:47 2012
  KernLog:
-  
+ 
  ProcEnviron:
-  TERM=screen
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=screen
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lxc
  UpgradeStatus: No upgrade log present (probably fresh install)
  lxcsyslog:

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-01-31 Thread Scott Moser
** Changed in: lxc (Ubuntu Precise)
   Status: New = Triaged

** Changed in: lxc (Ubuntu Precise)
   Importance: Undecided = Medium

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2013-01-31 Thread Scott Moser
** Also affects: lxc (Ubuntu Precise)
   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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2012-09-06 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: Triaged = Fix Committed

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2012-09-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu33

---
lxc (0.8.0~rc1-4ubuntu33) quantal; urgency=low

  [ Serge Hallyn ]
  * 0206-lxc-wait-initialize-timeout: initialize timeout to -1 so lxc-wait
will, by default, wait for the container to enter the requested state.
  * debian/patches/compilecleanups/* - fix compile time warnings.
  * lxc.lxc-net.upstart: tell iptables not to masquerate packets between
containers.  (LP: #1045947)
  * 0208-fix-getitem-utsname-segv: fix seg fault when doing get_item(utsname)
on newly created container.
  * 0209-reload-conf-after-create: add ability to free a lxc_conf.  Use that
after calling Container-Create() to completely reload the newly created
config.
  * 0211-add-hooks-to-manpage: document lxc.hook in the lxc.conf manpage.
  * 0212-lxc-destroy-rm-symlink: If rootfs is a symbolic link to a directory,
remove it.  (LP: #1046117)
  * 0213-add-premount-hook.patch: add a premount hook to support encrypted
filesystems.  (LP: #1043052)

  [ Scott Moser ]
  * 0207-ubuntu-cloud-fixes.patch: cleanups to lxc-ubuntu-cloud.in
fix for quantal images that do not have user 'ubuntu' present
(LP: #1045955)

  [ Rex Tsai ]
  * 0210-fix-debian-templates: Fix lxc-shutdown/lxc-restart in Debian
containers and fix lxc.utsname for lenny containers.
(LP: #1046684, LP: #1046696)

  [ Stéphane Graber ]
  * lxc.lxc-net.upstart: Make the iptables call more consistent (LP: #1045947)
 -- Serge Hallyn serge.hal...@ubuntu.com   Thu, 30 Aug 2012 11:32:06 -0500

** Changed in: lxc (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2012-09-04 Thread Scott Moser
-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2012-09-04 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/ubuntu/quantal/lxc/lp-1045955

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1045955] Re: lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

2012-09-04 Thread Scott Moser
** Changed in: lxc (Ubuntu)
   Importance: Undecided = Medium

** Changed in: lxc (Ubuntu)
   Status: New = Triaged

** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Scott Moser (smoser)

-- 
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/1045955

Title:
  lxc-create -t ubuntu-cloud broken on quantal images (no ubuntu user)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs