Wednesday, 2022-10-26

*** tkajinam is now known as Guest396600:09
*** tkajinam is now known as Guest397201:47
aneeeshp1rosmaita whoami-rajat I have addressed comments on the https://review.opendev.org/c/openstack/cinder/+/849143. Please review.03:38
*** tkajinam is now known as Guest398605:43
*** tkajinam is now known as Guest398806:53
*** amoralej|off is now known as amoralej07:13
opendevreviewRajat Dhasmana proposed openstack/cinder master: WIP: Add exception handling in copy volume  https://review.opendev.org/c/openstack/cinder/+/86267910:15
opendevreviewAtsushi Kawai proposed openstack/cinder master: HPE: Cinder driver for HPE XP storage FC and iSCSI arrays  https://review.opendev.org/c/openstack/cinder/+/81558210:26
*** amoralej is now known as amoralej|lunch10:55
*** dviroel|afk is now known as dviroel11:28
*** amoralej|lunch is now known as amoralej12:31
geguileorosmaita: I believe whoami-rajat was on PTO, did he ask you to host the IRC meeting_14:02
geguileo?14:02
geguileos/was/is14:02
eharneyhttps://etherpad.opendev.org/p/cinder-antelope-meetings  says cancelled for today14:03
rosmaitageguileo: i thought he sent an email?14:04
geguileoeharney: I probably missed his upstream email...14:04
enriquetasooh, can we have the bug meeting anyway? 14:04
rosmaitasure, if you really want to, seems like we have a quorum here14:04
geguileorosmaita: Haven't been paying much attention to emails14:04
enriquetasoi need help with 2 bugs14:04
enriquetaso#startmeeting cinder_bs14:04
opendevmeetMeeting started Wed Oct 26 14:04:47 2022 UTC and is due to finish in 60 minutes.  The chair is enriquetaso. Information about MeetBot at http://wiki.debian.org/MeetBot.14:04
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:04
opendevmeetThe meeting name has been set to 'cinder_bs'14:04
rosmaitageguileo: i replied to your osc question in an email!14:04
enriquetasohey everyone14:04
rosmaitao/14:05
geguileorosmaita: I saw, but that looks like a lot of work and probably not the biggest reason why osc is soooooooooooooooooooooooooooooooooooooo slow14:05
enriquetasoFull list of bugs14:05
enriquetaso#link https://lists.openstack.org/pipermail/openstack-discuss/2022-October/031001.html14:05
rosmaitageguileo: yeah, it was disappointing14:05
enriquetasoI'm not sure how to prioritize the next two bugs:14:06
enriquetaso#topic The volume multiattach and in-use after retyping another backend, then can not detach it14:06
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/199401814:06
enriquetasoAfter retyping from Ceph to Huawei the volume can not be detached because the connection info volume_id has been changed.14:06
enriquetasoI haven't reproduced this bug yet. That's why I haven't assigned importance to the bug yet. Looks like Nova is involved but I'm not sure what to do with this bug. 14:06
geguileoenriquetaso: We used to have that issue in Nova a while back14:08
geguileoenriquetaso: and it was fixed14:08
geguileothough this could be a different one14:08
geguileoonce we know the openstack release we may look if it was fixed or not14:08
geguileooh, wait it looks different14:09
enriquetasoyes, i've remember we discussed something like that a while ago 14:09
enriquetasooh14:09
geguileobut I see where the problem is...14:10
geguileoand we are in trouble...14:12
rosmaitai don't like the sound of that14:13
geguileoI'm 99% sure that's a legitimate bug14:13
geguileoand surprise, surprise, it's the multi-attach design/implementation14:13
geguileothat didn't take into account that the volume_id changes during a live migration14:13
geguileobut didn't we prevent multi-attach volume from live migrating/retyping?14:15
enriquetaso:/14:15
geguileowait, wait, wait14:17
enriquetaso"You can migrate only detached volumes with no snapshots."14:17
geguileoenriquetaso: what's that from?14:18
enriquetaso#link https://opendev.org/openstack/cinder/src/branch/master/doc/source/cli/cli-manage-volumes.rst#migrate-a-volume14:18
geguileoenriquetaso: afaik that is incorrect14:20
geguileowe can migrate in-use volumes14:21
eharneywith retype, right?14:21
geguileobut I don't understand WHY we allow migrating/retyping with migration of multi-attach in-use volumes14:21
eharneyi thought we didn't14:21
geguileoeharney: I'm looking at the code and unless I'm missing something, we do14:22
geguileoas long as both the source and target types are both multi-attach14:22
geguileoI'm pretty sure that's a bug14:22
geguileoWTF!!  It's an if condition bug14:23
geguileoMF!!!14:23
geguileoapparently it was too much to ask to write an if clause14:23
enriquetaso:(14:23
geguileoit's a trivial fix14:23
geguileoit's a oneliner14:24
enriquetasoshare link to the code please14:24
geguileobasically changing != with or14:24
geguileoit's in cinder/volume/api.py14:24
geguileo        if src_is_multiattach != tgt_is_multiattach:14:24
geguileos/!=/or/14:24
enriquetaso#action(enriquetaso): open bug to fix https://opendev.org/openstack/cinder/src/branch/master/doc/source/cli/cli-manage-volumes.rst#migrate-a-volume . It's incorrect, with allow retype in-use volumes (without multi-attach).14:25
enriquetasooops14:25
geguileoreading a bit more, we may want to make a couple more changes besides that one14:25
geguileobecause, as expected, it looks like the whole check section is not properly thought of14:26
geguileoit should only complain if the source is multi-attach, it shouldn't matter about the target14:26
eharneyif the source is a multi-attach type, or is attached to multiple instances?14:27
eharneybecause right now the check is based on the type14:28
geguileoeharney: I think it should check if the source is multi-attach and the volume is not available ==> error14:28
geguileoif the target is multi-attach and it's not authorized ==> error14:28
eharneygeguileo: not sure why it matters if the source is multi-attach if it's not actually multiply attached14:28
geguileoand that should be it14:28
geguileoeharney: I think it would be possible to do the second attachment while we are migrating14:29
geguileoor have a race condition right there...14:29
geguileoeharney: ideally we would code a conditional DB update that takes into account the actual attachments14:30
geguileothat way we would allow a live migration of a multi-attach volume just by reducing the number of VMs using it14:31
eharneyright14:31
geguileothe TL;DR, you are correct, that would be the right way to fix it14:31
geguileobut then it's not a small patch, but a large one to prevent races14:32
enriquetasoOK, so the bug is valid and we need to work on some bugfixes then14:39
enriquetasoand also in some doc fixes 14:39
enriquetasoOK, thanks!!14:43
enriquetasomoving to the next one14:43
enriquetaso#topic Cinder cannot work when 1 node of 3 rabbit node cluster down 14:43
enriquetaso#link https://bugs.launchpad.net/cinder/+bug/199402114:43
enriquetasoThere's a discussion on the mailling list regarding this problem.14:43
enriquetaso#link https://lists.openstack.org/pipermail/openstack-discuss/2022-October/030968.html14:43
enriquetasois something we could do in cinder? 14:43
enriquetasoshould i link oslo project as well?14:50
geguileoenriquetaso: I think this has 0 to do with Cinder specifically...14:51
geguileoI mean, we get the transport_url parameter, and that's what gets used14:51
geguileoso it's either an oslo.messaging issue or a configuration/deployment issue14:52
enriquetasothanks geguileo, makes sense, i'll update the bug report 14:53
geguileowe could also be setting it incorrectly in our code, but I wouldn't think that's the issue...14:53
enriquetasothanks geguileo 14:54
geguileoenriquetaso: I have added a comment to the retype LP bug with the techincal discussion we had here14:55
enriquetasocool!14:55
enriquetasothat always helps 14:55
enriquetasoOK, we are running out of time. The bug meeting should be half an hour and I took one hour 14:56
enriquetasoplease check the bug email for all the bugs for this week. 14:56
enriquetaso#endmeeting14:57
opendevmeetMeeting ended Wed Oct 26 14:57:48 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:57
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cinder_bs/2022/cinder_bs.2022-10-26-14.04.html14:57
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cinder_bs/2022/cinder_bs.2022-10-26-14.04.txt14:57
opendevmeetLog:            https://meetings.opendev.org/meetings/cinder_bs/2022/cinder_bs.2022-10-26-14.04.log.html14:57
*** dviroel is now known as dviroel|lunch15:08
*** dviroel|lunch is now known as dviroel16:26
*** amoralej is now known as amoralej|off16:43
opendevreviewSofia Enriquez proposed openstack/cinder-tempest-plugin master: Add Backup Restore Multibackend Tests  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/83551217:34
*** dviroel is now known as dviroel|afk20:03
opendevreviewSofia Enriquez proposed openstack/cinder-tempest-plugin master: DNM: LVM + Ceph Multibackend Job  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/86275721:05

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