[PVE-User] KVM restore via API..

Guy guy at britewhite.net
Wed Jun 6 12:26:39 CEST 2012


this was fresh installed to 2.0 and I did the usual aptitude update/upgrade just this morning. :)

# pveversion -v
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-10-pve: 2.6.32-63
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1

On 6 Jun 2012, at 11:25, Dietmar Maurer wrote:

> What is the output of
>  
> # pveversion -v
>  
> Maybe you use an old version?
>  
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Guy
> Sent: Mittwoch, 06. Juni 2012 11:21
> To: pve-user at pve.proxmox.com
> Subject: [PVE-User] KVM restore via API..
>  
> Hi All,
>  
> I'm issuing this command to start a restore of an image..
>  
> curl -s -k -XPOST -H 'CSRFPreventionToken:$CSRFPreventionToken' '$host/api2/json/nodes/$PVEName/qemu/' -b 'PVEAuthCookie=$key' -d 'vmid=10010&archive=/felabimages/winXPPro.tar'
>  
> this seems to start the process however the output from the restore returns this:
>  
> TASK ERROR: Insecure dependency in piped open while running with -T switch at /usr/share/perl5/PVE/QemuServer.pm line 3072.
>  
> And the restore does not complete.
>  
> Did I pass something wrong here?
>  
> Cheers,
> ---Guy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20120606/1bdec7b2/attachment-0014.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4885 bytes
Desc: not available
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20120606/1bdec7b2/attachment-0014.bin>


More information about the pve-user mailing list