Thanks Doug very much for your quick reply.
Ran your ruby check and no error in layout.yaml file.

I also did check the syntax yaml file using zuul-server cmd:

/usr/bin/python /usr/bin/zuul-server -c /etc/zuul/zuul.conf -l 
/etc/zuul/layout.yaml -t

The syntax is all ok.

The ERROR is a hint?
ERROR zuul.Gearman: Job <gear.Job 0x21b8f50 handle: None name: 
build:openstack-build-job unique: 51ea00c330c84cf9b40
ea38ad6c3f9e6> is not registered with Gearman

Thanks again, any inputs is much apprecicated.

Van


From: Doug Wiegley [mailto:do...@a10networks.com]
Sent: Wednesday, October 01, 2014 4:59 PM
To: Phan, Van; openstack-infra@lists.openstack.org
Subject: Re: [OpenStack-Infra] desperate to get zuul works again, see layout 
setting at the end of email

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.

echo "require 'yaml'; z=YAML.load(File.open('/etc/zuul/layout.yaml').read); 
print z" | ruby


From: <Phan>, Van <tp...@paypal.com<mailto:tp...@paypal.com>>
Date: Wednesday, October 1, 2014 at 5:36 PM
To: 
"openstack-infra@lists.openstack.org<mailto:openstack-infra@lists.openstack.org>"
 
<openstack-infra@lists.openstack.org<mailto:openstack-infra@lists.openstack.org>>
Subject: [OpenStack-Infra] desperate to get zuul works again, see layout 
setting at the end of email

Hi,
Could you please give me a hint how to fix the problem?

We had review/build/approve pipeline working well.

Suddenly, all review requests got zuul reported back as LOST.  Restarted zuul/ 
Jenkins a few times and it still has GEARMAN reported ERROR…

2014-10-01 22:53:37,631 ERROR zuul.Gearman: Job <gear.Job 0x7f5100010a90 
handle: None name: build:openstack-review-job unique: 701cc4fa52c54
462935bcaa276880b99> is not registered with Gearman
2014-10-01 22:53:37,632 INFO zuul.Gearman: Build <gear.Job 0x7f5100010a90 
handle: None name: build:openstack-review-job unique: 701cc4fa52c5
4462935bcaa276880b99> complete, result LOST
ERROR zuul.Gearman: Job <gear.Job 0x21b8f50 handle: None name: 
build:openstack-build-job unique: 51ea00c330c84cf9b40
ea38ad6c3f9e6> is not registered with Gearman
2014-10-01 22:53:37,633 INFO zuul.Gearman: Build <gear.Job 0x21b8f50 handle: 
None name: build:openstack-build-job unique: 51ea00c330c84cf9b4
0ea38ad6c3f9e6> complete, result LOST

Here are the errors in zuul log:

2014-10-01 22:53:16,240 INFO zuul.Gerrit: Updating information for 2366,1
2014-10-01 22:53:33,063 INFO zuul.Gerrit: Updating information for 2511,1
2014-10-01 22:53:34,934 INFO zuul.Scheduler: Adding C3/keystone-plugins, 
<Change 0x1e742d0 2511,1> to <Pipeline review>
2014-10-01 22:53:34,935 INFO zuul.IndependentPipelineManager: Troubleshooting 
addChange
2014-10-01 22:53:34,935 INFO zuul.IndependentPipelineManager: Reporting start, 
action [<ActionReporter <zuul.reporter.gerrit.Reporter object
at 0x21bbe90>, {'code-review': 0}>] change <Change 0x1e742d0 2511,1>
2014-10-01 22:53:36,028 INFO zuul.Gerrit: Updating information for 2511,1
2014-10-01 22:53:36,044 INFO zuul.IndependentPipelineManager: Change <Change 
0x1e742d0 2511,1> depends on changes []
2014-10-01 22:53:37,628 INFO zuul.IndependentPipelineManager: Change <Change 
0x1e742d0 2511,1> depends on changes []
2014-10-01 22:53:37,629 INFO zuul.Gearman: Launch job openstack-review-job for 
change <Change 0x1e742d0 2511,1> with dependent changes []
2014-10-01 22:53:37,631 ERROR zuul.Gearman: Job <gear.Job 0x7f5100010a90 
handle: None name: build:openstack-review-job unique: 701cc4fa52c54
462935bcaa276880b99> is not registered with Gearman
2014-10-01 22:53:37,632 INFO zuul.Gearman: Build <gear.Job 0x7f5100010a90 
handle: None name: build:openstack-review-job unique: 701cc4fa52c5
4462935bcaa276880b99> complete, result LOST
2014-10-01 22:53:37,632 INFO zuul.Gearman: Launch job openstack-build-job for 
change <Change 0x1e742d0 2511,1> with dependent changes []
2014-10-01 22:53:37,633 ERROR zuul.Gearman: Job <gear.Job 0x21b8f50 handle: 
None name: build:openstack-build-job unique: 51ea00c330c84cf9b40
ea38ad6c3f9e6> is not registered with Gearman
2014-10-01 22:53:37,633 INFO zuul.Gearman: Build <gear.Job 0x21b8f50 handle: 
None name: build:openstack-build-job unique: 51ea00c330c84cf9b4
0ea38ad6c3f9e6> complete, result LOST
2014-10-01 22:53:37,634 INFO zuul.IndependentPipelineManager: Reporting change 
<Change 0x1e742d0 2511,1>, actions: [<ActionReporter <zuul.re
porter.smtp.Reporter object at 0x21bbed0>, {'to': 
'tp...@paypal.com<mailto:'tp...@paypal.com>', 'from': 
'cicdz...@paypal.com<mailto:'cicdz...@paypal.com>'}>, <ActionReporter 
<zuul.reporter.gerrit
.Reporter object at 0x21bbe90>, {'code-review': -1}>]

Sample of project settings in layout.yaml:

project-templates:
  - name: openstack-template
    review:
     - 'openstack-review-job'
     - 'openstack-build-job'
    approval:
     - 'openstack-approval-job'
projects:
  - name: C3/nova-scheduler
    template:
     - name: openstack-template
  - name: C3/keystone-plugins
    template:
     - name: openstack-template
  - name: C3/nova
    template:
     - name: openstack-template

Thanks very much.
Van
_______________________________________________
OpenStack-Infra mailing list
OpenStack-Infra@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

Reply via email to