<div dir="ltr">How you solved this issue of syntax error. We are getting the same error:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"># rally -v task start rally/doc/samples/tasks/</span><span style="font-family:arial,sans-serif;font-size:13px">scenarios/vm/boot-runcommand-</span><span style="font-family:arial,sans-serif;font-size:13px">delete.json</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Command failed, please check log for more info</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">2014-09-01 07:31:52.606 9155 CRITICAL rally [-] ParserError: while parsing a flow mapping</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">  in "<string>", line 23, column 24:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">                "context": {</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">                           ^</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">expected ',' or '}', but got '<scalar>'</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">  in "<string>", line 28, column 18:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">                     "neutron_network": {</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">                     ^</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">2014-09-01 07:31:52.606 9155 TRACE rally Traceback (most recent call last):</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">2014-09-01 07:31:52.606 9155 TRACE rally   File "/usr/local/bin/rally", line 10, in <</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Any clue?</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 30, 2014 at 12:42 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</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 class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Ajay</div>
<div><br>
</div>
</font></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>