<div dir="ltr">Massoom, <div><br></div><div>Seems like you are using old rally code. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 7, 2014 at 10:33 PM, Ajay Kalambur (akalambu) <span dir="ltr"><<a href="mailto:akalambu@cisco.com" target="_blank">akalambu@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>The following context worked for me. </div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>            "context": {</div>
<div>                "neutron_network": {</div>
<div>                    "network_cidr": "10.%s.0.0/16",</div>
<div>                },</div>
<div>                "users": {</div>
<div>                    "tenants": 1,</div>
<div>                    "users_per_tenant": 2</div>
<div>                }</div>
<div>            }</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>masoom alam <<a href="mailto:masoom.alam@gmail.com" target="_blank">masoom.alam@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Sunday, September 7, 2014 at 5:27 AM<br>
<span style="font-weight:bold">To: </span>akalambu <<a href="mailto:akalambu@cisco.com" target="_blank">akalambu@cisco.com</a>><br>
<span style="font-weight:bold">Cc: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [rally][iperf] Benchmarking network performance<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">The problem lies in this patch:
<div><br>
</div>
<div><a href="https://review.openstack.org/#/c/96300" target="_blank">https://review.openstack.org/#/c/96300</a><br>
</div>
<div><br>
</div>
<div>Even If I apply it, i get an error that Unknown Neutron context. The patch is correctly applied - some 20 times :)</div>
<div><br>
</div>
<div>Task and output is as follows:</div>
<div><br>
</div>
<div><br>
</div>
<div>{<br>
<br>
    "VMTasks.boot_runcommand_delete": [<br>
<br>
        {<br>
<br>
            "args": {<br>
<br>
                "flavor": {<br>
<br>
                    "name": "m1.tiny"<br>
<br>
                },<br>
<br>
                "image": {<br>
<br>
                    "name": "cirros-0.3.2-x86_64-uec"<br>
<br>
                },<br>
<br>
                "fixed_network": "net04",<br>
<br>
                "floating_network": "net04_ext",<br>
<br>
                "use_floatingip": true,<br>
<br>
                "script": "/home/alam/Desktop/rally/doc/samples/tasks/support/instance_dd_test.sh",<br>
<br>
                "interpreter": "/bin/sh",<br>
<br>
                "username": "cirros"<br>
<br>
            },<br>
<br>
            "runner": {<br>
<br>
                "type": "constant",<br>
<br>
                "times": 2,<br>
<br>
                "concurrency": 1<br>
<br>
            },<br>
<br>
            "context": {<br>
<br>
                "users": {<br>
<br>
                    "tenants": 1,<br>
<br>
                    "users_per_tenant": 1<br>
<br>
                },<br>
                "neutron_network": {<br>
                    "network_cidr": "10.%s.0.0/16"<br>
                }<br>
<br>
            }              <br>
<br>
            <br>
<br>
        }<br>
<br>
    ]<br>
<br>
}<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>$rally -v task start /home/alam/Desktop/rally/doc/samples/tasks/scenarios/vm/boot-runcommand-delete.json<br>
================================================================================<br>
Task  193a4b11-ec2d-4e36-ba53-23819e9d6bcf is started<br>
--------------------------------------------------------------------------------<br>
2014-09-07 17:23:00.680 2845 INFO rally.orchestrator.api [-] Benchmark Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf on Deployment 3cba9ee5-ef47-42f9-95bc-91107009a348<br>
2014-09-07 17:23:00.680 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Starting:  Check cloud.<br>
2014-09-07 17:23:09.083 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Completed: Check cloud.<br>
2014-09-07 17:23:09.084 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Starting:  Task validation.<br>
2014-09-07 17:23:09.134 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Starting:  Task validation of scenarios names.<br>
2014-09-07 17:23:09.137 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Completed: Task validation of scenarios names.<br>
2014-09-07 17:23:09.138 2845 INFO rally.benchmark.engine [-] Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf | Starting:  Task validation of syntax.<br>
<br>
================================================================================<br>
Task 193a4b11-ec2d-4e36-ba53-23819e9d6bcf is failed.<br>
--------------------------------------------------------------------------------<br>
<class 'rally.exceptions.InvalidBenchmarkConfig'><br>
Task config is invalid.<br>
    Benchmark %(name)s has wrong configuration at position %(pos)s<br>
    Reason: %(reason)s<br>
    Benchmark configuration: %(config)s<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Sep 5, 2014 at 7:46 PM, Ajay Kalambur (akalambu)
