<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Courier New \;color\:black";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math \,serif\;color\:black";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Courier New \;color\:\#222222";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New",serif;
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I found that paramiko does support proxies [1].<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I remember looking at this a long time ago and you should be able to update zuul code to use it [2].<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ramy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[1]
<a href="http://blog.adimian.com/2014/10/paramiko-and-corporate-proxies/">http://blog.adimian.com/2014/10/paramiko-and-corporate-proxies/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[2]
<a href="http://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/lib/gerrit.py#n61">
http://git.openstack.org/cgit/openstack-infra/zuul/tree/zuul/lib/gerrit.py#n61</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> Tang Chen [mailto:tangchen@cn.fujitsu.com]
<br>
<b>Sent:</b> Sunday, July 19, 2015 10:48 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [CI] How to set a proxy for zuul.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Asselin, Abhishek,<br>
<br>
Thanks for the reply. :)<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/19/2015 02:41 AM, Asselin, Ramy wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">HI Abhi & Tang,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Sorry I missed this thread. Let me know if you’ve resolved your issues.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">My repo is undergoing migrations to reuse components in openstack-infra/puppet-openstackci.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">For single-use-nodes, the file you need has been removed here [1]: But I see now that it is still needed, or a different function is needed based on this version
used by infra: [2]. I will explore a solution.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">A couple other notes, please use ci-sandbox [3] instead of sandbox.</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
OK.<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Zuul use behind a proxy: seems you got past this? Could you share your solution?</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
The root cause is that zuul uses a library named paramiko to create connection <br>
with low level socket APIs. And it doesn't provide proxy functionary.<br>
<br>
I tried to use tools like proxychain, to redirect the zuul connection to go through
<br>
my proxy. But it doesn't work. If I use proxychain to run zuul service, it doesn't
<br>
output anything to the log file, and the service will die soon.<br>
<br>
I think, there are two solutions: <br>
1. Add proxy functionality to paramiko. <br>
2. Add proxy functionality to zuul. That means, maybe, <br>
zuul does not use paramiko to create connection, but by itself.<br>
<br>
Solution 1 is much simpler, so for now, I just modified the source code of paramiko.<br>
<br>
I'm using python-socksipy package, and modified <br>
/usr/local/lib/python2.7/dist-packages/paramiko/client.py like this:<br>
<br>
diff --git a/client.py b/client.py<br>
index 15ff696..d7225ed 100644<br>
--- a/client.py<br>
+++ b/client.py<br>
@@ -24,6 +24,7 @@ from binascii import hexlify<br>
import getpass<br>
import os<br>
import socket<br>
+import socks<br>
import warnings<br>
import pdb<br>
<br>
@@ -235,6 +236,7 @@ class SSHClient (ClosingContextManager):<br>
``gss_deleg_creds`` and ``gss_host`` arguments.<br>
"""<br>
<br>
+ """<br>
if not sock:<br>
for (family, socktype, proto, canonname, sockaddr) in socket.getaddrinfo(hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM):<br>
if socktype == socket.SOCK_STREAM:<br>
@@ -251,6 +253,13 @@ class SSHClient (ClosingContextManager):<br>
except:<br>
pass<br>
retry_on_signal(lambda: sock.connect(addr))<br>
+ """<br>
+<br>
+ if not sock:<br>
+ sock = socks.socksocket()<br>
+ sock.setproxy(socks.PROXY_TYPE_SOCKS5, "MY_PROXY_IP", MY_PROXY_PORT, username="XXX", password="XXX")<br>
<br>
# This is review.openstack.org<br>
+ addr = ('104.130.159.134', 29418)<br>
+ retry_on_signal(lambda: sock.connect(addr))<br>
<br>
t = self._transport = Transport(sock, gss_kex=gss_kex, gss_deleg_creds=gss_deleg_creds)<br>
t.use_compression(compress=compress)<br>
<br>
<br>
Of course, this is just a draft. It is only for my case, not for all.<br>
<br>
<br>
BTW, I'm now working on Fujitsu CI System, and really want to join into the development of openstack-infra.<br>
I think the proxy functionality is necessary for many companies. So if you are planing to add the proxy support,
<br>
I think I can help. <br>
<br>
Thanks. :)<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Also, feel free to join 3<sup>rd</sup> party ci IRC meetings on freenode [4]. It’s a great place to ask questions and meet others setting up or maintaining these
systems.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ramy</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">IRC: asselin</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[1]
<a href="https://github.com/rasselin/os-ext-testing/commit/dafe822be7813522a6c7361993169da20b37ffb7">
https://github.com/rasselin/os-ext-testing/commit/dafe822be7813522a6c7361993169da20b37ffb7</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[2]
<a href="https://github.com/openstack-infra/project-config/blob/master/zuul/openstack_functions.py">
https://github.com/openstack-infra/project-config/blob/master/zuul/openstack_functions.py</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[3]
<a href="http://git.openstack.org/cgit/openstack-dev/ci-sandbox/">http://git.openstack.org/cgit/openstack-dev/ci-sandbox/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[4]
<a href="http://eavesdrop.openstack.org/#Third_Party_Meeting">http://eavesdrop.openstack.org/#Third_Party_Meeting</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Abhishek Shrivastava [<a href="mailto:abhishek@cloudbyte.com">mailto:abhishek@cloudbyte.com</a>]
<br>
<b>Sent:</b> Monday, July 13, 2015 11:51 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [CI] How to set a proxy for zuul.</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif">Also if you want to change it you will need to talk with Asselin Ramy who is the owner of the repo you followed.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Jul 14, 2015 at 12:18 PM, Abhishek Shrivastava <<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Cambria Math ,serif;color:black",serif"></span><span style="font-family:"Courier New ;color:black",serif">Basically it is not required, and if you see /etc/jenkins_jobs/config folder you will find one dsvm-cinder-tempest.yaml
which is to be used basically not examples.yaml. So its not an issue.</span><span style="font-family:"Cambria Math ,serif;color:black",serif"></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Jul 14, 2015 at 12:07 PM, Tang Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/14/2015 01:46 PM, Abhishek Shrivastava wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif">Instead of it use reusable_node option.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><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.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Jul 14, 2015 at 9:12 AM, Tang Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">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. <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/14/2015 10:54 AM, Tang Chen wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">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 <b><span style="font-family:"Courier New",serif">jenkins-jobs --flush-cache update</span></b>
<b><span style="font-family:"Courier New",serif">/etc/jenkins_jobs/config/</span></b><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>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/13/2015 05:58 PM, Tang Chen wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/13/2015 04:35 PM, Abhishek Shrivastava wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif">Updating jobs using "<b>sudo jenkins-jobs --flush-cache update /etc/jenkins_jobs/config/".
</b>Also update the myvendor in examples.yaml</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><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 <span style="font-family:"Courier New",serif">examples.yaml.<br>
<br>
It is still this error: </span>Project openstack-dev/sandbox not found<br>
<br>
Anything else should I pay attention to?<br>
<br>
Thanks.<br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Mon, Jul 13, 2015 at 1:45 PM, Tang Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/13/2015 03:50 PM, Abhishek Shrivastava wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Cambria Math ,serif;color:black",serif"></span><span style="font-family:"Courier New ;color:black",serif"> Use tester or something, also are you updating the jobs or not?</span><span style="font-family:"Cambria Math ,serif;color:black",serif"></span><o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
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 ? <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
Thanks.<br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Mon, Jul 13, 2015 at 1:16 PM, Tang Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Abhishek,<br>
<br>
Thanks for the quick reply.<o:p></o:p></p>
<div>
<p class="MsoNormal">On 07/13/2015 03:16 PM, Abhishek Shrivastava wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif">Also check that Gearman is connecting or not through Jenkins UI.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Mon, Jul 13, 2015 at 12:45 PM, Abhishek Shrivastava <<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif">First of all, change the "vendor" to your vendor name in </span><span style="font-size:9.5pt;font-family:"Courier New ;color:#222222",serif">/etc/jenkins_jobs/config/projects.yaml
file. Also, restart the zuul and zuul merger.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
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. <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New ;color:black",serif"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">On Mon, Jul 13, 2015 at 12:29 PM, Tang Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal">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 href="https://review.openstack.org/201002" 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 ? <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0B5394"><img border="0" id="_x0000_i1025" src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"></span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0B5394"><img border="0" id="_x0000_i1026" src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"></span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><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><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0B5394"><img border="0" id="_x0000_i1027" src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"></span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="color:#0B5394"><img border="0" id="_x0000_i1028" src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"></span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Thanks & Regards,</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-size:10.0pt">Abhishek</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><i><u><span style="color:blue"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></span></u></i><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>__________________________________________________________________________<o:p></o:p></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<o:p></o:p></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><o:p></o:p></pre>
<pre><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>