Tuesday, 2018-03-06

*** tosky has quit IRC00:40
*** jamesmcarthur has joined #storyboard00:52
*** jamesmcarthur has quit IRC00:56
*** jamesmcarthur has joined #storyboard03:00
*** jamesmcarthur has quit IRC03:04
*** udesale has joined #storyboard04:44
*** jtomasek has joined #storyboard08:15
*** tosky has joined #storyboard10:21
*** jamesmcarthur has joined #storyboard11:01
*** jamesmcarthur has quit IRC11:05
*** tosky has quit IRC13:24
*** tosky has joined #storyboard13:28
*** udesale has quit IRC13:29
*** udesale_ has joined #storyboard13:29
*** tosky__ has joined #storyboard13:54
*** tosky has quit IRC13:55
*** tosky__ is now known as tosky13:55
*** tosky has quit IRC14:03
*** tosky has joined #storyboard14:23
openstackgerritLuigi Toscano proposed openstack-infra/storyboard master: Migration script: optional parameters to filter by tags  https://review.openstack.org/54922215:56
toskyI tested it more15:57
zara_the_lemur__thanks! :)15:57
toskydiablo_rojo: you mentioned that you want to retest the sahara migration with that patch; I have the list of combinations of projects and tags for sahara, where should I document it?16:07
toskycan I simple edit the task on the story about migrating projects?16:07
*** jamesmcarthur has joined #storyboard16:35
diablo_rojoYeah that would be perfect tosky16:35
diablo_rojoOr if its complicated you can write in an etherpad and link that in the task16:36
toskydiablo_rojo: I was just not sure whether that field was intended to be small or not16:37
toskyjust to be clear: I'm talking about editing the task  6307 in https://storyboard.openstack.org/#!/story/200087616:38
toskyor should I add a separate comment in the story?16:38
*** jdandrea has quit IRC16:38
*** jdandrea has joined #storyboard16:40
*** mcnanci has quit IRC16:41
*** jamesmcarthur has quit IRC16:43
*** jamesmcarthur has joined #storyboard16:43
diablo_rojotosky, I think putting it in the Sahara specifc task would be better.16:43
*** jamesmcarthur has quit IRC16:47
*** jamesmcarthur has joined #storyboard16:47
toskydiablo_rojo: ack16:49
toskydiablo_rojo: did you think about allowing more comments per task?16:50
diablo_rojotosky, I would be fine with that, I think the trouble comes with how to show it in the UI without it getting too overwhelming.16:52
*** udesale_ has quit IRC16:53
persiaTo my mind, the field is intended to be just enough to progress.  Most of the time, that is fairly small (often a URL or small note),.  Sometimes it is a large bundle of markdown.16:53
diablo_rojoMaybe there was some other reason historically it wasn't a thing, but as far as I'm concerned, I think its a good idea :)16:53
diablo_rojofungi, I know we chatted at the woo happy hour about some things and was trying to follow up today. If memory serves you said you would be able to help fix the gerrit/sb regression that happened? And that you might be able to help upgrade the db to support utf-8 I think it was?16:54
fungii don't remember what the details were for the gerrit/sb regression (i think you said you'd get me an example)16:59
fungias far as the db update, i can do that no problem but will want to schedule a few minutes of downtime for it16:59
*** jamesmcarthur has quit IRC17:00
*** jamesmcarthur has joined #storyboard17:01
diablo_rojofungi, let me grab the story for it. As for the db, maybe we can do it tomorrow morning?17:10
diablo_rojofungi, https://storyboard.openstack.org/#!/story/200141117:10
diablo_rojoBasically gerrit doesn't add links on stories in sb anymore.17:11
diablo_rojoEx https://storyboard.openstack.org/#!/story/200067617:12
fungigot it, so the its-storyboard plugin for gerrit isn't updating sb any longer17:12
diablo_rojoYeah that sounds correct17:12
fungido we have an example of a recent one which didn't update the story linked in its commit message?17:12
diablo_rojoYeah let me grab one.17:13
fungii'm wondering if the api token we generated for it got lost or expired17:13
diablo_rojofungi, https://storyboard.openstack.org/#!/story/107 and patch: https://review.openstack.org/#/c/548244/17:16
SotKthe gerrit plugin is still updating task statuses, so I think it must still have a valid token17:21
SotKre: utf8, the change is that the db needs to use the utf8mb4 charset rather than utf8 iirc17:22
*** tosky has quit IRC17:24
fungiyeah, we have a similar db migration planned for gerrit anyway, and did one a year or so ago for etherpad17:24
fungiand i agree, if it's updating task statuses but not commenting, then it's not likely the token at fault17:25
fungii'll see if we have gerrit api logs back to feb 2717:26
funginothing for that change in the error log that day17:28
fungidoes anyone remember how long it's been since gerrit has left a comment in sb?17:29
*** tosky has joined #storyboard17:30
diablo_rojofungi, a very long time.. I don't recall when it stopped. Maybe SotK has an idea?17:32
fungicurious if it may have coincided with our upgrade to gerrit 2.1317:32
diablo_rojoWhen was that?17:33
diablo_rojoDate wise17:33
fungitracking that down17:36
fungi2017-09-18 23:48:12 UTC review.openstack.org Gerrit 2.13 upgrade is functionally complete. The Infra team will be cleaning up bookkeeping items over the next couple days. If you have any questions please let us know17:37
fungihttps://wiki.openstack.org/wiki/Infrastructure_Status17:37
SotKI don't remember the exact date it stopped working, but I also suspect the gerrit upgrade17:37
persiaMy vague memory is that we started hearing comments about the lack of updates something like 6 months ago, although initially those seemed to be about "not getting notifications" in general, which was because of the mail gateway issues.17:37
fungiso sounds plausible17:37
fungientirely possible that we upgraded to a regression in gerrit's its-storyboard plugin17:44
fungihttps://gerrit.googlesource.com/plugins/its-storyboard/17:44
fungii wonder whether zaro_ has any suggestions for troubleshooting this (if he's around)17:46
fungii definitely see gerrit's log mentioning performing the task updates for the initial patchset of https://review.openstack.org/548244 but logs mention nothing about commenting on the story17:47
fungilooks like when upgrading to gerrit 2.13 we also upgraded its-storyboard from a9cb131 to 805f9ac17:51
fungithat brought in 6 new commits17:52
fungiand there are a couple additional commits newer than what we're running, which seem to be entirely about replacing the buck build system with bazel17:56
fungidigging through java source, the plugin looks like it should log errors if it can't comment on a story, so i have a feeling it's not even trying18:04
zaro_hi. not sure about this but here's few things to look at18:05
fungii wonder if we missed updating the actions config when we upgraded18:06
zaro_is the plugin even loaded?  you should see this in logs https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardModule.java#5118:06
fungiyeah, it's loaded and updating task statuses18:06
fungiit just seems to skip commenting on any stories18:06
fungithe log definitely mentions loading the plugin and has log entries associated with the plugin's actions on various tasks18:07
zaro_ohh, then this is the story endpoint it uses. https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardClient.java#4318:07
zaro_could be something with permissions?18:07
fungii doubt anything changed with respect to the permissions for the /api/v1/stories endpoint (especially since it seems to be using /api/v1/tasks just fine)18:08
fungiSotK: ^ any idea if the api path for that changed?18:08
SotKthat's the correct endpoint18:09
fungidiffing between the versions of the plugin we upgraded from/to it looks like the example commentlink for "story" was added but it matches what we're using at http://git.openstack.org/cgit/openstack-infra/system-config/tree/modules/openstack_project/manifests/review.pp#n15018:10
*** jtomasek_ has joined #storyboard18:14
*** jtomasek has quit IRC18:15
zaro_fungi: i guess maybe turn debugging on for review-dev and test it?18:18
zaro_looks like there's some logging output you can look at, https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardClient.java#4318:19
fungiwrong url?18:20
fungior you just mean the various log.debug() calls in the methods in the same file?18:24
zaro_opps, https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardItsFacade.java#5718:25
fungithat's a log.warn() so shouldn't i see it already?18:25
fungii'm seeing log.info() level stuff in our log for its-storyboard actions on tasks18:26
zaro_true. do you see it?18:26
zaro_if that method isn't getting called then i think it's a config issue.18:27
fungie.g.: INFO  com.googlesource.gerrit.plugins.its.storyboard.StoryboardClient : Updated https://storyboard.openstack.org/api/v1/tasks/6546 with {"task_id":"6546","status":"merged"}18:27
fungibut no lines like "unable to comment" or "Storyboard item"18:27
fungiand yes, i'm leaning toward the possibility that it's not matching on our commentlink18:28
fungihttp://paste.openstack.org/show/693411/ is what the relevant commentlinks look like from the gerrit.config on our production server's filesystem right now18:29
fungii expect the link entry for the its-storyboard (task) commentlink is incorrect but hopefully not what's causing this issue since comments are getting updated just fine18:30
fungier, i mean since tasks are getting their statuses set just fine18:30
zaro_hmm, why are the links different?18:30
zaro_fungi: "NOTE: Historically the association has been defined in the Gerrit's commentLink section. That setting is deprecated but still supported for the current release. You are encouraged to move the association policy to the plugin section, the commentLink.association will be discontinued in the next major release."18:34
zaro_https://gerrit.googlesource.com/plugins/its-base/+/master/src/main/resources/Documentation/config-common.md18:34
fungiooh, neat18:34
zaro_hope that help :)18:35
fungiyeah, the only plugin section in our gerrit.conf is for plugin "javamelody"18:35
*** jamesmcarthur has quit IRC18:36
fungizaro_: is it possible to do the its plugin association in the plugin section as far back as 2.13?18:36
fungiwhatever version of its-base 2.13 uses anyway18:37
zaro_the same message is 2.13 https://gerrit.googlesource.com/plugins/its-base/+/stable-2.13/src/main/resources/Documentation/config-common.md18:38
fungiokay, good18:38
zaro_*is in18:38
fungizaro_: do you know where there might be any good examples of configuring this in a plugin section rather than in a commentlink section? that page looks like it documents the old method, and says that it will be discontinued in favor of the new method, but doesn't explain how to do it the new way18:43
fungiunless i'm completely misreading it18:43
zaro_i think it's just this https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/resources/Documentation/quick-install-guide.md#its_connection_its_connectionconnection-configuration18:51
zaro_ohh, i see what you mean. it's slightly confusing.18:53
fungiwe have that bit in our config already18:53
fungicurious how to set the item match pattern and link pattern in the plugin config section rather than in a commentlink18:53
zaro_hmm, i'm wondering if wikimedia has an example of how they do maniphest config.  should be pretty similar18:54
fungilike, do they use the same format as a commentlink block? are the parameters named the same (match and link)?18:54
fungigood idea, they likely do. they have most of their configuration public18:54
fungii'm looking around now18:54
zaro_https://phabricator.wikimedia.org/source/operations-puppet/browse/master/templates/gerrit/gerrit.config.erb;9b90605fefbf4d0d98d0a73ea71b8ff2106ce52218:55
fungigood find, but i don't see "its" in there18:56
zaro_maybe not the right repo?18:56
fungithey do have a [bugzilla] section18:57
fungithough if that's for an its plugin, they seem to probably still use the match and link details from the corresponding commentlink entry18:58
zaro_i think you would just add a [its-storyboard] section18:59
zaro_i think it just needs to match the plugin name18:59
zaro_fungi: i'm pretty sure that's it.19:01
zaro_if you would like confirmation then just ask qchris on #gerrit19:01
fungiwill do, thanks!19:01
*** tosky has quit IRC19:42
*** tosky has joined #storyboard19:45
aspiers500: POST /api/v1/tasks: (InternalError) (1213, u'Deadlock found when trying to get lock; try restarting transaction') u'UPDATE stories SET updated_at=%(updated_at)s WHERE stories.id = %(stories_id)s' {'updated_at': datetime.datetime(2018, 3, 6, 20, 14, 37, 109789), 'stories_id': 2001639}20:14
aspiersanyone know what that's about?20:15
aspiersseen while creating a fresh story with 5 tasks20:16
aspiersinteresting - it created the story and 3 of the tasks20:16
*** jamesmcarthur has joined #storyboard20:26
*** jamesmcarthur has quit IRC20:45
*** jamesmcarthur has joined #storyboard20:57
*** jtomasek_ has quit IRC21:01
*** tosky has quit IRC21:11
*** tosky has joined #storyboard21:16
-openstackstatus- NOTICE: The infrastructure team is aware of replication issues between review.openstack.org and github.com repositories. We're planning a maintenance to try and address the issue. We recommend using our official supported mirrors instead located at https://git.openstack.org.21:19
diablo_rojoaspiers, I've hit that one before. I think there is a story for it already.21:25
*** jamesmcarthur has quit IRC21:57
*** jamesmcarthur has joined #storyboard22:05
*** tosky has quit IRC23:37
*** jamesmcarthur has quit IRC23:46

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