Ask Your Question

Cannot Change the Flovour size of VM using libvirt [closed]

asked 2014-05-04 00:51:52 -0500

shararth gravatar image

0 down vote favorite

I am trying to resize a VM instance(change flavor) on one of the nodes, which is upon OpenStack KVM Hypervisor.

I need to resize the instance without rebooting it. I did not find any commands which would resize the instance without rebooting. Libvirt API does increase the size of VM till its maximum memory in the flavor, but it doesnt change the flavor to higher one.

Can any one help me in changing the flavor name dynamically without rebooting the instance.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Bill@Metacloud
close date 2014-05-04 17:38:45.605617

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-04 03:58:20 -0500

dbaxps gravatar image

RDO Forum

Quick followup to the thead, I found after a bit more digging: To get resize working, I had to enable shell login for "nova" service account (default RDO deploy has it set to /bin/false in the passwd file); then had to setup ssh pre-auth key exchange between all nodes in the openstack cluster; so that 'nova' service account can ssh to any other node - withot password being required. After this final tweak was put in place - image resize works for me, both via CLI and via GUI. Very nice .. --Tim
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-04 00:51:52 -0500

Seen: 149 times

Last updated: May 04 '14