Friday, 2018-04-20

*** SamYaple has joined #softwarefactory02:52
SamYaplehello peoples02:54
SamYaplejust getting around to setting up a poc for SF02:55
SamYaplehaving a bit of trouble looking for the logs i need to fix and error02:55
SamYaplei setup auth to github, callback works according to cauth logs, but then it "Internal Server Error"s02:55
SamYaplecant see to find any errors in any logs02:56
tristanCSamYaple: Is there something in /var/log/httpd/error_log ?03:06
SamYapletristanC: actually apache wasnt logging anything. i restarted it and it appears to be working now (new issue, but unrelated)03:08
SamYapleoh i should clarify this is github enterprise that im running it against (with some modified cauth code)03:09
SamYaplegonna do a patch to support GHE more natively03:09
tristanCoh right, i don't think we ever tested GHE03:09
SamYapleits cool, i have now03:10
SamYaplehorrible caveat is the api is only accessible by site admins.... with no way to configure that03:11
SamYaplebut its easy enough to make configurable, even if its a small subset of users that will use it03:11
SamYapleto make cauth configurable*03:12
tristanCnote that authentication is currently mostly used for the gerrit service, we are still figuring out with upstream how to enable user to interact with the service directly03:12
SamYapleheh i only care about the auth due to internal requirements03:12
SamYaplei wish i didnt have to think about it03:12
tristanC(e.g.: https://review.openstack.org/#/c/562321/1/doc/source/developer/specs/tenant-scoped-admin-web-API.rst )03:13
SamYaple"This call allows a user to re-enqueue a buildset, like the *enqueue* or03:14
SamYaple*enqueue-ref* subcommands of Zuul's CLI."03:14
SamYaplei like that alot03:14
tristanCyes, mhu worked on that integration (see https://softwarefactory-project.io/r/#/c/11249/9 ), but we are on hold to get the api sorted out in zuul-web03:16
SamYaplesuccess! i got a job to run against a patchset, hooked into github enterprise. this was a suprisingly easy task03:37
SamYapleonly took a few hours for a POC03:37
tristanCSamYaple: that's very nice to hear!03:42
tristanCSamYaple: you might want to pull that in to get the gate and release pipeline configured: https://softwarefactory-project.io/r/#/c/11733/3/ansible/roles/sf-repos/templates/config/zuul.d/_pipelines.yaml.j203:44
SamYapleoh nice! will definetely do that once i start planning out a non-poc architecture03:55
*** dsariel has joined #softwarefactory05:48
*** Liuqing has joined #softwarefactory06:36
*** Liuqing has left #softwarefactory06:38
*** ssbarnea_ has joined #softwarefactory07:59
*** jpena|off is now known as jpena08:00
mhuSamYaple, we'd be interested on your feedback on setting up this PoC with github enterprise, did our doc cover everything you needed?08:37
*** dsariel has quit IRC09:25
*** rcarrillocruz has joined #softwarefactory09:40
*** yassine has joined #softwarefactory09:41
*** yassine has quit IRC09:41
*** yassine has joined #softwarefactory09:41
*** yassine is now known as Guest732909:42
*** gundalow has joined #softwarefactory10:03
*** ssbarnea_ has quit IRC11:00
*** ssbarnea_ has joined #softwarefactory11:01
*** ssbarnea_ has quit IRC11:11
*** ssbarnea_ has joined #softwarefactory11:15
*** dsariel has joined #softwarefactory11:22
*** dsariel has quit IRC12:31
dmsimard|offSamYaple: ohai, nice to see you here :D13:27
SamYaplemhu: other than hacking around with the cauth/auth/github.py auth to point it to my enterprise, the process was identical13:31
SamYapledmsimard|off: :)13:31
mhuSamYaple, good to know, we should make cauth GHE friendly - would you mind submitting a patch since you've already done it, or at least share the snippet and we can do the rest ?13:32
mhuwe can do the follow up patch on sf-config as well13:33
SamYapleabsolutely13:35
SamYaplehonestly, easiest way is just going to be paramaterizing 'github.com', the rest stays the same13:35
SamYaplesuper simple patch13:35
SamYaplei havent looked at the upgrade code yet, but i can imagine adding this would be too hard either13:36
mhuSamYaple, yeah that's what I assumed, we can have a field in the sfconfig.yaml file for the github auth that lets operators specify the auth endpoint if they use GHE, the cauth config template will be filled accordingly13:42
*** dsariel has joined #softwarefactory13:47
SamYaplethe ldap drive is a bit of a differnet story13:48
SamYaples/drive/auth/13:48
*** mnaser has quit IRC14:00
*** mnaser has joined #softwarefactory14:01
*** dsariel has quit IRC15:11
*** dsariel has joined #softwarefactory15:34
*** Guest7329 has quit IRC15:47
*** Guest7329 has joined #softwarefactory16:02
SamYaplei told a lie. after diff'ing cauth/auth/github.py i found i also changed the api url, but both of those should be easily configurable16:16
SamYaple(i did a good bit of hand editing while making this work, so i might have missed something else too)16:16
SamYapleand it could use a good bit more validating to catch the errors16:17
SamYapleim excited to be finally wokring on this. ive been eyeing it for a while16:17
*** dsariel has quit IRC16:24
sfbenderNicolas HICHER created software-factory/sfinfo master: update from pike to queens  https://softwarefactory-project.io/r/1200916:37
sfbenderFabien Boucher created www.softwarefactory-project.io master: Add Sprint 2018-16 to the SF website  https://softwarefactory-project.io/r/1201016:40
sfbenderMerged software-factory/sfinfo master: use the job.branch setting to only run stable jobs for master branch  https://softwarefactory-project.io/r/1199716:43
*** jpena is now known as jpena|off17:09
*** ssbarnea_ has quit IRC21:04
*** maeca has joined #softwarefactory21:23
*** maeca has quit IRC21:25

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!