September 17, 2013, 3:10 pm
I need to automount sshfs so I added needed line to rc.local file.
My problem is only the rc.local not executing (although it is 755 and so should be executed). I don't have the map problem.
if I run "/etc/rc.local" from shell, it correctly executes! It just doesn't run at boot
↧
September 17, 2013, 10:55 pm
Hello all,
first, thanks for your fantastic product. I'm doing a test lab with latest proxmox version. All seems to work nice but I got some errors since yesterday when I want to backup VM or move a drive
I got this error on all VM (I tried with running or stopped VM)
Code:
root@proxmox02:~# vzdump 207 --remove 0 --mode snapshot --compress lzo --storage Backups0402
INFO: starting new backup job: vzdump 207 --remove 0 --mode snapshot --compress lzo --storage Backups0402
INFO: Starting Backup of VM 207 (qemu)
INFO: status = running
INFO: update VM 207: -lock backup
ERROR: Backup of VM 207 failed - no such volume 'VM:vm-207-disk-1'
INFO: Backup job finished with errors
job errors
here is the config file for VM 207
Code:
balloon: 256
bootdisk: ide0
cores: 1
ide0: VM:vm-207-disk-1,size=8196M
ide2: none,media=cdrom,size=169M
memory: 512
name: SRV-TEST2
net0: virtio=FE:D4:BC:AF:4E:DF,bridge=vmbr1
onboot: 1
ostype: l26
sockets: 1
startup: order=1
lv display find associated LV
root@proxmox02:/etc/pve/qemu-server# lvdisplay
Code:
--- Logical volume ---
LV Path /dev/vg01/vm-209-disk-1
LV Name vm-209-disk-1
VG Name vg01
LV UUID iBCwvK-4dhf-hITR-FQpT-swgM-7gZI-aHXovz
LV Write Access read/write
LV Creation host, time hv02, 2012-10-15 10:44:00 +0200
LV Status available
# open 1
LV Size 18,00 GiB
Current LE 4608
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
And I'm able to stop/start this VM.
Trying to move disk give this error
Code:
TASK ERROR: storage migration failed: storage definintion has no path
Proxmox is up-to-date
Code:
root@proxmox02:~# pveversion -v
proxmox-ve-2.6.32: 3.1-111 (running kernel: 2.6.32-23-pve)
pve-manager: 3.1-13 (running version: 3.1-13/262cf0b8)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-24-pve: 2.6.32-111
pve-kernel-2.6.32-10-pve: 2.6.32-63
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-7
qemu-server: 3.1-3
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-12
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2
Can you please help to solve this issue ?
Regards.
↧
↧
September 18, 2013, 12:28 am
Hello.
After nightly backup VM don't wont start. Web interface - not working - first time - connection failure, now - login failed.
In SSH session:
qm unlock 300 - ok
qm status 300 - stoped
qm start 300 - without response
(host name BACKUP too)
in logs -
backup qm [56059]: <root@pam> starting task UPID:backup:xxxxx:xxxxx:xxxxx:qmstart:300:root@pam :
backup qm [56059]: <root@pam> end task UPID:backup:xxxxx:xxxxx:xxxxx:qmstart:300:root@pam : unable to read tail (got 0 bytes)
.........
disks not full.
Temporary VM 300 is located on the same nfs storage(name backup) on which there was backup error.
pvesm status - - without response
HELP!
Thanx!
↧
September 18, 2013, 4:50 am
Hello guys,
we've just set up a 3 node cluster using the subcription enterprise repository (if that makes any difference):
Node1: Socket 1155, i5-2500K
Node2: Socket 755, Q6600
Node3: Socket i3-3220
I know the hardware isn't actually server level but that shouln't matter here.
Problem:
- Windows 2008 R2 64bit set up on node1. Working with virtio drivers
- Migrated to node2: not booting, black screen with blinking cursor after BIOS
- Migrated to node3: booting normally
vm configuration:
Code:
args: -cpu kvm64,+nx
bootdisk: sata0
cores: 2
ide2: none,media=cdrom
memory: 4096
name: win2
net0: virtio=E2:3C:DB:93:D8:14,bridge=vmbr0
onboot: 1
ostype: win7
sockets: 1
virtio0: vms:104/base-104-disk-1.qcow2/107/vm-107-disk-1.qcow2,format=qcow2,size=75G
I tried playing around with args and cpu setting without any difference.
After that I set up a NEW 2008 R2 installation from the SAME template (in regards to drivers installed etc.) on node1. Only difference to the troubled vm is some IIS configuration that has been done and windows activation. Migrated that new machine to node2: working without any problems.
Only that main vm is having trouble after migration and I can't find out where to look. Any ideas?
↧
September 18, 2013, 9:58 am
Hello,
How can i install external SSL certificates such from Comodo into Proxmox? I found this Proxmox wiki
http://pve.proxmox.com/wiki/HTTPSCer...eConfiguration but it talked about 3 files needed. I only have 2 which i got from Comodo ca.crt and bundle.crt. There is no PEM for me.
Can this comodo certificate be installed on Proxmox ?
Thanks!
↧
↧
September 18, 2013, 10:23 am
Hello to all,
as is described here
http://pve.proxmox.com/wiki/Virtual_...vior#Task_logs
you can set startup delay, which is the time which VMs are waiting to start one after another. This works also if startup delay is not set individually for each VMs as there is some default time.
But there is no setting for SHUTDOWN DELAY, only Shutdown timeout which is time qm is waiting before killing machines.
When you shutdown host server, all VMs are shutting down immediatelly, which is not healthy for harddrives, if you shut down 20 machines or so at once.
My Question is:
Can shutdown delay be set somewhere?
Also what is the Startup delay default time and can be this one set somewhere globally ?
Regards
RH
↧
September 18, 2013, 10:28 am
Hello,
is possible to set some password policy for users, as lenght of the password, or big/low cases + number?
There is no policy, so users can in GUI set passwords as "a" "123" etc....
Regards
RH
↧
September 18, 2013, 12:24 pm
I've had no issues on a previous server using LZO (snapshot) method to backup VM/CT's. On a new server it doesn't work.
I commonly get this error with regards to the remote NFS server
Code:
pvestatd[4596]: WARNING: command 'df -P -B 1 /mnt/pve/Bq1' failed: got timeout
This comes up over and over, and doesn't seem to effect whether it works or not. I attribute it to the distance (Germany to US).
I can use Gzip (snapshot) method, but LZO (snapshot) fails with these errors
tail vzdump-openvz-101-2013_09_18-19_35_55.log
Code:
Sep 18 19:48:47 INFO: tar: ./usr/lib/i386-linux-gnu/libplds4.so: Read error at byte 0, while reading 8192 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/lib/libgettextlib-0.18.1.so: Read error at byte 0, while reading 4096 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/include/sudo_plugin.h: Read error at byte 0, while reading 4608 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/include/clif.h: Read error at byte 0, while reading 4546 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/include/autosprintf.h: Read error at byte 0, while reading 1536 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/include/python2.7/pyconfig.h: Read error at byte 0, while reading 7680 bytes: Input/output error
Sep 18 19:48:47 INFO: tar: ./usr/include/gettext-po.h: Read error at byte 0, while reading 1536 bytes: Input/output error
Sep 18 19:48:47 INFO: Total bytes written: 635238400 (606MiB, 823KiB/s)
Sep 18 19:48:47 INFO: tar: Exiting with failure status due to previous errors
Sep 18 19:48:57 ERROR: Backup of VM 101 failed - command '(cd /mnt/vzsnap0/private/101;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|sed 's/\\/\\\\/g'|tar cpf - --totals --sparse --numeric-owner --no-recursion --one-file-system --null -T -|lzop) >/mnt/pve/Bq1/dump/vzdump-openvz-101-2013_09_18-19_35_55.tar.dat' failed: exit code 2
Info
Code:
root@ares:~$ pveperf
CPU BOGOMIPS: 42773.36
REGEX/SECOND: 1050156
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 88.74 MB/sec
AVERAGE SEEK TIME: 11.31 ms
FSYNCS/SECOND: 1357.15
DNS EXT: 60.01 ms
DNS INT: 430.52 ms (cloudrck.net)
Code:
root@ares:~$ pveversion -v
proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve)
pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-7
qemu-server: 3.1-3
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-12
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2
Code:
root@ares:~$ vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 1.36t 16.00g
root@ares:~$ lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
data pve -wi-ao--- 1.24t
root pve -wi-ao--- 96.00g
swap pve -wi-ao--- 11.00g
Code:
root@ares:~$ sudo lshw -class disk -class storage
*-storage
description: RAID bus controller
product: 9650SE SATA-II RAID PCIe
vendor: 3ware Inc
physical id: 0
bus info: pci@0000:01:00.0
logical name: scsi0
version: 01
width: 64 bits
clock: 33MHz
capabilities: storage pm msi pciexpress bus_master cap_list rom emulated
configuration: driver=3w-9xxx latency=0
resources: irq:16 memory:ce000000-cfffffff(prefetchable) memory:f7fff000-f7ffffff ioport:b800(size=256) memory:f7fc0000-f7fdffff(prefetchable)
*-disk
description: SCSI Disk
product: 9650SE-2LP DISK
vendor: AMCC
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 4.10
serial: 9VS3TXNN11C9CA007103
size: 1396GiB (1499GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=512 signature=000defe1
*-storage
description: SATA controller
product: 82801JI (ICH10 Family) SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 00
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:27 ioport:a000(size=8) ioport:9c00(size=4) ioport:9880(size=8) ioport:9800(size=4) ioport:9480(size=32) memory:f7efa000-f7efa7ff
Backup Server is a remote Debian NFSv4. The proxmox node is a newly installed system (HWRAID) with all the default settings (ext3).
↧
September 18, 2013, 2:36 pm
Hi guys,
I'd like to get some opinions on how to best combine lvm and drbd.
lvm -> drbd
or
drbd -> lvm
or
lvm -> drbd -> lvm
What are the advantages of these combinations?
From my understanding:
lvm -> drbd : provides me an easy way to resize the underlying lvm partition without risk.
drbd -> lvm : gives me more flexibility on every single VMs LV
lvm -> drbd -> lvm : gives me the best of both worlds at the cost of extra complexity. I can resize the underlying partitions and also individuality easy manage every VMs LV.
What setup are you running and why?
Should I be concerned by bad performance if I go for the nested lvm -> drbd -> lvm concept?
↧
↧
September 18, 2013, 3:48 pm
↧
September 18, 2013, 6:17 pm
Hey all,
A quick question when using vzdump --suspend --all command, does it suspend ALL containers at the same time, or one at a time, or even differently ?
Thanks,
↧
September 18, 2013, 8:31 pm
Hi please help, we have 3 node cluster Proxmox VE setup. The problem is when I add a user on Datacenter>Users, a dilog box appeared saying: Error cluster not ready - no quorum? (500). I also notice that one of the nodes cannot view other nodes on the Web GUI.
↧
September 18, 2013, 11:57 pm
Hi, every day I receive cron daily report which contains this
Code:
/etc/cron.daily/pve:
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
Use of uninitialized value in string ne at /usr/share/perl5/PVE/API2/APT.pm line 178.
...
How I can fix it?
↧
↧
September 19, 2013, 2:22 am
Hi, here
http://forum.proxmox.com/threads/145...-what-to-check
is the thread where I learned that my IBM serveraid BBU was to be replaced, which caused automatic Writethrough, and so fsyncs/second drop...
Now, I finally got a replaced battery, that is actually charging, but fsyncs/second are still the same, so I checked more, with:
Code:
megacli -AdpBbuCmd -aAll
BBU status for Adapter: 0
BatteryType: iBBU
Voltage: 4063 mV
Current: 95 mA
Temperature: 28 C
Battery State : Non Operational
BBU Firmware Status:
Charging Status : Charging
Voltage : OK
Temperature : OK
Learn Cycle Requested : Yes
Learn Cycle Active : No
Learn Cycle Status : OK
Learn Cycle Timeout : No
I2c Errors Detected : No
Battery Pack Missing : No
Battery Replacement required : No
Remaining Capacity Low : No
Periodic Learn Required : No
Transparent Learn : No
No space to cache offload : No
Pack is about to fail & should be replaced : No
Cache Offload premium feature required : No
Module microcode update required : No
GasGuageStatus:
Fully Discharged : No
Fully Charged : No
Discharging : No
Initialized : Yes
Remaining Time Alarm : No
Discharge Terminated : No
Over Temperature : No
Charging Terminated : No
Over Charged : No
Relative State of Charge: 29 %
Charger System State: 49168
Charger System Ctrl: 0
Charging current: 512 mA
Absolute state of charge: 29 %
Max Error: 100 %
Battery backup charge time : 0 hours
BBU Capacity Info for Adapter: 0
Relative State of Charge: 29 %
Absolute State of charge: 29 %
Remaining Capacity: 356 mAh
Full Charge Capacity: 1215 mAh
Run time to empty: Battery is not being discharged.
Average time to empty: Battery is not being discharged.
Estimated Time to full recharge: 9 Hour, 10 Min.
Cycle Count: 0
Max Error = 100 %
Remaining Capacity Alarm = 120 mAh
Remining Time Alarm = 10 Min
BBU Design Info for Adapter: 0
Date of Manufacture: 03/02, 2013
Design Capacity: 1215 mAh
Design Voltage: 3700 mV
Specification Info: 33
Serial Number: 1919
Pack Stat Configuration: 0x64a0
Manufacture Name: LS11A1003A
Device Name: 3150303
Device Chemistry: LION
Battery FRU: N/A
Transparent Learn = 0
App Data = 0
BBU Properties for Adapter: 0
Auto Learn Period: 30 Days
Next Learn time: Jan 1 200 00:00:00
Learn Delay Interval:0 Hours
Auto-Learn Mode: Enabled
Exit Code: 0x00
then I tried to force a BBU learn, but it fails:
Code:
megacli -AdpBbuCmd -BbuLearn -a0
Adapter 0: BBU Learn Failed
Exit Code: 0x01
Now, anyone has experience with this? Is this normal? Will it work when charge is complete?
Or there could be other issues and how to check them?
Thanks, Marco
↧
September 19, 2013, 4:07 am
Hello,
I'm testing the use of Raspberry Pi Thin Clients (they can't PXE boot) using a project from
http://rpitc.blogspot.ca. It's a debian based system that has SPICE GTK+ 0.20 Client (virt-viewer 0.5.7) installed on it.
So if I change my video in my KVM VM on Proxmox to allow Spice and assuming I'm using a Windows VM with the Spice client installed..how do I connect to this VM using the spice client installed on the Pi? When I click on the client on the Pi I'm given a window that looks for a webpage.
Any help you can give would be greatly appreciated.
Thank you.
↧
September 19, 2013, 10:06 am
Hi,
using chrome to access proxmox i was receiving the message about the unknown certificate.
So i imported it in my windows pc.
Now i receive the warning message that the certificate is invalid because it is for myserver.local (the name entered during installation of the server) but i'm calling 192.168.1.100:8006. The message warning me that i have reached a wrong server.
Where i'm making a mistake?
Thank you!
Fabrizio
↧
September 19, 2013, 12:06 pm
Upgrading to Proxmox 3 successfully, all VMs run well after reboot. But after run --purge below then Proxmox gone!
Even vzctl or qm says "-bash: qm: command not found"
Code:
./pve-upgrade-2.3-to-3.0 --purge
Any idea to fix it?
↧
↧
September 20, 2013, 8:11 am
i have a 5 node cluster (not HA yet) thats slowly growing
i've been looking at shared storage without requiring SAN's and am all but settled on sheepdog as an option
2 of my servers are not really adequate for running sheepdog so i want to avoid installing on those nodes and not allow booting of sheepdog based VM's on those servers or creation for that matter
because i currently have to add sheepdog storage direct into /etc/pve/storage.cfg - how do I only allow it to be available on specific nodes as you can do in the GUI when adding normal storage?
initially i'm wanting to do some real world tests with a proper cluster (i don't have enough test devices in the lab) so true HA isn't critical at this stage as i wont be testing failover aspects, just performance and reliability
↧
September 20, 2013, 9:34 am
i setup my nfs store for some vm backups via proxmox - its configured to backup automatically and retains the latest 2 backups manually
i cant manually create a backup without deleting one the retained auto backups or i get this error
Code:
INFO: starting new backup job: vzdump 101 --remove 0 --mode stop --compress lzo --storage pvebackups --node cov4
ERROR: Backup of VM 101 failed - only 2 backup(s) allowed - please consider to remove old backup files.
INFO: Backup job finished with errors
TASK ERROR: job errors
would it not be nicer to present a box warning and asking to delete an older backup or manually override (allow the extra backup)
↧
September 20, 2013, 1:09 pm
Staff nice day, my name is Tácio Andrade and I am a novice user in Proxmox. Yesterday I first tried to create a cluster with Proxmox Proxmox 3.0 system and 3.1 that had just installed. However after a few problems in the integration, occurring over a grave error and files in the / etc / vz / conf / disappeared. The vms are running at the moment and I have the same backup are Saturday, any idea what should I do to not lose the VMs in the event of a reboot?
I went on the node that would be the secondary, but apparently was as master, and went to see the directory, however the output was as follows:
root@isaias:~# ls -l /etc/pve/nodes/joao/openvz/
total 0
PS: I'm desperate here, because these VMs are in production. = S
↧