Hi. Thanks for reporting the issue. Tristan had a deeper look at it and it turns out that the Zuul service was not restarted after the reconfiguration case.
So a simple: systemctl restart zuul after the sfconfig.sh run should fix the issue. The futur 2.2.6 of SF will contains that patch that fix the issue: http://softwarefactory-project.io/r/5279 Let us know if it works from your side. Fabien Le 02/11/2016 à 19:32, Andrei Perapiolkin a écrit : > Hello everybody. > > I was tending to establish third party CI on my local system. > > > I have added: > > gerrit_connections: > - name: "openstack_gerrit" > driver: gerrit > hostname: review.openstack.org > puburl: https://review.openstack.org/r/ > username: andrei > disabled: False > > to > > /etc/puppet/hiera/sf/sfconfig.yaml > > > Added: > > pipelines: > - name: 3rd-party-check > manager: IndependentPipelineManager > source: openstack_gerrit > trigger: > openstack_gerrit: > - event: patchset-created > - event: comment-added > - event: ref-updated > start: > openstack_gerrit: > verified: 0 > jobs: > - name: openstack-infra-check > branch: master > voting: false > > > to config/zuul/thirdparty.yaml; > > and > > - name: openstack-dev/sandbox > 3rd-party-check: > - openstack-infra-check > > to config/zuul/projects.yaml; > > > Also I have fixed the problem with gerrit driver > > config-check: fix invalid zuul.conf for gerrit_connections > > I482501c4d240950e5d30aa0b3cd8899daffd1064 > > > https://github.com/redhat-cip/software-factory/commit/34fcc746382dd6f9536c4c06252f96123cabff51 > > > And have changed > > /var/lib/jenkins/defconf/zuul.conf > > to match my current zuul.conf, because it was not updating with time the > /etc/zuul/zuul.conf was updated. > > That allowed me to solve the problem with config-check step. > > > OpenStack account is satted properly and I ma able to listen gerrit stream > with zuul private key. > > > But now I am failing in config-update. With something like > > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Prepare to reconfigure > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Run handler awake > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Fetching management event > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Processing management event > <zuul.scheduler.ReconfigureEvent object at 0x1fdd190> > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Performing reconfiguration > 2016-11-02 17:11:25,777 DEBUG zuul.Scheduler: Waiting for reconfiguration > 2016-11-02 17:11:25,818 ERROR zuul.Server: Reconfiguration failed: > Traceback (most recent call last): > File "/srv/zuul/lib/python2.7/site-packages/zuul/cmd/server.py", line 67, > in reconfigure_handler > self.log.debug("Reconfiguration triggered") > File "/srv/zuul/lib/python2.7/site-packages/zuul/scheduler.py", line 709, > in reconfigure > event.wait() > File "/srv/zuul/lib/python2.7/site-packages/zuul/scheduler.py", line 140, > in wait > six.reraise(*self._exc_info) > File "/srv/zuul/lib/python2.7/site-packages/zuul/scheduler.py", line 1045, > in process_management_queue > self._doReconfigureEvent(event) > File "/srv/zuul/lib/python2.7/site-packages/zuul/scheduler.py", line 809, > in _doReconfigureEvent > self.config.get('zuul', 'layout_config'), self.connections) > File "/srv/zuul/lib/python2.7/site-packages/zuul/scheduler.py", line 400, > in _parseConfig > validator.validate(data, connections) > File "/srv/zuul/lib/python2.7/site-packages/zuul/layoutvalidator.py", line > 367, in validate > schema(data) > File "/usr/lib/python2.7/site-packages/voluptuous.py", line 337, in __call__ > return self._compiled([], data) > File "/usr/lib/python2.7/site-packages/voluptuous.py", line 635, in > validate_dict > return base_validate(path, iteritems(data), out) > File "/usr/lib/python2.7/site-packages/voluptuous.py", line 471, in > validate_mapping > raise MultipleInvalid(errors) > MultipleInvalid: extra keys not allowed @ > data['pipelines'][5]['trigger']['openstack_gerrit'] > 2016-11-02 17:11:25,821 DEBUG zuul.IndependentPipelineManager: Starting queue > processor: check > > > it is taken from /var/log/zuul/debug.log. > > Can anybody please help me or give a advise? > > > Thank you. > > Andrei Perepiolkin > > > > > _______________________________________________ > Softwarefactory mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/softwarefactory > _______________________________________________ Softwarefactory-dev mailing list [email protected] https://www.redhat.com/mailman/listinfo/softwarefactory-dev
