Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

cpu hotadd doesn't work, needs powered off #561

Open
zyxep opened this issue Oct 21, 2021 · 0 comments
Open

cpu hotadd doesn't work, needs powered off #561

zyxep opened this issue Oct 21, 2021 · 0 comments

Comments

@zyxep
Copy link

zyxep commented Oct 21, 2021

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:

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant