IPV4 Stack is not working with proxmox as a VmWare guest.

rsauvat

New Member
Mar 9, 2010
17
0
1
Hi.

For my company we have a gentoo server with VMWare server and I created a Proxmox VE as a guest of VMWare. So obviously all KVM functionality doesn't work but I don't care because I want to use OpenVZ.

My problem is as follow:

- The proxmox host is working correctly ping and networking works fine but when I am inside a container every ipv4 related program fail with a message 'Illegal instruction'. As I looked on google this means that the program as attempted to do an illegal operation so the kernel as sent a SIGILL signal.

for example :
Code:
root@container # ping 127.0.0.1
Illegal instruction

But ipv6 stack seems to work fine
Code:
root@container # ping6 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.032 ms

--- ::1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 0.023/0.027/0.032/0.006 ms


I tried both with a template and an already existing container from an other node of my cluster and they worked fine. Note that my other proxmox is on a physical server and not a VMWare guest.

If anyone was an idea of what is causing the problem. Or if someone was tried Proxmox in VMWare guest. Any help will be appreciated.

Regards
 
Hi,
unfortunately i can't help you, but...
...
For my company we have a gentoo server with VMWare server and I created a Proxmox VE as a guest of VMWare. So obviously all KVM functionality doesn't work but I don't care because I want to use OpenVZ.
...
Why do you want to do that? To drop the good openvz-performance?
What's about open-vz directly on gentoo?

Udo
 
Thanks for the quick reply.

I will use proxmox inside VMWare as a development server to test different solutions and scripts to manage containers so I need a clean proxmox I can play with.

Besides the gentoo box as many services that I can't or don't want to move to debian/Proxmox.
So I really need to get proxmox containers working on VMWare.
When I first tried Proxmox it was on my desktop using VirtualBox and it was working fine.
 
pls post your pveversion -v.

and what version of vmware do you use?

whenever I tested under vmware I never got issues.
 
This is the pveversion :

pve-manager: 1.5-9 (pve-manager/1.5/4728)
running kernel: 2.6.24-11-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-14
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5


I also tried with the 2.6.18 kernel with the same problem.

VMware Server 2.0.2 build-203138


@dietmar
You mean installing standard debian lenny on VMWare or in a container?
The proxmox host is working corectly. I can ping with no problem.
I haven't try a container based on Virtual Appliances from Proxmox.
 
I just tested with the debian 5 virtual appliance from Proxmox and it's working so I guess the problem come from my container and my custom template. The only thing is that my custom stuff works fine with my other proxmox.
 
I finally fixed the problem. It's just that I set up my gentoo containers with to specific CFLAG option and when I moved to a new cpu some stuff didn't work anymore. I guess it's the price of setting up specific cpu options un gentoo.