Thursday, 2023-02-09

opendevreviewYusuke Okada proposed openstack/nova master: Fix failed count for anti-affinity check  https://review.opendev.org/c/openstack/nova/+/87321603:26
opendevreviewYusuke Okada proposed openstack/nova master: Fix failed count for anti-affinity check  https://review.opendev.org/c/openstack/nova/+/87321603:30
opendevreviewNobuhiro MIKI proposed openstack/nova master: libvirt: Add 'COMPUTE_ADDRESS_SPACE_*' traits support  https://review.opendev.org/c/openstack/nova/+/87322106:05
Ugglabauzas, gibi o/09:14
Ugglabauzas, gibi looking at the https://review.opendev.org/c/openstack/nova/+/839401/22 are we all agree to remove the ShareMappingLibvirt* although that is not following the spec and might be more difficult if we want to create a dedicated module (os-share) later ?09:16
Ugglabauzas, gibi, of course doing that will simplify the code but I will have to review lot of stuff.09:17
bauzasUggla: I agree with you09:39
gibi...loading context09:40
gibiFor me the content of ShareMappingLibvirt is OK, it is just placed to a too public place.09:44
gibii.e. I'm OK to use inheritance to model that a ShareMapping my need to be mounted by a libvirt or by other virt driver09:45
Ugglagibi, hum I think what bauzas and john expect is the removal of convert and inheritance and move that in the driver itself.09:48
gibisure tha is also an option09:48
Ugglagibi, if not in the object where do you put the act code ?09:49
gibithe libvirt specific classes can be placed to nova.virt.libvirt afaik. But as you said bauzas and johnthetubaguy might want not to have them as ovos even if they are moved under nova.virt.libvirt09:50
gibiso to expedite things I think it would be easier to simply remove the driver specific ovo09:51
gibiand create functions in the driver that takes a generic ShareMapping and do the driver specific bits with it09:51
gibiI guess that what bauzas and johnthetubaguy suggests09:52
Ugglagibi, yes sounds like it is ok for you to go in this way as well ?09:54
gibiyeah, OK with me09:54
Ugglaok so I'll change the code in this way.09:56
bauzasgibi: tbc, I w09:57
bauzasI don't want to have a ovo inheritance for this object09:58
bauzasUggla: ^09:58
bauzassince this object is not about providing fields or persisting them09:58
bauzasby RPC calls09:58
bauzasbut yeah, we can have a specific python object for it in libvirt if Uggla wants 09:59
Ugglabauzas, yep I will keep only the ShareMapping / ShareMappingList objects09:59
Ugglabauzas, not sure it is worth creating an object in the libvirt part, I'll see.10:00
gibibauzas: we have examples where we use ovo not just to persist data. We even have examples to driver specific data in ovo https://github.com/openstack/nova/blob/master/nova/objects/migrate_data.py10:05
gibior driver specific ovo10:06
bauzasgibi: sure, but those objects are used for being passing between services 10:09
bauzasand those are only for fields10:10
Ugglasounds like https://miro.medium.com/v2/resize:fit:720/format:webp/1*LzKppsHIMabQhnCCdpdQXg.jpeg :)10:10
bauzasgibi: while the previous ShareMappingLibvirt objects were directly calling libvirt10:10
gibibauzas: I never really got why we are not coupling data and the methods using that data together into the ovos. That is one of the main reason classes exists to couple data and code acting on that data together :)10:14
gibibut I rest my case. It is a theorethical discussion10:15
bauzasgibi: well I remember when dansmith created those objects10:15
bauzasgibi: and I'm pretty sure I can find you some links explaining how this works10:16
bauzasI mean, not how, but why10:16
bauzas(sorry, not explaining you're bad, just about the situation)10:16
bauzaswe could have specific libvirt objects like you said10:17
bauzasbut those objects would only have values10:17
gibiand that is the point I disagree with out object model ^^10:18
gibibut as I said I rest my case. I don't want to change how nova looks at this point in its lifecycle10:18
ralonsohhi folks, do you know when we can set 'device_owner': 'compute:FAIL' for a port? Where is this 'compute:FAIL' coming from?10:22
gibithe FAIL part is interesting10:24
ralonsohyeah, I've never seen that10:25
gibias it should be  'compute:%s' % instance.availability_zone10:25
ralonsohahhh, that could make sense10:25
gibiso I'm wondering if a) it is manually set by the user b) the availability_zone name is set to fAIL10:25
ralonsohI'll check that, thanks!10:27
opendevreviewElod Illes proposed openstack/nova stable/victoria: DNM: CI test  https://review.opendev.org/c/openstack/nova/+/87324211:14
sean-k-mooneyralonsoh: its the name of an AZ11:15
sean-k-mooneyah gibi answered11:15
sean-k-mooneygmann: do you think we can get the policy change for nova merged this cycle. specfically the service role support11:22
sean-k-mooneythe new defaults were just waiting on placmenemtn correct11:22
ralonsohsean-k-mooney, yeah, I found the code thanks!11:29
opendevreviewAlexey Stupnikov proposed openstack/nova stable/ussuri: reenable greendns in nova.  https://review.opendev.org/c/openstack/nova/+/83343712:11
opendevreviewAlexey Stupnikov proposed openstack/nova stable/train: reenable greendns in nova.  https://review.opendev.org/c/openstack/nova/+/83343812:13
elodillesbauzas gibi : os-traits release patch has merged12:44
gibielodilles: thanks12:44
bauzasall cool12:44
opendevreviewmelanie witt proposed openstack/nova master: libvirt: Configure and teardown ephemeral encryption secrets  https://review.opendev.org/c/openstack/nova/+/82675413:20
opendevreviewmelanie witt proposed openstack/nova master: imagebackend: Add support to libvirt_info for LUKS based encryption  https://review.opendev.org/c/openstack/nova/+/82675513:20
opendevreviewmelanie witt proposed openstack/nova master: Support create with ephemeral encryption for qcow2  https://review.opendev.org/c/openstack/nova/+/87093213:20
opendevreviewmelanie witt proposed openstack/nova master: Support resize with ephemeral encryption  https://review.opendev.org/c/openstack/nova/+/87093313:20
opendevreviewmelanie witt proposed openstack/nova master: Add encryption support to convert_image  https://review.opendev.org/c/openstack/nova/+/87093413:20
opendevreviewmelanie witt proposed openstack/nova master: Add hw_ephemeral_encryption_secret_uuid image property  https://review.opendev.org/c/openstack/nova/+/87093513:20
opendevreviewmelanie witt proposed openstack/nova master: Add encryption support to qemu-img rebase  https://review.opendev.org/c/openstack/nova/+/87093613:20
opendevreviewmelanie witt proposed openstack/nova master: Support snapshot with ephemeral encryption  https://review.opendev.org/c/openstack/nova/+/87093713:20
opendevreviewmelanie witt proposed openstack/nova master: Add reset_encryption_fields() and save_all() to BlockDeviceMappingList  https://review.opendev.org/c/openstack/nova/+/87093813:20
opendevreviewmelanie witt proposed openstack/nova master: Update driver BDMs with ephemeral encryption image properties  https://review.opendev.org/c/openstack/nova/+/87093913:20
opendevreviewmelanie witt proposed openstack/nova master: libvirt: Introduce support for qcow2 with LUKS  https://review.opendev.org/c/openstack/nova/+/77227313:20
opendevreviewSylvain Bauza proposed openstack/nova master: cpu: interfaces for managing state and governor  https://review.opendev.org/c/openstack/nova/+/86823613:35
opendevreviewSylvain Bauza proposed openstack/nova master: libvirt: let CPUs be power managed  https://review.opendev.org/c/openstack/nova/+/82122813:35
opendevreviewSylvain Bauza proposed openstack/nova master: Enable cpus when an instance is spawning  https://review.opendev.org/c/openstack/nova/+/86823713:35
bauzasgibi: sean-k-mooney: updated the series ^13:36
bauzaswill provide a fup for docs13:36
*** dasm|offline is now known as dasm|rover13:47
opendevreviewMerged openstack/nova stable/yoga: Accept both 1 and Y as AMD SEV KVM kernel param value  https://review.opendev.org/c/openstack/nova/+/84381914:36
*** dasm|rover is now known as dasm|bbiab15:25
opendevreviewElod Illes proposed openstack/nova stable/victoria: [stable-only] Remove broken sdk job from wallaby  https://review.opendev.org/c/openstack/nova/+/87329515:30
kashyapbauzas: Maybe it's just best to quickly rename the function here - https://review.opendev.org/c/openstack/nova/+/82122815:57
kashyapbauzas: (Instead of a follow-up).  Something like get_cpu_status() or get_cpu_power_status() -- as either of these names include both offline and online15:58
bauzaswhat is the fuck this new CI issue ? TypeError: retry_bad_request() missing 1 required positional argument: 'fn'16:23
bauzashttps://6b96a36d22f450141095-9e4eb9f05513870f0e5456f29474f6b2.ssl.cf5.rackcdn.com/868236/5/check/nova-ceph-multistore/6011df8/testr_results.html16:23
bauzasdansmith: ^ I'm pretty done with all those glance image issues16:23
dansmithoh crap16:23
dansmiththat might be broken in the patch I just did16:24
dansmithwhich might mean it did't actually get run in the tempest gate16:24
dansmitheesh16:24
dansmithcrap yeah16:24
dansmithso that's breaking anyone that runs that job 100% right now :(16:25
bauzasthen no worries, everyone can make mistakes16:25
dansmithI was sure I checked,16:26
bauzasincluding me, having a long list of bugs I created16:26
dansmithbut I have about a thousand open unit test report tabs right now :916:26
dansmith:(16:26
dansmithneed a DNM nova patch against the fix I guess16:27
jungleboyjdansmith: You around?16:28
*** dasm|bbiab is now known as dasm|rover16:28
opendevreviewDan Smith proposed openstack/nova master: DNM: Test tempest fix  https://review.opendev.org/c/openstack/nova/+/87330216:29
dansmithbauzas: ^16:29
dansmithjungleboyj: yes, are you here to hassle me about breaking the ceph job?16:29
jungleboyjNo, not at all.16:29
jungleboyjHave a question for a customer.16:30
jungleboyjDo you, or do you know of anyone who has experience setting up diskless compute nodes?16:30
jungleboyjIs it even possible with Nova?16:31
dansmithit's been done, but no direct experience. it's really not what nova was intended to do,16:31
dansmithso I imagine you need some writable ramdisk area and obviously ceph-backed would be the way to go16:31
dansmithbut no, nothing really solid to recommend16:32
dansmith(ceph because you can avoid downloading the image locally)16:32
jungleboyjRight.16:32
jungleboyjIs there data that needs to persist from boot to boot for Nova on the compute?16:33
dansmithwell, libvirt guest configs technically, but I imagine we'll recreate them if they're gone16:33
dansmithjungleboyj: honestly you're going to have to try and iterate on the issues, I definitely can't point out all the icebergs without trying16:34
kashyapa thousand open unit test report tabs16:34
kashyapOh god; please close some of 'em16:35
dansmithjungleboyj: oh and in master now, we persist a compute node id file, which you'd need to restore on boot yourself somehow16:35
jungleboyjOk.  It helps to know that, technically, it is possible.  Trying to figure out how to help a customer that has a hardware config that limits what disk is available locally.16:35
dansmithjungleboyj: but like i say, it's really fighting against nova's design, so it's not going to be fun :)16:35
jungleboyjUnderstood.  Thanks for the input.  That was what I needed.  :-)16:36
kashyapThat's a very handy phrase - "fighting against Nova's design" 16:36
bauzasI'm pretty harassed for the day folks (13 hours of work having started at 6am :) )16:51
bauzasso, \o16:51
bauzasdansmith: when I'm back, I'll look at your DNM16:51
dansmithbauzas: it's just to actually run the tempest fix to validate, don't look. I tested locally it's all good, so hopefully we can get the tempest people to hit it quick16:52
sean-k-mooneydansmith: +2 on the stable uuid doc, thanks for updating it https://review.opendev.org/c/openstack/nova/+/87297716:53
dansmithsean-k-mooney: thanks16:53
sean-k-mooneygibi: if perhaps you could be the second +2 its pretty short16:53
sean-k-mooneyor melwitt  i would as bauzas but they are done for today16:54
melwittI will check it later and review if someone's not gotten to it yet16:57
bauzasI still have a bit of juice16:58
bauzas(but a terrible internet connection)16:59
bauzasokay, +Wd17:02
bauzasthis ends my long day17:02
bauzasdansmith: oh, actually before ending, any bug report you wanna want to have for the glance issue ?17:04
dansmithbauzas: it's a bug in a bugfix, I think it's okay to just sweep it in17:04
gibisean-k-mooney: done17:17
opendevreviewSylvain Bauza proposed openstack/nova master: Enable cpus when an instance is spawning  https://review.opendev.org/c/openstack/nova/+/86823717:29
bauzasThis time done for the day ;-)17:30
bauzaso/17:30
opendevreviewMerged openstack/nova master: Add docs for stable-compute-uuid behaviors  https://review.opendev.org/c/openstack/nova/+/87297717:36
opendevreviewAmit Uniyal proposed openstack/nova stable/wallaby: libvirt: Delegate OVS plug to os-vif  https://review.opendev.org/c/openstack/nova/+/79044718:06
gibibauzas sean-k-mooney: I'm more or less OK with the power management series. I'm happy with the sys fs fixture now. I left some nits but nothing serious18:12
sean-k-mooneyjohnthetubaguy: jayF am i right in saying no work has happend on https://specs.openstack.org/openstack/nova-specs/specs/2023.1/approved/ironic-shards.html and it will hopefully happne next cycle?19:27
sean-k-mooneyit loks like some of the code has landed https://review.opendev.org/q/topic:DBLayer_Shard_Key19:29
sean-k-mooneyso next cycle would just be the ironic driver changes in nova19:29
gmannsean-k-mooney: placement one is merged. nova service role is pending. I will try to update the patch soon. 19:34
gmannit has been lot of other things and gate failures and I did not get chance to update that19:34
sean-k-mooneyack19:34
sean-k-mooneyi was more wondering if we still planned to land it this cycle19:35
sean-k-mooneyi was hopeing we could but if it slips we can do it early next cycle19:35
sean-k-mooneyafter RC1 is shiped in ~4 weeks19:35
gmannyeah, let see if I can do it before FF19:43
gmannelodilles: you need to remove it from check pipeline also along with template https://review.opendev.org/c/openstack/nova/+/87324219:44
opendevreviewGhanshyam proposed openstack/nova stable/victoria: [stable-only] Remove broken sdk job from wallaby  https://review.opendev.org/c/openstack/nova/+/87329519:45
opendevreviewGhanshyam proposed openstack/nova stable/victoria: [stable-only] Remove broken sdk job from wallaby  https://review.opendev.org/c/openstack/nova/+/87329519:46
gmannelodilles: basically backporting this ti victoria ^^19:46
gmannI have updated the depend-on19:46
opendevreviewMerged openstack/nova stable/xena: nova-live-migration tests not needed for Ironic  https://review.opendev.org/c/openstack/nova/+/85546921:34
*** dasm|rover is now known as dasm|off22:18

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