Ask Your Question
2

change state_path and run instances there

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

r-muhl gravatar image

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

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.

nova-compute.log http://paste.openstack.org/show/42446/

nova.conf http://paste.openstack.org/show/42447/

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

thx

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 1,550 times

Last updated: Jul 30 '13