[SOLVED] Migration from openvz to LXC

mr.x

Well-Known Member
Feb 16, 2010
49
0
46
Hi all,

on a new Server I have installed proxomx 4.x and did a migration from openVZ to LXC via "pct restore" procedure.
All went fine but after logging into the new VM I realised some issues. Maybe you can help me to solve this issues.

Version:
Code:
 pveversion -vproxmox-ve: 4.0-7 (running kernel: 4.1.3-1-pve)
pve-manager: 4.0-26 (running version: 4.0-26/5d4a615b)
pve-kernel-4.1.3-1-pve: 4.1.3-7
lvm2: 2.02.116-pve1
corosync-pve: 2.3.4-2
libqb0: 0.17.1-3
pve-cluster: 4.0-14
qemu-server: 4.0-15
pve-firmware: 1.1-6
libpve-common-perl: 4.0-14
libpve-access-control: 4.0-6
libpve-storage-perl: 4.0-13
pve-libspice-server1: 0.12.5-1
vncterm: 1.2-1
pve-qemu-kvm: 2.4-1
pve-container: 0.9-7
pve-firewall: 2.0-6
pve-ha-manager: 1.0-4
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2
lxc-pve: 1.1.2-4
lxcfs: 0.9-pve2
cgmanager: 0.37-pve2

I check the forum before and found some postings about missing udev. But udev is installed.
Still get this error message.

Code:
root@server:~# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.

and this

Code:
root@server:~# ls /et <TAB><TAB>
bash: /dev/fd/62: No such file or directory
bash: /dev/fd/60: No such file or directory

Don't know what to look for....


Maybe this is an other issue, or?

Code:
root@server:~# pct enter 190
Use of uninitialized value $raw in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm line 711, <DATA> line 751.

Thanks for your help.

Mr.X
 
Last edited:
We fixed some bugs already, new packages are coming soon to the repositories.

root@server:~# pct enter 190
Use of uninitialized value $raw in pattern match (m//) at /usr/share/perl5/PVE/AccessControl.pm line 711, <DATA> line 751.
This one for example is for sure fixed.

I'll try to reproduce the other, could be difficult as every setup may differ enormous.
 
Hi Thomas,

We fixed some bugs already, new packages are coming soon to the repositories.


This one for example is for sure fixed.

I'll try to reproduce the other, could be difficult as every setup may differ enormous.

Thanks for your fast reply.
In the meantime I found out that this issue is in regards to udev.
Code:
[COLOR=#3E3E3E]root@server:~# ls /et <TAB><TAB>[/COLOR]bash: /dev/fd/62: No such file or directory [COLOR=#3E3E3E]bash: /dev/fd/60: No such file or directory[/COLOR]

But I can't make it boot fix.

Why /proc is missing is not clear to me. Nothing found in the Internet so far ...

Mr.X
 
Hi Thomas,

I think I found the issue. I changed the config from lxc with the following line.
Code:
lxc.mount.auto = proc sys cgroup
Seams to work now.

Keep you posted as I will run an other migration tonight.

Mr.X
 

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!