17:32:41 <asselin__> #startmeeting thirdparty 17:32:41 <openstack> Meeting started Tue Oct 4 17:32:41 2016 UTC and is due to finish in 60 minutes. The chair is asselin__. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:32:42 <openstack> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:32:44 <openstack> The meeting name has been set to 'thirdparty' 17:32:54 <asselin__> dragonmaster, ask away :) 17:33:03 <dragonmaster> thanks asselin__ 17:33:21 <ja3> sounds like dragonmaster has q's. I'm on another call now. 17:33:33 <dragonmaster> so, (1) would we be able to use central auth with zuul / gerrit ? 17:33:41 <dragonmaster> ie - ldap auth 17:34:06 <asselin__> dragonmaster, gerrit supports ldap auth 17:34:17 <dragonmaster> yeah, 17:34:17 <asselin__> zuul uses ssh public key to talk to gerrit 17:34:48 <dragonmaster> ok 17:35:09 <dragonmaster> so, as long as a user exists with that key, it should work 17:35:51 <asselin__> yes. Are you setting up 3rd party ci? or a separate gerrit/zuul installation? 17:36:36 <dragonmaster> our own zuul / gerrit stack which will integrate with private gitlab server 17:37:16 <dragonmaster> ci would be either jenkins (i know it was how openstack used to be built) 17:37:26 <asselin__> #link http://docs.openstack.org/infra/zuul/connections.html#gerrit 17:37:30 <dragonmaster> but potentially switch to buildbot 17:37:48 <asselin__> this is where your configure zuul with the gerrit username and path to public ssh key 17:41:21 <dragonmaster> but , take a step back 17:41:24 <dragonmaster> from. http://docs.openstack.org/infra/zuul/quick-start.html 17:41:50 <dragonmaster> pip install zuul doesnt active the webui component from my tests 17:42:52 <asselin__> which webui component? 17:43:44 <dragonmaster> zuul.openstack.org has the gates displayed there 17:44:19 <asselin__> look at http://git.openstack.org/cgit/openstack-infra/puppet-zuul/tree/templates/zuul.vhost.erb, seems it's on port 8001 ? 17:45:08 <dragonmaster> from my zuul server (base install of trusty with zuul) 17:45:13 <dragonmaster> root@zuul01:~# netstat -ntap | grep -i listen 17:45:13 <dragonmaster> tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 800/mysqld 17:45:15 <dragonmaster> tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 889/memcached 17:45:16 <dragonmaster> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 398/sshd 17:45:17 <dragonmaster> tcp 0 0 0.0.0.0:4730 0.0.0.0:* LISTEN 220/gearmand 17:45:18 <dragonmaster> tcp6 0 0 :::22 :::* LISTEN 398/sshd 17:45:19 <dragonmaster> tcp6 0 0 :::4730 :::* LISTEN 220/gearmand 17:47:06 <asselin__> tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN 13239/python 17:47:34 <asselin__> zuul 13239 1 3 Sep28 ? 04:13:53 /usr/bin/python /usr/local/bin/zuul-server 17:48:02 <asselin__> but this is an older version of zuul...not sure if that still applies ^^ 17:48:19 <dragonmaster> taking a quick look, maybe the zuul-server didn’t startup 17:48:26 <asselin__> how many zuul-server processes are running? 17:49:52 <dragonmaster> seems it’s dying, i’ll need to make sure my configs are correct 17:50:11 <asselin__> use -f to run it in foreground mode 17:50:51 <asselin__> sorry, I mean -d 17:50:57 <asselin__> -d do not run as a daemon 17:51:44 <dragonmaster> yeah, just did it 17:52:12 <dragonmaster> directory /var/lib/zuul didnt get created with he install 17:52:50 <dragonmaster> stacktrace::: 17:52:53 <dragonmaster> root@zuul01:~# zuul-server -d 17:52:53 <dragonmaster> Traceback (most recent call last): 17:52:55 <dragonmaster> File "/usr/local/bin/zuul-server", line 10, in <module> 17:52:56 <dragonmaster> sys.exit(main()) 17:52:58 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/cmd/server.py", line 239, in main 17:53:00 <dragonmaster> server.main() 17:53:01 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/cmd/server.py", line 164, in main 17:53:03 <dragonmaster> self.sched = zuul.scheduler.Scheduler(self.config) 17:53:04 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/scheduler.py", line 265, in __init__ 17:53:06 <dragonmaster> time_dir = self._get_time_database_dir() 17:53:07 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/scheduler.py", line 759, in _get_time_database_dir 17:53:09 <dragonmaster> os.mkdir(d) 17:53:10 <dragonmaster> OSError: [Errno 2] No such file or directory: '/var/lib/zuul/times' 17:53:12 <dragonmaster> Traceback (most recent call last): 17:53:13 <dragonmaster> File "/usr/local/bin/zuul-server", line 10, in <module> 17:53:15 <dragonmaster> sys.exit(main()) 17:53:16 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/cmd/server.py", line 239, in main 17:53:18 <dragonmaster> server.main() 17:53:19 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/cmd/server.py", line 159, in main 17:53:21 <dragonmaster> self.start_gear_server() 17:53:22 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/zuul/cmd/server.py", line 132, in start_gear_server 17:53:22 <asselin__> dragonmaster, use http://paste.openstack.org/ next time ^^ 17:53:24 <dragonmaster> statsd_prefix='zuul.geard') 17:53:25 <dragonmaster> File "/usr/local/lib/python2.7/dist-packages/gear/__init__.py", line 2514, in __init__ 17:53:26 <dragonmaster> raise Exception("Could not open socket") 17:53:27 <dragonmaster> Exception: Could not open socket 17:53:36 <dragonmaster> will do 17:54:29 <asselin__> dragonmaster, I wonder if that's hard-coded in the code or a default that you need to overide in a conf file? 17:54:52 <asselin__> dragonmaster, either way, most folks install it using puppet: http://git.openstack.org/cgit/openstack-infra/puppet-zuul/ 17:55:41 <asselin__> or http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/manifests/zuul_scheduler.pp 17:55:41 <dragonmaster> we’ve addoped ansible for our openstack deployments 17:55:59 <dragonmaster> but will definately look at the puppet 17:56:22 <dragonmaster> try reverse engineer and contribute back 17:57:18 <asselin__> try this then: http://git.openstack.org/cgit/openstack/ansible-role-zuul/ 17:58:45 <asselin__> never used it, but I knew Paul Belanger was working it a while back...didn't realize until now that it's official 17:59:12 <asselin__> dragonmaster, we have about 2 minutes left. We can continue in #openstack-infra if you like. 17:59:25 <stevemar> o/ 17:59:27 <dragonmaster> thanks asselin__ 17:59:27 <asselin__> #endmeeting