<span dir="ltr"><<a href="mailto:akalambu@cisco.com" target="_blank">akalambu@cisco.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="auto">
<div>Hi mason</div>
<div>What is the task you want to perform run commands after vm boot or run performance</div>
<div>Based on that I can help with correct pointer</div>
<div>Ajay <br>
<br>
Sent from my iPhone</div>
<div>
<div>
<div><br>
On Sep 5, 2014, at 2:28 AM, "masoom alam" <<a href="mailto:masoom.alam@gmail.com" target="_blank">masoom.alam@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Please forward ur vmtasks.py file<br>
<br>
On Friday, September 5, 2014, masoom alam <<a href="mailto:masoom.alam@gmail.com" target="_blank">masoom.alam@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><a href="http://paste.openstack.org/show/106297/" style="font-family:arial,sans-serif;font-size:13px" target="_blank">http://paste.openstack.org/show/106297/</a><br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Sep 5, 2014 at 1:12 PM, masoom alam <span dir="ltr">
<<a>masoom.alam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Ajay
<div><br>
</div>
<div>I corrected this earlier. But facing another problem. Will forward paste in a while.</div>
<div>
<div>
<div><br>
</div>
<div><br>
<br>
On Friday, September 5, 2014, Ajay Kalambur (akalambu) <<a>akalambu@cisco.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>Sorry there was  typo in the patch should be @validation and not @(validation</div>
<div>Please change that in vm_perf.py <br>
<br>
Sent from my iPhone</div>
<div><br>
On Sep 4, 2014, at 7:51 PM, "masoom alam" <<a>masoom.alam@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Why this is so when I patched with your sent patch:
<div><br>
</div>
<div><a href="http://paste.openstack.org/show/106196/" target="_blank">http://paste.openstack.org/show/106196/</a><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Sep 4, 2014 at 8:58 PM, Rick Jones <span dir="ltr">
<<a>rick.jones2@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 09/03/2014 11:47 AM, Ajay Kalambur (akalambu) wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
Looking into the following blueprint which requires that network<br>
performance tests be done as part of a scenario<br>
I plan to implement this using iperf and basically a scenario which<br>
includes a client/server VM pair<br>
</blockquote>
<br>
</div>
My experience with netperf over the years has taught me that when there is just the single stream and pair of "systems" one won't actually know if the performance was limited by inbound, or outbound.  That is why the likes of<br>
<br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/examples/netperf_by_flavor.py" target="_blank">http://www.netperf.org/svn/<u></u>netperf2/trunk/doc/examples/<u></u>netperf_by_flavor.py</a><br>
<br>
and<br>
<br>
<a href="http://www.netperf.org/svn/netperf2/trunk/doc/examples/netperf_by_quantum.py" target="_blank">http://www.netperf.org/svn/<u></u>netperf2/trunk/doc/examples/<u></u>netperf_by_quantum.py</a><br>
<br>
apart from being poorly written python :)  Will launch several instances of a given flavor and then run aggregate tests on the Instance Under Test.  Those aggregate tests will include inbound, outbound, bidirectional, aggregate small packet and then a latency
 test.<br>
<br>
happy benchmarking,<br>
<br>
rick jones
<div>
<div><br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a>OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<br>
</div>
</div>
<span><font color="#888888">-- <br>
Sent from noir <br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
-- <br>
Sent from noir <br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div></div></span>
</div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>