Rally/Tempest user's home directory dependency

Asked by Murali Krishna Kanagala

I am using Rally to test a medium sized private cloud. We have requirements to run tempest full/smoke tests and rally tasks as well.
Rally tasks are mainly used to run periodic boot and deletes and we are working on writing wrappers to alert on failures etc.

The major road block towards that is rally's dependency on user's home directory. Rally can be installed as root or as a venv.
However when a monitoring tool runs the tasks (rally command rally task start) rally tries to create some cache files in ~/.rally and fails, which is the home directory of the monitoring user (for ex. Sensu). Is there any workaround for this? I have tried tweaking the code but i may end up editing ~10 files and it is a big task with configuration management tools.

Question information

Language:
English Edit question
Status:
Answered
For:
Rally Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andrey Kurilin (andreykurilin) said :
#1

hm...
It sounds like a feature request. We need to move configuration of rally home dir to our config file.
If you have enough time and interest, I can tell you how this feature should be implemented:) or submit a feature request to https://github.com/openstack/rally/tree/master/doc/feature_request

Can you help with this problem?

Provide an answer of your own, or ask Murali Krishna Kanagala for more information if necessary.

To post a message you must log in.