14:30:21 #startmeeting Pulp Triage 2020-04-24 14:30:21 !start 14:30:21 #info fao89 has joined triage 14:30:21 Meeting started Fri Apr 24 14:30:21 2020 UTC. The chair is fao89. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:30:21 Useful Commands: #action #agreed #help #info #idea #link #topic. 14:30:21 The meeting name has been set to 'pulp_triage_2020-04-24' 14:30:21 fao89: fao89 has joined triage 14:30:26 #info daviddavis has joined triage 14:30:26 !here 14:30:26 daviddavis: daviddavis has joined triage 14:30:26 #info x9c4 has joined triage 14:30:26 !here 14:30:27 x9c4: x9c4 has joined triage 14:30:27 #info ppicka has joined triage 14:30:27 !here 14:30:28 #info dkliban has joined triage 14:30:28 !here 14:30:29 ppicka: ppicka has joined triage 14:30:30 dkliban: dkliban has joined triage 14:30:30 #info ggainey has joined triage 14:30:30 !here 14:30:31 ggainey: ggainey has joined triage 14:30:31 !next 14:30:32 fao89: 7 issues left to triage: 6571, 6568, 6564, 6537, 6534, 6496, 6463 14:30:32 #topic https://pulp.plan.io/issues/6571 14:30:32 #info mikedep333 has joined triage 14:30:32 !here 14:30:34 RM 6571 - daviddavis - ASSIGNED - Check for bad changelog entry extensions 14:30:35 https://pulp.plan.io/issues/6571 14:30:36 mikedep333: mikedep333 has joined triage 14:30:49 #idea Proposed for #6571: accept and add to sprint 14:30:49 !propose other accept and add to sprint 14:30:49 dkliban: Proposed for #6571: accept and add to sprint 14:30:51 !propose other accept and add to sprint 14:30:53 +1 14:31:04 #agreed accept and add to sprint 14:31:04 !accept 14:31:04 fao89: Current proposal accepted: accept and add to sprint 14:31:05 #topic https://pulp.plan.io/issues/6568 14:31:05 fao89: 6 issues left to triage: 6568, 6564, 6537, 6534, 6496, 6463 14:31:06 RM 6568 - mped - NEW - Pulp 3 Sync of CentOS 8 Base OS repo, also ends up including AppStream 14:31:07 https://pulp.plan.io/issues/6568 14:31:13 #info ttereshc has joined triage 14:31:13 !here 14:31:13 ttereshc: ttereshc has joined triage 14:31:23 sounds like a feature 14:31:42 move to rpm 14:31:43 i believe it's because of kickstarts 14:32:00 yes and it's a correct behaviour 14:32:09 #idea Proposed for #6568: move to RPM 14:32:09 !propose other move to RPM 14:32:09 dkliban: Proposed for #6568: move to RPM 14:32:11 +1 to move to rpm 14:32:15 and I can comment 14:32:16 #agreed move to RPM 14:32:16 !accept 14:32:16 fao89: Current proposal accepted: move to RPM 14:32:17 #topic https://pulp.plan.io/issues/6564 14:32:18 fao89: 5 issues left to triage: 6564, 6537, 6534, 6496, 6463 14:32:19 RM 6564 - daviddavis - NEW - Export filename for pulp exports has dupe slashes 14:32:20 https://pulp.plan.io/issues/6564 14:32:24 accept 14:32:28 +1 14:32:29 #info dalley has joined triage 14:32:29 !here 14:32:29 dalley: dalley has joined triage 14:32:30 +1 14:32:33 +1 14:32:37 #idea Proposed for #6564: Leave the issue as-is, accepting its current state. 14:32:37 !propose accept 14:32:38 fao89: Proposed for #6564: Leave the issue as-is, accepting its current state. 14:32:40 +1 14:32:43 #agreed Leave the issue as-is, accepting its current state. 14:32:43 !accept 14:32:43 fao89: Current proposal accepted: Leave the issue as-is, accepting its current state. 14:32:44 #topic https://pulp.plan.io/issues/6537 14:32:44 fao89: 4 issues left to triage: 6537, 6534, 6496, 6463 14:32:45 RM 6537 - daviddavis - NEW - Write a guide for debugging tasks 14:32:46 https://pulp.plan.io/issues/6537 14:32:53 arg task 14:32:58 we have some docs for doing this in pulp 2 I think 14:33:01 #idea Proposed for #6537: convert to task 14:33:01 !propose other convert to task 14:33:01 dkliban: Proposed for #6537: convert to task 14:33:03 #idea Proposed for #6537: convert to a task 14:33:04 !propose other convert to a task 14:33:04 fao89: Proposed for #6537: convert to a task 14:33:14 +1 14:33:17 that can partially be copied 14:33:22 #agreed convert to a task 14:33:22 !accept 14:33:22 fao89: Current proposal accepted: convert to a task 14:33:23 #topic https://pulp.plan.io/issues/6534 14:33:23 fao89: 3 issues left to triage: 6534, 6496, 6463 14:33:24 dalley: cool can you add a link to the issue? 14:33:25 RM 6534 - ttereshc - NEW - Having same content in one batch can cause issues in _post_save of ContentSaver 14:33:25 not py-spy though, that would be useful to document 14:33:26 https://pulp.plan.io/issues/6534 14:33:30 #info bmbouter has joined triage 14:33:30 !here 14:33:30 bmbouter: bmbouter has joined triage 14:33:42 #idea Proposed for #6534: Leave the issue as-is, accepting its current state. 14:33:42 !propose accept 14:33:42 fao89: Proposed for #6534: Leave the issue as-is, accepting its current state. 14:33:46 +1 14:33:51 +1 14:33:58 +1 14:33:59 #agreed Leave the issue as-is, accepting its current state. 14:33:59 !accept 14:33:59 fao89: Current proposal accepted: Leave the issue as-is, accepting its current state. 14:34:00 +1 14:34:00 #topic https://pulp.plan.io/issues/6496 14:34:01 fao89: 2 issues left to triage: 6496, 6463 14:34:02 RM 6496 - dalley - NEW - Created Resources created and removed later are displayed as null in the task 14:34:03 https://pulp.plan.io/issues/6496 14:34:27 should we add this to the sprint? 14:34:34 i just don't want to forget about it 14:34:36 I think so 14:34:40 yeah 14:34:47 #idea Proposed for #6496: accept and add to sprint 14:34:47 !propose other accept and add to sprint 14:34:47 fao89: Proposed for #6496: accept and add to sprint 14:34:53 +1 14:34:55 #agreed accept and add to sprint 14:34:55 !accept 14:34:55 fao89: Current proposal accepted: accept and add to sprint 14:34:56 #topic https://pulp.plan.io/issues/6463 14:34:56 fao89: 1 issues left to triage: 6463 14:34:57 RM 6463 - binlinf0 - NEW - pulp 3.2.1 duplicate key error when sync 14:34:58 https://pulp.plan.io/issues/6463 14:35:14 long time no see 14:35:15 +1 14:35:18 +1 14:35:29 whoops I was scrolled back 14:35:40 * bmbouter retracts +1s 14:35:51 i think we can close this one ... he is not able to reproduce 14:35:58 I agree 14:36:08 i can close it and leave a coment 14:36:18 we can't accept w/o reproduer so close and skip are only options and I'm +1 to close NOTABUG 14:36:23 #idea Proposed for #6463: close and leave a comment 14:36:23 !propose other close and leave a comment 14:36:23 fao89: Proposed for #6463: close and leave a comment 14:36:27 +1 14:36:29 #agreed close and leave a comment 14:36:29 !accept 14:36:29 fao89: Current proposal accepted: close and leave a comment 14:36:29 +1 14:36:30 +1 14:36:31 fao89: No issues to triage. 14:36:39 Open floor! 14:36:49 https://github.com/pulp/pulpcore/pull/600 14:37:04 i wanted to start by saying that this PR is addressing multiple issues 14:37:34 1. how to handle write_only fields in our openapi schema 14:37:58 2. converting username and password fields on a remote to be SecretCharFields 14:38:20 so i propose that we open a separate issue for 2 14:38:27 and discuss 1 now 14:38:48 +1 to address different issues in different PRs 14:38:49 I think 2 can be handled by https://pulp.plan.io/issues/6421 14:39:27 daviddavis: maybe 14:39:36 it specifically says that "write_only fields can be converted to SecretCharFields" 14:40:10 ok ... i am fine with that ... bmbouter, could you please provide some comments on 6421 ? 14:40:19 one of my open floor topics is that we should not use secretCharFields at all 14:40:33 and I want to bring attention to x9c4 comment: https://github.com/pulp/pulpcore/pull/600#issuecomment-617612095 how write_only could be a problem in the future 14:40:35 ok, maybe that is different 14:40:48 fao89: yes, that's topic 1 from above 14:41:02 so let's dig into that 14:41:02 let's file an issue for bmbouter's point and/or discuss after this 14:41:05 +1 14:41:13 my take on why we shouldn't use SecretCharField is that we should wait for RBAC to only show plaintext data to users who have rightful access to it 14:41:23 we can discuss later/after is fine w/ me 14:41:31 ok .. thanks bmbouter 14:41:49 yesterday ttereshc posted an issue with SecretCharField 14:42:21 so the issue with write_only fields is that we can't use them 14:42:27 so with regard to write_only fields and our openapi schema, i think x9c4 brought up a very good point that if we auto generate serializers for serializers that have write_only fields, we will constatnly be breaking our clients 14:42:41 so i agree with daviddavis 14:42:56 does anyone not agree? 14:43:14 Or we do the split in to sChema serializers for all models. 14:43:27 yes good point 14:43:29 * daviddavis cries 14:44:17 if we don't use write_only fields, we will have to split up serializers 14:44:22 I think we can't use write_only fields 14:44:42 yea I agree 14:44:46 but not for *all* serializers right? just the ones that have fields that couldn't be read again? 14:45:07 that's right ... i think this only affects Content serializers 14:45:13 that's my understanding. teh dev or plugin writer has to manually split up serializers 14:45:18 here are all the write_only we current use: https://pulp.plan.io/issues/6346#note-10 14:45:54 we use write_only incorrectly sometimes though ... if the serializer is only used for POST operations, we dont' need to mark those fields as write_only 14:46:07 yup 14:46:27 so i really think this is only a problem for Content which can be created using a 'file' but it doesnt' have a 'file' attribute on GET 14:46:48 so the other option is to include 'file' for GET and give it a value of 'not set for GET" 14:47:17 i would actually prefer something like that 14:47:27 dkliban: that is also the scope of the problem AIUI (assuming secret fields no longer need to be secret due to RBAC) 14:48:22 dkliban: so you're saying it would just be null or something on GET? 14:48:40 bmbouter: yeah ... or a path to the artifact if we want to reveal that. 14:49:11 w/ things like NoArtifactSingleContentUploader it wouldn't have an artifact but yes 14:49:39 how does that work w/ PATCH? 14:50:03 You cannot patch content. 14:50:04 that method is not supoprted for content ... but i should verify that 14:50:28 bmbouter: you have to delete and recreate content 14:50:43 can someone take an AI to summarize the current plan shortly on pulp-dev? 14:50:53 yes, i'll do it 14:50:54 But with passwords on remotes? 14:50:55 why is this solution better than having read vs write serializers for content? 14:51:01 I found the issue related to SecretCharFields https://pulp.plan.io/issues/6565 14:51:12 I also don't understand that @daviddavis 14:51:22 daviddavis: because plugin writers have to do less 14:51:26 I think I'm in favor of explicit serializers for the cases we need them for 14:51:43 the tradeoff is tho, less work for plugin writers more confusion for users 14:51:49 oh ok 14:52:02 and the size of these relative groups to me suggests we should optizmize onless confusion for users 14:52:18 a good point 14:52:33 can the summery include both options 14:52:38 oh for sure 14:52:39 and also triage + open floor needs to be longer 14:52:47 yea, I have a couple more questions about this path 14:52:51 yup 14:52:52 which path? 14:52:59 of not using write_onyl fields 14:53:03 oh ok 14:53:03 and we have to make some validations, otherwise write_only fields will bite us again in the future 14:53:11 this ^ 14:53:23 can we raise an exception or something? 14:53:38 yes, when we are loading everything at startup pulp can fail to start 14:53:55 cool, that would be good 14:54:06 my other question was just about getting this documented 14:54:10 https://github.com/pulp/pulpcore/blob/master/pulpcore/app/apps.py#L49 14:54:34 we need to add a method that imports serializers and does validation 14:55:31 yeah ... we need to add plugin writer docs that say that write_only is a no no 14:55:37 If we have different Serializers for read and write, does the schema reflect that? 14:55:43 yes 14:56:07 and our cli code will be able to easily know when to use which 14:56:21 yeah I think we need that the other option is seeming like a no go to me for these reasons 14:56:22 Nice. 14:56:52 bmbouter: can you rephrase that more specifically 14:57:36 with more specificity 14:57:48 +1 to splitting serializers because of the benefits of the schema becoming explicit 14:58:07 -1 to using one serializer with fields that can only be used in some options but are present in the schema for areas they can't be used 14:58:40 bmbouter: yes, that would make it more confusing to know when a field should be rendered for the user or when not 14:59:07 i'll still outline both options in my note with all the pros and cons 15:00:03 my initial note pulp-list said this change would come with 3.4 15:00:16 do we have reason to believe that is still possible? 15:00:43 it's reasonable enough not to cancel it 15:00:47 cool 15:00:49 unfortunately I have to go to another meeting 15:01:07 so I propose we make triage + open floor a 1 hour meeting for T and Friday 15:01:16 sounds good 15:01:18 we do not have enough time together 15:01:26 yea 15:01:28 i love you guys! 15:01:34 ha 15:01:34 hahaha 15:01:52 can we open an issue for the secretcharfields or start a discussion on pulp-dev? 15:01:54 cool ... i think we can adjourn for today 15:02:03 fao89: as the lead can you make the schedule change? 15:02:16 sure 15:02:53 bmbouter: please open an issue about secretcharfields 15:05:16 I cannot change triage schedule, dkliban is the owner 15:06:56 #endmeeting