<div dir="ltr">Thanks Yair,<div>I will dig into this more. I did try the "network" context, but same error.</div><div><br></div><div>regards</div><div>Behzad</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 12:53 PM, Yair Fried <span dir="ltr"><<a href="mailto:yfried@redhat.com" target="_blank">yfried@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Oct 20, 2015 at 8:39 PM, Behzad Dastur <span dir="ltr"><<a href="mailto:behzad.dastur@gmail.com" target="_blank">behzad.dastur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px">Hi Yair,</span></div><div>The rally version I am using is 0.1.2</div><div><br></div><div>> rally --version</div><div>0.1.2</div><div>







<p>Also the task file is as shown below. Do you have an example of the "network" context to skip creation on the interface on the xternal network?</p></div></div></blockquote></span><div>have you seen the plugin reference? <a href="https://rally.readthedocs.org/en/latest/plugin/plugin_reference.html" target="_blank">https://rally.readthedocs.org/en/latest/plugin/plugin_reference.html</a> </div><div>Looks like there's also existing_network [context] but I'm unfamiliar with it.</div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><p><span>vagrant@rally:~/rally$ more /vagrant/boot.json </span></p><p><span>{% set flavor_name = flavor_name or "m1.tiny" %}</span></p><p><span>{</span></p><p><span>    "NovaServers.boot_server": [</span></p><p><span>        {</span></p><p><span>            "args": {</span></p><p><span>                "flavor": {</span></p><p><span>                    "name": "{{flavor_name}}"</span></p><p><span>                },</span></p></div></div></blockquote></span><div>"auto_assign_nic": true,</div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><p><span>                "image": {</span></p><p><span>                    "name": "cirros-0.3.1-x86_64"</span></p><p><span>                },</span></p><p><span>                "use_floatingip": false</span></p></div></div></blockquote></span><div>I think this should be true (or maybe even removed) </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><p><span>            },</span></p><p><span>            "runner": {</span></p><p><span>                "type": "constant",</span></p><p><span>                "times": 10,</span></p><p><span>                "concurrency": 2</span></p><p><span>            },</span></p><p><span>            "context": {</span></p></div></div></blockquote></span><div>"network": {"networks_per_tenant": 1}, </div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><p><span>                "users": {</span></p><p><span>                    "tenants": 3,</span></p><p><span>                    "users_per_tenant": 2</span></p><p><span>                }</span></p><p><span>            }</span></p><p><span>        }</span></p><p><span>    ]</span></p><p>


































