*** Apoorva_ has quit IRC | 00:02 | |
*** Apoorva has joined #openstack-third-party-ci | 00:02 | |
*** Apoorva_ has joined #openstack-third-party-ci | 02:03 | |
*** Apoorva has quit IRC | 02:06 | |
*** Apoorva_ has quit IRC | 02:07 | |
*** rfolco has quit IRC | 02:40 | |
lennyb | asselin, try sudo -u zuul /opt/zuul/zuul/cmd/server.py -d | 05:26 |
---|---|---|
lennyb | sometimes it can crush even if zuul.log was created with root, thus zuul user can't write to it and crashes | 05:27 |
lennyb | asselin, your paste indicates that either you have another zuul process running or zuul.pid left. I suggest removing zuul.pid and recheck running zuul procs. | 05:30 |
lennyb | I also had similar issue with python-lockfile package and had to remove it eventually ( sudo apt-get remove python-lockfile ) | 05:31 |
*** isaacb has joined #openstack-third-party-ci | 06:31 | |
*** stakeda has quit IRC | 09:32 | |
*** rfolco has joined #openstack-third-party-ci | 11:59 | |
*** krtaylor has joined #openstack-third-party-ci | 12:25 | |
*** krtaylor has quit IRC | 12:56 | |
*** krtaylor has joined #openstack-third-party-ci | 13:20 | |
*** krtaylor has quit IRC | 13:41 | |
*** isaacb has quit IRC | 13:58 | |
*** krtaylor has joined #openstack-third-party-ci | 14:01 | |
*** isaacb has joined #openstack-third-party-ci | 14:22 | |
*** krtaylor has quit IRC | 14:35 | |
asselin | very strange. Running this as zuul user works fine... python -m pdb /usr/local/bin/zuul-server -c /etc/zuul/zuul.conf -l /etc/zuul/layout.yaml | 14:45 |
asselin | and also w/o -m pdb...so something wrong I think with /etc/init.d/zuul-server | 14:46 |
*** isaacb has quit IRC | 15:08 | |
*** krtaylor has joined #openstack-third-party-ci | 15:42 | |
*** Apoorva has joined #openstack-third-party-ci | 16:00 | |
*** krtaylor has quit IRC | 16:16 | |
asselin | so zuul start fine if I execute as root: start-stop-daemon --start --pidfile /var/run/zuul/zuul.pid -c zuul --exec /usr/local/bin/zuul-server -- | 16:28 |
asselin | but run it as part of bash -x /etc/init.d/zuul start | 16:29 |
asselin | and it fails | 16:29 |
*** Apoorva has quit IRC | 16:57 | |
*** Apoorva has joined #openstack-third-party-ci | 17:01 | |
*** Apoorva has quit IRC | 17:01 | |
*** Apoorva has joined #openstack-third-party-ci | 17:07 | |
*** asselin has quit IRC | 17:31 | |
*** krtaylor has joined #openstack-third-party-ci | 17:33 | |
lennyb | looks like permission issue somewhere. if you run it as root, then probably some of the created files have root permissions and user zuul fails. can t you run bash -x /etc/init.d/zuul star | 18:31 |
*** krtaylor has quit IRC | 18:31 | |
*** asselin has joined #openstack-third-party-ci | 18:45 | |
asselin | lennyb, bash -x /etc/init.d/zuul start is the same result as service zuul start | 18:46 |
asselin | I ran that command as rot | 18:46 |
asselin | root* | 18:46 |
lennyb | same pid error? did you try to remove it, check that no procs are running and start again? | 18:50 |
asselin | actually it worked this time...?? | 18:52 |
asselin | I don't get it.... | 18:53 |
*** krtaylor has joined #openstack-third-party-ci | 19:58 | |
*** krtaylor has quit IRC | 20:13 | |
mmedvede | as a rule of thumb, always run zuul under the same user as it would be running as daemon | 20:21 |
mmedvede | assuming it is a zuul user, always 'sudo su zuul' | 20:21 |
mmedvede | it saved me a lot of headaches with sorting through messed up permissions everywhere | 20:21 |
*** rfolco has quit IRC | 20:47 | |
*** Apoorva_ has joined #openstack-third-party-ci | 21:15 | |
*** Apoorva has quit IRC | 21:17 | |
*** Apoorva_ has quit IRC | 21:25 | |
*** Apoorva has joined #openstack-third-party-ci | 21:26 | |
*** rfolco has joined #openstack-third-party-ci | 21:38 | |
*** rfolco has quit IRC | 22:07 | |
*** Apoorva has quit IRC | 23:19 | |
*** Apoorva has joined #openstack-third-party-ci | 23:25 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!