Wednesday, 2023-05-17

opendevreviewRaghavendra Tilay proposed openstack/cinder master: HPE 3PAR: use vlan iscsi ips  https://review.opendev.org/c/openstack/cinder/+/87868405:48
opendevreviewYuehuiLei proposed openstack/cinder master: cinder-backup:use snapshot_id create backup  https://review.opendev.org/c/openstack/cinder/+/87386206:03
opendevreviewYuehuiLei proposed openstack/cinder master: cinder-backup:use snapshot_id create backup  https://review.opendev.org/c/openstack/cinder/+/87386206:12
yuvalgeguileo: anyway to bypass the token issue? without changing the configurations?08:49
yuvalgeguileo: also can you review: https://etherpad.opendev.org/p/cve-2023-2088-FAQ 08:50
geguileoyuval: what do you mean bypass the token issue_10:29
geguileo?10:29
geguileowithout the token the cloud is exposed to attacks on iSCSI and FC backends10:29
geguileoyuval: we do have a section in the cinder docs explaining how to configure the tokens10:30
geguileodon't know what more people need...10:30
geguileocould you point out what is missing there?10:31
yuvalits just there are so much doc's I am not sure what is wrong what is right10:32
yuvalfor example I checked the cinder.conf inline comments10:32
yuvalI didnt see a place for username or project name10:32
geguileoyuval: In the main cinder configuration page there is a warning, in red: https://docs.openstack.org/cinder/latest/configuration/index.html10:32
yuval[service_user]10:33
yuval#10:33
yuval# From cinder10:33
yuval#10:33
yuval#10:33
yuval# When True, if sending a user token to an REST API, also send a service token.10:33
yuval#  (boolean value)10:33
yuval#send_service_user_token = false10:33
yuval# PEM encoded Certificate Authority to use when verifying HTTPs connections.10:33
yuval# (string value)10:33
yuval#cafile = <None>10:33
yuval# PEM encoded client certificate cert file (string value)10:33
geguileoyuval: then we have a page describen what needs to be done https://docs.openstack.org/cinder/latest/configuration/block-storage/service-token.html10:33
yuval#certfile = <None>10:33
yuval# PEM encoded client certificate key file (string value)10:33
yuval#keyfile = <None>10:33
yuval# Verify HTTPS connections. (boolean value)10:33
yuval#insecure = false10:33
yuval# Timeout value for http requests (integer value)10:33
yuval#timeout = <None>10:33
yuval# Collect per-API call timing information. (boolean value)10:33
yuval#collect_timing = false10:33
yuval# Log requests to multiple loggers. (boolean value)10:33
yuval#split_loggers = false10:33
yuvalok, I will check it out, thanks, in few days I will be smarter10:33
geguileoyuval: please use etherpad, pastebin, or links to samples instead of writing so many lines here  ;-)10:33
yuvalyea, not problem10:34
geguileoyuval: I believe the cinder release note also included the link there, let me check10:34
yuvalI added few questions here:  https://etherpad.opendev.org/p/cve-2023-2088-FAQ 10:34
geguileoyuval: ok, the link is also in the release note: https://github.com/openstack/cinder/blob/6df1839bdf288107c600b3e53dff7593a6d4c161/releasenotes/notes/redirect-detach-nova-4b7b7902d7d182e0.yaml10:35
geguileoyuval: the release note is basically in all the important sections10:36
geguileothe rendered version can be read in the release notes pages, for example: https://docs.openstack.org/releasenotes/cinder/2023.1.html#relnotes-22-0-0-3-stable-2023-110:37
yuvalyes I read: https://docs.openstack.org/cinder/latest/configuration/block-storage/service-token.html10:38
yuvalI didnt manage to make it work10:38
opendevreviewEric Harney proposed openstack/cinder stable/2023.1: Make paramiko import optional  https://review.opendev.org/c/openstack/cinder/+/88060410:40
geguileoyuval: what part was not clear on the doc?  Because we can improve it10:42
yuvalI wrote it in the  https://etherpad.opendev.org/p/cve-2023-2088-FAQ10:44
yuvalI will update if more things are not clear10:44
yuvalin some places you assume the reader knows what "appropriate" or "decent" - but he(me) dont know10:45
yuvallike here: fill in the appropriate configuration for your service user (username, project_name, etc.)10:45
yuvalauthtype is needed for example?10:45
yuvalIf yes, do I need a password?10:45
geguileoyuval: the doc assumes you know how the rest of your cinder.conf and nova.conf contents10:48
geguileobehave10:48
geguileoso the user is the configuration for the keystone user you want to use for the service token10:49
geguileousually it's the same as what's in section "[keystone_authtoken]"10:49
geguileowith the exception of "send_service_user_token"10:49
geguileothat needs to be added10:49
geguileoand yes, auth type is necessary10:52
yuvalgeguileo I appreciate the response I will do my best to figure it out. Thanks10:53
geguileoyuval: I'll write a patch now to explain that in the doc, give me a couple of minutes10:53
yuvalThanks10:53
geguileoyuval: I'm refactoring the whole doc to make it easier to read11:01
geguileoso it will take me more than a couple of minutes  :-(11:01
opendevreviewYuehuiLei proposed openstack/cinder master: Remove six from inspur volume driver  https://review.opendev.org/c/openstack/cinder/+/88335511:26
opendevreviewGorka Eguileor proposed openstack/cinder master: Doc: Improve service token  https://review.opendev.org/c/openstack/cinder/+/88336011:51
geguileoyuval: ^ please, let me know if that helps11:51
yuvalThanks11:51
geguileoyuval: I haven't had time to actually verify the commands, but I believe they should work11:52
yuvalgeguileo: I can do that and will let you know11:53
geguileoyuval: thanks, ping me if there's anything that's not clear of if it doesn't work11:55
yuvalGot it11:55
*** thelounge553 is now known as thelounge5513:18
yuvalgeguileo: you aware that if I run the remove command without any token related configured - it will remove the volume13:22
yuvaljust the attachment is not removed13:22
yuvalbut actually the volume is removed from the vm13:22
geguileoyuval: what are we talking about?13:22
geguileoyuval: did I write a remove command in the doc?13:23
yuvalif I do: openstack server add volume yuval_vm2 yuval_vol213:23
yuvalI see the volume in the vm13:23
yuvalthen I do: openstack server remove volume yuval_vm2 yuval_vol113:23
yuvalwe got the exception13:23
yuval409 conflict13:23
yuvalvolume is stuck in detaching13:24
yuvalyuval_vol2 | detaching 13:24
geguileoyuval: you are saying with this incorrectly configured, right?13:24
yuvalyea13:24
yuval$ lsblk13:24
yuvalNAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT13:24
yuvalvda     253:0    0    1G  0 disk 13:24
yuval|-vda1  253:1    0 1015M  0 part /13:24
yuval`-vda15 253:15   0    8M  0 part 13:24
geguileoyuval: then configure it correctly   lol13:24
yuvalbut is that expected?13:24
yuvalshouldn't it keep the volume attached to the vm?13:25
geguileoyuval: if you don't configure things correctly?  then anything can happen, yeah13:25
geguileoyuval: this is not a user thing, this is a deployment tool issue13:25
geguileoif you don't have the right deployment, shift happens13:25
yuvalbut the breach its trying to fix isn't still open?13:25
rosmaita"if you don't configure things correctly?  then anything can happen, yeah" <-- needs to be on a T-shirt13:26
yuval:))13:26
*** thelounge551 is now known as thelounge5513:26
geguileoyuval: is it? is the volume unmapped from storage?13:27
yuvalwhat you mean unmapped?13:27
geguileoyes13:27
yuvalthe vm detach the volume13:28
yuvalI must go now... be back in 30 min13:28
geguileosure, and that's ok13:28
geguileothat's not the vulnerability13:28
geguileoand in any case, if the admin doesn't configure things correctly IT'S THEIR PROBLEM13:28
geguileothey will have to go around cleaning things up afterwards13:29
whoami-rajatCinder meeting in #openstack-meeting-alt at 1400 UTC13:59
whoami-rajatjungleboyj rosmaita smcginnis tosky whoami-rajat m5z e0ne geguileo eharney walshh_ jbernard sfernand enriquetaso hemna fabiooliveira yuval tobias-urdin adiare happystacker dosaboy13:59
whoami-rajatsimondodsley, the link you shared says this, You need permission14:42
whoami-rajatThis form can only be viewed by users in the owner's organization.14:42
whoami-rajatTry contacting the owner of the form if you think this is a mistake. Learn More.14:42
simondodsleywhoami-rajat, on it. Marketing are so ....14:48
whoami-rajatsimondodsley, cool thanks14:48
simondodsleywhomai-rajat, form permissions fixed14:51
whoami-rajatsimondodsley, +114:56
enriquetaso#startmeeting cinder_bs15:04
opendevmeetMeeting started Wed May 17 15:04:23 2023 UTC and is due to finish in 60 minutes.  The chair is enriquetaso. Information about MeetBot at http://wiki.debian.org/MeetBot.15:04
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:04
opendevmeetThe meeting name has been set to 'cinder_bs'15:04
enriquetasoHello, cinder bug meeting15:04
jbernard\o/15:05
enriquetasoFull report of bugs:15:05
enriquetaso#link https://lists.openstack.org/pipermail/openstack-discuss/2023-May/033735.html15:05
enriquetasohi jbernard !15:05
enriquetaso#topic [RBD] Retyping of in-use boot volumes renders instances unusable (possible data corruption) 15:05
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/201919015:05
enriquetasoWhile trying out the volume retype feature in cinder, we noticed that after an instance is15:05
enriquetasorebooted it will not come back online and be stuck in an error state or if it comes back15:05
enriquetasoonline, its filesystem is corrupted.15:05
enriquetasoeharney, thinks that may also be a Nova issue, so I'll add Nova team to the bug report15:06
eharneythe report indicates that the volume is migrated to a different ceph pool but the instance points to the old location15:07
dansmithgeguileo: if you get a chance to review my changes here per the feedback, I'd appreciate it: https://review.opendev.org/c/openstack/tempest/+/88287615:10
enriquetasoOkay, I need to read the report again, but I'll leave a comment15:11
enriquetaso#topic Volume upload to glance as image,use compression to accelerate gzip. Occasionally, there may be errors15:12
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/201954915:12
enriquetasoFix proposed to master: 15:12
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/201994315:12
enriquetasoI think the bug report need more information like if it's  using cinder as glance backend, so I left some questions on the bug report15:13
enriquetasomaybe whoami-rajat is interesting in keeping a eye on ^15:13
eharneythe explanation in the patch seems to make sense15:13
whoami-rajatenriquetaso, ack15:14
enriquetasookay, last one15:17
enriquetaso#topic  [DELL Unity] Image volume creation fail in Unity 15:17
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/201994315:17
enriquetasoI think I may be a config problem instead of a cinder problem15:17
enriquetasobut I haven't reproduce the problem15:18
geguileodansmith: I didn't follow the previous reviews, but I see a bunch of changes that I really don't like... :-(15:18
dansmithgeguileo: hence why I'm holding it up for your review.. I was fine with your original one (except for the missing validations part) so I'm not opinionated15:19
geguileodansmith: my patch allowed some of the tests to pass in multiple circumnstances: protected by policy, without keystone middleware enforcing the service role, and with keystone middleware enforcing it15:20
geguileoDid someone think I checked multiple exceptions because I was lazy? r:-??15:21
dansmithgeguileo: ack, I personally don't think we should make those ether-or in tempest like that because it's easy for a bug in the test (like using the wrong creds) to hide a problem15:21
dansmithgeguileo: but comment there and let's get feedback from the tempest people15:21
whoami-rajatgeguileo, dansmith sorry to interrupt your conversation but bug squad meeting is going on :D15:22
geguileodansmith: the thing is always the same, tempest is one thing for one people another for other, but whatever...15:22
geguileowhoami-rajat: oh, so very sorry!!!15:22
dansmithwhoami-rajat: oh terribly sorry15:22
enriquetasoi think we are almost over :P15:23
whoami-rajatno worries, I mean enriquetaso is the chair here15:23
enriquetasoany thoughts on +bug/201994315:23
enriquetasoanyone familiar with koalla + DELL emc15:23
whoami-rajatUnable to fetch connection information from backend: multiple UnityHost with name ay-openstackctrl-02 found.15:24
whoami-rajathmm, seems like a deployment/configuration related issue15:25
enriquetasookay, I'll add koalla to the bug report15:26
enriquetasothanks!15:26
enriquetasothat's all for me15:26
enriquetaso#endmeeting15:26
opendevmeetMeeting ended Wed May 17 15:26:32 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:26
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cinder_bs/2023/cinder_bs.2023-05-17-15.04.html15:26
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cinder_bs/2023/cinder_bs.2023-05-17-15.04.txt15:26
opendevmeetLog:            https://meetings.opendev.org/meetings/cinder_bs/2023/cinder_bs.2023-05-17-15.04.log.html15:26
whoami-rajatthanks!15:26
* dansmith looks both ways to see if the street is clear15:26
whoami-rajatgeguileo, dansmith please continue, I didn't mean to interrupt the conversation15:27
* whoami-rajat assures dansmith that street is indeed clear15:27
dansmithgeguileo: anyway, I certainly didn't mean to strike a nerve there so please comment on the changes where you have a problem and let's just figure out what works for everyone, including the tempest cores and I'll make the changes15:28
dansmithwhoami-rajat: no, that was my fault. since we moved to oftc and don't have topic changes by the meeting bots it's hard to tell sometimes15:28
whoami-rajatah yes correct, we used to have those changed on freenode15:30
geguileodansmith: I know you didn't, and I should have kept a closer look on the review to make my comment before you spent time making the changes, so it's on me.  I added the comments.  Thanks for waiting for my review.15:40
dansmithgeguileo: no need to apologize, there was lots going on and I was just trying to parallelize getting this into a landable state, so it's not a waste. I'll circle back there in a bit.15:41
dansmithgeguileo: I should have said on my reply now: this is your patch, I was trying to accelerate things with stuff I could do. You're *more* than welcome to take it over as you see fit and I'll be glad to step aside16:14
dansmithI'm just _willing_ to make changes, not _required_ :)16:15
geguileolol16:15
geguileodansmith: I appreciate your help with that one :-)16:15
dansmithokay, if that changes just say so :)16:15
dansmithbtw, unrelated,16:16
dansmithI've mostly fixed this cinder ceph-mn job if anyone is interested: https://review.opendev.org/c/openstack/cinder/+/88295516:17
dansmithit looks to me like it still might have some cinder-specific config that needs tweaking for the last failing test16:17
dansmithbut the ceph and compute/volume failures are all fixed16:17
geguileodansmith: a comment/question on each of the ceph patches16:28
dansmithI replied to the first, working on the second now :)16:28
dansmithdone16:31
geguileodansmith: thanks for the replies16:32
dansmithI'll fix the inverted disabled thing now16:32
opendevreviewDan Smith proposed openstack/cinder master: Enable validations for ceph-mn job  https://review.opendev.org/c/openstack/cinder/+/88295516:33
geguileodansmith: I assume that the devstack-plugin-ceph patch can be merged, right?16:34
dansmithgeguileo: yeah16:34
dansmiththe cinder one can too since the job is non-voting, but if there's some easy flag to fix the retype thing I can just throw that in there16:34
geguileodansmith: but isn't the cinder one based on the other one that is already changing the TEMPEST_RUN_VALIDATION to true?16:35
dansmithUm, I think there's another step in the inheritance isn't there? Lemme check.16:36
dansmithoh yep, you're right16:37
dansmithnova has another layer16:37
geguileook16:37
dansmithI started with this and did the ceph plugin one after I realized I needed the migration flag.. cool, I'll abandon the cinder one16:38
geguileodansmith: thanks16:39
opendevreviewMerged openstack/devstack-plugin-ceph stable/wallaby: Cap cinder-tempest-plugin version for stable/wallaby  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/87192019:33
*** elodilles is now known as elodilles_ooo19:42
opendevreviewGoutham Pacha Ravi proposed openstack/devstack-plugin-ceph master: Update default ceph version to "quincy"  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88344420:35

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!