[Bug 1354375] [NEW] lxc-snapshot destroys container

2014-08-08 Thread Dan McGrath
Public bug reported:

Was following instructions for lxc-snapshots at:

  https://help.ubuntu.com/lts/serverguide/lxc.html

The problem I am reporting is that when I create a snapshot with:

  lxc-snapshot -n c1

which creates snap0 (snap1...snapN, etc.), after I try restore the
snapshot with:

  lxc-snapshot -r snap0 -n c1

lxc seems to happily remove snap0 and c1, thus destroying the entire
container. I would paste the output, but it was via a vbox vm and wasn't
easy to copy/paste the text, so I have attached a screenshot instead.

The release was 14.0.4.1 LTS with lxc 1.0.5-0ubuntu0.1. What I expected
was for the snapshot to first remove c1 and then rename snap0 to c1.
Seeing as how the c1 container was a LVM snapshot I can see that
removing c1 (the origin of snap0) might be the reason for it killing
snap0 and c1, but it seems a little unpexted, especially if this had
been more than a test.

Is this a real bug?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lxc 1.0.5-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Fri Aug  8 05:58:41 2014
InstallationDate: Installed on 2014-08-07 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 
(20140416.2)
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=linux
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up
 lxc.network.hwaddr = 00:16:3e:xx:xx:xx

** Affects: lxc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "Screenshot of the problem"
   
https://bugs.launchpad.net/bugs/1354375/+attachment/4172685/+files/Screenshot%20-%2014-08-08%20-%2006%3A11%3A58%20AM.png

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

Title:
  lxc-snapshot destroys container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1354375/+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 988173] Re: maas-import-isos fails

2012-04-25 Thread Dan McGrath
Ah, great tip, worked like a charm! It would seem that I forgot that I
changed the vm networking from NAT to bridged, thus affecting the
original IP I gave it during install that I had forgotten about. PEBKAC
:)

Anyways, thanks for the help, please close o/

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/988173

Title:
  maas-import-isos fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/988173/+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 988173] Re: maas-import-isos fails

2012-04-25 Thread Dan McGrath
Since I was running in a VM before instead of ssh, copy/pasting the
original process was a little awkward, so I figured I would run once
more with the actual output for the sake of being complete. Hope this
helps :)


$ sudo maas-import-isos
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
mount: warning: /tmp/cobbler-ubuntu-import.uqesLs/mnt seems to be mounted 
read-only.
httpd does not appear to be running and proxying cobbler
failed to import precise-x86_64
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
mount: warning: /tmp/cobbler-ubuntu-import.6AGFjq/mnt seems to be mounted 
read-only.
httpd does not appear to be running and proxying cobbler
failed to import precise-i386
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
--2012-04-25 01:52:22--  
https://maas.ubuntu.com/images/ephemeral/releases/precise/beta-3/precise-ephemeral-maas-amd64.tar.gz
Resolving maas.ubuntu.com (maas.ubuntu.com)... 91.189.88.146
Connecting to maas.ubuntu.com (maas.ubuntu.com)|91.189.88.146|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 294875035 (281M) [application/x-gzip]
Saving to: 
`/var/lib/maas/ephemeral/.working/maas-import-ephemerals.NiTPvT/precise/amd64/dist.tar.gz'

 0K        1% 66.1K 71m52s
  3072K        2% 59.9K 74m45s
  6144K        3% 73.5K 70m22s
[snip]
276480K       97% 62.7K 2m6s
279552K       98% 64.2K 80s
282624K       99% 70.9K 34s
285696K     ...  100% 65.6K=71m38s

2012-04-25 03:04:01 (67.0 KB/s) - `/var/lib/maas/ephemeral/.working
/maas-import-ephemerals.NiTPvT/precise/amd64/dist.tar.gz' saved
[294875035/294875035]

httpd does not appear to be running and proxying cobbler
failed to add precise-x86_64-maas-ephemeral
failed to update cobbler for 
maas-precise-x86_64-commissioning/precise-x86_64-maas-ephemeral
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler
httpd does not appear to be running and proxying cobbler

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/988173

Title:
  maas-import-isos fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/988173/+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 988173] Re: maas-import-isos fails

2012-04-24 Thread Dan McGrath
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/988173

Title:
  maas-import-isos fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/988173/+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 988173] [NEW] maas-import-isos fails

2012-04-24 Thread Dan McGrath
Public bug reported:

After several attempts to try "sudo maas-import-isos" (from the
instructions at https://wiki.ubuntu.com/ServerTeam/MAAS), I keep getting
errors about proxying:

"httpd does not appear to be running and proxying clobber"

It seems to download everything just fine, but for whatever reason it
fails to actually save or install (or cache) the files, forcing me
through multiple hour long+ attempts at 50k/s :(

A quick glance at the process list does show apache and squid running,
however. This is an install from the 12.04 server beta 2 iso
(ubuntu-12.04-beta2-server-i386.iso). Should I have done anything beyond
telling it to install maas and apt-get updating the server? Also, I
didn't select any tasks during the installer.

$ lsb_release -rd:
Description:Ubuntu 12.04 LTS
Release:12.04

$ apt-cache policy maas
maas:
  Installed: 0.1+bzr482+dfsg-0ubuntu1
  Candidate: 0.1+bzr482+dfsg-0ubuntu1
  Version table:
 *** 0.1+bzr482+dfsg-0ubuntu1 0
500 http://ca.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: maas 0.1+bzr482+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
Date: Wed Apr 25 01:05:47 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta i386 
(20120327)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=linux
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 python-django-maas 0.1+bzr482+dfsg-0ubuntu1
 apparmor   2.7.102-0ubuntu3
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.maas.maas.local.settings.py: [modified]
modified.conffile..etc.maas.pserv.yaml: [modified]
modified.conffile..etc.maas.txlongpoll.yaml: [modified]
mtime.conffile..etc.maas.maas.local.settings.py: 2012-04-24T21:30:30.995008
mtime.conffile..etc.maas.pserv.yaml: 2012-04-24T21:30:10.111008
mtime.conffile..etc.maas.txlongpoll.yaml: 2012-04-24T21:30:10.307008

** Affects: maas (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/988173

Title:
  maas-import-isos fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/988173/+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