[SOLVED] Unable to detect OS disribution

It's not specificly related to xenial, the official trusty tahr image gives me the same error.

Have you updated your system, Ubuintu trusty works here, xenial still got some systemd trouble, AFAIK. Whats the output of
Code:
pveversion -v
 
I was trying to use the 16.04(xenial) LXC image from https://images.linuxcontainers.org/images/ubuntu/, but I get this error: "Unable to detect OS disribution". Why is that?

I just added support for the new release - we will upload new package soon.

Also, It would be nice if we could upload .tar.xz files directly as the official images comes with that format.

You just need to rename the file so that it uses our naming scheme. But I will add an xenial image to our image repository anyways.
 
Code:
extracting archive '/var/lib/vz/template/cache/ubuntu-14.04-standard_14.04_amd64.tar.gz'
Total bytes read: 383272960 (366MiB, 124MiB/s)
Detected container architecture: amd64
TASK ERROR: unable to detect OS distribution
What I did:
1. Download image and unpack it.
2. Tar.gz it and changed the name.

Install is on ZFS raid 10 and a ZFS storage thing in the GUI.

I soon have to decide if I should go with Ubunt/LXD or Proxmox again, and I would like to go with proxmox, but I can't even manage to use the official LXC images from linuxcontainers.org in testing.

pveversion -v:
Code:
proxmox-ve: 4.1-41 (running kernel: 4.2.8-1-pve)
pve-manager: 4.1-22 (running version: 4.1-22/aca130cf)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.2.8-1-pve: 4.2.8-41
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-36
qemu-server: 4.0-64
pve-firmware: 1.1-7
libpve-common-perl: 4.0-54
libpve-access-control: 4.0-13
libpve-storage-perl: 4.0-45
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-9
pve-container: 1.0-52
pve-firewall: 2.0-22
pve-ha-manager: 1.0-25
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve7~jessie
 
dietmar said:
You just need to rename the file so that it uses our naming scheme. But I will add an xenial image to our image repository anyways.
What is the naming scheme / what steps do we need to do to use the official LXC images form linuxcontainers.org? :)
 
Ok, it's mostly me just being blind. I managed to have a rootfs folder inside the tar.gz, that's why 14.04 didn't work. I feel stupid now...
I didn't think that was the problem as I got the "Detected container architecture: amd64" message.

16.04 gives me TASK ERROR: unsupported ubunt version '16.04'. Hoping the 16.04 support will be out soon :)
 
  • Like
Reactions: Alex1

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!