<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>The reason this is failing is you are specifying a fixed network and at the same time asking for a new network to be created using context. What happens is the VM gets attached to your fixed network instead of the created Rally network</div>
<div>So you need to modify vm_tasks.py for this case and basically if not fixed and using floating ip just skip the network check and the fixed ip code and just directly use floating ip to access.</div>
<div>I think some changes are needed to vm_tasks.py to make it work for both fixed and floating and support for network context</div>
<div><br>
</div>
<div><br>
</div>
<div>If you need a local change I can pass along a local change for vm_tasks.py that only support floating ip. Let me know do you have floating ips available ?</div>
<div>Ajay</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<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">masoom.alam@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, September 2, 2014 at 11:12 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] Rally scenario Issue<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Ajay,
<div><br>
</div>
<div>We are testing the same scenario that you are working one, but getting the follow error:</div>
<div><br>
</div>
<div><a href="http://paste.openstack.org/show/105029/">http://paste.openstack.org/show/105029/</a><br>
</div>
<div><br>
</div>
<div>Could you be of any help here?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Sep 3, 2014 at 4:16 AM, 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>Hi Guys</div>
<div>For the throughput tests I need to be able to install iperf on the cloud image. For this DNS server needs to be set. But the current network context should also support DNS name server setting</div>
<div>Should we add that into network context?</div>
<div>Ajay</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>Boris Pavlovic <<a href="mailto:boris@pavlovic.me" target="_blank">boris@pavlovic.me</a>>
<div class=""><br>
<span style="font-weight:bold">Reply-To: </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>
</div>
<span style="font-weight:bold">Date: </span>Friday, August 29, 2014 at 2:08 PM
<div class=""><br>
<span style="font-weight:bold">To: </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">Cc: </span>"Harshil Shah (harsshah)" <<a href="mailto:harsshah@cisco.com" target="_blank">harsshah@cisco.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] Rally scenario Issue<br>
</div>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>Timur, </div>
<div><br>
</div>
<div>Thanks for pointing Ajay.</div>
<div><br>
</div>
Ajay,
<div><br>
</div>
<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">
<span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;"> Also I cannot see this failure unless I run rally with –v –d object. </span></blockquote>
<div><br>
</div>
<div>Actually rally is sotring information about all failures. To get information about them you can run next command: </div>
<div>
<div><br>
</div>
<div><b>rally task results --pprint</b></div>
</div>
<div><br>
</div>
<div>It will display all information about all iterations (including exceptions) </div>
<div><br>
</div>
<div><br>
</div>
<div>
<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">
Second when most of the steps in the scenario failed like attaching to network, ssh and run command why bother reporting the results</blockquote>
<div><br>
</div>
<div>Because, bad results are better then nothing... </div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Boris Pavlovic </div>
<span><font color="#888888"><span style="font-family: Calibri, sans-serif; font-size: 14px;"></span></font></span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Aug 30, 2014 at 12:54 AM, Timur Nurlygayanov <span dir="ltr">
<<a href="mailto:tnurlygayanov@mirantis.com" target="_blank">tnurlygayanov@mirantis.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">
<div>
<div>
<div>
<div>Hi Ajay,<br>
<br>
</div>
looks like you need to use NeutronContext feature to configure Neutron Networks during the benchmarks execution.<br>
</div>
We now working on merge of two different comits with NeutronContext implementation:<br>
<a href="https://review.openstack.org/#/c/96300" target="_blank">https://review.openstack.org/#/c/96300</a> and
<a href="https://review.openstack.org/#/c/103306" target="_blank">https://review.openstack.org/#/c/103306</a><br>
<br>
</div>
could you please apply commit <a href="https://review.openstack.org/#/c/96300" target="_blank">
https://review.openstack.org/#/c/96300</a> and run your benchmarks? Neutron Network with subnetworks and routers will be automatically created for each created tenant and you should have the ability to connect to VMs. Please, note, that you should add the following
part to your task JSON to enable Neutron context:<br>
...<br>
"context": {<br>
...<br>
"neutron_network": {<br>
"network_cidr": "10.%s.0.0/16",<br>
}<br>
}<br>
...<br>
<br>
</div>
<div>Hope this will help.<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div>On Fri, Aug 29, 2014 at 11:42 PM, Ajay Kalambur (akalambu) <span dir="ltr"><<a href="mailto:akalambu@cisco.com" target="_blank">akalambu@cisco.com</a>></span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi</div>
<div>I am trying to run the Rally scenario boot-runcommand-delete. This scenario has the following code</div>
<div>
<div> def boot_runcommand_delete(self, image, flavor,</div>
<div> script, interpreter, username,</div>
<div> fixed_network="private",</div>
<div> floating_network="public",</div>
<div> ip_version=4, port=22,</div>
<div> use_floatingip=True, **kwargs):</div>
</div>
<div>
<div> server = None</div>
<div> floating_ip = None</div>
<div> try:</div>
<div> print "fixed network:%s floating network:%s" %(fixed_network,floating_network)</div>
<div> server = self._boot_server(</div>
<div> self._generate_random_name("rally_novaserver_"),</div>
<div> image, flavor, key_name='rally_ssh_key', **kwargs)</div>
<div><br>
</div>
<div><b> self.check_network(server, fixed_network)</b></div>
</div>
<div><br>
</div>
<div>The question I have is the instance is created with a call to boot_server but no networks are attached to this server instance. Next step it goes and checks if the fixed network is attached to the instance and sure enough it fails</div>
<div>At the step highlighted in bold. Also I cannot see this failure unless I run rally with –v –d object. So it actually reports benchmark scenario numbers in a table with no errors when I run with</div>
<div>rally task start boot-and-delete.json</div>
<div><br>
</div>
<div>And reports results. First what am I missing in this case. Thing is I am using neutron not nova-network</div>
<div>Second when most of the steps in the scenario failed like attaching to network, ssh and run command why bother reporting the results</div>
<span><font color="#888888">
<div><br>
</div>
<div>Ajay</div>
<div><br>
</div>
</font></span></div>
<br>
</div>
</div>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">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>
<span><font color="#888888"><br>
<br clear="all">
<br>
-- <br>
<div dir="ltr"><font color="#888888"><font color="#888888"><br>
</font></font>
<div style="font-family:arial;font-size:small">Timur,</div>
<div style="font-family:arial;font-size:small">QA Engineer</div>
<div style="font-family:arial;font-size:small">OpenStack Projects</div>
<div style="font-family:arial;font-size:small">Mirantis Inc<br>
<br>
<a href="http://www.openstacksv.com/" target="_blank"><img alt="http://www.openstacksv.com/" src="https://lh5.googleusercontent.com/K-Qw1IhwB4AYMQsUee1RCmlztMg_obyJiBLCO4mXru_NT157r0w1YNfoe-IrLLoBJrMK6lEZ3wn0TemAYv9lEznw-a6ueWi6MNh72huHrB0qJKFqZ6z53bZn_ipCsu4tRw"></a><br>
</div>
</div>
</font></span></div>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">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>
</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>
</div>
</div>
</span>
</body>
</html>