Ask Your Question

change state_path and run instances there

asked 2013-07-29 08:47:56 -0600

r-muhl gravatar image

updated 2013-07-29 12:07:18 -0600

Hey, (running Xubuntu12.04.2 + Grizzly)

I want to change the state_path to another partition. After done that in the local compute-node nova.conf and change the owner of the dirs (with sudo chown -R nova:nova nova) comes an error.



so my question is: How to do that properly? What are the requirements that it works?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-30 03:24:59 -0600

r-muhl gravatar image

I found a solution by myself.

Changing the state_path wasn't a good idea. So I used the the default value for state_path in /var/lib/nova. Now the partition is directly mounted in /var/lib/nova/instances.

/etc/fstab-entry: /dev/sdb1 /var/lib/nova/instances ext3 defaults 0 0

after that:

chown nova /var/lib/nova/instances/

chown nova /var/lib/nova/instances/_base

then it should work.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-29 08:47:56 -0600

Seen: 1,851 times

Last updated: Jul 30 '13