</p><p><span>}</span></p></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">regards,</span></div><div><span style="font-size:12.8px">Behzad</span></div><div><span style="font-size:12.8px"><br></span></div>Date: Tue, 20 Oct 2015 15:04:46 +0300</span><br style="font-size:12.8px"><span style="font-size:12.8px">From: Yair Fried <</span><a href="mailto:yfried@redhat.com" style="font-size:12.8px" target="_blank">yfried@redhat.com</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">To: "OpenStack Development Mailing List (not for usage questions)"</span><br style="font-size:12.8px"><span style="font-size:12.8px">        <</span><a href="mailto:openstack-dev@lists.openstack.org" style="font-size:12.8px" target="_blank">openstack-dev@lists.openstack.org</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Subject: Re: [openstack-dev] [rally] Rally boot tests fails with Error</span><span><br style="font-size:12.8px"><span style="font-size:12.8px">        Forbidden: It is not allowed to create an interface on external</span><br style="font-size:12.8px"></span><span style="font-size:12.8px">        networks</span><br style="font-size:12.8px"><span style="font-size:12.8px">Message-ID:</span><br style="font-size:12.8px"><span style="font-size:12.8px">        <CAPGkNL3Tf5fwUaAD-E4UonR_HxN=</span><a href="mailto:REJJEiRq8m630049WOaP7Q@mail.gmail.com" style="font-size:12.8px" target="_blank">REJJEiRq8m630049WOaP7Q@mail.gmail.com</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Content-Type: text/plain; charset="utf-8"</span><div><div><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">On Tue, Oct 20, 2015 at 2:06 PM, Behzad Dastur <</span><a href="mailto:behzad.dastur@gmail.com" style="font-size:12.8px" target="_blank">behzad.dastur@gmail.com</a><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">wrote:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">> I have a contrail/OpenStack cloud deployed on which I am trying to run</span><br style="font-size:12.8px"><span style="font-size:12.8px">> some rally benchmarks. But I am having trouble getting the rally boot tests</span><br style="font-size:12.8px"><span style="font-size:12.8px">> to run. It throws the "Error Forbidden: It is not allowed to create an</span><br style="font-size:12.8px"><span style="font-size:12.8px">> interface on external network"</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> It seems it is trying to create an interface on the external network,</span><br style="font-size:12.8px"><span style="font-size:12.8px">> however in this case that operation is not required as the contrail plugin</span><br style="font-size:12.8px"><span style="font-size:12.8px">> handles that.</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">What version of Rally are you using?</span><br style="font-size:12.8px"><span style="font-size:12.8px">Could you please provide your task file? Looks like you are explicitly</span><br style="font-size:12.8px"><span style="font-size:12.8px">telling rally to use your external network for the VMs.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">>  Is there a way to tell the rally scenario to avoid doing that. SImply</span><br style="font-size:12.8px"><span style="font-size:12.8px">> put the operations that need to happen are:</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> 1. nova boot (create private network/ or use private network provided)</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">The "network" context should allow you to dynamically create the networks.</span><br style="font-size:12.8px"><span style="font-size:12.8px">Also, all scenarios that boot an instance can propagate boot arguments even</span><br style="font-size:12.8px"><span style="font-size:12.8px">if they aren't explicitly listed (for more details try "$ rally plugin info</span><br style="font-size:12.8px"><span style="font-size:12.8px"><Scenario>"), so you should be able to pass "{networks: {uuid: <netid>}}"</span><br style="font-size:12.8px"><span style="font-size:12.8px">to the scenario.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">2. neutron floating ip create, and assign it to the port eg (neutron</span><br style="font-size:12.8px"><span style="font-size:12.8px">> floatingip-create --port-id <private assigned="" portid=""> <public net=""</span><br style="font-size:12.8px"><span style="font-size:12.8px">> id="">)</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">Only in VMTask AFAIK.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">> Here is the error log:</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"></div></div><span style="font-size:12.8px">> 2015-10-20 00:24:12.759 19075 INFO rally.plugins.openstack.</span><span style="font-size:12.8px">context.keystone.users [-] Task 3000fcbd-2762-400d    -920f-dfbfb667e7ec | Starting:  Enter context: `users`2015-10-20 00:24:14.711 19075 INFO rally.plugins.openstack.</span><span style="font-size:12.8px">context.keystone.users [-] Task 3000fcbd-2762-400d-920f-</span><span style="font-size:12.8px">dfbfb667e7ec | Completed: Enter context: `users`2015-10-20 00:24:16.222 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-</span><span style="font-size:12.8px">dfbfb667e7ec | ITER: 0 START2015-10-20 00:24:16.227 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-</span><span style="font-size:12.8px">dfbfb667e7ec | ITER: 1 START2015-10-20 00:24:18.420 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-</span><span style="font-size:12.8px">dfbfb667e7ec | ITER: 0 END: Error Forbidden: It is not allowed to create an interface on external network 2de28d39-34f9-48c5-bbac-</span><span style="font-size:12.8px">609e258b7aad (HTTP 403) (Request-ID: req-fe32bcf8-f624-4a2d-a083-</span><span style="font-size:12.8px">7b6c5d1f24ab)</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">> regards,</span><br style="font-size:12.8px"><span style="font-size:12.8px">> Behzad</span><br></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>