If you have multiple networks, you have to define the one you want used. You can define it in the json.
In the args you need to add a nics block, that defines the net-id of the network you need.
-jlk
----- Original message -----
From: Akshay Kumar Sanghai <akshaykumarsang...@gmail.com>
To: Dina Belova <dbel...@mirantis.com>
Cc: openstack-operators <openstack-operators@lists.openstack.org>
Subject: Re: [Openstack-operators] [Rally] Scale testing of openstack
Date: Thu, Mar 10, 2016 9:47 AM
Hi Dina,Thanks for the reference.I edited the sample boot.json file and added the network context. It gives an error while executing the task: "Error BadRequest: Multiple possible networks found, use a Network ID to be more specific". I think because I have multiple networks, its asking for which network to select.JSON file:{"NovaServers.boot_server": [{"args": {"flavor": {"name": "m1.tiny"},"image": {"name": "cirros-0.3.4-x86_64"}},"runner": {"type": "constant","times": 4,"concurrency": 2},"context": {"users": {"tenants": 3,"users_per_tenant": 2},"network": {"networks_per_tenant": 2,"subnets_per_network": 1}}}]}Can you please help me with this issue ?Thanks,AkshayOn Thu, Mar 10, 2016 at 10:19 PM, Dina Belova <dbel...@mirantis.com> wrote:Akshay,you may try to use http://docs.openstack.org/developer/rally/plugin/plugin_reference.html#novaservers-boot-server-scenario and specify two contexts in the scenario configuration: user context for tenant creation and network context for networks creation for these tenants. Scenario itself will be creating the VMs and link them to the networks.Cheers,DinaOn Thu, Mar 10, 2016 at 6:03 PM, Akshay Kumar Sanghai <akshaykumarsang...@gmail.com> wrote:_______________________________________________Hi,I have a openstack setup with 1 controller node, 1 network node and 2 compute nodes. I want to perform scale testing of the setup in the following manner:- Create 10 tenants- Create 1 router per tenant- Create 100 neutron networks across 10 tenants attached to the router- Create 500 VMs spread across 10 tenants attached to the networksIndividually, I can create tenants, routers , networks ,vms , but I don't know how to keep them interconnected meaning the networks connecting to those existing router and then VMs connecting to those networks.Please suggest me if some plugin is already available and how to generate load from those VMsThanks,Akshay Sanghai
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
--Best regards,
Dina Belova
Software Engineer
Mirantis Inc.
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators