Friday, 2018-12-21

*** rascasoft has joined #openstack-infra00:04
*** jamesmcarthur has joined #openstack-infra00:04
*** lujinluo has joined #openstack-infra00:05
*** _alastor_ has quit IRC00:06
*** jamesmcarthur has quit IRC00:08
*** lujinluo has quit IRC00:09
*** tpsilva has joined #openstack-infra00:09
*** rascasoft has quit IRC00:10
mtreinishmordred: heh, I don't know. I just spent several hours today trying to get openstack-health deployed via helm charts that I wrote 4 months ago (so I didn't remember all the details) before I just gave up and did it manually in a vm by hand :)00:11
*** rtjure has quit IRC00:14
*** wolverineav has quit IRC00:15
*** wolverineav has joined #openstack-infra00:15
*** Swami has quit IRC00:16
*** bobh has joined #openstack-infra00:17
*** wolverineav has quit IRC00:20
*** bobh has quit IRC00:22
*** rtjure has joined #openstack-infra00:22
*** bobh has joined #openstack-infra00:27
*** tosky has quit IRC00:28
*** wolverineav has joined #openstack-infra00:38
*** wolverineav has quit IRC00:43
openstackgerritJames E. Blair proposed openstack-infra/system-config master: Add gitea k8s resource definitions and playbook  https://review.openstack.org/62675900:45
corvusfungi, mordred: ^ that update creates an initial admin user in gitea -- i think we just might be able to have this thing fully bootstrapped by automation :)00:45
*** wolverineav has joined #openstack-infra00:46
fungithat's one up on gerrit at any rate00:46
corvuswell, actually, we've also figured out how to do that for gerrit (via the zuul quickstart)00:46
fungiahh00:46
fungitl;dr on how it creates an initial admin account for gerrit?00:46
corvusgimme a minute :)00:49
*** hwoarang has quit IRC00:49
funginot important, i was curious, just not curious enough to dissect the test setup00:50
*** wolverineav has quit IRC00:50
*** jamesmcarthur has joined #openstack-infra00:50
*** hwoarang has joined #openstack-infra00:50
corvusfungi: oh, hrm.  i think it may rely on the 'become' mode.00:51
corvusso maybe not quite what we need yet00:51
fungiahh, yeah that'd work for a test setup00:51
corvusreally good chance that with notedb we could commit the admin user out of band00:52
fungifwiw, i know a way to do it with gerrit by leveraging the builtin superuser account through the ssh api, but it's obscure and i don't know if it'll continue to work in future versions00:52
corvusyeah -- for some reason that didn't work for me with the zuul quickstart, but i don't recall why (the error was rather obscure, and may have had to do with an interaction with the become plugin)00:53
corvusor, as you say, it may just be broken in the newer releases00:54
*** wolverineav has joined #openstack-infra00:56
*** wolverineav has quit IRC00:56
*** wolverineav has joined #openstack-infra00:56
openstackgerritJames E. Blair proposed openstack-infra/system-config master: Add jinja-init Dockerfile  https://review.openstack.org/62662600:58
*** jamesmcarthur has quit IRC01:04
*** sthussey has quit IRC01:20
*** mriedem has quit IRC01:20
*** rh-jelabarre has joined #openstack-infra01:24
*** rascasoft has joined #openstack-infra01:31
*** wolverineav has quit IRC01:31
*** wolverineav has joined #openstack-infra01:33
*** jamesmcarthur has joined #openstack-infra01:35
*** rascasoft has quit IRC01:37
*** wolverineav has quit IRC01:37
*** jamesmcarthur has quit IRC01:42
*** dave-mccowan has quit IRC01:50
*** bhavikdbavishi has joined #openstack-infra01:52
*** armax has quit IRC01:59
*** gyee has quit IRC01:59
*** hongbin has joined #openstack-infra02:00
*** tpsilva has quit IRC02:19
*** rascasoft has joined #openstack-infra02:23
*** rascasoft has quit IRC02:31
*** jamesmcarthur has joined #openstack-infra02:32
*** bhavikdbavishi has quit IRC02:35
*** wuchongyao has joined #openstack-infra02:37
wuchongyaoThe external CI systemc reports error "SSHException: not a vaild EC private key file"02:39
wuchongyaoI post my public key to openstack-infra email list ,but no response02:39
*** wolverineav has joined #openstack-infra02:42
*** wolverineav has quit IRC02:47
*** mrsoul has quit IRC02:58
*** ykarel|away has joined #openstack-infra02:59
*** jamesmcarthur has quit IRC03:03
*** jamesmcarthur has joined #openstack-infra03:06
*** hamzy_ has quit IRC03:10
*** _alastor_ has joined #openstack-infra03:10
*** rascasoft has joined #openstack-infra03:12
*** _alastor_ has quit IRC03:15
*** psachin has joined #openstack-infra03:20
*** rascasoft has quit IRC03:22
*** jamesmcarthur has quit IRC03:24
*** jamesmcarthur has joined #openstack-infra03:25
*** wuchongyao has quit IRC03:29
*** bhavikdbavishi has joined #openstack-infra03:31
*** jamesmcarthur has quit IRC03:48
*** jamesmcarthur has joined #openstack-infra03:48
*** lbragstad has quit IRC03:52
*** bobh has quit IRC03:55
*** bhavikdbavishi has quit IRC04:02
*** udesale has joined #openstack-infra04:05
*** hwoarang has quit IRC04:16
*** hwoarang has joined #openstack-infra04:16
*** eernst has joined #openstack-infra04:22
*** eernst has quit IRC04:24
*** rh-jelabarre has quit IRC04:25
*** jamesmcarthur has quit IRC04:37
*** jamesmcarthur has joined #openstack-infra04:39
*** janki has joined #openstack-infra04:44
*** bhavikdbavishi has joined #openstack-infra04:50
*** jamesmcarthur has quit IRC04:51
*** ykarel|away is now known as ykarel04:53
*** jamesmcarthur has joined #openstack-infra05:00
*** sambetts_ has quit IRC05:00
*** hwoarang has quit IRC05:03
*** hwoarang has joined #openstack-infra05:05
*** jamesmcarthur has quit IRC05:05
*** sean-k-mooney has quit IRC05:18
*** jamesmcarthur has joined #openstack-infra05:32
*** ykarel has quit IRC05:35
*** jamesmcarthur has quit IRC05:38
*** jamesmcarthur has joined #openstack-infra05:39
*** Douhet has left #openstack-infra05:40
*** jamesmcarthur has quit IRC05:43
*** jamesdenton has quit IRC05:45
*** jamesden_ has joined #openstack-infra05:46
*** wolverineav has joined #openstack-infra05:47
*** hwoarang has quit IRC05:49
*** hwoarang has joined #openstack-infra05:50
*** ykarel has joined #openstack-infra05:53
*** hongbin has quit IRC05:55
*** eernst has joined #openstack-infra06:02
*** bhavikdbavishi has quit IRC06:07
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Interpret ANSI while streaming logs  https://review.openstack.org/62681706:09
*** psachin has quit IRC06:16
*** wolverineav has quit IRC06:17
openstackgerritSurya Prakash (spsurya) proposed openstack-infra/project-config master: Add 'Review-Priority' for Kolla repos  https://review.openstack.org/62682406:26
*** benj_- has quit IRC06:30
*** benj_ has joined #openstack-infra06:34
*** psachin has joined #openstack-infra06:37
*** janki has quit IRC06:38
*** slaweq has joined #openstack-infra07:03
*** eernst has quit IRC07:09
*** aojea has joined #openstack-infra07:09
*** _alastor_ has joined #openstack-infra07:11
*** rcernin has quit IRC07:16
*** _alastor_ has quit IRC07:16
openstackgerritMerged openstack-infra/project-config master: Use renamed template 'integrated-gate-py3'  https://review.openstack.org/62608707:19
*** quiquell|off is now known as quiquell07:24
*** pgaxatte has joined #openstack-infra07:26
*** gfidente has joined #openstack-infra07:28
*** quiquell is now known as quiquell|brb07:32
*** wolverineav has joined #openstack-infra07:38
*** e0ne has joined #openstack-infra07:39
*** lujinluo has joined #openstack-infra07:41
*** wolverineav has quit IRC07:43
*** irdr has quit IRC07:44
*** dpawlik has joined #openstack-infra07:45
*** dpawlik has quit IRC07:48
*** dpawlik has joined #openstack-infra07:48
*** ykarel is now known as ykarel|lunch07:50
*** irdr has joined #openstack-infra07:50
*** bhavikdbavishi has joined #openstack-infra07:52
*** bhavikdbavishi has quit IRC07:58
*** quiquell|brb is now known as quiquell08:01
*** rpittau has joined #openstack-infra08:02
*** ginopc has joined #openstack-infra08:02
*** rascasoft has joined #openstack-infra08:11
*** pcaruana has joined #openstack-infra08:19
*** tosky has joined #openstack-infra08:27
*** e0ne_ has joined #openstack-infra08:29
*** e0ne_ has quit IRC08:33
*** e0ne__ has joined #openstack-infra08:33
*** e0ne has quit IRC08:33
*** dmellado has quit IRC08:44
*** ykarel|lunch is now known as ykarel08:45
*** dmellado has joined #openstack-infra08:46
*** dpawlik has quit IRC08:52
*** dpawlik has joined #openstack-infra08:53
*** jpena|off is now known as jpena08:53
*** tosky has quit IRC08:54
*** tosky has joined #openstack-infra08:55
dulekHey folks! Is there a way in multinode Zuul + DevStack to somehow put subnode IP into .conf files on controller?08:55
*** janki has joined #openstack-infra08:56
*** shardy has joined #openstack-infra08:59
*** e0ne__ has quit IRC09:03
*** e0ne has joined #openstack-infra09:04
dmelladoAJaeger: ^^09:05
*** e0ne has quit IRC09:05
*** e0ne_ has joined #openstack-infra09:05
*** jpich has joined #openstack-infra09:06
*** bhavikdbavishi has joined #openstack-infra09:07
*** psachin has quit IRC09:11
*** bhavikdbavishi has quit IRC09:11
dmelladodulek: most of the infra folks are US based, so it might've to wait ;)09:12
*** bhavikdbavishi has joined #openstack-infra09:12
dmelladoyolanda isn't even here, lol09:12
dmelladorcarrillocruz?09:12
dmelladoeither09:12
dmelladobooh09:12
dmelladotobiash:  ^^ ?09:12
tobiashdmellado: unfortunately I don't know devstack09:14
dmelladotobiash: np! thanks in any case!09:14
tobiashthe ip addresses can be found in the inventory09:14
dmelladodulek: I'll try to fetch these from the inventory and write a foo file for now09:15
*** psachin has joined #openstack-infra09:29
*** derekh has joined #openstack-infra09:35
*** gmann is now known as gmann_pto09:43
*** dpawlik has quit IRC09:46
*** dpawlik has joined #openstack-infra09:53
AJaegerdmellado, dulek #openstack-qa might be better for that one as it's devstack related09:53
*** tosky has quit IRC09:54
*** tosky has joined #openstack-infra09:55
dmelladoAJaeger: thanks, we'll ask there as well09:56
dmelladoI'm also just trying to first get the subnode IP and write them into the controller09:57
*** spa-87 has joined #openstack-infra09:59
*** alexchadin has joined #openstack-infra10:00
*** ssbarnea has joined #openstack-infra10:13
alexchadinttx: ping10:14
ttxalexchadin: o/10:18
*** gfidente has quit IRC10:18
*** e0ne_ has quit IRC10:18
alexchadinttx: regarding https://review.openstack.org/#/c/619470/10:18
*** e0ne has joined #openstack-infra10:18
alexchadinttx: I've done my work with https://review.openstack.org/#/c/622946/10:18
alexchadinttx: could you please review it?10:19
ttxNice! I'm not a grenade specialist, but I'll have a look10:20
ttxalexchadin: maybe you can restore the governance change and add a Depends-On on that change10:20
ttxthat will trigger additional review attention10:20
alexchadinttx: Done10:22
*** jtomasek has joined #openstack-infra10:31
openstackgerritThierry Carrez proposed openstack-infra/system-config master: Update doc for ptgbot to match current behavior  https://review.openstack.org/62686910:39
*** pbourke has quit IRC10:40
*** pbourke has joined #openstack-infra10:42
*** alexchadin has quit IRC10:43
*** udesale has quit IRC10:46
*** annp has quit IRC10:52
*** agopi has joined #openstack-infra10:58
*** owalsh_ has joined #openstack-infra10:59
*** owalsh has quit IRC11:01
*** _alastor_ has joined #openstack-infra11:13
*** _alastor_ has quit IRC11:18
*** dpawlik has quit IRC11:41
*** bhavikdbavishi has quit IRC11:43
*** jonher has quit IRC11:46
*** dpawlik has joined #openstack-infra11:46
*** fresta_ has quit IRC11:47
*** gfidente has joined #openstack-infra11:52
*** jamesden_ is now known as jamesdenton11:53
toskyhi all; in order to add new repositories to an existing project (sahara), do we need to follow the relevant part of the Project Creator's Guide?12:06
toskynamely https://docs.openstack.org/infra/manual/creators.html12:06
toskywhen the guide talks about "projects", does it really mean "repositories"?12:06
*** jonher has joined #openstack-infra12:07
toskyalso, is the pypi registration step still manual as described there?12:07
*** fresta has joined #openstack-infra12:07
*** alexchadin has joined #openstack-infra12:10
*** jpich has quit IRC12:11
*** jpich has joined #openstack-infra12:13
openstackgerritAleksey Zvyagintsev proposed openstack-infra/jeepyb master: wip  https://review.openstack.org/62664012:17
*** jpena is now known as jpena|lunch12:24
openstackgerritAleksey Zvyagintsev proposed openstack-infra/jeepyb master: manage_projects:Add option to exit-with-error-code  https://review.openstack.org/62664012:25
alexz__fungi: would you kindly to review https://review.openstack.org/#/c/626640/?12:26
*** panda|off is now known as panda12:28
*** kaiokmo has joined #openstack-infra12:32
fricklertosky: the guide seems to mix the use of "project" and "repository" a bit, yes, if you have an idea how to improve that, patches are welcome ;)12:32
fricklertosky: it does say "If you add a new repository, you can make it part of an existing official OpenStack project, ..." though, so that should cover your situation12:33
fricklertosky: I'm not sure about the pypi status, though12:33
*** e0ne has quit IRC12:37
*** agopi has quit IRC12:41
*** dpawlik has quit IRC12:47
*** derekh has quit IRC12:47
*** e0ne has joined #openstack-infra12:49
*** rpittau is now known as rpittau|lunch12:49
*** derekh has joined #openstack-infra12:51
*** bhavikdbavishi has joined #openstack-infra12:57
*** bobh has joined #openstack-infra12:57
*** alexchadin has quit IRC12:58
*** dkehn has quit IRC12:59
*** jpich has quit IRC13:01
*** jpich has joined #openstack-infra13:02
*** e0ne has quit IRC13:04
*** rlandy has joined #openstack-infra13:06
*** rlandy is now known as rlandy|rover13:07
*** dpawlik has joined #openstack-infra13:11
*** e0ne has joined #openstack-infra13:11
*** dave-mccowan has joined #openstack-infra13:14
*** bhavikdbavishi has quit IRC13:15
*** rh-jelabarre has joined #openstack-infra13:15
toskyfrickler: ack, thanks, at least I can plan some of the steps properly13:16
*** jpich has quit IRC13:22
*** jpich has joined #openstack-infra13:25
*** jcoufal has joined #openstack-infra13:40
*** mriedem has joined #openstack-infra13:44
*** dkehn has joined #openstack-infra13:45
*** trown|outtypewww is now known as trown13:48
*** rpittau|lunch is now known as rpittau13:50
*** psachin has quit IRC13:53
*** jtomasek has quit IRC13:56
*** lbragstad has joined #openstack-infra13:59
*** boden has joined #openstack-infra14:00
*** janki has quit IRC14:04
*** shardy has quit IRC14:07
fungidmellado: yeah, as others have indicated, ansible inventory contents can be accessed as replacement variables in your configuration templates. naming the nodes or using the names the base devstack playbook gives them should make the template nice and maintainable14:07
*** kgiusti has joined #openstack-infra14:09
fungitosky: use of the term "project" in the creators guide is mainly because all of gerrit, zuul, storyboard, launchpad and pypi refer to those as "projects" in their documentation, urls and configuration option names. so for example a gerrit "project" is basically a git repository plus some additional configuration and related records in a database14:11
alexz__fungi: would you kindly to review https://review.openstack.org/#/c/626640/ ?14:12
fungitosky: frickler: for pypi, if you want to reserve a project entry there you need to register it manually by uploading a package (it can be basically empty except for egg-info/metadata declaring a name and version, the version can even be "0"), but if the project doesn't exist at the time of the first release build our job which pushes the resulting packages to pypi will cause the project to get14:12
fungicreated there14:12
*** shardy has joined #openstack-infra14:13
fungialexz__: working my way through scrollback, i already saw your request14:13
alexz__ok, thanks!14:13
toskyfungi: about pypi, does it mean that if we rely on the fact that the name won't be stolen, we can just skip the pre-registration and rely on the magic from infra scripts?14:14
fungitosky: yes, basically the recommended way to "create" a project on pypi these days is to use the twine utility to upload a package for it. that is exactly what our release jobs do already, so it "just works" automagically14:15
fungitosky: while you're here, are you still working on 548936 to get a grenade native zuul v3 job to replace the legacy one? or do you know if someone else is planning to pick up that effort?14:16
toskyfungi: I was still planning to work on it, I was "just" sidetracked to other stuff14:19
toskywe have few pending changes in sahara that we would like to land before M2 (like the splitting of the plugins from sahara.git, hence the request for new repositories)14:19
*** jcoufal has quit IRC14:20
fungitosky: no worries, someone was just asking me about 622946 and that reminded me that we likely still have people adding new jobs based on legacy-dsvm-base because grenade isn't v3 native yet14:21
toskyyeah, I know, sorry :/ it's something I'd really like to have as well14:22
fungiso i went looking for the current state of that effort14:22
fungidon't sweat it. we can all only do as much as we can do14:22
fungiand there's definitely no need to be apologetic about tat14:23
fungier, about that14:23
*** _alastor_ has joined #openstack-infra14:25
fungialexz__: thanks, that looks really good! i've left a few inline comments where i think it can be further simplified14:29
fungialexz__: in particular, i don't think it warrants the complexity of a command-line option. i was mostly just concerned that the implementation takes care not to abort in the middle of the loop without at least trying to process all updates14:30
*** _alastor_ has quit IRC14:30
fungiwhich is plenty safe to cover our use case14:30
*** lbragstad has quit IRC14:31
alexz__fungi: i posted answer in review. in few w - it will not broke and b-w compatability, if you didn't pass new flag- exit code will be always 014:32
fungialexz__: right, i'm saying i don't think we need to maintain backwards compatibility for the exit code. i feel like always returning nonzero when there was at least one failure is fine14:33
*** lbragstad has joined #openstack-infra14:33
fungii consider the case of exiting 0 on failure a bug14:33
*** jcoufal has joined #openstack-infra14:34
alexz__aah, got you. so, should i simple remove those arg at all ? or make it opposite ?14:35
openstackgerritThierry Carrez proposed openstack/ptgbot master: Pin irc module to 15.1.1 to avoid import error  https://review.openstack.org/62690614:35
openstackgerritThierry Carrez proposed openstack/ptgbot master: Generate PTGbot index page dynamically  https://review.openstack.org/62690714:35
*** agopi has joined #openstack-infra14:37
fungialexz__: yeah, i'd just remove the command-line option and the conditional which references it14:39
alexz__ok. will update in a sec14:40
fungithanks! and sorry if my earlier review comments were confusnig14:40
fungier, confusing14:40
*** verdurin has quit IRC14:42
*** agopi has quit IRC14:42
openstackgerritAleksey Zvyagintsev proposed openstack-infra/jeepyb master: manage_projects: exit with error code  https://review.openstack.org/62664014:43
openstackgerritThierry Carrez proposed openstack-infra/puppet-ptgbot master: No longer build index page in puppet-ptgbot  https://review.openstack.org/62691114:44
ttxinfra14:44
ttxoops14:44
*** verdurin has joined #openstack-infra14:44
alexz__fungi: np! thanks for quick response ;) new ps uploaded14:44
toskyhopefully that was not a password14:44
ttxnot really :)14:45
fungitosky: if so, it would have been a pretty terrible password14:47
tosky:)14:48
ttxmy password is 1nfra14:49
fungismart!14:53
*** fresta_ has joined #openstack-infra14:55
*** jonher_ has joined #openstack-infra14:55
ttxfungi: well my provider requires a number, and I use the same password everywhere, so...14:56
*** e0ne has quit IRC14:57
fungiinfra-root: heads up, i have approved my stack of changes (626391, 1626392, 626633, 626393) to generalize our global site manifest regexes and hostgroup glob patterns enabling opendev.org replacements for openstack.org servers. i'll keep close tabs on everything today in case this brings unanticipated regressions anywhere14:59
*** fresta has quit IRC14:59
*** jonher has quit IRC14:59
*** jonher_ is now known as jonher14:59
fungi#status log approved changes 626391, 1626392, 626633, 626393 which expand puppet node definitions and ansible hostgroup patterns to also match opendev.org hostnames15:00
openstackstatusfungi: finished logging15:01
*** chandankumar is now known as chkumar|out15:02
*** dpawlik has quit IRC15:06
*** jpena|lunch is now known as jpena15:06
*** ykarel is now known as ykarel|afk15:08
openstackgerritTom Barron proposed openstack-infra/devstack-gate master: Capture nfs-ganesha logs and conf  https://review.openstack.org/62692115:14
*** ykarel|afk has quit IRC15:14
*** e0ne has joined #openstack-infra15:16
openstackgerritMerged openstack-infra/system-config master: Remove deleted review and puppetmaster servers  https://review.openstack.org/62639115:18
openstackgerritMerged openstack-infra/system-config master: Use regexes for servers in global site manifest  https://review.openstack.org/62639215:20
*** shardy has quit IRC15:25
*** shardy has joined #openstack-infra15:26
bnemecQuick question: Does Gerrit stop sending emails if one bounces?15:32
*** hamerins has joined #openstack-infra15:32
bnemecI migrated my email server last night and it was briefly misconfigured and bounced a gerrit email.15:32
bnemecI haven't gotten any since then.15:32
*** hamerins has left #openstack-infra15:33
bnemecI'm correctly receiving openstack-discuss emails to the same address so it should be working now.15:33
*** jcoufal has quit IRC15:35
*** ykarel|afk has joined #openstack-infra15:40
fungibnemec: i can check the mta logs. if it defers one message delivery it may defer subsequent messages until the retry time for the first one is reached15:41
fungibut those are usually fairly short retry times15:42
fungiso would expect it to have flushed them out to your server by now15:42
*** quiquell is now known as quiquell|off15:43
bnemecYeah, it's been since last night.15:43
*** ykarel|afk is now known as ykarel15:43
bnemec2018-12-20 18:38:24 H=(review01.openstack.org) [#.#.#.#] F=<review@openstack.org> rejected RCPT <openstack@nemebean.com>: relay not permitted15:43
* bnemec failed to configure the server as the final destination for his domain, so it was trying to relay everything :-(15:43
bnemecI suppose it's possible that my reviews have just been that inactive since then.15:44
fungibnemec: oh, so a permanent rejection not a deferral15:44
*** ginux has joined #openstack-infra15:44
bnemecYeah15:44
fungithe only deferrals i see in the queue at the moment are for users @sina.com which must be having trouble of some sort15:44
AJaegerbnemec: which review should  i comment on so that you get an email?15:45
fungi2018-12-21 00:38:24 1ga87u-0005Bl-PB ** openstack@nemebean.com R=dnslookup T=remote_smtp H=nemebean.com [192.81.249.155]: SMTP error from remote mail server after RCPT TO:<openstack@nemebean.com>: 550 relay not permitted15:45
fungithat was the last delivery attempt gerrit has made to your address15:46
fungi(time in utc)15:46
AJaegerbnemec: found one - let's try...15:46
*** ginopc has quit IRC15:46
*** ginux is now known as ginopc15:46
bnemecfungi: Yeah, that matches up with the one I pasted.15:46
bnemecLooking at my dashboard, it's possible that's the only email gerrit tried to send since last night.15:46
fungiagreed, so i think there's just been nothing to send since then15:46
AJaegerbnemec: commented on https://review.openstack.org/#/c/597612/15:46
bnemecSo maybe it's just that everyone has already left for the holidays. :-)15:46
fungi2018-12-21 15:46:44 1gaN0d-000SJS-Gy => openstack@nemebean.com R=dnslookup T=remote_smtp H=nemebean.com [192.81.249.155] C="250 OK id=1gaN0e-00071S-6q"15:47
fungithat looks like it went through?15:47
fungi(just now)15:47
bnemecYep, got  it fine.15:47
bnemecThanks guys.15:47
AJaegerbnemec, fungi, we should go on vacation as well ;)15:47
bnemecSorry for the false alarm.15:47
openstackgerritThierry Carrez proposed openstack-infra/puppet-ptgbot master: No longer build index page in puppet-ptgbot  https://review.openstack.org/62691115:47
fungibnemec: no worries! i'll do a better job of breaking stuff, i swear15:48
fungiAJaeger: yeah, a good chunk of today is packing and pre-travel errands for me15:48
* bnemec is out til the second after today.15:48
AJaegerbnemec: enjoy, happy holidays!15:48
bnemecAJaeger: Thanks, you too!15:48
fungii'll be around, but just to fix what breaks, not really getting anything new done probably15:48
AJaegerfungi: hope nothing breaks ;) - and happy holidays to you as well15:49
corvuswhat, vacation when we're only at 70% of capacity (rather than our normal 150%)?15:49
fungithanks, and to you!15:49
fungicorvus: yeah, zuul is "taking it easy" and just a few hundred jobs an hour15:50
fungier, at just a few hundred15:50
AJaegercorvus: now is is your chance to crab 80 % of capacity ;)15:51
fungiokay, more than a few hundred. approaching 800jph now15:52
corvusshouldn't have said anything15:52
fungibut yeah, there's some headroom15:52
fungigrr, the random run-base failures are still around today15:53
fungixenial                     : ok=0    changed=0    unreachable=1    failed=015:55
fungihttp://logs.openstack.org/33/626633/1/gate/system-config-run-base/6bee14d/job-output.txt.gz#_2018-12-21_15_15_42_41608915:55
*** armax has joined #openstack-infra15:56
corvusfungi: http://logs.openstack.org/33/626633/1/gate/system-config-run-base/6bee14d/job-output.txt.gz#_2018-12-21_15_11_46_63963415:56
corvuslooks like the controller lost contact with the node (so an intra-cloud problem)15:57
fungiyeah, failed to ssh during fact collection15:57
corvus(since that was from the inner ansible, that was fake-bridge talking to another node)15:58
fungithat was in limestone-regionone, in case we see more like that15:58
*** jcoufal has joined #openstack-infra15:59
*** _alastor_ has joined #openstack-infra16:00
fungicorvus: if you have a very quick moment to check that the test data change in 626633 for our system-config hostgroups validator makes sense to you, then i'll feel less bad about having self-approved it (but if not, no worries)16:02
*** adriancz has quit IRC16:03
fungiwe were apparently testing that review.openstack.org was in some specific hostgroups, which needed changing with its removal and i wanted to at least replace it with something else for similar or better coverage16:03
corvusfungi: makes sense to me16:04
fungithanks!16:04
*** rlandy|rover is now known as rlandy|rover|brb16:04
fungiif these manage to run the gauntlet of random network issues, i ought to be able to try spinning up new storyboard xenial servers with opendev.org instance names serving openstack.org vhosts (or at least find out what breaks next for that)16:05
*** bnemec is now known as bnemerryxmas16:08
*** stephenfin is now known as finucannot16:14
finucannotfungi: Quick one. I note all python-openstackclient bugs have been moved to Storyboard, but there are still some open on Launchpad that I can't find on storyboard https://bugs.launchpad.net/python-openstackclient/+bug/141119016:14
openstackLaunchpad bug 1411190 in python-openstackclient "live migration on any host" [Medium,In progress] - Assigned to Rui Chen (kiwik-chenrui)16:14
finucannotfungi: Is that an issue or is it intended?16:14
fungifinucannot: https://storyboard.openstack.org/#!/story/141119016:16
fungilooks the same to me?16:16
*** e0ne has quit IRC16:16
finucannotThat is. I can't figure out search on Storyboard and manually finding through the list of pages didn't bring that up16:17
fungifinucannot: if it's not obvious, we preserve the imported bug number as the story number for convenience16:17
finucannotIdeal16:17
finucannotI wonder if we could post a message to the bugs in Launchpad and auto-close them?16:17
finucannotI assume that's been discussed?16:17
*** e0ne has joined #openstack-infra16:17
*** pcaruana has quit IRC16:18
fungiyeah, simply performing read-only actions to retrieve bug information from lp is time consuming and fragile enough. automated write actions to lp are much more likely to fail16:18
fungiand take far, far longer to complete due to locking on their backend16:18
finucannotfungi: Fair. That they have the same bug number is good info though. Thanks for that16:19
funginot to mention, requires us to add authentication in the importer, and they very well may throttle or block an account if they see it commenting on thousands of bugs16:19
*** smarcet has joined #openstack-infra16:19
*** aojea has quit IRC16:20
*** bobh has quit IRC16:24
*** tpsilva has joined #openstack-infra16:27
*** rlandy|rover|brb is now known as rlandy|rover16:30
*** bobh has joined #openstack-infra16:34
*** wolverineav has joined #openstack-infra16:39
*** gyee has joined #openstack-infra16:40
*** e0ne has quit IRC16:40
*** e0ne has joined #openstack-infra16:42
*** wolverineav has quit IRC16:43
*** e0ne has quit IRC16:44
*** smarcet has quit IRC16:45
openstackgerritMerged openstack-infra/system-config master: Rejigger hostgroup tests for server removals  https://review.openstack.org/62663316:46
fungiwham16:46
openstackgerritMerged openstack-infra/system-config master: Use domain-generic regexes/globs for hostnames  https://review.openstack.org/62639316:48
fungiand bam16:48
funginow to start tailing logs16:48
fungilooks like our run_all finished moments after 16:45, so the next should begin at the top of the hour, in ~9 minutes16:50
fungistarted at 16:15 so looks like we're taking roughly 30 minutes to complete a pulse16:51
fungiyeah, looks like they're consistently running within a few minutes either side of 30, so happening every 30 or 45 (at least looking at the start/end timestamps for the last dozen or so rounds)16:53
*** jamesmcarthur has joined #openstack-infra16:54
openstackgerritJames E. Blair proposed openstack-infra/system-config master: Add gitea k8s resource definitions and playbook  https://review.openstack.org/62675916:54
corvusfungi, mordred: that revision installs gitea, creates a root user, creates a gerrit user, and adds an ssh key16:55
*** pgaxatte has quit IRC16:56
fungii think i may be starting to grok some of that now16:57
corvusnext i'm going to start on a new playbook that lists all the projects in gerrit and creates orgs and repos in gittea16:58
corvusgitea16:58
corvusit's really hard to stop typing that extra t :)16:58
*** jpich has quit IRC16:59
fungiis the reason for the HTTP_PORT=3000 so that it doesn't need to only listen on localhost to avoid conflicting with apache on the egress interface, or to avoid needing to grant the process permission to open a low-numbered port?16:59
corvusthe second16:59
fungik17:00
corvusit runs as git(1000) inside its container17:00
fungii mean, there are a couple ways to allow non-root to bind a listening socket below 2^10, but this ought to be fine17:01
fungirun_all is going now, i'm watching the log17:01
corvusthe openssh daemon (running in another container in the same pod) happily listens on 22 without conflict with its host17:01
fungigot it17:01
corvusfungi: oh, also, apache isn't running here -- there's an octavia load balancer on the public ip which is currently performing the 80->3000 map.17:02
fungiout of curiosity, does it do something special with ssh or is that just in order to avoid running the openssh package from the distro?17:02
corvusfungi: we probably will want to add an apache or nginx into the mix (likely as a k8s ingress controller) to do the ssl termination and any other funny business we want17:02
corvusfungi: nothing special -- just that since this is k8s, it needs to be in a container. we actually are running sshd from the distro17:03
corvuslemme dig up a link17:03
fungithere's no ssh to the server on which kubernetes is running then? i assume it has an init outside the containers17:04
corvusfungi: yes, the k8s server itself is a perfectly normal machine you can ssh to.  mordred's k8s deployment work has it running bionic right now.17:05
fungior it just wants the sshd for the host server to have some additional isolation?17:05
fungiand so wraps it in a container17:05
corvusfungi: but gitea needs a captive ssh to make "git clone ssh://" work, so we run one in a container for it17:05
fungiaha, that's what i was wondering. so it is doing something special to allow git+ssh17:06
corvusfungi: https://review.openstack.org/#/c/626626/3/docker/gitea/Dockerfile has the build steps for the openssh for gitea in lines 100+17:06
fungiwe haven't offered git+ssh on our existing git servers, so didn't know that was coming... or is that in service of allowing gerrit to push over ssh?17:06
corvusthe second17:07
*** ginopc has quit IRC17:07
corvusfungi: cloning over ssh won't work unless we allow people to register accounts, which is not in the initial plan17:07
fungimakes sense. need some way to handle ssh keys otherwise17:08
fungijinja-init is apparently also something i should make time to read up on17:09
corvusfungi: yes -- though it is a very simple script: https://github.com/ObjectifLibre/jinja-init/blob/master/run.py17:09
fungii guess that's a means of expanding configuration templates at container start time?17:09
corvusfungi: exactly17:09
fungineat17:09
fungiand it's in python, not go? interesting17:10
fungii guess because jinja2 is python17:10
corvusya17:10
corvusdue to the sensitivity of the operation, i chose to checkout a specific git sha in the dockerfile17:11
corvusi mean, i trust the authors, but it seemed a sensible precaution.17:11
corvus(basically, the reason you need this is to deal with secret data, so it's an obvious target)17:12
fungiright, sane choice17:12
fungiwhere does it obtain the jeblair/gitea and jeblair/gitea-openssh images from?17:13
fungidockerhub?17:14
funginot seeing any url for those17:14
corvusfungi: yes17:14
fungithanks17:14
*** mriedem is now known as mriedem_afk17:14
corvusthose will be opendev/ as soon as that patch lands and we start building them17:14
fungii figured17:15
fungithis change is still plenty poc i'm sure judging from the hard-coded ip address url17:15
fungii was more wondering about the mechanism for obtaining declared images, but sounds like dockerhub is just assumed by kubernetes17:16
corvusfungi: there's an internal registry it tries first, and you can run your own and use it in addition/instead17:16
corvusso it's not a requirement but is a default17:17
*** shardy has quit IRC17:17
fungirun_all is still looking good. it's just now applying iptables rules17:18
*** jamesmcarthur has quit IRC17:18
fungii'll check back behind those as soon as it completes since that's where we've gone sideways in the past17:18
*** gfidente has quit IRC17:18
fungiit's moved on to snmp now, so checking firewalls17:19
fungiip{,6}tables -L looking good on the servers i've spot-checked so far17:21
corvusit's annoying that gerrit seems to be the only app that thinks returning invalid json is the right way to return json.17:21
corvus(i'm looking at those 4 characters at the start of every response)17:21
fungisafety! if it returned real json, someone might <vague handwavery> and compromise a browser/webapp through cross-site scripting17:21
fungiyeah, i think it's insane17:22
corvusit reminds me of when ncsu decided to put a disclaimer on every web page it served, and so had apache stick in a bunch of close tags in the middle of the page to make sure it was displayed.  made everybody's web pages invalid html.17:22
fungigah17:23
fungihey, it worked in internet explorer, what more do you want?17:23
mordredcorvus, fungi: correction from above - the k8s cluster is running on xenial, not bionic17:24
mordredcorvus, fungi: k8s isn't publishing debs for kube for bionic yet - something about bionic running too new of a version of something17:25
corvusmordred: that made me giggle17:25
*** spa-87 has quit IRC17:25
mordred:)17:26
fungibleeding edge software needs kubernetes. kubernetes needs ubuntu lts-before-last17:26
fungiit makes perfect sense17:26
mordredfungi: incidentally, I used some already existing ansible to create the k8s - which I have submitted a few PRs upstream to improve which have been merged already17:27
fungiokay, we should be getting very close to the end of the run_all pulse now17:28
*** jamesmcarthur has joined #openstack-infra17:29
*** jpena is now known as jpena|off17:31
fungi34m15s, no obvious errors17:34
*** jamesmcarthur has quit IRC17:34
*** rpittau has quit IRC17:35
*** derekh has quit IRC17:36
fungilooks like the puppet playbook has been failing on some servers, though i don't think it's new since those changes went in. looking into why17:38
fungilooks like the storyboard ones are likely related to the recent mysql change:17:39
fungiExecution of '/usr/bin/mysql -NBe create database if not exists `storyboard` character set `utf8mb4` collate `utf8_general_ci`' returned 1: ERROR 1253 (42000) at line 1: COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'utf8mb4'17:39
fungimight be a mysql-version-specific issue17:40
*** trown is now known as trown|lunch17:44
fungiguess i'll hack on that some when i get back from errands17:45
fungipuppet-user[5139]: Could not find dependency File[/etc/bind/keys/opendev.org] for File[/etc/bind/keys/opendev.org/Kopendev.org.+008+03945.key] at /opt/system-config/production/modules/openstack_project/manifests/master_nameserver.pp:4017:46
fungiwhy is adns1.OPENSTACK.org complaining about that? is it just transitional until we move domains off it?17:46
fungiit's been going on for a while, so also not related to the globbing/regex changes17:47
corvushrm, may have messed something up with the grouping there in the original changes17:48
fungiwell, nothing seems to have gone down as a result of this most recent set of changes, so i'm going to go run errands now and then look into continuing on storyboard database stuff once i'm back17:48
fungishouldn't be more than a couple hours17:49
*** ykarel is now known as ykarel|away17:58
*** boden has quit IRC18:07
openstackgerritwes hayutin proposed openstack-infra/elastic-recheck master: add query for intermittent container failure  https://review.openstack.org/62696218:10
*** jamesmcarthur has joined #openstack-infra18:19
*** smarcet has joined #openstack-infra18:19
*** jamesmcarthur has quit IRC18:23
*** Dobroslaw has quit IRC18:26
clarkbcorvus: any reason to not approve the opendev git spec now? I see there are some new comments since our meeting. But no -1s and they seem minor18:26
clarkbwe can clea nthings up in a followup?18:26
corvusclarkb: yeah, i don't see showstoppers.  zane brought up a good additional work item for us to look into, but if we fail at that, i don't think it's a showstopper18:27
corvusmordred: ^ perhaps you'd like to vote on https://review.openstack.org/62303318:28
clarkbmy only other concern is there are realtively few rollcall votes.18:28
clarkbyou read my mind :)18:28
clarkbI'll give mordred a chance to look at it so we can have a bit more consensus on it before approving18:29
*** smarcet has quit IRC18:30
corvushttp://38.108.68.66/explore/organizations18:34
corvusorgs are created :)18:34
openstackgerritMerged openstack-infra/infra-specs master: StoryBoard Story Attachments  https://review.openstack.org/60737718:35
*** wolverineav has joined #openstack-infra18:38
*** boden has joined #openstack-infra18:38
AJaegerclarkb, corvus : the opendev git spec looks fine.18:38
AJaegerclarkb: want to merge https://review.openstack.org/#/c/623211 as well?18:39
clarkbAJaeger: there was frickler's concern and fungi had concede possibly waiting until gerrit was restarted18:39
clarkbI odn't mind approving it, but didn't want to do that if they had mostly agreed on that18:39
AJaegerclarkb: ah...18:40
AJaegerclarkb: then let's restart while everybody is away ;)18:41
AJaegerclarkb: want to merge https://review.openstack.org/#/c/617399/ and https://review.openstack.org/#/c/617400 as well? Two nitpicks removing duplicate words...18:42
*** jcoufal has quit IRC18:42
*** trown|lunch is now known as trown18:45
*** kaiokmo has quit IRC18:47
openstackgerritMerged openstack-infra/infra-specs master: remove the dumplicate words  https://review.openstack.org/61739918:53
openstackgerritMerged openstack-infra/infra-specs master: remove the dumplicate word  https://review.openstack.org/61740018:53
clarkbalright I'm off to do touristy things but will check in later to see if mordred has weighed in on the opendev spec18:53
mordredclarkb: voted18:57
pabelangerme too!18:58
*** evgenyl has joined #openstack-infra18:59
*** auristor has quit IRC19:01
*** rossella_s has quit IRC19:05
*** auristor has joined #openstack-infra19:06
openstackgerritMonty Taylor proposed openstack-infra/system-config master: Add resources for deploying rook and xtradb to kuberenets  https://review.openstack.org/62605419:07
openstackgerritMonty Taylor proposed openstack-infra/system-config master: Run k8s-on-openstack to manage k8s control plane  https://review.openstack.org/62696519:07
mordredcorvus: ^^ reworked that a bit19:07
mordredcorvus: it now has the k8s deploy integrated in with run_All and separate from the other things, and has playbooks for rook and pxc19:08
evgenylHi everybody, is it a known issue (?) that readthedocs triggers fail http://zuul.openstack.org/builds?job_name=trigger-readthedocs-webhook ?19:08
*** ykarel|away has quit IRC19:09
AJaegerevgenyl: yes ;/19:10
AJaegerevgenyl: details at http://lists.openstack.org/pipermail/openstack-infra/2018-December/006247.html19:10
evgenylAJaeger: I thought that there was a problem with configuration on our side. Thank you!19:11
*** elod has quit IRC19:15
*** elod has joined #openstack-infra19:16
*** tristanC has quit IRC19:17
*** tristanC has joined #openstack-infra19:17
*** e0ne has joined #openstack-infra19:20
*** spa-87 has joined #openstack-infra19:23
*** wolverineav has quit IRC19:28
*** wolverineav has joined #openstack-infra19:29
*** wolverineav has quit IRC19:30
*** wolverineav has joined #openstack-infra19:31
*** wolverineav has quit IRC19:32
*** wolverineav has joined #openstack-infra19:32
*** wolverineav has quit IRC19:37
*** mriedem has joined #openstack-infra19:38
*** mriedem_afk has quit IRC19:41
openstackgerritJames E. Blair proposed openstack-infra/system-config master: Add gitea replication  https://review.openstack.org/62696819:45
openstackgerritJames E. Blair proposed openstack-infra/system-config master: Add gitea replication  https://review.openstack.org/62696819:46
corvusfungi, mordred: ^ i think i'll be ready for that in a few hours -- but i don't think it will hurt to go ahead and merge it even before gitea is ready for it -- gerrit handles replication failures gracefully19:46
corvusand i'd like to see how the system handles the full volume of data, and what that replication looks like19:47
* fungi is back and catching up20:01
fungiin a sec i'll check what's going on and maybe just restart gerrit20:02
*** bobh has quit IRC20:02
*** bobh has joined #openstack-infra20:05
*** bobh has quit IRC20:06
*** edmondsw has quit IRC20:10
*** spa-87 has quit IRC20:21
*** dave-mccowan has quit IRC20:24
*** dave-mccowan has joined #openstack-infra20:32
*** wolverineav has joined #openstack-infra20:34
fungimeh, there's still some stuff running, i'll give it time20:34
corvusfungi: https://review.openstack.org/626968 would be nice to get in before restart if you think it's ok20:34
fungiyep, i had just pulled it up to review. good point about needing a gerrit restart for that!20:35
fungilgtm, if mordred's not really around i'm happy to single-core approve20:35
corvusfungi: let's go ahead and do it; it'll take enough time to get on disk to give him an opportunity to object or +2 before he gets back i guess :)20:39
fungiyeah, coming to the same conclusion. it's quiet in here today20:40
fungicorvus: approved it. as for things pending a gerrit restart, what do you think about approving 471077 and 47107820:42
fungithough i guess jhesketh had a comment on 471077 i haven't addressed20:42
corvusfungi: both lgtm20:44
* mordred waves20:44
mordredI added a late +2 onto the repl patch20:44
fungiit's not late as it hasn't merged yet ;)20:44
corvusfungi: i +2 but did not +W pending what you decide about that comment, but i see no reason you shouldn't +W when ready20:45
fungiyeah, i think it's safe to let footers override footer there20:45
*** bobh has joined #openstack-infra20:46
fungiwe can clean up the old singular pattern in the future if we decide it's safe to do so... we've not been really careful about backwards-compatibility in these20:46
mordredI'm not super concerned about backwards compat in these at this point20:46
mordredfungi: +2 on both from me - corvus comment applies from me too - fire at will20:47
fungiwe restart gerrit so infrequently now... it's eerie to be doing it for config changes20:48
mordredI agree20:48
fungi>4.5 months since the last gerrit restart20:49
fungito think we were restarting weekly there for a while at the height of the jvm gc issues20:50
mordredfungi: I'd rather not think about that :)20:50
fungigood point20:50
*** bobh has quit IRC20:50
fungihah, those two changes are so old i needed to recheck to get a vote from zuul because their verify +1 votes were still from "jenkins"20:52
mordredhahaha20:52
corvusghost of jenkins past again20:52
fungiprobably just a bit of undigested figgy pudding20:53
fungii have items which aren't mine but require me to wrap them in festive paper covering, so i'll do that for a bit while i wait for things to merge20:54
*** spa-87 has joined #openstack-infra20:56
*** wolverineav has quit IRC20:59
*** wolverineav has joined #openstack-infra21:00
openstackgerritMerged openstack-infra/system-config master: Add gitea replication  https://review.openstack.org/62696821:04
fungithere's one of the three21:04
*** wolverineav has quit IRC21:05
*** rlandy|rover has quit IRC21:05
*** wolverineav has joined #openstack-infra21:06
*** trown is now known as trown|outtypewww21:07
*** wolverineav has quit IRC21:21
*** spa-87 has quit IRC21:25
*** wolverineav has joined #openstack-infra21:26
*** wolverineav has quit IRC21:26
*** wolverineav has joined #openstack-infra21:26
*** efried has quit IRC21:27
*** kencjohnston has quit IRC21:29
*** wolverineav has quit IRC21:29
fungithis cthulhus and elder signs holiday wrap i got on a kickstarter some 8 years ago has lasted unfathomably longer than i predicted. i still have two unopened rolls of the stuff21:31
mordredcthulu is unfathomable21:33
openstackgerritMerged openstack-infra/puppet-gerrit master: Allow lists of trackingid footers  https://review.openstack.org/47107721:34
corvusoh, wow.  i see what the 2 of you did there.21:34
mordredcorvus: see us next week at the copa and the week after that in boca raton21:34
*** wolverineav has joined #openstack-infra21:35
* mordred goes back to learning how to bribe foreign officals21:35
fungimordred: small, non-consecutively-numbered notes21:35
corvusand get a receipt!21:36
openstackgerritMerged openstack-infra/system-config master: Add a trackingid for Launchpad bug headers  https://review.openstack.org/47107821:37
fungiyou still have a week to rack up itemized deductions for 2018, after all21:37
fungiand there's the last of the three gerrit config changes we were waiting for21:37
mordredincidentally, apparently the answer to all questions regarding gdpr behavior is "ask legal"21:37
fungiand the answer from "legal" is always "no" regardless of the question21:38
fungikafka would be proud21:38
fungilooks like there's a config pulse underway since 21:30 so these will get supplied in the next pulse starting probably 22:15 (maybe 22:00 if the clouds are on our side)21:39
*** wolverineav has quit IRC21:39
* fungi suffocates more material goods in colorful paper while waiting21:40
mordredfungi: the best part about suffocating them is that it opens the door to acquiring additional material goods in the future21:43
fungiit's the foundation of our nation21:47
fungiconsumerism to all, and to all a good night21:47
mordredfungi: wow, it's like the good night is a gift-with-purchase21:48
fungibut wait, there's more21:48
corvusfungi, mordred: huh.  in https://try.gitea.io/api/swagger i can't find either the ability to edit a repository, or the ability to alter settings like whether the issue tracker is enabled21:48
*** jamesmcarthur has joined #openstack-infra21:48
fungiwe, now, don't delay, order now21:49
corvuswe might have to write some go21:49
*** boden has quit IRC21:49
fungias in, no api methods in gitea for modifying repository configuration?21:50
corvusright21:50
corvusand unlike gerrit, the webui does not appear to use the api21:51
mordredcorvus: um - http://38.108.68.66/api/swagger is weird to me21:51
corvusyeah, the ip addr is wrong21:51
mordredcorvus: it's trying to fetch http://38.108.68.66/api/swagger21:51
mordredkk. just as long as you're seeing it too21:51
corvusmordred: if you correct the address in the box at the top it'll work21:51
corvusi looked there, but i also used the try url so that i could see if git master has the api method21:51
corvus(since we're running a released version)21:52
fungitry.g.i is continuously deployed from their master branch?21:52
corvusor at least frequently, so i gather21:52
fungik21:52
*** jamesmcarthur has quit IRC21:53
fungihopefully that's not because altering the repository configuration requires a restart of the service21:53
mordredcorvus: I agree with you - I don't see such an api call21:53
corvusfungi: try is currently running the commit on master21:53
corvusfungi: the option is in the web ui; i think they just haven't plumbed it through21:54
corvuswe could probably do a ridiculous thing like perform a mysql query in the interim.21:54
fungithe built-in release management options also seem weird. i guess "releases" aren't directly tied to git tags?21:55
corvusunsure -- i do know tags create releases (and mordred has suggested we hide the releases tab, or at least hide the ability to grab a tarball from a release).  i haven't looked into that yet21:56
fungipresumably without arbitrary authenticated users we just wouldn't create "releases" without an accompanying tag21:56
fungieither that or methods like post /repos/{owner}/{repo}/releases are just a no-op21:57
*** efried has joined #openstack-infra21:57
fungilooks like you feed it a "tag_name" when creating the release21:57
corvusweird.  i wonder what actually happens then.21:58
fungicould be for post-hoc crration of releases for existing tags in imported repositories or something21:59
mordredI think you could potentially use that API to attach notes or artifacts to a release perhaps21:59
mordredlike, I tried querying the releases endpoint for the zuul repo we'd imported that showed releases for each of its tags and it returned nothing21:59
mordredcorvus: the settings page does a POST to /org/repo/settings - and it's a fairly simple set of form data22:00
fungirun_all pulse from 21:30:00 didn't complete until 22:00:25 so we're looking at the 22:15 pulse after all for the gerrit config updates22:01
corvusmordred: yeah, but that almost certainly means implementing cookie auth22:01
mordredcorvus: yeah. http://paste.openstack.org/show/737938/ is a capture, fwiw22:02
corvusyeah, i opened it up in my debugger earlier -- that's how i determined it's not using the api22:02
mordredcorvus: we'd probably get further by just writing some go to expose it as an api22:02
corvusmordred: yes, that is the right thing to do.22:03
mordredcorvus: do you want me to work on an interim mysql query for now?22:06
corvusmordred: i was just starting on that... i just discovered that this is stored in the repo_unit table22:06
mordredoh god22:07
corvushttp://paste.openstack.org/show/737939/22:07
corvusit's not as lovely as one might hope22:07
mordredwhat has happened to my life22:07
mordredI can't unsee this22:07
mordredcorvus: can you configure a repo by hand with the settings we'd want? (or alternately, point me to how to log in to the web ui)22:08
fungieek22:08
corvusmordred: the 'type' colum corresponds to things like code, releases, wiki, etc22:09
corvusyeah, i'll set up the 'test' repo now22:09
fungithat's a wonderfully opaque schema22:09
mordredyay for schemaless designs on a rdbms!22:09
fungisomeone really wanted redis/mongo22:09
mordred(I mean, it'll make the query to set it pretty easy to do from ansible - since we just need to to_json a dict and then shove that into a single upsert22:10
fungibut still, gross22:10
corvusmordred: repo_id=2 should be set now22:10
* fungi shakes his head at the "new generation" of developers22:11
corvushttp://paste.openstack.org/show/737940/22:11
mordredcorvus: pull requests are disabled?22:11
corvusthis is the first part of the schema i've run into which is weird22:11
corvusmordred: hrm.  unclear.22:11
corvusi'm digging into that22:12
*** efried has quit IRC22:12
mordredcorvus: I'm poking in the db too - but you disabled them in teh ui?22:12
corvusmordred: i did not see an option for that22:13
corvusi'm working on understanding why22:13
fungiif this is the first strange not-really-rdbms table you've encountered, makes me wonder whether gitea is actually more than one application/service which got mashed together at some point22:14
*** slaweq has quit IRC22:16
mordredcorvus: https://github.com/go-gitea/gitea/blob/eabbddcd98717ef20d8475e819f403c50f4a9787/templates/repo/settings/options.tmpl#L200 is interesting ... ah -22:16
mordredcorvus: https://github.com/go-gitea/gitea/blob/1b3404eacaa679c2c06d6a3b63c83a4bec5649d5/models/repo.go#L65922:17
corvusmordred: yeah, i'm working on getting content in there; i have to fix perms22:17
mordredneat.22:17
funginew run_all pulse is underway as of a couple minutes ago. should be able to restart gerrit around 22:45 if the config looks right22:17
fungizuul jph is down around 100 now22:20
fungior at least was as of 20 minutes ago but may be trending back up again22:20
corvusmordred: okay, pull requests are unit type 322:23
corvusmordred: so to disable pull requests, delete from repo_unit where type=322:23
corvusmordred: (i just toggled it on/off for openstack/test, repo id 2)22:23
mordredcorvus: fascinating22:24
mordredcorvus: and I guess wiki is one of the other types?22:24
corvusmordred: looks like external wiki is type 6, internal wiki is type 522:26
corvusso i think we also want to delete type=522:26
corvusissue tracker is type=222:28
corvusrather, internal issue tracker is type=222:28
*** kgiusti has left #openstack-infra22:28
corvusappears external issue tracker is type=7  (which we can use to link to storyboard/lp)22:28
mordredcool. so - for a first-stab, we can just sledgehamer - 'delete from repo_unit where type in (2, 3, 5)'22:29
mordredwhich will disable all the things22:29
corvusyep22:29
mordredas a second step, we can add type 7 entries - although we could just leave that as a "get the API done" step22:29
corvusi think i'd like to add type 722:29
corvusso we can see the links22:30
mordredkk22:30
corvus{"ExternalTrackerURL":"http://storyboard.openstack.org/foo","ExternalTrackerFormat":"http://storyboard.openstack.org/foo/{index}","ExternalTrackerStyle":"numeric"}22:30
mordredyeah - it's not a hard insert22:30
mordredand mysql lets you insert with a join22:30
corvuslooks like we got the project-by-name thing running in storyboard just in time :)22:30
mordredit's really a shame that they don't have a unique constraint on repo_id, type22:30
mordredcorvus: ++22:31
mordredcorvus: for launchpad projects, it's just bugs.launchpad.net/{short_project} right?22:31
corvusmordred: yeah, though since i'm not parsing projects.yaml i don't have a way to switch between them atm, so let's just do storyboard for now22:32
mordredcorvus: oh - are you just grabbing a flat list from gerrit?22:33
corvusmordred: yep22:33
mordrednod.22:33
* mordred is pondering best way to do this since we don't have a unique key to use with on duplicate key insert22:33
*** e0ne has quit IRC22:35
corvusmordred: fwiw, i have the repo id available, you don't have to join22:35
mordredwell, I was actually thinking we might could do it with a single query22:35
mordredrather than one per project22:35
corvus(i just now realized the significance of your observations about joins earlier)22:35
corvusmordred: i think it needs to be per-project anyway22:36
mordredwhy's that?22:36
corvuswe're going to need to have ansible substitute in the external tracker url for each project22:36
corvusgitea only does templating for the individual issue links22:36
corvus{"ExternalTrackerURL":"https://storyboard.openstack.org/#!/project/USER/REPO","ExternalTrackerFormat":"https://storyboard.openstack.org/#!/story/{index}","ExternalTrackerStyle":""}22:36
corvusmordred: ^ that's the actual value we want22:36
corvusmordred: and USER and REPO need to be hard-coded values22:37
mordredyeah. I'm pretty sure we can do that with a single non-templated query22:37
corvusi'd rather have this be per-project22:38
corvusi don't want to adjust other projects not in the system22:38
mordredok.22:39
*** slaweq has joined #openstack-infra22:43
mordredcorvus: I think this should do the trick then: http://paste.openstack.org/show/737941/22:44
mordredcorvus: since there is no unique key, on duplicate key insert isn't workable, wrapping in an explicit transaction and doing a delete/insert is probably the safest22:45
mordredalthough if we're going to run this on the whole list every time, that'll be an unfortunate amount of senseless write traffic22:46
corvusmordred: cool, i should be ready to test that in just a few mins.22:46
corvusmordred: for now i'll just have it do it on repo creation22:46
mordredok cool22:47
mordredin that case it shouldn't be terrible22:47
*** slaweq has quit IRC22:47
fungilast run_all pulse ended at 22:45:55 so checking gerrit config on review.o.o now22:49
*** mriedem is now known as mriedem_away22:49
*** smcginnis is now known as smcginnis_away22:49
*** lbragstad has quit IRC22:50
fungithe its-storyboard commentlink has been updated to key off task headers, the launchpad-bug tracking-id has been added and the gitea replication remote is in place22:51
fungieverything is looking sane gerrit config wise22:51
*** e0ne has joined #openstack-infra22:51
funginothing in the gate pipeline looks close to reporting22:52
fungiinfra-root: any objections to me performing a gerrit restart in the next few minutes?22:53
corvusfungi: wfm22:53
*** bobh has joined #openstack-infra22:53
mordredfungi: go for it22:54
fungithe gerrit config in the gate just got an updated eta of 8 minutes, but i should be able to beat the clock22:54
fungier, the nova change in the gate22:54
fungi#status log the gerrit service on review.openstack.org is being restarted to pick up new configuration changes, and will return momentarily22:54
openstackstatusfungi: finished logging22:54
fungier, that should have been a notice22:54
fungi#status notice the gerrit service on review.openstack.org is being restarted to pick up new configuration changes, and will return momentarily22:55
openstackstatusfungi: sending notice22:55
fungistopping now22:55
fungiand starting22:56
-openstackstatus- NOTICE: the gerrit service on review.openstack.org is being restarted to pick up new configuration changes, and will return momentarily22:56
fungiJob for gerrit.service failed because the control process exited with error code. See "systemctl status gerrit.service" and "journalctl -xe" for details.22:56
mordredhrm22:57
corvuslooking22:57
corvusDec 21 22:56:11 review01 gerrit[59289]: fatal: bad config file line 112 in /home/gerrit2/review_site/etc/gerrit.config22:57
corvus[trackingid "launchpad-bug"]22:57
corvus        match = "\#?(\d+)"22:57
corvusneeds more '\' ?22:57
mordredyeah- I think it needs 2 more22:57
*** bobh has quit IRC22:57
corvusfungi, mordred: i'm happy to make that change.  ok?22:58
*** hwoarang has quit IRC22:58
mordredcorvus: ++22:58
fungigo for it22:58
*** hwoarang has joined #openstack-infra22:58
mordredthe storyboard story line below looks correct22:58
fungii agree it's missing \\ love22:58
openstackstatusfungi: finished sending notice22:58
fungicorvus: make change to the on-disk config or writing up the patch? i'm happy to do whichever one you aren't22:59
corvusfungi: on disk22:59
fungicool, you going to try to start it or shall i?22:59
corvusi've started it22:59
fungithanks!23:00
corvusweb ui is back up23:00
fungiworking on the patch now23:00
corvusand ssh is answering now too23:00
corvusso i think it's "back up"23:00
corvus19207 tasks in queue23:00
mordred\o/23:01
corvuson gitea, i'm just deleting the akanda repo over and over23:02
openstackgerritJeremy Stanley proposed openstack-infra/system-config master: Add more \\ to launchpad-bug Gerrit tracking-id  https://review.openstack.org/62701823:03
fungibrown bag ^23:03
mordredcorvus: on purpose, or as a test?23:03
corvusmordred: testing23:03
mordredcool23:04
corvusi'm testing repo creation23:04
corvusmordred: what's the mysql arg to run a query on the cmdline?23:08
*** rascasoft has quit IRC23:09
corvus-e i think23:09
mordredcorvus: I usually pipe it in ...23:10
corvusmordred: http://paste.openstack.org/show/737942/23:10
mordredecho "select * from repo_unit where repo_id=2" | ./kubectl -n gitea-db -c database exec -i gitea-pxc-123:10
mordredmysql gitea23:10
mordredcorvus: hrm - the -e worked - it didn't like begin transaction ... checking23:12
corvusmeanwhile i'll sprinkle more \ around that23:13
corvus(but i don't think the \ were the issue; i think they'd be the next issue)23:13
mordredcorvus: DUH.23:13
mordredcorvus: start transaction, not begin transaction23:13
corvusk23:13
mordredcorvus: begin transaction is, I think, sybase23:13
mordredcorvus: there's an issue in yuour insert too23:15
mordredcorvus: insert into repo_unit (repo_id, `type`, config) ... the repo_id got replaced by the numeric repo id there - but at that point it wants to be the bare word repo_id (column name)23:15
corvusdoh, thx23:16
mordredit's correct in the values section :)23:16
mordredand ExternalTrackerStyle seems cut off23:16
mordredbut maybe that's just ansible truncating the command?23:16
mordredoh - nevermind23:17
mordredcorvus: I'm guessing that woudl be the more \s you were talking about23:17
corvusmordred: hrm, i still can't get the quotes right apparently: http://paste.openstack.org/show/737943/23:21
corvusoh, sorry about the continuation lines in the first part -- that's from emacs.  the command is really all on one line23:21
*** e0ne has quit IRC23:21
corvuscorrected -- http://paste.openstack.org/show/737944/23:22
*** eernst has joined #openstack-infra23:22
mordredcorvus: I see it23:24
mordredcorvus: it's the 'id' in create_repo_result.json['id']23:24
mordredcorvus: maybe do a set_fact on that so that you don't have to subscript there?23:24
corvusk23:24
mordredalso - it seems like there is a missing semicolon at the end of the insert before the commit23:25
corvusalso i think we were missing ); at the end of the insert23:25
mordredcorvus: oh - you know what ...23:25
mordredcorvus: you could set_fact the actual sqlquery too - so you could do it in a multi-line yaml block23:25
corvusgood idea23:26
mordredcorvus: then just do -e '{{ sql_statement }}'23:26
*** jamesmcarthur has joined #openstack-infra23:26
*** dave-mccowan has quit IRC23:26
corvuscool, i'm down to trivial mysql errors now23:29
corvustype_id -> `type`23:29
corvusmordred: http://paste.openstack.org/show/737945/23:30
clarkbfungi good to approve the storyboard infra specs docs update post ferrit restart?23:30
mordredyeah - I wasn't sure if we needed to sql quote type or not - couldn't remember23:31
mordredclarkb: mmm. ferrit23:31
corvusmordred: i'm not sure that made the quoting situation better :/23:31
mordredcorvus: it looks like we lost the ' in the query - can I see the actual ansible?23:32
mordred(I thinkm we're really close here)23:32
corvusmordred: yeah, let me move it into a new file so we can iterate faster23:32
mordredcorvus: cool. and I can obvs look at it on bridge23:33
corvus(i just added more escapes and am right back to the no closing quote23:33
*** dims has quit IRC23:33
corvusmordred: ansible-playbook -i ~corvus/opendev/gitea/inventory.yaml ~corvus/opendev/gitea/test-playbook.yaml23:34
mordredoh - yeah - because the string interp is still gonna make it wrapped23:34
mordredcorvus: ok - lemme try a different quoting approach23:36
*** e0ne has joined #openstack-infra23:37
mordredcorvus: boom - I think that worked?23:37
*** bobh has joined #openstack-infra23:38
*** e0ne has quit IRC23:38
mordredhrm. well, it didn't error - but I don't think it did anything either23:38
mordredoh - it totally did - it just didn't do a repo_id23:40
corvusmordred: no?  there's some stuff in the db23:40
corvusyeah23:40
mordredyeah - turns out, *I* was in a started transaction in my mysql window23:40
mordredyay for transaction isolation :)23:40
corvusi must have uninterpolated that repo id in values23:41
corvuseasy fix23:41
corvusmordred: i'll fix it23:41
corvusmordred: also, is now() going to work for created_unix ?23:42
mordredmaybe? which table?23:42
*** bobh has quit IRC23:42
corvusrepo_unit23:42
corvusnope, it put in 20181221234259 not 154543514223:43
mordredyeah - I think you want ...23:43
*** jamesmcarthur has quit IRC23:43
mordredunix_timestamp()23:44
*** slaweq has joined #openstack-infra23:44
corvuslooks good, thanks!23:44
mordred\o/23:44
corvusi'll plop that back into the main playbook, and run it again23:44
mordrednot QUITE as easy as doing a REST call, but not the WORST thing we've ever written by a long stretch23:44
corvusheh.  we set the bar low.23:45
corvusmordred: w00t!  looks good!23:46
corvusi'm going to run it on all the repos now23:47
*** jamesmcarthur has joined #openstack-infra23:47
corvuser, actually i'm going to make sure it no-ops on an already created repo first23:48
mordred++23:48
*** slaweq has quit IRC23:48
mordredI'm excited23:48
corvusokay, running globally now23:50
mordredcorvus: woot. and replication is enabled - so in theory a bunch of repos should get created, and then get populated with a crap-ton of data23:50
corvusmordred: yep23:50
mordredwcpgw?23:50
clarkbhopefully replocating off git far  not gerrit23:52
fungiclarkb: yeah, it now reflects present reality rather than future reality23:52
clarkbor gerrit may have a sad23:52
*** jamesmcarthur has quit IRC23:52
corvusclarkb: gerrit is replicating *to* it.  push.23:52
fungiwhen push comes to shove23:52
* fungi wants a git shove subcommand now23:53
mordredfungi: easy to write ...23:53
fungimaybe that's just an alias for push --force23:53
mordredfungi: that would be a funny alias for git push -f --all23:53
fungiheh, jinx!23:53
corvusoh, i'm going to accept the host key for gerrit23:53
mordred++23:54
clarkbcorvus: oh was that added in the restart too?23:54
corvusclarkb: yes23:54
mordredcorvus: yah23:54
clarkbgitea is still poc like though right? this is justbuilding out the bits?23:55
corvusclarkb: yes.  i just want to get data into it for testing23:55
mordredyup23:56
clarkbWe probably dont want to switch to it until we have the whole deployment story automatedor at least written down (for k8s and k8s workload)23:56
clarkbcool23:56
corvusthis is still the throwaway testing cluster23:56
mordredyup. although we've actually got pretty much most everything we've been doing automated and reproducible23:56
clarkbrgr23:56
corvusgerrit will be fine if we shut it down23:56
mordredso - I'm fairly confident in our ability to delete the whole thing and create a whole new one from scratch23:57
corvusyes, we've built the whole system probably more than 50 times already :)23:57
mordredright?23:57
clarkbit will pile up replication tasks. Which iant the end of the world as long as wedont oom on that queue growing23:57
corvuswhat's the way to tell ssh to use an rsa key?23:57
mordred-i ?23:57
corvusclarkb: it maxes out at the number of repos23:57
clarkboh right23:57
corvusi mean the host key23:57
corvusi need to convince openssh to accept the rsa host key rather than the ecdsa one i think23:58
clarkbssh keyscan -t rsa23:58
clarkbcorvus: ^ ?23:59
fungiif you don't create an ecdsa key it shouldn't try to query the host's ecdsa key anyway23:59
corvusclarkb: that worked, thanks23:59

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