r/openstack • • Jun 13 '23

does openstack support cpu or ram hot-add?

good morning,

can i hot add vcpu and vram to a running vm on openstack? does nova support it?

thank you.

7 Upvotes

11 comments sorted by

4

u/luivm Jun 13 '23

Yes, it is possible to hot add vCPU and vRAM to a running virtual machine (VM) on OpenStack, and Nova does support it. However, there are some requirements and limitations you should be aware of before attempting this.
Firstly, the ability to hot add vCPU and vRAM depends on the hypervisor being used. For example, KVM hypervisor supports hot adding vCPU and vRAM, while some other hypervisors may not. Therefore, you should ensure that the hypervisor used in your OpenStack environment supports hot adding vCPU and vRAM.
Secondly, the guest operating system running inside the VM must also support hot adding vCPU and vRAM

4

u/OverjoyedBanana Jun 13 '23

Are you an IA ?

1

u/luivm Jun 13 '23

Are you a Banana ?

2

u/OverjoyedBanana Jun 13 '23

As a pretend banana, I am feeling ripe and ready for any adventure! I am
basking in the warm sunlight, enjoying the company of my fellow bananas
in the bunch. I feel content and fulfilled, knowing that I am a
nutritious and delicious snack option for someone to enjoy. My yellow
peel is vibrant and smooth, and I am eagerly waiting to be chosen by
someone who appreciates the simple pleasure of peeling back my skin and
savoring my sweet, creamy flesh. Overall, I'm feeling quite happy and
optimistic about the fruitful journey ahead of me!

2

u/Royo_ Jun 13 '23

This guy is lying, he can't possibly be a pretend banana. He knows stuff only real bananas know.

1

u/greenFox99 Jun 13 '23

Today I learned it. Thanks for sharing

1

u/coolviolet17 May 03 '24

Can you please share how were you able to do this? a documentation or a link will help

1

u/Valuable_External418 Jan 21 '26

I didnt find in nova API such function, can you point ?

0

u/[deleted] Jun 13 '23

ok thanks, but i can i do it? did not find any doc, and dont get how do it despite change istance flavor...

2

u/Gnump Jun 14 '23

As someone who worked for 10+ years with this scenario outside OS with Xen and kvm, let me warn you: especially CPU hot plug is a serious PITA when it comes to live migration. To the point where I would say you can‘t have both in all but a very limited, tightly controlled environment.

1

u/[deleted] Jun 14 '23

thank you, why?