Multiple possible networks found

Asked by Rajeev

Hi,

I'm using Rally to benchmark openstack cloud(installed with packstack script on a VM).

Few of the nova scenarios fail due to: "multiple possible networks found.use a Network ID to be more specific" in spite of mentioning the start_cidr option under networks or providing "auto_assign_nic" option.

example:

"network": {
    "start_cidr": "10.20.0.2/24",
   "networks_per_tenant": 1,
}

or
"args": {
    "auto_assign_nic": true

Few scenarios work well with the above 2 options, but few of them error's out even after providing either of the above options. I have tried mentioning the "nics: net-id" option in the json file, but with no luck.

Can someone help me resolve the issue.

Thanks,
Rajeev

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

Different scenarios have different arguments. Please check expected arguments for the particular scenario at http://rally.readthedocs.io/en/0.8.1/plugins/plugin_reference.html#scenarios .

For example, let's compare two scenarios:

- http://rally.readthedocs.io/en/0.8.1/plugins/plugin_reference.html#novaservers-boot-and-list-server-scenario
- http://rally.readthedocs.io/en/0.8.1/plugins/plugin_reference.html#novakeypair-boot-and-delete-server-with-keypair-scenario

The first one accepts the argument for server creation as keyword arguments. It means that in task you can specify your option like "args": {"auto_assign_nic": true} and it will work. The second scenario creates multiple entities and server creation arguments should be specified via boot_server_kwargs parameter, like "args": {"boot_server_kwargs" : {"auto_assign_nic": true}}

Can you help with this problem?

Provide an answer of your own, or ask Rajeev for more information if necessary.

To post a message you must log in.