<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</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>Hi Boris</div>
<div>Looks like this would require changes in key portions of Rally infra. Need some more time getting a hang of rally by committing a few scenarios before I make infra changes</div>
<div><br>
</div>
<div><br>
</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>Boris Pavlovic <<a href="mailto:boris@pavlovic.me">boris@pavlovic.me</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>Friday, November 21, 2014 at 7:02 AM<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] Question on periodic task<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Ajay,
<div><br>
</div>
<div><br>
</div>
<div>We have this in our RoadMap: </div>
<div><a href="https://github.com/stackforge/rally/blob/master/doc/feature_request/multi_scenarios_load_gen.rst" target="_blank">https://github.com/stackforge/rally/blob/master/doc/feature_request/multi_scenarios_load_gen.rst</a><br>
</div>
<div><br>
</div>
<div>So, it's not yet supported out of box, but we really would like to have it in upstream. <br>
</div>
<div><br>
</div>
<div>Are you interested in work on this direction? </div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Boris Pavlovic </div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 21, 2014 at 8:22 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>Ok the action I wanted to perform was for HA I.e execute a scenario like VM boot and in parallel in a separate process , ssh and restart controller node for instance</div>
<div>I thought periodic task would be useful for that. I guess I need to look at some other way of performing this</div>
<div>Ajay</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:bpavlovic@mirantis.com" target="_blank">bpavlovic@mirantis.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" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, November 20, 2014 at 7:03 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" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [Rally] Question on periodic task<br>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Ajay,
<div><br>
</div>
<div><br>
</div>
<div>I am not sure why you are looking that part at all. </div>
<div>everything in openstack/common/* is oslo-incubator code.</div>
<div>Actually that method is not used in Rally yet, except Rally as a Service part that doesn't work yet.</div>
<div><br>
</div>
<div>As a scenario developer I think you should be able to find everything here:<br>
</div>
<div><a href="https://github.com/stackforge/rally/tree/master/rally/benchmark" target="_blank">https://github.com/stackforge/rally/tree/master/rally/benchmark</a><br>
</div>
<div><br>
</div>
<div>
<div>So I really don't the case when you need to pass something to periodic task.. It's not that "task"</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Boris Pavlovic</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 21, 2014 at 3:36 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 have a question on</div>
<div>/rally/openstack/common/periodic_task.py</div>
<div><br>
</div>
<div>It looks like if I have a method decorated with @periodic_task my method would get scheduled in separate process every N seconds</div>
<div>Now let us say we have a scenario and this periodic_task how does it work when concurrency=2 for instance</div>
<div><br>
</div>
<div>Is the periodic task also scheduled in 2 separate process. I actually want only one periodic task process irrespective of concurrency count in scenario</div>
<div>Also as a scenario developer how can I pass arguments into the periodic task</div>
<span><font color="#888888">
<div><br>
</div>
<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" 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>