14:31:15 #startmeeting Pulp Triage 2020-07-10 14:31:15 !start 14:31:15 #info fao89 has joined triage 14:31:15 Meeting started Fri Jul 10 14:31:15 2020 UTC. The chair is fao89. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:31:15 Useful Commands: #action #agreed #help #info #idea #link #topic. 14:31:15 The meeting name has been set to 'pulp_triage_2020-07-10' 14:31:15 fao89: fao89 has joined triage 14:31:20 #info daviddavis has joined triage 14:31:20 !here 14:31:20 daviddavis: daviddavis has joined triage 14:31:23 #info ppicka has joined triage 14:31:23 !here 14:31:23 ppicka: ppicka has joined triage 14:31:39 #info bmbouter has joined triage 14:31:39 !here 14:31:39 bmbouter: bmbouter has joined triage 14:31:41 !next 14:31:42 #topic https://pulp.plan.io/issues/7119 14:31:42 fao89: 4 issues left to triage: 7119, 7110, 7109, 7105 14:31:43 RM 7119 - osapryki - NEW - Tasks stay in waiting state if worker that had resource reservation gone 14:31:44 https://pulp.plan.io/issues/7119 14:31:49 #info x9c4 has joined triage 14:31:49 !here 14:31:49 x9c4: x9c4 has joined triage 14:32:05 #idea Proposed for #7119: accept and add to sprint 14:32:05 !propose other accept and add to sprint 14:32:05 fao89: Proposed for #7119: accept and add to sprint 14:33:30 and mark high prio 14:33:36 high sev too I think 14:33:41 +1 14:33:46 it's important to us, and a user cannot recover when in this state 14:33:47 +1 to accept 14:33:50 (assuming the report is accurate) 14:33:53 #agreed accept and add to sprint 14:33:53 !accept 14:33:53 fao89: Current proposal accepted: accept and add to sprint 14:33:53 #topic https://pulp.plan.io/issues/7110 14:33:54 fao89: 3 issues left to triage: 7110, 7109, 7105 14:33:55 RM 7110 - wibbit - NEW - pulpcore-client - Artifact upload fails when using python27 14:33:56 https://pulp.plan.io/issues/7110 14:34:56 question: do we support python 2 for our bindings? 14:35:44 is that a "do we currently" or a "should we"? 14:35:50 #info dkliban has joined triage 14:35:50 !here 14:35:50 dkliban: dkliban has joined triage 14:36:12 we should not it is EOL 14:36:19 I think, we do. 14:36:21 I remember it uses six 14:36:21 i propose that we not support python 2.7 14:36:32 we should drop support for it 14:36:46 +1 from me 14:36:51 i know that the templates for openapigenerator try to support it 14:36:53 +1 to not support py2 14:36:54 also 7119 is a duplicate of the issue I currently have a PR open for bmbouter 14:37:03 i agree dalley 14:37:05 actually, bindings are totally a black box 14:37:21 I'm more convinced we should have repos for it 14:38:20 fao89: let's discuss at open floor 14:38:27 what should be the action for this issue? 14:38:40 let's skip for now 14:38:47 !skip 14:38:48 #topic https://pulp.plan.io/issues/7109 14:38:48 and we will talk about it at open floor 14:38:48 fao89: 2 issues left to triage: 7109, 7105 14:38:49 RM 7109 - kossusukka - NEW - Changing MEDIA_ROOT does not propagate to STATIC_ROOT etc 14:38:50 https://pulp.plan.io/issues/7109 14:39:12 I think this is expected 14:39:39 dalley: let's talk more about that after this 14:39:40 we should probably update our settings.py to not reuse MEDIA_ROOT because it creates a false impression 14:40:01 daviddavis: I agree separating them would be better 14:40:01 accept? 14:40:56 #idea Proposed for #7109: Leave the issue as-is, accepting its current state. 14:40:56 !propose accept 14:40:56 fao89: Proposed for #7109: Leave the issue as-is, accepting its current state. 14:41:05 sure, I can leave a note 14:41:26 #agreed Leave the issue as-is, accepting its current state. 14:41:26 !accept 14:41:26 fao89: Current proposal accepted: Leave the issue as-is, accepting its current state. 14:41:27 fao89: 1 issues left to triage: 7105 14:41:28 #topic https://pulp.plan.io/issues/7105 14:41:28 RM 7105 - iballou - NEW - Applicability misreporting as [] for exactly one EL7 consumer 14:41:29 https://pulp.plan.io/issues/7105 14:41:54 #idea Proposed for #7105: move to rpm 14:41:54 !propose other move to rpm 14:41:54 fao89: Proposed for #7105: move to rpm 14:44:00 the last fix for this was actually in pulp 14:44:16 https://pulp.plan.io/issues/6724 14:44:34 but perhaps investigation needs to happen in pulp_rpm first 14:44:42 #agreed move to rpm 14:44:42 !accept 14:44:42 fao89: Current proposal accepted: move to rpm 14:44:43 fao89: No issues to triage. 14:44:53 I'm not super familiar with applicability tho 14:44:58 so don't listen to me :P 14:45:05 open floor - https://hackmd.io/SVCMjpwXTfOMqF2OeyyLRw 14:45:17 topic: zero down time upgrades 14:45:49 I put this on here, it came from the installer meeting 14:46:38 my goals here are to bring some awareness to this need, answer questions, and then bring the discussion to pulp-dev 14:46:54 I think it would help mikedep333 with the pre-flight 14:47:14 agreed, and also a better experience for users overall, and also for the operator I think it's a requirement actually 14:47:28 yes, it is a requirement with the operator 14:47:55 plugins dependency hell is the installer weakest point 14:48:38 I think we said this is not a _thing_ we can do, but a strict policy we need for all db migrations that are to come in the future. Hence awareness is key. 14:48:43 and not only with the operator, but any deployment where the deployment is split up accross multiple servers 14:49:08 x9c4: that's right 14:49:30 yeah the goal here is a policy really x9c4 as you say 14:49:39 and to document that policy in the plugin writer notes 14:50:22 so if there aren't questions here about why or how, then the next step would be for someone (I can) to write up the documentation issue and then advertise it on pulp-dev 14:51:13 i think there will be questions once you write something up 14:51:23 or when ttereshc is back 14:51:25 as we are talking about db migrations, I bet Tanya would like to discuss it 14:51:32 :) 14:51:56 I hope so this is too significant to have 0 questions 14:52:21 ok I can write up the issue then and bring it back at next week's open floor for more discussion? 14:52:23 Seems like there is no question that we want to have it. 14:52:24 bmbouter: let's take the next step 14:52:33 exactly x9c4 14:52:34 also I'll advertsie to pulp-dev 14:52:42 this open floor is being installers meeting 14:52:44 bmbouter: sounds good 14:52:49 will do ty all 14:53:18 next:Retry fix https://github.com/pulp/nectar/pull/67/ 14:53:45 it makes sense to me 14:53:54 i'll review it 14:53:58 dkliban++ 14:53:58 daviddavis: dkliban's karma is now 492 14:54:17 and i'll make sure that the build team builds a new version of this 14:54:27 of nectar so it can go out with the new beta 14:54:37 it also makes sense to me 14:54:40 I looked at this this morning 14:54:44 but +1 to your review dkliban 14:54:53 my only concern was its impact to Pulp 2 14:55:12 I'm not familiar with nectar but I know it's used by every Pulp 2 plugin 14:55:20 yep 14:55:35 but several users/customers are stuck and this would help them out I believe 14:55:48 daviddavis: the impact is that pulp 2 will be better 14:55:54 haha good :) 14:56:05 daviddavis: right now we have pulp 2 making 20 threads to perform downloads 14:56:25 or some number 14:56:31 i don't remember the exact tuning 14:56:40 but the problem is that they share the number of retries 14:56:49 I see 14:57:02 so at some point one of them has 0 retries left because other threads used them up 14:57:40 it's 5 AIUI 14:57:52 cool 14:57:56 really though it shouldn't even be per thread it should be per item... 14:58:01 yep 14:58:06 yea 14:58:08 that's how it works w/ pulp3 at least 14:58:12 and i think that's what this patch will do 14:58:57 I think you're right but the commenton the PR suggests otherwise 14:59:50 i'll comment on the PR with a question about it 14:59:54 dkliban: you may want to suggest he squashes these commits too 15:00:34 hmm 15:00:36 actually 15:00:39 i now see the second commit 15:00:40 actually it's per thread like the comment says 15:00:54 otherwise this wouldn't be reusing the same session in this line https://github.com/pulp/nectar/pull/67/files#diff-609b5250f930300d62fd3da027ef9608R272 15:01:11 it instead wold be calling session = self._make_session() and then using that session 15:01:15 (a new session per request) 15:01:23 but still this does make it better... 15:01:51 and perhaps a new session per request would create side effects I don't understand atm 15:02:08 that was my concern 15:02:29 so these are requests.Sessions https://2.python-requests.org/en/master/user/advanced/ 15:02:33 the first commit is actually reverted in the second commit 15:02:38 yup 15:02:41 so i am not concerned now 15:02:47 aaand if we isolate them we won't receive connection reuse per their docs 15:02:59 cool 15:03:02 which is also like pulp3 haha 15:03:34 so overall i'm +1 to accept a squashed version of this patch 15:03:44 cool 15:04:15 i left a review https://github.com/pulp/nectar/pull/67#pullrequestreview-446476410 15:05:10 we are ready for our next topic 15:05:18 ack 15:05:26 topic: MODIFIED issues. Can these be closed out? 15:05:54 issues from no release projects (plugin_template, ...) 15:05:55 6750 -= yes 15:06:18 done 15:06:23 6768 - yes 15:06:28 done 15:06:44 6713 yea 15:06:44 6713 -yes 15:06:57 done 15:06:58 6834 - yes 15:07:19 6899 yes 15:07:19 done 15:07:21 yes 15:07:28 awesome 15:07:36 topic: bindings - too magical (where is the code? where are the docs?) 15:07:40 ty 15:07:54 * daviddavis casts a binding spell 15:08:10 Even if we don't publish the code, we should at least have a repository that contains the docs that are generated 15:08:25 * x9c4 hopes on openapiv3 15:08:39 x9c4: what's the hope? 15:08:40 could we publish the bindings docs? 15:09:00 daviddavis: we need to desperately, but we don't have a good place to publish them 15:09:05 ah 15:09:05 I had problem with mixed formats rst x md 15:09:09 Hope that it can be used on the fly without generated bindings. 15:09:12 o right 15:09:22 also I have concerns about us checking in large amounts of auto-generated docs 15:09:35 you generally don't check in built assets back to source control 15:10:03 so publishing them somewhere would solve that problem 15:10:05 but going back to python2 discussion, we will have to modify the bindings to accomplish it 15:10:18 python2 is EOL so I think we don't need to support it 15:10:22 fao89: accomplish what? 15:10:34 dropping python2 support 15:10:47 what if we just document that we don't support it? 15:10:50 fao89: i think we just need to add documentation that we don't support it 15:11:02 even though there is code thatmakes it seem like we do 15:11:11 maybe on https://docs.pulpproject.org/client_bindings.html 15:11:13 I don't think we even need to do that python2 dropped support for itself 15:11:22 fwiw pulp/squeezer uses the bindings with python2 and there was never a problem. 15:11:22 lol 15:11:36 x9c4: does it use the upload api? 15:11:39 x9c4: did you try file uploads 15:11:50 It creates artifacts 15:12:09 I think we need to handle it at pypi level, it should not be installable on python2 15:12:10 so chunked upload. 15:12:14 interesting 15:12:21 fao89: we can make that happen 15:12:23 not sure why they're seeing something different in https://pulp.plan.io/issues/7110 15:12:44 fao89: it's pretty easy to do with a custom setup.py 15:13:31 is everyone ok with us adjusting the setup.py for the python bindings to not support python 3? 15:13:47 no 15:13:52 we def want python 3 15:13:55 oooops 15:13:58 python 2 15:13:59 lol 15:14:00 +1 15:14:03 +1 15:14:06 daviddavis: than you 15:14:12 i'll comment on this issue 15:14:32 stating that we will be dropping support for python 2 15:14:39 and i'll also provide a plan for how to do it 15:15:14 excellentay 15:15:27 back to docs, how can we handle it? 15:15:57 so I think it's time we explore making docs.pulpproject.org better 15:16:02 I tried to make sphinx accept md, but it was too ugly 15:16:07 bmbouter: i was thinking that every time we publish a new version of the bindings we would create a new branch in the bindings git repo and commit those docs to that branch 15:16:08 and this is a practical focused way to do that 15:16:18 that still puts them into source control 15:16:21 which is what I'm looking to avoid 15:16:23 I tried to convert md to rst, but it didn't go well 15:16:25 as a general practice 15:16:41 bmbouter: that's cool and i think it's a fine goal 15:17:03 however, there are security implications for allowing plugins outside our control to publish to docs.pulpporject.org 15:17:07 so how about we integrate them to publish "into" docs.pulpproject.org 15:17:38 I think we could security restrict the rsync commands to chroot them to a subdir 15:17:50 duck knows how to do this 15:18:20 if the team that manages taht infra has no concerns, then i am fine with it 15:18:28 +1 15:18:36 I think mkdocs has a build option which generates the static files 15:18:43 https://www.mkdocs.org/user-guide/deploying-your-docs/ 15:18:45 mkdocs is the jammy jam 15:18:45 fao89: that would be great 15:19:19 I can try a PoC with mkdocs 15:19:45 fao89: that sounds great, we also need an issue that identifies the dir they will push into on docs.pulpproject.org 15:19:53 or some discussion here, either way 15:20:05 bmbouter: so let's reach out to duck and see about adding a new user for rsyncing plugin docs. i want this to be practice for creating othter users that will be used for plugins that we don't control 15:20:45 yup 15:20:45 "duck knows how to do this" - I thought this was a slang 15:20:51 hahaha 15:20:54 duck is a person 15:20:56 this persons nick name is duck 15:20:59 no joke 15:21:01 lol 15:21:03 yep 15:21:10 he even quacks as a hello it's great 15:21:18 hahaha 15:21:21 he's our infra spirit animal 15:21:39 this will greatly improve the user experience of the bindings 15:21:42 I agree 15:22:01 we need this plan written some before we start doing things I think 15:22:02 I just did mkdocs build at pulp_installer and it indeed creates a dir with static files 15:22:13 that part sounds great 15:22:13 bmbouter: i can write a ticket 15:22:31 dkliban: that would be great I can collab on it if you start and send it to me 15:22:42 bmbouter: sounds good. i'll do it this afternoon 15:23:05 great ty 15:23:27 next topic: release automation – what’s next? 15:24:36 I put this one there ... what's next? 15:25:19 release pipeline 15:25:52 we need to create teh pulpcore-packaging repository 15:25:57 we have a task for this 15:26:10 and then we need to start moving the automation into this repository 15:26:21 woudl it help to meet next week to start the design for this? 15:26:28 so that the next time we release we can release pulpcore, pulp_file and pulp_installer at the same time 15:27:05 daviddavis: yes, i was hoping we could dedicate our CI meeting to this planning 15:27:10 +1 from me 15:27:50 I was under impression it would be dropped for the next 3 months 15:28:07 ok, let's drop it and add a unified release pipeline meeting 15:28:09 same time 15:28:14 lol 15:28:31 i'll try to keep this meeting short by bringing a plan to the meeting 15:28:35 great 15:28:39 so we have something concrete to discuss right away 15:28:51 we can make it nonrecurring too 15:28:55 so that's the goal bmbouter: release pulpcore, pulp_file, and pulp_installer using the pulpcore-packaging CI 15:28:58 yep 15:29:14 I think weekly is too much 15:29:19 fao89: i agree 15:29:31 we can do the CI failure checkin in this channel 15:29:36 so I was wondeirng is: is there a way to shorten the release time investment 15:29:52 bmbouter: did you have any ideas? 15:29:54 sounds good 15:29:57 for example we release pulpcore every 4ish weeks, then 7-8 plugins have to release after it over 3 months that's like 24 releases 15:30:14 what about the extra steps you and daviddavis talked about this morning? 15:30:22 the bumping and branching? 15:30:48 we could add automation for that also 15:30:48 or what about a script that calls it on 3 repos instead of doing all 3 independantly? 15:31:10 we should try to do more incremental improvmements for it because it will give us back any time invested 15:31:12 I gotta run 15:31:28 me too. I can bring this up at the ci/cd meeting on wednesday 15:31:44 we can do some emailing about this before then 15:32:02 i think we should end the meeting now because we are at our time 15:32:10 #endmeeting 15:32:10 !end