Upgrade issue OpenVZ to LXC - unable to detect OS distribution

bkortleven

Member
Jun 5, 2010
2
0
21
I'm trying a migration setup in test for Proxmox 3.4 (all updates) to Proxmox 4.4 (all updates) for OpenVZ containers to LXC.

I do a vzdump to a shared NFS storage space of a shutdown OpenVZ container in 3.4 and try to restore it in 4.4, migrating it to LXC at the same time (as is/should be the path to follow).

The whole process seems to work, but in the last bit I get the following error(s):

extracting archive '/mnt/pve/SynBackup2/dump/vzdump-openvz-520-2017_03_28-04_08_03.tar.lzo'
Total bytes read: 10240 (10KiB, 967KiB/s)
Detected container architecture: amd64
###########################################################
Converting OpenVZ configuration to LXC.
Please check the configuration and reconfigure the network.
###########################################################
Logical volume "vm-120-disk-1" successfully removed
TASK ERROR: unable to detect OS distribution


In 3.4 I see the container was created with the ubuntu-14.04-x86_64-minimal.tar.gz template, which ran fine wihout any error, and now it seems that template, or the contents, aren't detected successfully...?



On another migration I have an old 10.04 Ubuntu OpenVZ container on the same Pm 3.4 host, which has been running flawlessly and needs to be 'up', not displayed on the internet for historical reasons...
When trying to restore the vz-dump backup to LXC I get:

extracting archive '/mnt/pve/SynBackup2/dump/vzdump-openvz-510-2017_03_28-04_01_13.tar.lzo'
Total bytes read: 860385280 (821MiB, 6.5MiB/s)
Detected container architecture: i386
###########################################################
Converting OpenVZ configuration to LXC.
Please check the configuration and reconfigure the network.
###########################################################
Logical volume "vm-110-disk-1" successfully removed
TASK ERROR: unsupported Ubuntu version '10.04'



What am I doing wrong?
Installation of 4.4 is new, nothing changed except the apt-get update/upgrade/dist-upgrade routine after installation...

Is there something I can/need to do to have the restore routine run without these errors?
Is an in-between-step on 4.0/4.1 needed?
 
Is there some kind of migration possibility for these older systems, or will it need to be a reinstall-using-newer-template-and-reinstall-everything-inside-plus-a-data-copy?

I have a couple of those older systems, still needed, but don't want to have 2 Proxmox version to be supported...

Thanks for the info!
 

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!