pct cpusets - incorrect CPU count

przemon

New Member
Mar 17, 2017
2
0
1
43
I have 3 lxc containers on proxmox server.

Server has 16CPU visible /cat/cpuinfo

CPU are assigned to lxc containers

px ~ # pct config 100
arch: amd64
cores: 7
cpulimit: 6.5


px ~ # pct config 101
arch: amd64
cores: 6
cpulimit: 6

px ~ # pct config 102
arch: amd64
cores: 3
cpulimit: 2.5

And cpusets show only 13 CPU, sometimes 12
It is a bug or something other?


px ~ # pct cpusets
----------------------------------
100: 5 6 7 8
101: 2 3 4 9
102: 0 1 12
----------------------------------
 
Just tested with the same configuration and get the following output:

Code:
# pct cpusets 
---------------------
100:    1 2 3 4 5 6 7
101:  0 1   3 4 5 6
102:  0   2         7

Do you run the latest version?
 
might have been caused by the recently fixed "cgroups are wrong after rebooting within container"-bug?
 
might have been caused by the recently fixed "cgroups are wrong after rebooting within container"-bug?

Maybe yes, but i have problem with license activation. I have nested configuration (proxmox used for LXC containers is run on Openstack Cloud instance). Visible VCPU number is 16, but in hypervisor there is only one socket. When i;m trying to put license key i have information "wrong number of sockets 1<16). Is it posible to activate license in this configuration?
 
no, you need to configure your openstack cloud VM to use 1 socket/16 cores, then you can activate the 1-CPU subscription.
 
Maybe yes, but i have problem with license activation. I have nested configuration (proxmox used for LXC containers is run on Openstack Cloud instance). Visible VCPU number is 16, but in hypervisor there is only one socket. When i;m trying to put license key i have information "wrong number of sockets 1<16). Is it posible to activate license in this configuration?


I am really looking how to configure the OpenStack environment in my office currently I'm doing testing of Mirantis Fuel 11 OpenStack.
I have already installed the ProxMox on my BareMetal Server.

Now I am trying to install the Mirantis Fuel 11 OpenStack on ProxMox now but I am confused in the networking part and also how many VM need to configure for minumum utilization of OpenStack environment.

Following is my Server Configuration:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
Stepping: 7
CPU MHz: 1542.919
CPU max MHz: 3100.0000
CPU min MHz: 1200.0000
BogoMIPS: 4800.22
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0-7,16-23
NUMA node1 CPU(s): 8-15,24-31



Kindly reply me soon.
I want do atleast configure the OpenStack minimal nodes on this ProxMox VE

Thank your,
Regards,
Tushar