From 7fd55cb1d54bfa3fc7b378c5389624e0502b325d Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 11 Sep 2015 12:49:26 -0700 Subject: [PATCH] Update zuul stop/start docs during project rename We no longer wait for zuul to stop cleanly on its own (too slow with long queues). Instead we record the queue state, forcefully stop zuul, do the project renames, start zuul, then reenqueue the previous queue state. Document this newer and quicker process in the project renaming doc. Change-Id: I5127d427fdb7ff124360a956a26e25b502522608 --- doc/source/gerrit.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index 1b3eaeab3e..5d741eec48 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -408,8 +408,10 @@ To rename a project: #. Gracefully stop Zuul on zuul.openstack.org:: - sudo kill -USR1 $(cat /var/run/zuul/zuul.pid) - rm -f /var/run/zuul/zuul.pid /var/run/zuul/zuul.lock + python /opt/zuul/tools/zuul-changes.py http://zuul.openstack.org gate >gate.sh + python /opt/zuul/tools/zuul-changes.py http://zuul.openstack.org check >check.sh + sudo invoke-rc.d zuul stop + sudo rm -f /var/run/zuul/zuul.pid /var/run/zuul/zuul.lock #. Stop Gerrit on review.openstack.org:: @@ -454,6 +456,8 @@ To rename a project: #. Start Zuul on zuul.openstack.org:: sudo invoke-rc.d zuul start + sudo bash gate.sh + sudo bash check.sh #. Rename any associated groups whose names may have changed::