Supported limit number of lxc containers in ProxmoxVE

pmxforum

Well-Known Member
Jun 2, 2016
35
6
48
49
Hi.

I have some strange thing in latest ProxmoxVE:

! have 30+ lxc containers on my server.
I can't create additional new containers via create ct viazard - It happens nothing after I pressing <Finish> button from web gui.
But on other same server with only 5+ containers, everything is ok.

Also I can restore additional containers from backup, created on another server.

How I can increase the available for creation number of lxc containers?

I have no errors in my logs.
I've tested this starange behaivor in firefox, chome (debian jessie distributions). Opera is not working for container creation.
 
can you post your pveversion -v please ?
 
Here it is:

root@pmx-lxc:~# pveversion -v
proxmox-ve: 4.3-72 (running kernel: 4.4.24-1-pve)
pve-manager: 4.3-12 (running version: 4.3-12/6894c9d9)
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.24-1-pve: 4.4.24-72
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-47
qemu-server: 4.0-96
pve-firmware: 1.1-10
libpve-common-perl: 4.0-83
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-68
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.3-17
pve-qemu-kvm: 2.7.0-8
pve-container: 1.0-85
pve-firewall: 2.0-31
pve-ha-manager: 1.0-38
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.6-1
lxcfs: 2.0.5-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80
 
can you open the javascript console before clicking finish, then press finish and send any output from the javascript console?
(on chrome you can open it with ctrl+shift+i )
 
No problems here (lab node)

Code:
root@lab:~# pveversion -v
proxmox-ve: 4.3-72 (running kernel: 4.4.24-1-pve)
pve-manager: 4.3-10 (running version: 4.3-10/7230e60f)
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.24-1-pve: 4.4.24-72
pve-kernel-4.4.19-1-pve: 4.4.19-66
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-47
qemu-server: 4.0-94
pve-firmware: 1.1-10
libpve-common-perl: 4.0-80
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-68
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.3-15
pve-qemu-kvm: 2.7.0-8
pve-container: 1.0-81
pve-firewall: 2.0-31
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.5-1
lxcfs: 2.0.4-pve2
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80

Quickly creating 30 containers ;)

Code:
root@lab:~# for i in {1..30}; do VM=$(pvesh get /cluster/nextid | grep -oE '[0-9]*'); pct create $VM local:vztmpl/debian-8.0-standard_8.4-1_amd64.tar.gz -net0 bridge=vmbr0,ip=dhcp,name=eth0,type=veth -hostname $VM -rootfs local-zfs:2 -cpulimit 2 -memory 512 -swap 256; done

Now created another one via WebGUI.

Code:
root@lab:~# pct list | grep -E 'running|stopped' | wc -l
31
 
On JS console in chromium I have this error, after I pressed <Finish> button:

Uncaught TypeError: Cannot read property 'length' of undefined
at F.onSubmit (pvemanagerlib.js:26096)
at F.handler (pvemanagerlib.js:10140)
at Object.callback (ext-all.js:22)
at F.fireHandler (ext-all.js:22)
at F.onClick (ext-all.js:22)
at F.fire (ext-all.js:22)
at F.fire (ext-all.js:22)
at F.publish (ext-all.js:22)
at F.doDelegatedEvent (ext-all.js:22)
at F.onDelegatedEvent (ext-all.js:22)
onSubmit @ pvemanagerlib.js:26096
handler @ pvemanagerlib.js:10140
callback @ ext-all.js:22
fireHandler @ ext-all.js:22
onClick @ ext-all.js:22
fire @ ext-all.js:22
fire @ ext-all.js:22
publish @ ext-all.js:22
doDelegatedEvent @ ext-all.js:22
onDelegatedEvent @ ext-all.js:22
(anonymous) @ ext-all.js:22

my chrome version is : 56.0.2924.3 dev (64-bit)

But from Windows IE anything is ok with ProxmoxVE web gui.
 
this sounds like a bug which should be fixed already....
can you clear your browser cache please and try again?

if this does not help, can you describe what you write in the fields ?
 
After purging all cache (files, passwords, certificates) the problem solved. There was no reported above errors. I'd newer done such a purge earlier.

I'm using only digits and latin letters during installing an lxc template. Maybe this is a chrome specific. But in the same browser with other servers there is no such a problems with js. As far as I understood - I exceeded some limits for a few my servers (based on ip addresses). I updated them on a regular base from pve-testing. each time after I added a new seciruty exceptions and etc.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!