Proxmox 6.1-7 API Clone Error

masterdaweb

Member
Apr 17, 2017
83
3
13
27
After upgrading to Proxmox 6.1-7, the API Clone feature is not working anymore. It always NULL:

POST /api2/json/nodes/{node}/qemu/{vmid}/clone

Return:


{
"data": null
}

All the previous versions from Proxmox 6 and Proxmox 5 are working fine.
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,823
391
103
Hi,

No there are no API changes at the clone function.
Maybe your VM not on this node or just not exists?
 

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
2,705
418
103
South Tyrol/Italy
shop.maurer-it.com
Maybe your VM not on this node or just not exists?
No, that would give them a
Code:
unable to find configuration file for VM {vmid} on node '{node}'
500 error.

The clone worked, or? seems that you "just" do not get the task UPID of the asynchronous worker doing the actual work.
Which client do you use?
 

masterdaweb

Member
Apr 17, 2017
83
3
13
27
I used Postman client ( Using POST method , not GET ). The clone didnt work.

The configuration file to be cloned exists and was never changed . The problem started after upgrading to proxmox 6.1-7
 
Last edited:

masterdaweb

Member
Apr 17, 2017
83
3
13
27
I noticed that the HTTP Status shows "No such cluster node", but that node exists and it was always in use before the upgrade.


1581070946428.png
 

Abyss

New Member
Feb 1, 2020
3
1
3
the same problem in command line

qm clone 100 1000 --full 0
Use of uninitialized value $nodename in concatenation (.) or string at /usr/share/perl5/PVE/Cluster.pm line 728.
no such cluster node ''


still exists in test version
Code:
proxmox-ve: 6.1-2 (running kernel: 5.3.10-1-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-5.3: 6.1-4
pve-kernel-helper: 6.1-4
pve-kernel-5.3.18-1-pve: 5.3.18-1
pve-kernel-5.3.13-3-pve: 5.3.13-3
pve-kernel-5.3.13-2-pve: 5.3.13-2
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve4
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.14-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-12
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-4
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-19
pve-docs: 6.1-4
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-10
pve-firmware: 3.0-5
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-5
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
 
Last edited:

t.lamprecht

Proxmox Staff Member
Staff member
Jul 28, 2015
2,705
418
103
South Tyrol/Italy
shop.maurer-it.com
  • Like
Reactions: Abyss

matrix

Member
Jan 24, 2020
90
9
8
27
Hi,


Try with "extjs" POST /api2/extjs/nodes/{node}/qemu/{vmid}/clone should works :)
 
  • Like
Reactions: Abyss

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!