Quantcast
Channel: Proxmox Support Forum
Viewing all 171844 articles
Browse latest View live

Problem starting KVM guess - Getting failed error

$
0
0
Hi, i'm hoping someone can help me figure out this issue. I've done a fresh install of proxmox 3.4.1... Created a KVM guess which was created fine but when I try to start the kvm i get this error below. Note: able to create vz containers ok.

Quote:

kvm: -drive file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,aio=native,cache=none,detect-zeroes=on: file system may not support O_DIRECT
kvm: -drive file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,aio=native,cache=none,detect-zeroes=on: could not open disk image /var/lib/vz/images/100/vm-100-disk-1.qcow2: Could not open '/var/lib/vz/images/100/vm-100-disk-1.qcow2': Invalid argument
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=7ea25fd0-063a-4a6c-b9fd-211226b8dd75' -name PFsense -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000' -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -m 1024 -k en-us -cpuunits 1000 -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:4bb3a59f9b50' -drive 'file=/var/lib/vz/template/iso/pfSense-LiveCD-2.2-RELEASE-amd64.iso,if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7 ' -drive 'file=/var/lib/vz/images/100/vm-100-disk-1.qcow2,if=none,id=drive-sata0,format=qcow2,aio=native,cache=none,detect-zeroes=on' -device 'ide-drive,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=DE:D7:D4:99:51:BC,netdev=net0,bus=pci.0 ,addr=0x12,id=net0,bootindex=300'' failed: exit code 1



Slow Upload speeds with Supermicro/i354

$
0
0
I have just installed Proxmox 3.3 onto the following system:

Supermicro SYS 5018A-TN4


I have it all set up and Tweaked with my VMs, but then I discovered that they system has slow Upload speeds from speedtest.net.

Download: 17.23 Mbits/s
Upload: 4.65 Mbits/s

I have shut down all my VMS and I am testing from the Proxmox console.

I have tried different network ports, but the Upload is still 25% of the uploads.


If I plug a normal laptop into my ISP I get the same speeds for both uploads and downloads.



Following is some info:

root@proxmox2:~# dmesg | grep Intel
Intel GenuineIntel
CPU0: Intel(R) Atom(TM) CPU C2750 @ 2.41GHz stepping 08
Performance Events: no PEBS fmt2+, generic architected perfmon, Intel PMU driver.
Intel(R) Gigabit Ethernet Network Driver - version 5.2.9.4
Copyright (c) 2007-2014 Intel Corporation.
igb 0000:00:14.0: Intel(R) Gigabit Ethernet Network Connection
igb 0000:00:14.1: Intel(R) Gigabit Ethernet Network Connection
igb 0000:00:14.2: Intel(R) Gigabit Ethernet Network Connection
igb 0000:00:14.3: Intel(R) Gigabit Ethernet Network Connection
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07rh


root@proxmox2:~# lspci | grep Ethernet
00:14.0 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)
00:14.1 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)
00:14.2 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)
00:14.3 Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)



Any advice is appreciated.

Thanks,

-PC

VM.PowerMgmt role broken.

$
0
0
I have tried several different methods of enabling a user/group to only be able to power on/off pools and individual VMs. When I login as one of those users, they are only able to see the node/host and none of the VMs in the assigned pool.

pveum roleadd PVEPowerManagement -privs "VM.PowerMgmt"pveum groupadd Reboot
pveum aclmod /pool/somevms/ -group Reboot -role PVEPowerManagement
pveum usermod joe@pve -group Reboot

Screen Shot 2015-02-25 at 7.58.27 PM.png
Attached Images

Proxmox shows wrong stats about memory

$
0
0
Hi,

One openvz vm shows wrong stats in terms of memory.
While it is using 839MB via proxmox interface it shows that is using 7.22GB!

This is happening only in openvz based VMs.

Anyone experiencing the same?

Thanks

Using arptables to filter invalid arp requests

$
0
0
I want to filter arp requests which can lead to arp spoofing in my network,
Unfortunately I have no access to router so I can use static arp table, instead I've found the arptables command which is like iptables but for arp requests
http://linux.die.net/man/8/arptables
I need to know is these 3 simple rules enough to block invalid arp requests? ( asuming my VM's IP is 1.2.3.4 and it's mac is 11:11:11:11:11:11 )
arptables -I FORWARD -s 1.2.3.4 --src-mac 11:11:11:11:11:11 -j ACCEPT
arptables -I FORWARD -d 1.2.3.4 --dst-mac 11:11:11:11:11:11 -j ACCEPT
arptables -A FORWARD -j DROP

Any help would be highly appreciated.

sysctl isn't working properly

$
0
0
Hi!

Here is my problem, I had installed Proxmox 3.4 and wanted to disable IPv6 via sysctl. I have added in sysctl.conf the following lines:

Code:

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6=1
net.ipv6.conf.vmbr0.disable_ipv6=1
net.ipv6.conf.venet0.disable_ipv6=1

But if I reboot the Proxmox, I will see that IPv6 is working:
Code:

