<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</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>This might not be your problem, but all of my silent zuul stoppages have been YAML syntax errors. Try running this; if it’s prints something dictionary like, the syntax is fine. If it throws an exception, the yaml file is wrong.</div>
<div><br>
</div>
<div>
<div>echo "require 'yaml'; z=YAML.load(File.open('/etc/zuul/layout.yaml').read); print z" | ruby</div>
</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><Phan>, Van <<a href="mailto:tphan@paypal.com">tphan@paypal.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, October 1, 2014 at 5:36 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-infra@lists.openstack.org">openstack-infra@lists.openstack.org</a>" <<a href="mailto:openstack-infra@lists.openstack.org">openstack-infra@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[OpenStack-Infra] desperate to get zuul works again, see layout setting at the end of email<br>
</div>
<div><br>
</div>
<div 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">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@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]-->
<div lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">Could you please give me a hint how to fix the problem? <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We had review/build/approve pipeline working well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Suddenly, all review requests got zuul reported back as LOST. Restarted zuul/ Jenkins a few times and it still has GEARMAN reported ERROR…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,631 ERROR zuul.Gearman: Job <gear.Job 0x7f5100010a90 handle: None name: build:openstack-review-job unique: 701cc4fa52c54<o:p></o:p></p>
<p class="MsoNormal">462935bcaa276880b99> is not registered with Gearman<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,632 INFO zuul.Gearman: Build <gear.Job 0x7f5100010a90 handle: None name: build:openstack-review-job unique: 701cc4fa52c5<o:p></o:p></p>
<p class="MsoNormal">4462935bcaa276880b99> complete, result LOST<o:p></o:p></p>
<p class="MsoNormal">ERROR zuul.Gearman: Job <gear.Job 0x21b8f50 handle: None name: build:openstack-build-job unique: 51ea00c330c84cf9b40<o:p></o:p></p>
<p class="MsoNormal">ea38ad6c3f9e6> is not registered with Gearman<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,633 INFO zuul.Gearman: Build <gear.Job 0x21b8f50 handle: None name: build:openstack-build-job unique: 51ea00c330c84cf9b4<o:p></o:p></p>
<p class="MsoNormal">0ea38ad6c3f9e6> complete, result LOST<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are the errors in zuul log:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2014-10-01 22:53:16,240 INFO zuul.Gerrit: Updating information for 2366,1<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:33,063 INFO zuul.Gerrit: Updating information for 2511,1<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:34,934 INFO zuul.Scheduler: Adding C3/keystone-plugins, <Change 0x1e742d0 2511,1> to <Pipeline review><o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:34,935 INFO zuul.IndependentPipelineManager: Troubleshooting addChange<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:34,935 INFO zuul.IndependentPipelineManager: Reporting start, action [<ActionReporter <zuul.reporter.gerrit.Reporter object<o:p></o:p></p>
<p class="MsoNormal">at 0x21bbe90>, {'code-review': 0}>] change <Change 0x1e742d0 2511,1><o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:36,028 INFO zuul.Gerrit: Updating information for 2511,1<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:36,044 INFO zuul.IndependentPipelineManager: Change <Change 0x1e742d0 2511,1> depends on changes []<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,628 INFO zuul.IndependentPipelineManager: Change <Change 0x1e742d0 2511,1> depends on changes []<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,629 INFO zuul.Gearman: Launch job openstack-review-job for change <Change 0x1e742d0 2511,1> with dependent changes []<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,631 ERROR zuul.Gearman: Job <gear.Job 0x7f5100010a90 handle: None name: build:openstack-review-job unique: 701cc4fa52c54<o:p></o:p></p>
<p class="MsoNormal">462935bcaa276880b99> is not registered with Gearman<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,632 INFO zuul.Gearman: Build <gear.Job 0x7f5100010a90 handle: None name: build:openstack-review-job unique: 701cc4fa52c5<o:p></o:p></p>
<p class="MsoNormal">4462935bcaa276880b99> complete, result LOST<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,632 INFO zuul.Gearman: Launch job openstack-build-job for change <Change 0x1e742d0 2511,1> with dependent changes []<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,633 ERROR zuul.Gearman: Job <gear.Job 0x21b8f50 handle: None name: build:openstack-build-job unique: 51ea00c330c84cf9b40<o:p></o:p></p>
<p class="MsoNormal">ea38ad6c3f9e6> is not registered with Gearman<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,633 INFO zuul.Gearman: Build <gear.Job 0x21b8f50 handle: None name: build:openstack-build-job unique: 51ea00c330c84cf9b4<o:p></o:p></p>
<p class="MsoNormal">0ea38ad6c3f9e6> complete, result LOST<o:p></o:p></p>
<p class="MsoNormal">2014-10-01 22:53:37,634 INFO zuul.IndependentPipelineManager: Reporting change <Change 0x1e742d0 2511,1>, actions: [<ActionReporter <zuul.re<o:p></o:p></p>
<p class="MsoNormal">porter.smtp.Reporter object at 0x21bbed0>, {'to': <a href="mailto:'tphan@paypal.com">
'tphan@paypal.com</a>', 'from': <a href="mailto:'cicdzuul@paypal.com">'cicdzuul@paypal.com</a>'}>, <ActionReporter <zuul.reporter.gerrit<o:p></o:p></p>
<p class="MsoNormal">.Reporter object at 0x21bbe90>, {'code-review': -1}>]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sample of project settings in layout.yaml:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">project-templates:<o:p></o:p></p>
<p class="MsoNormal"> - name: openstack-template<o:p></o:p></p>
<p class="MsoNormal"> review:<o:p></o:p></p>
<p class="MsoNormal"> - 'openstack-review-job'<o:p></o:p></p>
<p class="MsoNormal"> - 'openstack-build-job'<o:p></o:p></p>
<p class="MsoNormal"> approval:<o:p></o:p></p>
<p class="MsoNormal"> - 'openstack-approval-job'<o:p></o:p></p>
<p class="MsoNormal">projects:<o:p></o:p></p>
<p class="MsoNormal"> - name: C3/nova-scheduler<o:p></o:p></p>
<p class="MsoNormal"> template:<o:p></o:p></p>
<p class="MsoNormal"> - name: openstack-template<o:p></o:p></p>
<p class="MsoNormal"> - name: C3/keystone-plugins<o:p></o:p></p>
<p class="MsoNormal"> template:<o:p></o:p></p>
<p class="MsoNormal"> - name: openstack-template<o:p></o:p></p>
<p class="MsoNormal"> - name: C3/nova<o:p></o:p></p>
<p class="MsoNormal"> template:<o:p></o:p></p>
<p class="MsoNormal"> - name: openstack-template<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks very much.<o:p></o:p></p>
<p class="MsoNormal">Van<o:p></o:p></p>
</div>
</div>
</div>
</span>
</body>
</html>