[Openstack] Changing the location of Nova's instances

Robert van Leeuwen Robert.vanLeeuwen at spilgames.com
Wed May 15 12:52:48 UTC 2013


> I would like to move all instances into /home/storage/nova/instances. 
The following value in nova.conf specifies where the images are located:
state_path

>Of course, I would shut down all instances and copy everything to the new location. But how do I convince Nova >that things have changed? Also, the various libvirt.xml files have references to /var/lib/nova/instances. Is it a >manual process to change these references? Or is there some magical migration command that would fix everything >for me? :)

I don't think there is a tool for that but a bash one-liner should be able to search and replace this in the XML files :)




More information about the Openstack mailing list