root@proxmox:~# sysctl -A 2>/dev/null | egrep disable | egrep ipv6
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.vmbr0.disable_ipv6 = 0
net.ipv6.conf.venet0.disable_ipv6 = 0

If I run sysctl manually, IPv6 will be disabled:
Code:

root@proxmox:~# sysctl -p
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.vmbr0.disable_ipv6 = 1
net.ipv6.conf.venet0.disable_ipv6 = 1

Why sysctl setting doesn't apply in the boot process?

Copy files from usb to pmx

$
0
0
Hi,


i just connected my usb to pmx server it is having some .iso or .vmdk files, how to move/copy that files into /var/lib/vz/template/iso or var/lb/vz/images
Anyone can pls tell me the cmds to do this.

Thanks in advance!!!!!!!!!

forum idea: polls/threads about new/test releases, new/old features experience?

$
0
0
Hi,

would it be useful to know if (and how many) some new/test/old feature or release is working well for all users? I mean, tipically people (including me) posts here only when/if they have problems or wish to know how to do something, I guess.
so, it could be perceived that a new/test/old feature is working bad, just because people which has no problem at all is not creating a thread, because it has no need, of course.

but, perhaps after some time a new release comes up, or there is a new feature, or a new package to test, there could be an admin created thread to say:
"hi guys, how is this new thing doing for you? who has problems (and maybe which ones) and who has no problem at all? else?"
probably not just a yes/no poll, but something allowing more detail, but it could be done in many ways, really.

in this way who has no problem with the asked thing could easily contribute and let know others about his experience as a user and, in the end, as a whole "user base".

would something like this work and be useful? (hey, is this a poll ALREADY!!? :D )

Marco

PCI Passthrough broke in latest kernel

$
0
0
Hey all. Just upgraded one of my clusters to the latest packages and kernel. After the upgrade the VM which I do PCI passthrough will no longer boot. The only way I can get around this is by going back to the kernel before the upgrade. Has anything changed with pci pass through with the new kernel?

Kernel working with pci passthrough
root@vaultprox3:~# uname -r
2.6.32-34-pve

Kernel not working with pci passthrough
root@vaultprox4:~# uname -r
2.6.32-37-pve

zfs as root file system booting extremely slow

$
0
0
For a test with zfs as root file system I installed proxmox 3.4 on two different servers, with two hdd's in zfs raid-0. Once booted both machines are very fast for their age.
But booting takes 45 minutes to more than an hour.
As I have two Proxmox 3.3 servers now, that I will replace with new hardware with zfs as root file system, I would like to know whether the slow boot is normal, or better, what I have to do to make them boot quickly as is normal with Proxmox. I used the latest 3.4 iso for the install.

ZFS / cache=writeback / safe ?

$
0
0
http://pve.proxmox.com/wiki/ZFS
Quote:

  • kvm config:
  • change cache to Write Back


if not set this happened:

qm start 4016
kvm: -drive file=/data/pve-storage/images/4016/vm-4016-disk-1.raw,if=none,id=drive-virtio1,aio=native,cache=none: could not open disk image /data/pve-storage/images/4016/vm-4016-disk-1.raw: Invalid argument

http://forum.proxmox.com/threads/882...9937#post49937
Quote:

Re: Is it Cache=writeback safe?
NO, that is very dangerous.

To use a Secure File System, I need to make an unsafe setting? Does not contradict that?
What exactly can happen in the worst case?

How to restore a backup from and OLD Promox to a NEW Promox

$
0
0
Hello, I have a backup of a CT that was running in and OLD Proxmox.

I have put the backup in the NEW Proxmox, I mean in /var/lib/vz/template/cache/

The file is like vzdump-openvz.tar.gz

When I try to create a new CT, from Templates I choosse this file, but it gives me a error...

"Creation of container private area failed
TASK ERROR: command 'vzctl --skiplock create 100 --ostemplate /var/lib/vz/template/cache/vzdump-openvz.tar.gz --private /var/lib/vz/private/100' failed: exit code 48"

I am kwoning that it is a backup and I think that it could be restoring like that, however I don't know in which folder copy the file in order to restoring.

I though that copying to the /cache folder and using it like a template it would work, but it would not.

Please, could you tell me where to put the backup file in that NEW Promox server and steps to restoring it?

I am new in Proxmox and Linux too.....

Thank very much.

Sorry for my English.

A Little bit more info: I have tried to put it on the /dump folder (in the NEW Proxmox server).... but I still not see anything in the web-interface of Proxmox to restore it.....

Suggestion: Provide button during install

$
0
0
Hi, just wanted to make a small suggestion to provide a "previous" or "back" button during install to allow one to correct/change install options.

Modifying Proxmox VNC arguments

$
0
0
Is there any way on proxmox to change the args used to start the VNC server for the virtual? I'd like to run the vnc server on localhost:XXXX without x509 or TLS or password options. Then connect regular plain old VNC over an ssh tunnel.

/usr/bin/kvm -id 110 -chardev socket,id=qmp,path=/var/run/qemu-server/110.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/var/run/qemu-server/110.vnc,x509,password -pidfile ...

