Tuesday, 2022-05-03

opendevreviewmelanie witt proposed openstack/nova master: Log the exception returned from a cell during API.get()  https://review.opendev.org/c/openstack/nova/+/84026002:02
opendevreviewmelanie witt proposed openstack/nova master: Log the exception returned from a cell during API.get()  https://review.opendev.org/c/openstack/nova/+/84026002:07
*** dasm|ruck|bbl is now known as dasm|ruck|off03:11
gibio/07:04
*** ministry is now known as __ministry07:44
Ugglao/07:46
bauzas\o07:50
opendevreviewBalazs Gibizer proposed openstack/nova-specs master: PCI device tracking in Placement  https://review.opendev.org/c/openstack/nova-specs/+/79104707:52
Ugglagibi, bauzas if you have time, can you have a look at https://review.opendev.org/c/openstack/nova-specs/+/833669 and especially the proposed states. We discuss that with Artom and we thought that this naming is clearer.07:52
gibiUggla: added to my review list07:53
Ugglathx, it will be interesting to have your thoughts, by the way I have out what we discussed regarding notifications. I hope that's clear enough.07:55
gibibauzas: btw, your feedback forum session got accepted too07:58
bauzasgibi: ah ok, haven't seen the results yet07:58
gibiyou got a mail from the organizers askig for confirming the timing of the session07:58
bauzasshit07:59
bauzascan't see in my free.fr inbox07:59
gibiyou got it from Sarah Krawiecki08:00
gibiwith subject: OpenInfra Summit Berlin - Forum Session Accepted!08:00
bauzasdamn shit, neither in the spam folder08:00
bauzasI know my free.fr ISP is having some problems08:00
gibiI can forward it. should I try it to free.fr or your work mail address?08:01
bauzassaw your reply to Sarah 08:01
bauzasconfirmed, nothing got received.08:02
bauzasI should ask Sarah whether she got a bot reply08:03
bauzasthanks gibi for the notice08:03
gibiOK, cool08:03
chayanHi everyone I recently joined the project and am looking for some beginner friendly issues to contribute to can you please help me ?08:09
kashyapchayan: Hi, have you come acros this document yet? - https://docs.openstack.org/nova/latest/contributor/index.html08:10
kashyapchayan: Are you familiar with Gerrit workflow?  If not, you might want to check out the sandbox: https://docs.opendev.org/opendev/infra-manual/latest/sandbox.html08:11
bauzaschayan: welcome08:11
bauzaschayan: what kashyap said is a good starting point08:12
kashyapAnd also this URL: https://docs.opendev.org/opendev/infra-manual/latest/gettingstarted.html08:12
bauzasyou would also want to familiarize with our code repository and all the managed services before going further08:12
chayansure, thanks kashyap and bauzas :) let me have a look08:13
bauzaschayan: do you have any experience of OpenStack as an operator or player of its APIs, maybe ?08:14
chayanno I do not have experience08:15
chayanI have preliminary knowledge of python and was searching for python projects to contribute to ..... and came accross open stack08:16
bauzasthis then will be a challenging but interesting experience :)08:18
chayansure :) ..... Is there any design document which tells what openstack is ..... I was not able to understand much about it08:19
bauzaschayan: as a starting point, I can't just but emphasize again the need for you to understand our tenets, including the different OpenStack service projects, and then within each of them, their distributed model08:20
bauzaschayan: Nova is one of the many projects that OpenStack has08:20
bauzaschayan: general onboarding docs are better if you directy look at our main OpenStack documentation and not the Nova project itself08:20
bauzassec, finding you some links08:21
chayansure08:21
bauzaschayan: Upstream Institute is a good entrypoint https://docs.openstack.org/upstream-training/08:22
bauzasbut this won't really dig into the architecture details08:23
bauzaswe also have a slidedeck named OpenStack 101 https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-assets-prod/marketing/OpenStack-101-Modular-Deck-1.pptx08:24
bauzasand we also had a book which becomes a bit stale (last update is 2017) but can still be relevant for getting the overall idea https://docs.openstack.org/operations-guide/08:25
bauzasHTH08:27
chayanyeah I went through the slides08:29
chayanI think the links will be helpful... thanks08:30
songwenping_gibi: shall we put the pre-filter of owner_nova trait request to flavor?08:48
gibisongwenping_: hi! sorry I don't understand the question. do you have a patch or other context I can look at?08:50
songwenping_oh, i'm sorry. the question is for the owner_nova trait usage spec:https://review.opendev.org/c/openstack/nova-specs/+/81951008:52
songwenping_about the work item 3:Add pre-filter the trait for every Nova request group.08:53
gibisongwenping_: ohh I see now. 08:53
gibisongwenping_: so what we really want is to add it to every request group that was create due to the flavor yes08:54
gibiincluding the unnamed group containing the CPU and memory request, and including the group requesting GPU due to GPU was requested via the flavor08:55
gibibut not including the group that was created from a neutron port, or from a cyborg resource request08:55
songwenping_so we should add 'owner_trait=nova' with pci_passthrough for the flavor property?08:58
gibiI don't think the admin should add the trait manually to the flavor. I think nova should automatically add the trait to the request groups it creates09:08
songwenping_gibi: if flavor doesnot have the property, how do we check the compute minimum version?09:10
gibisongwenping_: you can call service_obj.get_minimum_version_all_cells( context, ["nova-compute"])09:13
gibito determine the global minimum of compute service versions09:13
gibibut probably the current prefilter interface is not good to determine where the add the traits09:14
songwenping_yes, i'm wondering where to add the traits and check the version09:15
gibiso prefilter runs on RequestSpec objects, but some of the flavor induced  placement RequestGroups are create after the prefilters were run in the call of nova.scheduler.utils.ResourceRequest.from_request_spec09:17
gibisongwenping_: you can try to think about changing ResourceRequest.from_request_spec and make RequestGroup creation explicit there09:20
songwenping_gibi: ok, thanks.09:21
gibisongwenping_: currently nova.scheduler.utils.ResourceRequest._add_resource implicitly creates a new group if it is not exists09:22
gibisongwenping_: feel free to propose a WIP patch playing with this idea and we can involve others to look at the problem and offer ideas09:24
gibiI do thing that a pure prefilter will wont work due to some code structural challenges09:25
gibi*think09:25
songwenping_ok thanks. i'll try to research.09:25
gibicool09:25
zigoHi there! I have a problem with live migrations:11:17
zigoLive Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tls://192.168.103.4/system: authentication failed: Failed to verify peer's certificate: libvirt.libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+tls://192.168.103.4/system: authentication failed: Failed to verify peer's certificate11:17
zigoHow comes libvirt / qemu tries to connect using the *IP ADDRESS* rather than the *HOSTNAME* which makes my PKI fail?11:17
zigoIs there a way to fix that?11:17
sean-k-mooneythere is a config option for this i think11:18
zigosean-k-mooney: In where? In Nova ?11:18
sean-k-mooneyyes11:19
sean-k-mooneyhttps://docs.openstack.org/nova/latest/configuration/config.html#libvirt.live_migration_inbound_addr and https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.live_migration_uri11:19
sean-k-mooneyzigo: im guessing you have live_migration_inbound_addr set11:20
zigoI already have live_migration_uri=qemu+tls://%s/system ...11:20
zigoOh, I do...11:20
sean-k-mooneyright but if you have live_migration_inbound_addr it will result in the ip11:20
zigosean-k-mooney: So I should remove that?11:21
zigoOr set this as hostname instead ?11:21
sean-k-mooneyif you remove it it will use the hostname by default11:21
sean-k-mooneyit depens on if you are setting live_migration_inbound_addr to choose which interface is used to copy the vm data or not11:21
zigoIt's more complicated for me, maybe puppet is doing this by default, let's see if I can convince it to use hostnames instead. Thanks a lot !11:21
sean-k-mooneylive_migration_inbound_addr is normally used to baically for which interface is used but you can do that via dns also11:22
zigoI have all of my cluster defined in /etc/hosts ! :)11:23
sean-k-mooneyhehe ya i like to do that too11:24
zigoProduction experience showed me that my colleague's DNS service sometimes fail ... :P11:24
zigoThis fixed the problem, though now I get:11:29
zigoLive Migration failure: internal error: unable to execute QEMU command 'object-add': Unable to access credentials /etc/pki/qemu/ca-cert.pem: No such file or directory: libvirt.libvirtError: internal error: unable to execute QEMU command 'object-add': Unable to access credentials /etc/pki/qemu/ca-cert.pem: No such file or directory11:29
zigoWeird, I didn't use to have this before ... :/11:29
zigoIs this the same as /etc/pki/CA/cacert.pem ?11:30
sean-k-mooneyi dont think so. i do know that more recent versions of libvirt/qemu change the behaivor slightly no you need both a clien tan dserver cert or something like that11:31
sean-k-mooneyin ooo we just symlinked the server fiels to the client folder11:32
zigoYeah, that I know. Client + server cert.11:32
zigoThat's what I'm trying to do.11:32
sean-k-mooneyhttps://bugzilla.redhat.com/show_bug.cgi?id=1957152 i think this was the downstream bug11:33
sean-k-mooneyit looks like they just hardcoded the path to /etc/ipa/ca.crt11:36
sean-k-mooneyhttps://review.opendev.org/c/openstack/tripleo-heat-templates/+/796673/1/deployment/nova/nova-libvirt-container-puppet.yaml11:36
zigoIt's full of red hat - ism ... The /etc/pki folder should have been renamed to something else in Debian based systems, like /etc/ssl/<something> or /etc/libvirt ...11:38
zigoI don't think I have the /etc/ipa yet though.11:39
sean-k-mooneythats not surprising11:40
*** dasm|ruck|off is now known as dasm|ruck12:17
*** artom__ is now known as artom13:21
artomzigo, sean-k-mooney, yeah, we currently have 2 trackers open for something very similar13:21
artomhttps://bugs.launchpad.net/tripleo/+bug/1959328 in upstream TripleO13:22
artomAnd https://bugzilla.redhat.com/show_bug.cgi?id=2079767 for our downstream product13:22
artomWhat's weird is that those are very TripleO-specific13:23
artomSo I wouldn't think they affect any other deployment means13:23
sean-k-mooneyartom: i think its because of the reuse of puppet13:27
opendevreviewRico Lin proposed openstack/nova-specs master: Add IOMMU device support for libvirt driver  https://review.opendev.org/c/openstack/nova-specs/+/84031013:38
kashyapgibi: artom: Can you re-look at this, pls - https://review.opendev.org/c/openstack/nova/+/838926 (Add a workaround to skip compareCPU() on destination)13:40
kashyap(When you get a moment, i.e.)13:41
gibikashyap: will look13:41
sean-k-mooneyartom: in principal the openstack pupet modules are ment to be multi distro and also not ooo specific but because of redhats in vovlement in them that is not always the case13:42
kashyapNo one is stopping other distros to add support for it13:46
kashyapsean-k-mooney: On the flip side, sometimes RHT folks do plenty work for other distros too.  (All in good faith)13:46
kashyapMy general point is, we should not expect any one distro vendor to do the enablement work for other distros13:47
kashyap(Modulo exceptions)13:47
artomkashyap, done13:47
kashyapThx; will look13:49
kashyapartom: On double-negation, I agree in general.  But in this case, IMO the "skip" wording is more explicit.  And it isn't _that_ big of a cognitive burden :)13:50
gibikashyap: done too, I have no blocking issue just a question about deprecation of the config option13:51
artomkashyap, yeah, it's not a hill I'm going to die on, but I wanted to raise the point13:51
kashyapartom: Yeah, fair point for sure13:51
kashyapgibi: Yeah, good point on deprecation.  I'll think a bit more on it13:52
kashyapWill answer there.  Thx, both13:52
chayanHi everyone, I have python knowledge but do not have a cs background .....can you give me an idea of which cs topics/subject or others may be pre requisites for understanding the openstack-nova project? thanks13:56
opendevreviewribaudr proposed openstack/nova-specs master: Allow unshelve to a specific host  https://review.opendev.org/c/openstack/nova-specs/+/83150613:59
opendevreviewArtom Lifshitz proposed openstack/nova-specs master: libvirt: Allow Manila shares to be directly attached to instances  https://review.opendev.org/c/openstack/nova-specs/+/83366914:13
kashyapchayan: One area coulbe to to understand how virtual machines are configured (particularly KVM, QEMU, or even other "hypervisors" like Xen, etc)14:21
kashyapchayan: Also please look at the links we (including bauzas) have posted already earlier in the day.  (The contributor, getting started, etc docs)14:25
chayansure thanks a lot for the help ... I am already going through the links you guys gave me ... thanks again14:25
opendevreviewKashyap Chamarthy proposed openstack/nova master: libvirt: Add a workaround to skip compareCPU() on destination  https://review.opendev.org/c/openstack/nova/+/83892614:35
kashyapartom: gibi: Fixed --^14:35
gibiUggla: commented on the Manial spec. thanks for the state diagram, it helped me to ask more questions :)14:41
Ugglagibi, not sure this is a good news for me. :)14:42
artomQuestions are good :)14:42
opendevreviewribaudr proposed openstack/nova-specs master: libvirt: Allow Manila shares to be directly attached to instances  https://review.opendev.org/c/openstack/nova-specs/+/83366914:44
Ugglagibi, btw I have just done a slight update.14:45
gibiack14:58
bauzasreminder : nova meeting in 45 mins here at #openstack-nova15:14
* bauzas needs to paperwork the agenda :)15:14
bauzas#startmeeting nova16:00
opendevmeetMeeting started Tue May  3 16:00:12 2022 UTC and is due to finish in 60 minutes.  The chair is bauzas. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
opendevmeetThe meeting name has been set to 'nova'16:00
gibio/16:01
elodilleso/16:01
gmanno/16:01
sean-k-mooneyo/16:01
bauzashello16:01
melwitto/16:01
bauzassorry I'm over the phone but let's start16:01
bauzas#topic Bugs (stuck/critical) 16:01
bauzas#info No Critical bug16:01
bauzas#link https://bugs.launchpad.net/nova/+bugs?search=Search&field.status=New 22 new untriaged bugs (-2 since the last meeting)16:01
bauzas#link https://storyboard.openstack.org/#!/project/openstack/placement 26 open stories (0 since the last meeting) in Storyboard for Placement 16:02
bauzas#info Add yourself in the team bug roster if you want to help https://etherpad.opendev.org/p/nova-bug-triage-roster16:02
bauzasartom: around ?16:02
artom'sup?16:02
bauzasartom: can I pass you the next bug triage baton ?16:03
artomI'm getting baton'ed, aren't I?16:03
melwittI thought we had 28 new bugs last meeting :( https://meetings.opendev.org/meetings/nova/2022/nova.2022-04-26-16.00.log.html#l-1616:03
melwitt-2 makes it look like I didn't do anything 😂 16:03
gibimelwitt: thank you for the triage!16:03
gibiI also remember 28 or 29 from last week16:04
melwittI copied gibi's doc https://etherpad.opendev.org/p/nova-bug-triage-20220426, there were a couple more where I added comments but didn't change from New bc not enough info yet afaict16:04
melwitt(and didn't add to doc either)16:05
bauzasyeah, thanks melwitt ! 16:05
artomShould we maybe have a single etherpad?16:05
artomSo new batoners can refers to existing work/patterns/templates?16:05
bauzasmelwitt: no worries, I had some weeks the same situation16:05
Ugglao/16:05
bauzasI was triaged like 10 bugs but given 12 were new, I was only having a -2 value :)16:05
bauzasor the other way, sorry :)16:05
melwittI think one etherpad would quickly become a megapad. but the pads are linked here so far https://etherpad.opendev.org/p/nova-bug-triage-roster16:06
artommelwitt, aha OK that works, as long as we have a single... something16:06
bauzasyeah, we can have a new etherpad per week, it's fine16:06
gibiartom: I created the etherpad just to note for the meeting if there are valid but unassigned bugs16:06
bauzasit's not actually really needed to create a etherpad16:06
gibinot at all mandatory :)16:06
bauzaslike gibi said, he did it for him16:06
melwittyeah. and I liked it so I copied it16:07
gibi(it is also good for looking back after the week and justify the time spent on launchpad :)16:08
opendevreviewBalazs Gibizer proposed openstack/nova master: Record SRIOV PF MAC in the binding profile  https://review.opendev.org/c/openstack/nova/+/82924816:08
melwittgibi: +1 :)16:09
gibibauzas: I think we can move on16:11
bauzasok, next topic 16:11
bauzas#topic Gate status 16:12
bauzas#link https://bugs.launchpad.net/nova/+bugs?field.tag=gate-failure Nova gate bugs 16:12
bauzas#link https://zuul.openstack.org/builds?project=openstack%2Fplacement&pipeline=periodic-weekly Placement periodic job status 16:12
bauzas#link https://zuul.opendev.org/t/openstack/builds?job_name=nova-emulation&pipeline=periodic-weekly&skip=0 Emulation periodic job runs16:12
bauzas#info Please look at the gate failures and file a bug report with the gate-failure tag.16:12
bauzas#info STOP DOING BLIND RECHECKS aka. 'recheck' https://docs.openstack.org/project-team-guide/testing.html#how-to-handle-test-failures16:12
gibimelwitt: thanks for the triage on the gate bug https://bugs.launchpad.net/nova/+bug/1970642 I will try to get back to that16:13
bauzasnothing to tell from me16:13
melwittthis gate bug has shown back up on stable/ussuri fyi https://bugs.launchpad.net/nova/+bug/1901739 but it doesn't show up in the gate-failure tag bc it's on ussuri only16:13
melwittgibi: np!16:13
bauzascool16:14
melwittwe're on our second recheck trying to merge  one of the gate unblocking patch on stable/ussuri https://review.opendev.org/c/openstack/nova/+/838033 :\16:14
melwittfor bug 190173916:15
gibiand the original fix was to switch to zuul v3 :/16:15
elodillesyepp, it seems ussuri is not that healthy as it should be :S16:15
elodillesgibi: and as far as i remember we did not need that for ussuri16:16
elodillesso this is something "new"16:16
gibihm we do merged the ussuri backport https://review.opendev.org/c/openstack/nova/+/79543216:17
gibithat should have fixed 1901739 but appreantly it did not16:18
elodillesoh. hmmm, yes, we did not backport it to *train*...16:19
elodillesthen this is definitely something "new"16:19
gibithat is all I can add to this right now :/16:19
bauzascould we discuss about the stable branch gate issues during the stable topic, maybe ?16:21
elodilles++ :)16:21
elodilles(i planned to note this there)16:21
bauzasok, then next topic16:22
elodilles(otherwise i don't have much to add for now)16:22
bauzas#topic Release Planning 16:22
bauzas#link https://releases.openstack.org/zed/schedule.html16:22
bauzas#info Zed-1 is due in 2 weeks16:22
bauzas#info Spec review day planned on May 10th16:22
bauzas... which is next week16:22
bauzasI've seen some new specs16:23
melwittsorry, I thought stable gate status was part of gate status16:23
bauzasI'll try to review some of them tomorrow16:23
bauzasmelwitt: no worries at all16:23
bauzasbut I'd prefer to do this after all the other topics16:23
bauzasso we'll have all the left time for it :)16:23
bauzasanything to say about release planning ?16:24
bauzaskeep in mind to upload/update your last specs before next tuesday :)16:24
bauzaslooks not16:26
bauzas#topic Review priorities 16:26
bauzas#link https://review.opendev.org/q/status:open+(project:openstack/nova+OR+project:openstack/placement+OR+project:openstack/os-traits+OR+project:openstack/os-resource-classes+OR+project:openstack/os-vif+OR+project:openstack/python-novaclient+OR+project:openstack/osc-placement)+label:Review-Priority%252B116:26
bauzasnothing to tell here16:26
bauzasok, moving on then16:30
bauzas#topic Stable Branches 16:31
bauzaselodilles: you can continue the discussion here :)16:31
elodilleswell, let's start with the basics :)16:31
elodilles#info ussuri and older branches are blocked until 'l-c drop' patches merge - https://review.opendev.org/q/I514f6b337ffefef90a0ce9ab0b4afd083caa277e16:31
elodillesand as we said something else problematic is there on ussuri it seems :(16:31
elodilles#info other branches should be OK16:32
elodillesEOM16:32
elodillesI don't have other info for the ussuri failures for now :(16:32
bauzascool16:35
bauzasmelwitt: wanting to add something ?16:35
melwittnothing additional, thanks16:36
bauzascool16:36
bauzasthen we're done with this topic16:36
bauzas#topic Open discussion 16:36
bauzas... and we have nothing about this in the wiki16:36
bauzassoooo, any item to raise before we end the meeting ?16:36
gibi<crickets?16:37
gibi>16:37
bauzasokidoki16:38
bauzasthanks all16:38
bauzas#endmeeting16:38
opendevmeetMeeting ended Tue May  3 16:38:13 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:38
opendevmeetMinutes:        https://meetings.opendev.org/meetings/nova/2022/nova.2022-05-03-16.00.html16:38
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/nova/2022/nova.2022-05-03-16.00.txt16:38
opendevmeetLog:            https://meetings.opendev.org/meetings/nova/2022/nova.2022-05-03-16.00.log.html16:38
* bauzas needs to call again his company travel agency to sort some mess it created16:38
elodillesthanks o/16:38
gibio/16:38
opendevreviewribaudr proposed openstack/nova-specs master: Allow to use graphviz into specifications  https://review.opendev.org/c/openstack/nova-specs/+/84016716:40
opendevreviewribaudr proposed openstack/nova-specs master: libvirt: Allow Manila shares to be directly attached to instances  https://review.opendev.org/c/openstack/nova-specs/+/83366916:40
melwittdansmith: I wanted to get your opinion on whether copying exception objects is necessary when referring to them in a new dict or other wrapper https://review.opendev.org/c/openstack/nova/+/840260/2/nova/context.py if you could spare a moment. no rush16:45
dansmithhmm, yeah I thought there was something about it being semi-global in nature, but that might be a py2 thing16:47
dansmithah your comment is interesting though.. straight up block scoping being more strict in python, but that's not really what is changing here,16:49
dansmithas we're already storing it in the different name, it's the copying part that is in question16:49
*** dasm|ruck is now known as dasm|ruck|bbl16:50
melwittyeah exactly16:50
sean-k-mooneyexcpetion objects nolonger keep the stack frame alive right via the traceback object16:50
sean-k-mooneyso we dont have to worry about it "leaking" memory like it did on python 216:51
dansmithhttps://stackoverflow.com/questions/44681681/what-could-prevent-a-traceback-from-being-garbage-collected16:51
dansmithmelwitt: see the last comment in there about py316:51
dansmithsean-k-mooney: yeah, that's what I was thinking... the old py2 stuff about things being special there16:52
melwittoh interesting16:53
sean-k-mooneyya so no i think the traceback is generated at the time its raised with a weakref to the stack fram to avoid that issue on py316:53
sean-k-mooneymelwitt: we had a case where we were returning raided excations if i rememebr correctly in nova that caused issue in the past16:53
sean-k-mooneypossible in relation to the scater gather implementions16:53
sean-k-mooneyits been a while16:53
melwitthrm... yeah that is where the code in question is16:54
dansmithwell, it's really anywhere we're persisting the exception outside the handler,16:54
melwittif we need it I definitely want to put a code comment there explaining why it's needed16:54
dansmithso there might be a thing related to handling in rpc too, but yeah16:54
sean-k-mooneydansmith: righ tbut in that case we wanted to do that to allow the other request ot proceed and deal with it at the end16:55
dansmithin the scatter/gather case yeah16:55
sean-k-mooneywe normally dont have a good usecase to persist the object16:55
dansmithright, in the rpc case we do end up raising out of there, you're right16:56
dansmithI hedged with "might" so.. :P16:56
sean-k-mooney :)16:56
sean-k-mooneyso back to https://review.opendev.org/c/openstack/nova/+/840260/2/nova/context.py16:57
sean-k-mooneyim not sure if a copy actuly breaks the reference ot the stack frame16:57
sean-k-mooneyoh its not a copy16:57
sean-k-mooneywe are constucting a new instace of the excpetion class 16:57
sean-k-mooneywiht the arges for the orgianl excption16:58
sean-k-mooneyso ya that would have broken the reference16:58
melwittyeah I used the word "copy" to mean a new object with the same stuff. sorry if that made it confusing16:58
sean-k-mooneyno your fine i just assumed you ment copy.deepcopy just reading the patch now16:59
melwittsean-k-mooney: so what does that mean, that constructing the new instance is actually bad? I wanted to remove it to make my unit test easier so I was trying to find the inverse, whether it is ok to not construct the new instance16:59
sean-k-mooneyi dont have a link to back this up but i belive we dont have to worry about this on python 316:59
bauzaslooks like a contextmanager question17:00
sean-k-mooneyno constucting a new instance is fine17:00
sean-k-mooneyand should not by needed on python3 i belive17:00
sean-k-mooneyit was there only for py2717:00
sean-k-mooneyto break the internal refernce to the stack frame17:00
melwittok I see17:01
sean-k-mooneymelwitt: so https://peps.python.org/pep-0344/#open-issue-garbage-collection  i think is solved by https://peps.python.org/pep-3110/#semantic-changes as proposed in https://mail.python.org/pipermail/python-3000/2007-January/005363.html17:16
sean-k-mooneyi was hoping to find a "this is fix in python 3.x" statement somewhere but didnt see it it fixed  before 3.5 as far as i know but not sure what version exactly17:19
melwittsean-k-mooney++ thanks for those docs, love seeing the details. I had been looking at this that was linked off the earlier stackoverflow question https://stackoverflow.com/questions/1658293/why-is-there-a-need-to-explicitly-delete-the-sys-exc-info-traceback and it mentions python 3.3 using lack of a documentation warning as a hint of it being fixed17:20
sean-k-mooney that would algin with https://stackoverflow.com/questions/11414894/extract-traceback-info-from-an-exception-object/14564261#14564261 which say the traceback atribute was added in 3.217:23
sean-k-mooney.*3.2.317:23
melwittah17:24
sean-k-mooneyi really like c++ because i like knowing how the features work and the pros and cons to use them. im always a little sad the the same content is much  less avaibale for how does python work under the hood17:26
melwitt++17:27
sean-k-mooneythere are some good talks form Raymond Hettinger like https://www.youtube.com/watch?v=npw4s1QTmPg17:28
sean-k-mooneyon python dicts17:28
sean-k-mooneyand datacless but python could do with more of those17:28
melwittthanks sean-k-mooney 17:56
*** dasm|ruck|bbl is now known as dasm|ruck18:01
opendevreviewRico Lin proposed openstack/nova-specs master: Add IOMMU device support for libvirt driver  https://review.opendev.org/c/openstack/nova-specs/+/84031018:10
opendevreviewmelanie witt proposed openstack/nova-specs master: Amend unified limits spec to explain "API limit" enforcement  https://review.opendev.org/c/openstack/nova-specs/+/82941321:05
sean-k-mooneymelwitt: thanks for fixign the merge conflict i ment to ping you about that last week21:10
melwittsean-k-mooney: np, thanks for looking21:11
sean-k-mooneyi was not aware that ye had provided unified_limits_count_pcpu_as_vcpu to bridge that gap21:12
sean-k-mooneymelwitt: have you tought about giving a presentation on this and perhaps provider.yaml to show how unified limists can now be used to provide quota for arbitry resouces21:13
sean-k-mooneyyou could also use network bandwith as a tie in to neutron qos as another example21:14
sean-k-mooneyto demonstrate the new capablity21:14
sean-k-mooneyfrom a downstrema docs poing of view i think we will want ot have several such examples but i think it would be nice to have upstream docs examples or a presentaiton on the topic at some point21:15
melwittsean-k-mooney: yes, I have thought it would be useful to present or otherwise put together a doc/slides about it21:15
melwittyeah +121:16
opendevreviewsean mooney proposed openstack/nova master: enable blocked VDPA move operations  https://review.opendev.org/c/openstack/nova/+/83233021:43
gmannbauzas: do you want me to use the BP old name for this or is it ok to change the BP name in LP (which match with the spec file), I think I did update name in LP too but you reverted - https://review.opendev.org/c/openstack/nova-specs/+/833165/1/specs/zed/approved/server-boot-on-specific-hypervisor-with-new-rbac.rst#b1023:15

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