Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

custom nova instance name

Hi,

I'm using Rally to qualify/benchmark openstack cloud.

The test scenarios under nova configures the instances by appending some randomly generated name, which I need to avoid.

in order to achieve this, i have modifed _boot_server sub-routine in utils.py file to include a custom name to the nova instances. The changes are: From: server_name = self.generate_random_name()

 To:       server_name = "nova_instance_7"

(I'm aware that hard-coding the name will affect the cleanup process, but i really want to configure an instance with user defined name rather than the ones provided by rally)

However when i execute a nova - "create and delete" or "create and attach volume" scenario, instances are being created with old name itself.

How can i make sure that the changes which i make to the rally opensource files gets reflected in the tests which i execute ?

I even tried to configure the name by providing input from the json file for the test scenario, but with no luck.

Can some one please help me understand how i can configure nova instances with custom name.

Thanks, Rajeev