I was trying to add more cpu's to a running VM with
vcd vm update --cpu 2 <app> <vm>
But i get this error:
Error: Status code: 400/BAD_REQUEST, [ 4a87fb87-146b-4891-9757-b430fc43d4fe ] The number of cores per socket can only be changed for the virtual machine "vm-yyyy-001" when powered off. (request id: 4a87fb87-146b-4891-9757-b430fc43d4fe)
I can easily add more cpu through the interface when it's turned on but not through the CLI.
I checked the settings of the VM through CLI and i basically got this:
➜ ~ sudo vcd vm list-vm-capabilities app vm
property value
------------------- -------
CpuHotAddEnabled 1
MemoryHotAddEnabled 1
Hi,
I was trying to add more cpu's to a running VM with
vcd vm update --cpu 2 <app> <vm>
But i get this error:
I can easily add more cpu through the interface when it's turned on but not through the CLI.
I checked the settings of the VM through CLI and i basically got this: