<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 07/14/2015 01:46 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote
cite="mid:CAOULzZUqcjW_T4O6e3yk6eBDzGmFBFp-YGyaPPuFXkxYQagZLw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div class="gmail_default"
style="font-family:monospace,monospace;color:#000000">Instead
of it use reusable_node option.</div>
</div>
</blockquote>
<br>
Thanks. Problem resolved. :)<br>
<br>
BTW, single_use_node is written in layout.yaml by default. <br>
If it doesn't exist anymore, do we need a patch to fix it ?<br>
<br>
For someone who uses CI for the first time, it is really a
problem......<br>
<br>
And also, if I want to post patch for zuul, where should I post the
patch ?<br>
<br>
Thanks.<br>
<br>
<blockquote
cite="mid:CAOULzZUqcjW_T4O6e3yk6eBDzGmFBFp-YGyaPPuFXkxYQagZLw@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 14, 2015 at 9:12 AM, Tang
Chen <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Abhishek, All,<br>
<br>
I found the problem. <br>
<br>
My /etc/zuul/layout/layout.yaml has the following config:<br>
<br>
jobs:<br>
- name: ^dsvm-tempest.*$<br>
parameter-function: single_use_node<br>
<br>
But in _parseConfig() in zuul/scheduler.py, it failed to
find single_use_node().<br>
<br>
fname = config_job.get('parameter-function',
None)<br>
if fname:<br>
func = config_env.get(fname, None)<br>
if not func:<br>
raise Exception("Unable to find
function %s" % fname)<br>
<br>
So projects section was not parsed.<br>
<br>
Does anyone know why ?<br>
<br>
Thanks.
<div>
<div class="h5"><br>
<br>
<br>
<br>
<div>On 07/14/2015 10:54 AM, Tang Chen wrote:<br>
</div>
<blockquote type="cite"> Hi Abhishek,<br>
<br>
I printed the self.layout.projects in
zuul/scheduler.py, it is empty.<br>
So the project was not found.<br>
<br>
But I did do the <font face="monospace, monospace"><span
style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">jenkins-jobs
--flush-cache update</span></font> <font
face="monospace, monospace"><span
style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">/etc/jenkins_jobs/config/</span></font><br>
And I did configure openstack-dev/sandbox in
layout.yaml.<br>
<br>
Do you have any idea what's wrong here ?<br>
<br>
Thanks.<br>
<br>
<br>
<div>On 07/13/2015 05:58 PM, Tang Chen wrote:<br>
</div>
<blockquote type="cite"> <br>
<div>On 07/13/2015 04:35 PM, Abhishek Shrivastava
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="color:rgb(0,0,0)"><span
style="font-family:monospace,monospace">Updating
jobs using </span><font face="monospace,
monospace">"<span
style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo
jenkins-jobs --flush-cache update
/etc/jenkins_jobs/config/". </span><span
style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Also
update the myvendor in examples.yaml</span></font></div>
<div class="gmail_default"
style="color:rgb(0,0,0)"><font
face="monospace, monospace"><span
style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br>
</span></font></div>
</div>
</blockquote>
<br>
Sorry, I updated the jobs, restart the whole
machine. But it still doesn't work.<br>
<br>
By the way, there is no vendor in <font
face="monospace, monospace"><span
style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">examples.yaml.<br>
<br>
It is still this error: </span></font>Project
openstack-dev/sandbox not found<br>
<br>
Anything else should I pay attention to?<br>
<br>
Thanks.<br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 13, 2015
at 1:45 PM, Tang Chen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:tangchen@cn.fujitsu.com"
target="_blank">tangchen@cn.fujitsu.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<br>
<div>On 07/13/2015 03:50 PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:monospace,monospace;color:rgb(0,0,0)">
Use tester or something, also
are you updating the jobs or
not?</div>
</div>
</blockquote>
<br>
</span> I used tester as my vendor. It
doesn't work.<br>
<br>
And what do you mean by updating the
jobs ? I built the
noop-check-cimmunitication <br>
job once in Jenkins UI. Does it matter ?
All the others are not touched.<br>
<br>
And referring to the error, "Project
openstack-dev/sandbox not found", it
seems like <br>
somewhere the project name was wrong.<br>
<br>
right ?
<div>
<div><br>
<br>
Thanks.<br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon,
Jul 13, 2015 at 1:16 PM, Tang
Chen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:tangchen@cn.fujitsu.com"
target="_blank">tangchen@cn.fujitsu.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000"> Hi
Abhishek,<br>
<br>
Thanks for the quick
reply.<span><br>
<br>
<div>On 07/13/2015 03:16
PM, Abhishek
Shrivastava wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div
class="gmail_default"
style="font-family:monospace,monospace;color:#000000">Also check that
Gearman is
connecting or not
through Jenkins
UI.</div>
</div>
<div
class="gmail_extra"><br>
<div
class="gmail_quote">On
Mon, Jul 13, 2015
at 12:45 PM,
Abhishek
Shrivastava <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:abhishek@cloudbyte.com"
target="_blank">abhishek@cloudbyte.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
class="gmail_default"
style="color:rgb(0,0,0)"><font face="monospace, monospace">First of all,
change the
"vendor" to
your vendor
name in <span
style="color:rgb(34,34,34);font-size:12.8000001907349px">/etc/jenkins_jobs/config/proje</span><span
style="color:rgb(34,34,34);font-size:12.8000001907349px">cts.yaml file. </span></font><span
style="font-family:monospace,monospace;color:rgb(34,34,34);font-size:12.8000001907349px">Also,
restart the
zuul and zuul
merger.</span></div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</span> I did the check.
Gearman plugin works find.
In Jenkins UI, I tested
the connection, and it
succeeded. <br>
<br>
And also, I restarted zuul
and zuul merger every time
I modified the yaml files.<br>
<br>
But it doesn't work. <br>
<br>
And the vendor, does that
matter ? And what vendor
name should I provide ?<br>
I cannot find any vendor
info in my Gerrit service
account profile.<br>
For example, is XXX OK ?<br>
<br>
Thanks.
<div>
<div><br>
<br>
<blockquote
type="cite">
<div
class="gmail_extra">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">
<div
class="gmail_default"
style="font-family:monospace,monospace;color:rgb(0,0,0)"><span
style="font-family:arial,sans-serif;color:rgb(34,34,34);font-size:12.8000001907349px"><br>
</span></div>
<div
class="gmail_extra">
<div>
<div><br>
<div
class="gmail_quote">On
Mon, Jul 13,
2015 at 12:29
PM, Tang Chen
<span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:tangchen@cn.fujitsu.com"
target="_blank">tangchen@cn.fujitsu.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">Hi
all,<br>
<br>
I have
constructed my
CI system.<br>
When I tested
it with
sandbox
project, I
posted a patch
to Gerrit.<br>
<br>
<a
moz-do-not-send="true"
href="https://review.openstack.org/201002" rel="noreferrer"
target="_blank">https://review.openstack.org/201002</a><br>
<br>
But I got this
error in zuul
scheduler:<br>
<br>
2015-07-14
14:07:24,921
DEBUG
zuul.Scheduler:
Run handler
awake<br>
2015-07-14
14:07:24,921
DEBUG
zuul.Scheduler:
Fetching
trigger event<br>
2015-07-14
14:07:24,922
DEBUG
zuul.Scheduler:
Processing
trigger event
<TriggerEvent
comment-added
openstack-dev/sandbox
master
201002,1
Verified:1><br>
2015-07-14
14:07:24,922
DEBUG
zuul.Scheduler:
Project
openstack-dev/sandbox
not found<br>
2015-07-14
14:07:24,922
DEBUG
zuul.Scheduler:
Run handler
sleeping<br>
<br>
<br>
My
/etc/zuul/layout/layout.yaml
looks like
this:<br>
<br>
projects:<br>
- name:
openstack-dev/sandbox<br>
check:<br>
-
noop-check-communication<br>
<br>
<br>
My
/etc/jenkins_jobs/config/projects.yaml
looks like
this:<br>
<br>
- project:<br>
name:
sandbox<br>
github-org:
openstack-dev<br>
node:
master<br>
vendor:
myvendor<br>
<br>
jobs:<br>
-
noop-check-communication<br>
-
dsvm-tempest-full:<br>
node:
'devstack_slave
||
devstack-precise-check
|| d-p-c'<br>
<br>
<br>
And Jenkins
master works
fine.<br>
<br>
<br>
Does anyone
know what is
going on here
?
<div>
<div><br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack
Development
Mailing List
(not for usage
questions)<br>
Unsubscribe: <a
moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a
moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br
clear="all">
<div><br>
</div>
</div>
</div>
<span>-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font
color="#0b5394"><b><img
moz-do-not-send="true"><br>
</b></font></div>
<div><font
color="#000000"
face="times
new roman,
serif"
size="2"><b>Thanks
& Regards,<br>
</b></font></div>
<font
color="#000000"><font
face="times
new roman,
serif"
size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font
color="#0000ff"><a moz-do-not-send="true"
href="http://www.cloudbyte.com"
target="_blank">Cloudbyte Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font
color="#0b5394"><b><img
moz-do-not-send="true"><br>
</b></font></div>
<div><font
color="#000000"
face="times
new roman,
serif"
size="2"><b>Thanks
& Regards,<br>
</b></font></div>
<font
color="#000000"><font
face="times
new roman,
serif"
size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font
color="#0000ff"><a moz-do-not-send="true"
href="http://www.cloudbyte.com"
target="_blank">Cloudbyte Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a moz-do-not-send="true" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
__________________________________________________________________________<br>
OpenStack Development
Mailing List (not for usage
questions)<br>
Unsubscribe: <a
moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer"
target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font
color="#0b5394"><b><img
moz-do-not-send="true"><br>
</b></font></div>
<div><font
color="#000000"
face="times
new roman,
serif"
size="2"><b>Thanks
& Regards,<br>
</b></font></div>
<font
color="#000000"><font
face="times
new roman,
serif"
size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font
color="#0000ff"><a
moz-do-not-send="true" href="http://www.cloudbyte.com" target="_blank">Cloudbyte
Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a moz-do-not-send="true" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not
for usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font color="#0b5394"><b><img
moz-do-not-send="true"
src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br>
</b></font></div>
<div><font color="#000000"
face="times new roman,
serif" size="2"><b>Thanks
& Regards,<br>
</b></font></div>
<font color="#000000"><font
face="times new roman,
serif" size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font color="#0000ff"><a
moz-do-not-send="true"
href="http://www.cloudbyte.com"
target="_blank">Cloudbyte
Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a moz-do-not-send="true" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a moz-do-not-send="true" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a moz-do-not-send="true" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font color="#0b5394"><b><img
moz-do-not-send="true"
src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br>
</b></font></div>
<div><font color="#000000" face="times new
roman, serif" size="2"><b>Thanks &
Regards,<br>
</b></font></div>
<font color="#000000"><font face="times new
roman, serif" size="2"><b>Abhishek</b></font><br>
</font></div>
</div>
<div><i><u><font color="#0000ff"><a
moz-do-not-send="true"
href="http://www.cloudbyte.com"
target="_blank">Cloudbyte Inc.</a></font></u></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>