I would rather tunnel regular VNC over an ssh connection than deal with the limited options for x509/TLS VNC clients on Mac/Linux.

List, order, and timing of VM bootup schedule

$
0
0
I've just started with Proxmox literally yesterday (Feb 25, 2015) with a build on an i7-970 with 12gig of memory. This is kind of a `production` machine for home only use. There is VM to act as my firewall, another to family calendar, personal landing home page, PBX, etc. I was running VirtualBox on a Win64 base for a few years on an I5 with maxed out 8gig of memory, but things eventually got too tight. At least now I can throw another 12gig into the machine if needed. :] Other than a failed XP install due to hardware change (Virtual or not, XP was a pisser for that kind of thing) and a Win2K install with no working network (Which I'm going to attempt to rectify after this post) the change over from VBox to ProxMox was relatively smooth.

Anyways, when I was running VB on Win64, I had written a windows application to pretty much do what the Proxmox web UI does. The only advantage my application has over Proxmox (And it is a very sorely missed function) is it reports when an OS is to load when auto-started. From bootup, it'd tell me that a VM would start 'this' many minutes after startup, and the next start 'that' many minutes after the previous OS was to start, etc. I see that Proxmox allows for staggered starts, but, I've no real way that I've found of showing in what order and at what time past bootup the VMs will start. My application also gave me a report of all startup machines, when they're to start, and give a count down of when each OS is planned to start.

Albeit, I don't really need the countdown, I REALLY would like to figure a way I can see a list of machines that are set to auto-start, and when they're going to start either in minutes after bootup, or minutes after the previous OS. That way I can more easily get the important machines up (Firewall, then DHCP machine, then PBX, etc) and give plenty of time to let them settle out before I start up the other machines. As it stands now, I kind of have to pen-and-paper the order I want and then figure out the timings, then manually adjust each one and hope I'm accurate. With the pseudo-live view of what machines start when, it'd make my task a bunch easier, especially if I deem that one machine needs to be put further ahead of the other. Also, if I can figure out what is wrong with an I7-960 I have (It was running all my VMs for about a month before it became too unstable) I'm going to look into the clustering of the two machines and push my VMs around. Just for fun.

Also, it would be nice to have the ability to sort the list of machines based on different criteria, such as VM name or ID or if the VM is to boot on startup, etc.

Other than that, I like the web front end to manage, and I LOVE the NoVNC app.

Cluster nodes crash shortly after starting install of VMs

$
0
0
Hi, I'm running a 3-node PM3.4 installation on top of an Ubuntu 14.04 workstation/KVM. This is for demonstration purposes, the successful result of which would lead to deployment on bare metal.

The problem is that every time I start to install a VM, the node on which it's started locks up, reports CPU faults on console, the crashes entirely. The cluster is running a basic Ceph setup for block storage (32 Gb total storage). Each VM node has 8 processors and 4 Gigs of RAM, and a "Virtio" system disk along with an emulated SCSI disk for the CEPH OSD.

The client VMs I'm trying to install are Ubuntu 14.04 and Centos 6.6.

Any thoughts as to what could be causing the instability?

Dan

Backup Problem

$
0
0
Hey Proxmoxianer,

i want to do a dayli backup and a weekly backup

Backupbild2.JPG

The daily backup works pretty fine!!

But the weekly backup dosn´t work and i get no Error on saturday the backup dont start....

Backupbild1.JPG

You helped me the last time so i hope you can do it again :)?

Thanks 4 reading and sorry 4 bad english......

by greetings

stephan
Attached Images

Can't create firewall alias as non-root user

$
0
0
Hi,

I use to manage my proxmox with an account which has administrator role but which is not the root user.
When I try to create a new firewall alias, i got an errror message
Quote:

Permission check failed (user != root@pam) (403)
All other command (create/edit Rules/IPSet/Options/....) work fine.

Do I miss any specific authorization to add or could it be a bug?

Port Forward with built in NAT and PVE Firewall

$
0
0
Hi

I have some VMs using the built-in NAT function. I need to open some ports from the host into the VMs. Using built in PVE Firewall I've enabled Datacenter FW with Accept/Accept rules. I have enabled Host firewall, no rules. I've enabled VM firewall and these are the rules.[OPTIONS]
enable: 1
dhcp: 0
[RULES]
IN ACCEPT -p tcp -dport 40100 -sport 40100

But it is not working.

Any suggestions, this is the last hurdle to overcome then I'm all set to replace VirtualBox with Proxmox.

Screen Shot 2015-02-27 at 3.04.41 AM.pngScreen Shot 2015-02-27 at 3.05.09 AM.pngScreen Shot 2015-02-27 at 3.05.43 AM.png

Proxmox 3.4 - spice

$
0
0
I just installed a clean proxmox ve 3.4 and all is ok, the only problem who I'm experimentig is with spice: when I try to connect my virtual machines with this protocol, the system say "impossible to connect to graphic server". Any ideas?
Viewing all 171844 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>