[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-10-12 Thread Christian Brauner
** Changed in: lxc (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-27 Thread Christian Brauner
Fix commited here:
https://github.com/lxc/lxc/commit/bfbf793616ce36ec63bac2cf582474c14cecb712

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-27 Thread Breno Leitão
** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) => Taco Screen team (taco-screen-team)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-16 Thread Thierry FAUCK
The message E: Invalid Release file, no entry for main/binary-
ppc64le/Packages is explanatory as it expect arch being ppc64el 

Fixed command:
sudo  lxc-create -n debian04 -t debian -- -a ppc64el

For sid, you can do:
sudo  lxc-create -n debian04 -t debian -- -a ppc64el -r sid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-16 Thread Thierry FAUCK
$ diff -urN /usr/share/lxc/templates/lxc-debian /tmp/debian.template 
--- /usr/share/lxc/templates/lxc-debian 2016-09-16 12:02:34.047133580 +0200
+++ /tmp/debian.template2016-09-16 12:02:26.122949227 +0200
@@ -550,6 +550,8 @@
 arch="amd64"
 elif [ "$arch" = "armv7l" ]; then
 arch="armhf"
+elif [ "$arch" = "ppc64le" ]; then
+arch="ppc64el"
 fi
 hostarch=$arch
 mainonly=1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-16 Thread Thierry FAUCK
So my understanding is that '-t debian' parameter doesn't use the proper 
information like the DIST (it does mention jessie) 
$ sudo lxc-create -n debian03 -t debian  
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-jessie-ppc64le ... 
gpg: key 2B90D010: "Debian Archive Automatic Signing Key (8/jessie) 
" not changed

... even though manually, it works also on jessie
 $ sudo lxc-create -n debian03 -t download
Setting up the GPG keyring
Downloading the image index

Distribution: debian
Release: jessie
Architecture: ppc64el

Downloading the image index
Downloading the rootfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-16 Thread Thierry FAUCK
I understand the debian image is not working properly (or doesn't exist).
Using sudo lxc-create -n debian01 -t download we get the list of valid 
distro/release/arch available, and specifying: 
 Distribution: debian
 Release: sid
 Architecture: ppc64el
works on debian and on ubuntu !.

Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs

---
You just created a Debian container (release=sid, arch=ppc64el, variant=default)

To enable sshd, run: apt-get install openssh-server

For security reason, container images ship without user accounts
and without a root password.

Use lxc-attach or chroot directly into the rootfs to set a root password
or create user accounts.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1624028] Re: lxc create using debian template fails on ppc64el

2016-09-16 Thread Thierry FAUCK
As following command works
$ sudo lxc-create -n debian01 -t ubuntu
Checking cache download in /var/cache/lxc/yakkety/rootfs-ppc64el ... 
Installing packages in template: apt-transport-https,ssh,vim,language-pack-en
Downloading ubuntu yakkety minimal ...
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
I: Retrieving Packages 
I: Validating Packages 
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1624028

Title:
  lxc create using debian template fails on ppc64el

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs