*** luksky has quit IRC | 00:05 | |
*** mlavalle has quit IRC | 00:16 | |
*** tosky has quit IRC | 00:26 | |
*** LinPeiWen has joined #openstack-nova | 00:36 | |
*** sapd1 has quit IRC | 00:48 | |
*** hamalq has quit IRC | 01:04 | |
*** k_mouza has joined #openstack-nova | 01:15 | |
*** k_mouza has quit IRC | 01:20 | |
*** bhagyashris has quit IRC | 01:39 | |
*** jamesdenton has quit IRC | 01:49 | |
*** jamesden_ has joined #openstack-nova | 01:49 | |
*** rcernin has quit IRC | 02:46 | |
*** rcernin has joined #openstack-nova | 02:52 | |
*** macz_ has joined #openstack-nova | 03:05 | |
openstackgerrit | Merged openstack/nova stable/stein: Use subqueryload() instead of joinedload() for (system_)metadata https://review.opendev.org/c/openstack/nova/+/761812 | 03:06 |
---|---|---|
*** macz_ has quit IRC | 03:09 | |
openstackgerrit | sean mooney proposed openstack/nova master: libvirt: Delegate OVS plug to os-vif https://review.opendev.org/c/openstack/nova/+/602432 | 03:12 |
*** k_mouza has joined #openstack-nova | 03:16 | |
eandersson | melwitt do you know what is going on at the rocky ci? | 03:16 |
eandersson | > Cherry pick hash 9e9c022bde3a3ffdf0dd87e21bf9afde0dbc1e74 not on any master or stable branches | 03:16 |
sean-k-mooney | thats form the cherry pick script we have to ensure we dont skip branches wehn we backport | 03:17 |
sean-k-mooney | its run as part of the pep8 job | 03:17 |
sean-k-mooney | eandersson: this has not merge in trian yet so all the previous version will fail | 03:18 |
sean-k-mooney | that has been cherry picked incorrectly | 03:18 |
sean-k-mooney | https://review.opendev.org/c/openstack/nova/+/356020 is merged | 03:19 |
sean-k-mooney | https://review.opendev.org/c/openstack/nova/+/782982 is pending | 03:19 |
sean-k-mooney | but we shoudl have the cherry picked form lines for each branch | 03:19 |
sean-k-mooney | well | 03:20 |
sean-k-mooney | its bit that its incorrect persay | 03:20 |
sean-k-mooney | but untill https://review.opendev.org/c/openstack/nova/+/782982 merges it cant pass pep8 | 03:20 |
*** k_mouza has quit IRC | 03:20 | |
sean-k-mooney | eandersson: https://github.com/openstack/nova/blob/master/tools/check-cherry-picks.sh | 03:21 |
sean-k-mooney | that is what is causing it to fail | 03:21 |
*** hemanth_n has joined #openstack-nova | 03:22 | |
sean-k-mooney | eandersson: im not sure why the first cherry pick start a train | 03:22 |
sean-k-mooney | i guess this merged a year ago so maybe train was correct | 03:23 |
sean-k-mooney | assumign it merged in ussuri | 03:23 |
sean-k-mooney | eandersson: after the train and stien version merge a recheck will allow it to pass | 03:25 |
sean-k-mooney | eandersson: so dont need to worry about it for now | 03:25 |
*** macz_ has joined #openstack-nova | 03:25 | |
*** macz_ has quit IRC | 03:30 | |
eandersson | Sounds good | 03:37 |
eandersson | It's just weird that it was under pep8 and the message for sure wasn't clear :D | 03:38 |
eandersson | Would never have figured that out. | 03:38 |
sean-k-mooney | pep8 tradtionally was used for all linting jobs | 03:38 |
eandersson | At least not without digging into the code. | 03:38 |
sean-k-mooney | some non python porject starte using a tox linters env | 03:38 |
sean-k-mooney | but nova and the rest of the old "core" project all had lintere in pep8 already so we just extend it | 03:39 |
eandersson | Is this the one you looked at btw? https://review.opendev.org/c/openstack/nova/+/761813 | 03:39 |
eandersson | I re-checked it after the Stein backport was patched. | 03:40 |
eandersson | but will try again just in case | 03:40 |
sean-k-mooney | no | 03:40 |
sean-k-mooney | i serched for 9e9c022bde3a3ffdf0dd87e21bf9afde0dbc1e74 | 03:40 |
sean-k-mooney | whcih gave me https://review.opendev.org/q/9e9c022bde3a3ffdf0dd87e21bf9afde0dbc1e74 | 03:40 |
eandersson | I knew it was a mistake to include the example id :D | 03:40 |
eandersson | I was considering replacing 9e9c with X or something | 03:41 |
eandersson | Anyway lets wait for the re-check and see I guess | 03:41 |
sean-k-mooney | same think there though 66a4ea9f25cdc75691ed55adc842b795c10b4191 was not merged when it ran | 03:42 |
eandersson | Yea it's very likely I got trigger happy there. | 03:42 |
*** mkrai has joined #openstack-nova | 03:43 | |
sean-k-mooney | its merge now though https://review.opendev.org/c/openstack/nova/+/761812 so the recheck should pass | 03:43 |
sean-k-mooney | hum hopfully the grenade job will pass with the recheck too | 03:45 |
*** macz_ has joined #openstack-nova | 03:46 | |
sean-k-mooney | looks like a filure in the post test hook https://zuul.opendev.org/t/openstack/build/23129f86fb5146a084bb04f3eb9fcfec/log/logs/devstack-gate-post_test_hook.txt#95 | 03:50 |
sean-k-mooney | when testing ceph | 03:50 |
*** macz_ has quit IRC | 03:51 | |
*** brinzhang has joined #openstack-nova | 03:52 | |
*** tkajinam has quit IRC | 04:01 | |
*** tkajinam has joined #openstack-nova | 04:01 | |
*** macz_ has joined #openstack-nova | 04:07 | |
*** macz_ has quit IRC | 04:11 | |
*** sapd1 has joined #openstack-nova | 04:28 | |
*** ratailor has joined #openstack-nova | 04:36 | |
*** mkrai has quit IRC | 04:39 | |
*** mkrai has joined #openstack-nova | 04:40 | |
*** k_mouza has joined #openstack-nova | 04:46 | |
*** k_mouza has quit IRC | 04:50 | |
*** sapd1 has quit IRC | 05:01 | |
openstackgerrit | Merged openstack/nova master: Fix check_instance_shared_storage() call https://review.opendev.org/c/openstack/nova/+/783026 | 05:03 |
*** mkrai has quit IRC | 05:23 | |
*** mkrai_ has joined #openstack-nova | 05:23 | |
*** sapd1 has joined #openstack-nova | 05:57 | |
*** ircuser-1 has joined #openstack-nova | 06:00 | |
*** sapd1 has quit IRC | 06:03 | |
*** jangutter has joined #openstack-nova | 06:04 | |
openstackgerrit | Josephine Seifert proposed openstack/nova stable/stein: Add config parameter 'live_migration_scheme' to live migration with tls guide https://review.opendev.org/c/openstack/nova/+/783199 | 06:04 |
*** jangutter_ has quit IRC | 06:07 | |
*** Luzi has joined #openstack-nova | 06:11 | |
gibi | dansmith: thanks for the night whatch and the rechecks. The fix is merged and the RC1 patch is updated now. | 06:11 |
gibi | bauzas: ^^ | 06:11 |
*** zzzeek has joined #openstack-nova | 06:12 | |
*** macz_ has joined #openstack-nova | 06:12 | |
*** zzzeek has quit IRC | 06:16 | |
*** macz_ has quit IRC | 06:17 | |
*** zzzeek has joined #openstack-nova | 06:19 | |
*** zzzeek has quit IRC | 06:26 | |
*** zzzeek has joined #openstack-nova | 06:28 | |
*** arne_wiebalck has joined #openstack-nova | 06:36 | |
*** elod is now known as elod_afk | 06:45 | |
*** luksky has joined #openstack-nova | 06:45 | |
*** ftarasenko has joined #openstack-nova | 07:05 | |
*** rpittau|afk has quit IRC | 07:05 | |
*** vdrok has quit IRC | 07:05 | |
*** masayukig has quit IRC | 07:05 | |
*** masayukig has joined #openstack-nova | 07:06 | |
*** rpittau|afk has joined #openstack-nova | 07:06 | |
*** NobodyCam has quit IRC | 07:06 | |
*** vdrok has joined #openstack-nova | 07:06 | |
*** NobodyCam has joined #openstack-nova | 07:06 | |
*** ricolin has joined #openstack-nova | 07:09 | |
*** rcernin has quit IRC | 07:11 | |
*** dklyle has quit IRC | 07:11 | |
*** ricolin has quit IRC | 07:14 | |
openstackgerrit | OpenStack Release Bot proposed openstack/nova stable/wallaby: Update .gitreview for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783195 | 07:16 |
*** ricolin has joined #openstack-nova | 07:17 | |
openstackgerrit | OpenStack Release Bot proposed openstack/nova stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783216 | 07:17 |
openstackgerrit | OpenStack Release Bot proposed openstack/nova master: Update master for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783217 | 07:17 |
openstackgerrit | OpenStack Release Bot proposed openstack/nova master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/nova/+/783218 | 07:18 |
*** dpawlik6 has joined #openstack-nova | 07:22 | |
*** zzzeek has quit IRC | 07:25 | |
*** macz_ has joined #openstack-nova | 07:31 | |
*** macz_ has quit IRC | 07:35 | |
*** rcernin has joined #openstack-nova | 07:38 | |
*** zzzeek has joined #openstack-nova | 07:40 | |
*** rcernin has quit IRC | 07:42 | |
*** zzzeek has quit IRC | 07:44 | |
*** rcernin has joined #openstack-nova | 07:55 | |
*** zzzeek has joined #openstack-nova | 07:58 | |
*** rcernin has quit IRC | 07:59 | |
*** xarlos has joined #openstack-nova | 08:03 | |
*** zzzeek has quit IRC | 08:04 | |
*** rpittau|afk is now known as rpittau | 08:09 | |
*** rcernin has joined #openstack-nova | 08:13 | |
*** rcernin has quit IRC | 08:17 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/wallaby: [stable-only]Update .gitreview for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783195 | 08:24 |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783216 | 08:26 |
openstackgerrit | Balazs Gibizer proposed openstack/nova stable/wallaby: [stable-only]Update TOX_CONSTRAINTS_FILE for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783216 | 08:27 |
*** lpetrut has joined #openstack-nova | 08:28 | |
*** bhagyash- has joined #openstack-nova | 08:31 | |
gibi | sean-k-mooney: could you please hit this two automatic os-vif patches https://review.opendev.org/c/openstack/os-vif/+/781891 ? | 08:32 |
*** bhagyash- is now known as bhagyashris | 08:32 | |
bauzas | morning | 08:38 |
bauzas | gibi: sorry, looks like yesterday Frenode had some split | 08:38 |
bauzas | and maybe you pinged me | 08:38 |
bauzas | thanks for the RC1 patch | 08:39 |
*** zzzeek has joined #openstack-nova | 08:42 | |
*** bauzas has quit IRC | 08:45 | |
*** bauzas has joined #openstack-nova | 08:46 | |
*** zzzeek has quit IRC | 08:47 | |
*** elod_afk is now known as elod | 08:52 | |
*** sapd1 has joined #openstack-nova | 08:53 | |
gibi | bauzas: no worries everything went well during the night :) | 08:54 |
bauzas | gibi: I'll need to be off this afternoon btw. | 08:54 |
gibi | ack | 08:55 |
gibi | nothing pressing is in the queue | 08:55 |
*** sapd1 has quit IRC | 08:57 | |
*** swp20 has joined #openstack-nova | 08:58 | |
openstackgerrit | Merged openstack/osc-placement master: Update master for stable/victoria https://review.opendev.org/c/openstack/osc-placement/+/751320 | 08:58 |
swp20 | gibi: morning, i find disk_filter is removed from U version, could u please give me some ref links about the reason? | 09:00 |
stephenfin | swp20: It'll be in the release notes | 09:01 |
*** lucasagomes has joined #openstack-nova | 09:01 | |
stephenfin | swp20: https://docs.openstack.org/releasenotes/nova/train.html | 09:01 |
stephenfin | The CoreFilter, DiskFilter and RamFilter, which were deprecated in Stein (19.0.0), are now removed. VCPU, DISK_GB and MEMORY_MB filtering is performed natively using the Placement service. | 09:01 |
*** rcernin has joined #openstack-nova | 09:01 | |
*** andrewbonney has joined #openstack-nova | 09:02 | |
swp20 | stephenfin: thanks a lot. | 09:02 |
*** derekh has joined #openstack-nova | 09:04 | |
*** rcernin has quit IRC | 09:06 | |
openstackgerrit | Merged openstack/osc-placement master: Add Python3 wallaby unit tests https://review.opendev.org/c/openstack/osc-placement/+/751321 | 09:07 |
*** zzzeek has joined #openstack-nova | 09:10 | |
swp20 | stephenfin: do we plan to move the remain filters to placement? | 09:12 |
*** zzzeek has quit IRC | 09:13 | |
*** zzzeek has joined #openstack-nova | 09:15 | |
*** dtantsur|afk is now known as dtantsur | 09:17 | |
bauzas | swp20: no, that depends | 09:19 |
bauzas | swp20: some filters can be deprecated if we can create what we name 'prefilters' using the Placement API | 09:19 |
bauzas | swp20: but some others, no | 09:19 |
swp20 | bauzas: got it, thanks. | 09:22 |
swp20 | bauzas: placemet has support PCI filter such as GPU/FPGA devices, isn't it? | 09:25 |
gibi | vgpu mdevs are modelled in placement but PCI devices not yet | 09:27 |
gibi | due to qos min bandwidth scheduling support some sriov PFs are modelled in placement but that only used for the bandwdith resource at the moment | 09:27 |
gibi | the PCI schduling still happens in the PCIFilter in nova | 09:28 |
*** kashyap has joined #openstack-nova | 09:30 | |
*** kashyap has left #openstack-nova | 09:30 | |
*** tosky has joined #openstack-nova | 09:30 | |
*** kashyap has joined #openstack-nova | 09:30 | |
*** grandchild has joined #openstack-nova | 09:30 | |
bauzas | swp20: we only model vGPUs | 09:30 |
bauzas | swp20: but we don't really model PCI devices | 09:31 |
bauzas | and given we also have NUMA PCI affinity, we would also need to support this | 09:31 |
bauzas | a long story here. | 09:31 |
*** martinkennelly has joined #openstack-nova | 09:31 | |
swp20 | gibi, buazas: got, thanks a lot. | 09:33 |
*** eharney has quit IRC | 09:34 | |
openstackgerrit | OpenStack Release Bot proposed openstack/placement stable/wallaby: Update .gitreview for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783232 | 09:35 |
openstackgerrit | OpenStack Release Bot proposed openstack/placement stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783233 | 09:35 |
openstackgerrit | OpenStack Release Bot proposed openstack/placement master: Update master for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783234 | 09:35 |
openstackgerrit | OpenStack Release Bot proposed openstack/placement master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/placement/+/783235 | 09:36 |
*** whoami-rajat has joined #openstack-nova | 09:44 | |
*** hoonetorg has joined #openstack-nova | 09:49 | |
*** eharney has joined #openstack-nova | 09:52 | |
*** rcernin has joined #openstack-nova | 09:53 | |
*** k_mouza has joined #openstack-nova | 09:59 | |
*** rcernin has quit IRC | 10:00 | |
*** rcernin has joined #openstack-nova | 10:05 | |
*** rcernin has quit IRC | 10:10 | |
*** macz_ has joined #openstack-nova | 10:10 | |
*** sapd1 has joined #openstack-nova | 10:11 | |
*** macz_ has quit IRC | 10:14 | |
*** rcernin has joined #openstack-nova | 10:27 | |
*** rcernin has quit IRC | 10:32 | |
*** sapd1 has quit IRC | 10:35 | |
*** k_mouza has quit IRC | 10:39 | |
*** k_mouza has joined #openstack-nova | 10:39 | |
*** rcernin has joined #openstack-nova | 10:42 | |
*** k_mouza_ has joined #openstack-nova | 10:43 | |
*** k_mouza has quit IRC | 10:44 | |
*** ociuhandu has joined #openstack-nova | 10:47 | |
*** rcernin has quit IRC | 10:52 | |
*** macz_ has joined #openstack-nova | 10:52 | |
*** macz_ has quit IRC | 10:56 | |
*** rcernin has joined #openstack-nova | 11:00 | |
*** ociuhandu has quit IRC | 11:02 | |
*** rcernin has quit IRC | 11:05 | |
*** gokhani has joined #openstack-nova | 11:13 | |
*** macz_ has joined #openstack-nova | 11:13 | |
*** sapd1 has joined #openstack-nova | 11:17 | |
*** rcernin has joined #openstack-nova | 11:17 | |
*** macz_ has quit IRC | 11:18 | |
*** sapd1 has quit IRC | 11:22 | |
*** rcernin has quit IRC | 11:22 | |
kashyap | gibi: or anyone else: Can I borrow your eyes: In this method here _add_rng_device() — do you see a way where 'hw_rng:allowed = False' on image property might *not* take effect? -- https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5665,#L5682 | 11:25 |
openstackgerrit | Slawek Kaplonski proposed openstack/nova master: [neutron] Get only ID and name of the SGs from Neutron https://review.opendev.org/c/openstack/nova/+/783275 | 11:31 |
*** ociuhandu has joined #openstack-nova | 11:32 | |
*** macz_ has joined #openstack-nova | 11:34 | |
*** owalsh has quit IRC | 11:35 | |
*** macz_ has quit IRC | 11:38 | |
*** ociuhandu has quit IRC | 11:41 | |
*** mkrai_ has quit IRC | 11:42 | |
*** mkrai_ has joined #openstack-nova | 11:42 | |
*** rcernin has joined #openstack-nova | 11:50 | |
*** rcernin has quit IRC | 11:54 | |
*** owalsh has joined #openstack-nova | 11:55 | |
*** ociuhandu has joined #openstack-nova | 11:56 | |
*** tbarron has joined #openstack-nova | 11:58 | |
*** mkrai_ has quit IRC | 12:01 | |
*** ociuhandu has quit IRC | 12:10 | |
*** k_mouza_ has quit IRC | 12:13 | |
*** ociuhandu has joined #openstack-nova | 12:22 | |
gibi | kashyap: the image_meta is unused in that function | 12:24 |
gibi | only the flavor extra_spec is used | 12:24 |
gibi | so that function does not care about any image property | 12:24 |
kashyap | gibi: Oh, so the "hw_rng:allowed" image meta is useless in this case then | 12:25 |
gibi | seem so | 12:28 |
gibi | it might be a bug | 12:28 |
kashyap | Hmm, OSP QE reported it to me... | 12:29 |
gibi | as the function gets an image_meta parameter but the it does not use it | 12:29 |
*** ociuhandu has quit IRC | 12:31 | |
kashyap | gibi: Right; I guess we should: | 12:31 |
kashyap | flavor.extra_specs.get() or image_imeta.properties.get() ... | 12:31 |
gibi | yeah that could be a solution | 12:32 |
sean-k-mooney | we have a function for that | 12:34 |
sean-k-mooney | at lesate wehre we named then the same | 12:34 |
sean-k-mooney | hw_rng:allowed | 12:35 |
sean-k-mooney | shoudl not be use in image meta | 12:35 |
sean-k-mooney | only the flavor can allow it | 12:35 |
sean-k-mooney | https://github.com/openstack/glance/blob/master/etc/metadefs/compute-libvirt-image.json#L54-L59 is the only image metadata value | 12:37 |
kashyap | sean-k-mooney: You mean "hw_rng:allowed" can only be used by extra_spec and not image_meta? | 12:38 |
sean-k-mooney | yes | 12:38 |
sean-k-mooney | that was a desgin chocie | 12:38 |
sean-k-mooney | because we used to use /dev/random not /dev/urandom as you know | 12:39 |
sean-k-mooney | there were concerns about running out of entropy | 12:39 |
kashyap | sean-k-mooney: Wait. What you're pointing to is different: "hw_rng_model" --> this is useless now. | 12:39 |
sean-k-mooney | so it was an admin only extra spec | 12:39 |
sean-k-mooney | which defaut to false | 12:39 |
kashyap | sean-k-mooney: Okay ... so it's not a "bug" to not have it via image_meta | 12:39 |
sean-k-mooney | right it would be a bug to use it in image meta but the fact its not there is not | 12:40 |
sean-k-mooney | hw_rng_model is pretty useless not too yes | 12:40 |
sean-k-mooney | https://github.com/openstack/nova/blob/master/nova/objects/image_meta.py#L387-L394 | 12:41 |
sean-k-mooney | kashyap: but as you said we should not remove/deprecate it yet ^ | 12:41 |
kashyap | sean-k-mooney: You mean "as I said" in the commit message? :) | 12:41 |
sean-k-mooney | unless that comment you worte is also incorect | 12:41 |
kashyap | sean-k-mooney: No; it's not incorrect. I also wrote this in the commit message of the patch that introduced it: | 12:42 |
kashyap | - The 'hw_rng_model' image metadata property is now rendered | 12:42 |
kashyap | (temporarily) useless -- as it's not used anywhere outside the | 12:42 |
kashyap | _add_rng_device() method. But we don't want to deprecate it yet, as | 12:42 |
kashyap | we may extend it (see code comment for details); docucment that. | 12:42 |
kashyap | So we wan to keep it. | 12:42 |
sean-k-mooney | well there too but i was not reading the comit message | 12:42 |
sean-k-mooney | i rember this form when the rng supprot was first beign added | 12:43 |
kashyap | Righ; I wrote the code comment in image_meta.py | 12:43 |
*** gokhani has quit IRC | 12:43 | |
*** hemanth_n has quit IRC | 12:43 | |
*** ratailor has quit IRC | 12:44 | |
*** ociuhandu has joined #openstack-nova | 12:45 | |
*** gokhani has joined #openstack-nova | 12:49 | |
*** ociuhandu has quit IRC | 12:50 | |
*** ociuhandu has joined #openstack-nova | 12:52 | |
*** ociuhandu has quit IRC | 12:57 | |
*** rcernin has joined #openstack-nova | 12:57 | |
*** rcernin has quit IRC | 12:58 | |
*** rcernin has joined #openstack-nova | 12:58 | |
openstackgerrit | Balazs Gibizer proposed openstack/osc-placement master: Update master for stable/wallaby https://review.opendev.org/c/openstack/osc-placement/+/781894 | 12:58 |
*** ociuhandu has joined #openstack-nova | 13:00 | |
*** k_mouza has joined #openstack-nova | 13:00 | |
openstackgerrit | Balazs Gibizer proposed openstack/osc-placement master: Update master for stable/wallaby https://review.opendev.org/c/openstack/osc-placement/+/781894 | 13:02 |
*** martinkennelly has quit IRC | 13:05 | |
*** ociuhandu has quit IRC | 13:10 | |
dansmith | gibi: ah, based on the time, it must have been the last one before I went to bed, cool | 13:14 |
gibi | dansmith: yepp you almost saw the patch landing | 13:19 |
gibi | :) | 13:19 |
dansmith | well, sorry | 13:21 |
gibi | no worries. I'm glad you pushed the patch forwatrd | 13:22 |
*** macz_ has joined #openstack-nova | 13:39 | |
openstackgerrit | Merged openstack/placement master: Update master for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783234 | 13:40 |
*** ociuhandu has joined #openstack-nova | 13:40 | |
*** macz_ has quit IRC | 13:43 | |
*** k_mouza has quit IRC | 13:47 | |
*** k_mouza_ has joined #openstack-nova | 13:47 | |
*** rpittau is now known as rpittau|afk | 13:50 | |
*** gokhani has quit IRC | 13:53 | |
*** gokhani has joined #openstack-nova | 13:55 | |
*** ociuhandu has quit IRC | 13:58 | |
*** mlavalle has joined #openstack-nova | 13:58 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/nova/+/783218 | 14:04 |
gibi | sean-k-mooney: could you please hit this two automatic os-vif patches https://review.opendev.org/c/openstack/os-vif/+/781891 ? | 14:10 |
*** ociuhandu has joined #openstack-nova | 14:10 | |
*** brinzhang has quit IRC | 14:14 | |
openstackgerrit | Merged openstack/os-vif master: Update master for stable/wallaby https://review.opendev.org/c/openstack/os-vif/+/781890 | 14:17 |
*** derekh has quit IRC | 14:20 | |
*** ociuhandu has quit IRC | 14:21 | |
openstackgerrit | Merged openstack/placement stable/wallaby: Update .gitreview for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783232 | 14:22 |
openstackgerrit | Merged openstack/placement stable/wallaby: Update TOX_CONSTRAINTS_FILE for stable/wallaby https://review.opendev.org/c/openstack/placement/+/783233 | 14:22 |
openstackgerrit | Merged openstack/placement master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/placement/+/783235 | 14:23 |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/nova/+/783218 | 14:23 |
*** smcginnis has quit IRC | 14:24 | |
*** smcginnis has joined #openstack-nova | 14:26 | |
*** dklyle has joined #openstack-nova | 14:29 | |
*** macz_ has joined #openstack-nova | 14:31 | |
*** ociuhandu has joined #openstack-nova | 14:33 | |
sean-k-mooney | gibi: ill take a look now | 14:34 |
sean-k-mooney | gibi: a gmann has don it alredy | 14:34 |
gibi | sean-k-mooney: thanks | 14:34 |
gibi | ohh | 14:34 |
sean-k-mooney | gmann++ | 14:35 |
gibi | thanks then | 14:35 |
*** macz_ has quit IRC | 14:36 | |
*** ociuhandu has quit IRC | 14:38 | |
*** jangutter_ has joined #openstack-nova | 14:39 | |
*** ociuhandu has joined #openstack-nova | 14:42 | |
*** jangutter has quit IRC | 14:42 | |
*** ociuhandu has quit IRC | 14:44 | |
*** ociuhandu has joined #openstack-nova | 14:44 | |
*** macz_ has joined #openstack-nova | 14:48 | |
*** derekh has joined #openstack-nova | 14:59 | |
*** ociuhandu has quit IRC | 15:04 | |
*** Luzi has quit IRC | 15:05 | |
*** rcernin has quit IRC | 15:06 | |
artom | sean-k-mooney, hey, in https://review.opendev.org/c/openstack/nova/+/783084/1/nova/tests/functional/libvirt/test_pci_sriov_servers.py#382 when you say it's a side effect of our Neutron fixture, what did you mean? | 15:08 |
artom | Btw, that should have been WIP :P | 15:08 |
artom | I'm just starting to explore wth's going on | 15:08 |
sean-k-mooney | i mean that in reality you will not get that key error | 15:08 |
sean-k-mooney | the pci_slot key will be set in the profile | 15:09 |
sean-k-mooney | it just will have the wrong value | 15:09 |
sean-k-mooney | so your test is failing but not for the correct reason | 15:09 |
sean-k-mooney | did you see my top level comment | 15:09 |
artom | sean-k-mooney, right, so... 1. what bit in the fixture isn't like reality? and 2. dvd seems to have gotten the same keyerror here: https://bugzilla.redhat.com/show_bug.cgi?id=1767797#c17 | 15:09 |
openstack | bugzilla.redhat.com bug 1767797 in openstack-nova "When unshelving an SR-IOV instance, the binding profile isn't reclaimed or rescheduled, and this might cause PCI-PT conflicts" [High,Assigned] - Assigned to alifshit | 15:09 |
sean-k-mooney | i suggested how to write the test diffeerntly | 15:09 |
artom | sean-k-mooney, yeah, I actually started like that, and then went back because... well, I wasn't thinking straight. Lemme do it "properly", and upload that I find | 15:10 |
sean-k-mooney | i think that was self inflicted | 15:11 |
sean-k-mooney | you can actully unshleve i hvae tested that | 15:11 |
sean-k-mooney | so the nasty part of this bug is it appears to work but its subtely broken | 15:11 |
valleedelisle | sean-k-mooney, can we unshelve on a host with the same pci device in use? | 15:11 |
artom | valleedelisle, oh that's your upstream nick | 15:12 |
valleedelisle | valleedelisle, I think that the point of that bz is the pci device not being re-calculated | 15:12 |
valleedelisle | yeah dvd is already in use hehe | 15:12 |
sean-k-mooney | valleedelisle: no that will cause the libvirt error in the upstream bug | 15:12 |
sean-k-mooney | libvirt/qemu will cay the device is already in use | 15:12 |
sean-k-mooney | but if the pci device is not in use then yes | 15:12 |
artom | valleedelisle, 'dvd :No such nick/channel' | 15:12 |
valleedelisle | sean-k-mooney, yeah but shouldn't we recalculate pci device ? | 15:12 |
valleedelisle | artom, it's registered | 15:12 |
sean-k-mooney | we do | 15:12 |
artom | Bleah :( | 15:13 |
sean-k-mooney | and we claim it in the db | 15:13 |
sean-k-mooney | we just dont update the port profile | 15:13 |
sean-k-mooney | which is the bug | 15:13 |
valleedelisle | ack | 15:13 |
sean-k-mooney | i repodcued the bug manually on my sriov hardware at home and confirmed that i just did not have time to work on a fix a the time | 15:13 |
openstackgerrit | Merged openstack/nova master: Update master for stable/wallaby https://review.opendev.org/c/openstack/nova/+/783217 | 15:15 |
*** sapd1 has joined #openstack-nova | 15:16 | |
*** lpetrut has quit IRC | 15:19 | |
*** Hazelesque has quit IRC | 15:31 | |
*** Hazelesque has joined #openstack-nova | 15:34 | |
artom | sean-k-mooney, btw, in order to actually write the unshelve func test properly, I need to fix the Neutron fixture to go further than that KeyError | 15:39 |
*** ociuhandu has joined #openstack-nova | 15:43 | |
gibi | sean-k-mooney: you will probably like this https://storyboard.openstack.org/#!/story/2008764 | 15:46 |
sean-k-mooney | gibi: well its on story borad but lets see | 15:46 |
sean-k-mooney | oh ya i think it has uses | 15:46 |
sean-k-mooney | ya preventing loops and orpans is something we woudl have to do | 15:47 |
sean-k-mooney | to mantain the DAG stucture | 15:47 |
gibi | sean-k-mooney: how can we make orphans? | 15:47 |
gibi | sean-k-mooney: loop check is already implemented | 15:47 |
sean-k-mooney | settign parent to None | 15:47 |
gibi | that does not orphan things that creates a new root provider | 15:48 |
sean-k-mooney | or a rp that does not exist | 15:48 |
sean-k-mooney | well it would be a root provider yes | 15:48 |
gibi | yeah, non existing RP needs to be rejected (an rejected already) | 15:48 |
sean-k-mooney | but if you did that to your bandwith RPs it woudl be kind of broken | 15:48 |
gibi | broken from nova an neutron perspective but not from placement perspective | 15:48 |
sean-k-mooney | yep i just commenting on jays comment you copied | 15:48 |
sean-k-mooney | well the TODO | 15:49 |
gibi | placement does not know the intention of the clients | 15:49 |
sean-k-mooney | gibi: yep it would be a logic error | 15:49 |
sean-k-mooney | but not invalid in general | 15:49 |
gibi | yepp from placement perspective creating a new root RP is valid | 15:49 |
sean-k-mooney | so used correctly i think its a useful feature | 15:49 |
gibi | yepp | 15:49 |
sean-k-mooney | i also think its slightly diffrent then reshaping | 15:50 |
gibi | it is | 15:50 |
gibi | reshape is to move allocations around | 15:50 |
gibi | this is to move RPs around :) | 15:50 |
sean-k-mooney | allocation and inventores and potentialy creating more or less RPs | 15:50 |
*** jamesden_ has quit IRC | 15:50 | |
gibi | reshape does not create RPs | 15:50 |
sean-k-mooney | where as moving an RP is just that changing it postion in the grap | 15:50 |
gibi | but yes it move inventories and allocations | 15:50 |
sean-k-mooney | gibi: well it does not on the placment side | 15:51 |
sean-k-mooney | but our nova reshapes do | 15:51 |
gibi | nova creates RPs, and then reshape to those RPs | 15:51 |
sean-k-mooney | for example the vgpu reshpe | 15:51 |
sean-k-mooney | yep | 15:51 |
gibi | :) | 15:51 |
sean-k-mooney | we do multipel operation in the nova fucnitons that we incorreectly refer to as reshaping as a whole | 15:51 |
*** jamesdenton has joined #openstack-nova | 15:51 | |
sean-k-mooney | but ya reshape in the placment api is a specific thing | 15:52 |
gibi | yepp | 15:52 |
sean-k-mooney | my original use case for this was moving pci device if we later added numa nodes | 15:52 |
sean-k-mooney | or vgpus | 15:52 |
gibi | yepp, I added that to the story as a reason | 15:53 |
sean-k-mooney | e.g. just changing the partent form the root rp to the numa ndoe | 15:53 |
gibi | exactly | 15:53 |
gibi | that will be a reshape in nova but a reparent in placement :) | 15:53 |
sean-k-mooney | the only thing that woudl be invalidated by that would be the allocation summaries | 15:53 |
sean-k-mooney | so as long as we are not boot a vm or moveign one | 15:53 |
sean-k-mooney | it hink it woudl be ok | 15:53 |
artom | stephenfin, that infamous comment of your for the cold migration functional test mocking is getting around | 15:53 |
artom | [artom@zoe nova]$ ag dumb nova/tests/functional/libvirt/ | wc -l | 15:54 |
artom | 11 | 15:54 |
stephenfin | the dog | 15:54 |
sean-k-mooney | artom: which one? | 15:54 |
sean-k-mooney | im surprised we have less use fo dumb in our func test :) | 15:54 |
artom | # TODO(stephenfin): The mock of 'migrate_disk_and_power_off' should probably be less...dumb | 15:55 |
sean-k-mooney | there are many silly things | 15:55 |
sean-k-mooney | hehe | 15:55 |
stephenfin | I did try to fix that one time | 15:55 |
stephenfin | and quickly gave up | 15:55 |
sean-k-mooney | i dont think i have actully seen that beofre or at least read it | 15:55 |
stephenfin | too much involved | 15:55 |
sean-k-mooney | but im sure it could be | 15:55 |
*** LinPeiWen has quit IRC | 16:00 | |
openstackgerrit | Merged openstack/os-vif master: Add Python3 xena unit tests https://review.opendev.org/c/openstack/os-vif/+/781891 | 16:03 |
*** ociuhandu has quit IRC | 16:08 | |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: WIP: Test SRIOV port move operations with PCI conflicts https://review.opendev.org/c/openstack/nova/+/783084 | 16:20 |
*** ociuhandu has joined #openstack-nova | 16:39 | |
*** gyee has joined #openstack-nova | 16:40 | |
*** hamalq has joined #openstack-nova | 16:43 | |
*** hamalq_ has joined #openstack-nova | 16:44 | |
*** ociuhandu_ has joined #openstack-nova | 16:44 | |
*** ociuhandu_ has quit IRC | 16:44 | |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: WIP: Test SRIOV port move operations with PCI conflicts https://review.opendev.org/c/openstack/nova/+/783084 | 16:45 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: WIP: Neutron fixture: don't clobber profile and vif_details if empty https://review.opendev.org/c/openstack/nova/+/783385 | 16:45 |
artom | sean-k-mooney, ^^ there :) Good time to pause for lunch | 16:45 |
*** hamalq has quit IRC | 16:47 | |
*** ociuhandu has quit IRC | 16:48 | |
*** lucasagomes has quit IRC | 16:58 | |
*** artom has quit IRC | 17:02 | |
*** jangutter_ has quit IRC | 17:08 | |
*** jangutter has joined #openstack-nova | 17:08 | |
*** iurygregory has quit IRC | 17:12 | |
*** iurygregory has joined #openstack-nova | 17:13 | |
*** artom has joined #openstack-nova | 17:18 | |
sean-k-mooney | artom: yep that is a good approch | 17:25 |
sean-k-mooney | the inner move_operation fucntion true me for a sec but it makes sense | 17:25 |
artom | sean-k-mooney, yeah, it's not great, but I wanted to test cold migration too | 17:26 |
sean-k-mooney | this is where i woudl like to use named lambda but those are not allowed | 17:26 |
artom | That one works, thankfully | 17:26 |
sean-k-mooney | as far as i am aware this cannot happen for live mifgation since we dont use the claims in the same way | 17:26 |
sean-k-mooney | so ya | 17:27 |
sean-k-mooney | just cold migratoien and shelve | 17:27 |
sean-k-mooney | although evacualte might also be affected | 17:27 |
artom | In fact for unshelve we don't have any claims | 17:27 |
artom | I guess when it was written it was supposed to never change hosts? | 17:28 |
sean-k-mooney | well we do | 17:28 |
sean-k-mooney | we have pci claims in the db | 17:28 |
artom | I dunno, but the way I read it, we just plop the instance on the compute, no questions asked | 17:28 |
sean-k-mooney | in the pci tracker | 17:28 |
sean-k-mooney | we do not use move claims | 17:28 |
*** dtantsur is now known as dtantsur|afk | 17:28 | |
sean-k-mooney | because its not actully a move operations | 17:28 |
sean-k-mooney | unshelve basically uses spawn | 17:29 |
sean-k-mooney | the vm never really exist in two compute hosts at the same time liek with migrrate and live migrate or evacuate | 17:29 |
sean-k-mooney | artom: we use the normal instance claim wich is created on the compute node | 17:30 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: conf: Deprecate AggregateImagePropertiesIsolation opts https://review.opendev.org/c/openstack/nova/+/783396 | 17:31 |
stephenfin | sean-k-mooney: ^ | 17:31 |
sean-k-mooney | cool too bad that didnt happen 2 weeks ago | 17:31 |
sean-k-mooney | ill take a look shortly | 17:31 |
sean-k-mooney | artom: i dont know if you have looked at unshelve but we go to task state spawning https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6525 | 17:32 |
sean-k-mooney | then we do a normal instance claim | 17:33 |
sean-k-mooney | and call driver.spwan | 17:33 |
sean-k-mooney | https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6577-L6585 | 17:33 |
sean-k-mooney | artom: so we use https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/compute/claims.py#L49 | 17:33 |
sean-k-mooney | for unshelve just like we do for a new boot | 17:33 |
sean-k-mooney | artom: by the way im not sure why you need https://review.opendev.org/c/openstack/nova/+/783385/1/nova/tests/fixtures.py | 17:36 |
sean-k-mooney | you are removing the copies that we make which im not sure is correct | 17:36 |
sean-k-mooney | other wise what you wote is logically the same | 17:37 |
artom | sean-k-mooney, that fixes the KeyError | 17:38 |
sean-k-mooney | i mean if it works cool i just dont know why it does | 17:38 |
sean-k-mooney | right but body['port'].get('binding:profile') or {} | 17:38 |
sean-k-mooney | shoudl do the same thing | 17:38 |
sean-k-mooney | as | 17:38 |
sean-k-mooney | if body['port'].get('binding:profile'): | 17:38 |
sean-k-mooney | update['profile'] = body['port']['binding:profile'] | 17:38 |
sean-k-mooney | well not quite it wont set {} | 17:39 |
sean-k-mooney | if there is no profile | 17:39 |
sean-k-mooney | but that hsoudl not clober things | 17:39 |
artom | sean-k-mooney, right, but it means that if we update with no binding:profile, we'll hit the 'or {}', and assign that | 17:39 |
sean-k-mooney | oh i see whats hapening | 17:40 |
artom | Which effectively clobbers | 17:40 |
sean-k-mooney | ya | 17:40 |
sean-k-mooney | that is not how the real api work | 17:40 |
sean-k-mooney | what the real api does is keep the value of the fiedl you dont touch | 17:40 |
sean-k-mooney | whcih your change will do | 17:40 |
sean-k-mooney | the or {} shoudl have been more like | 17:41 |
*** yoctozepto has quit IRC | 17:41 | |
sean-k-mooney | or self._port_bindings[port_id][host]['profile] | 17:41 |
sean-k-mooney | ya ok this makes sense to me | 17:41 |
sean-k-mooney | artom: looks like nova.tests.functional.test_nova_manage.TestNovaManagePlacementHealPortAllocations.test_heal_multiple_port_allocations_rollback_fails | 17:46 |
sean-k-mooney | broke but oterwise this looks good | 17:46 |
sean-k-mooney | stephenfin: nic commit message :) | 17:47 |
sean-k-mooney | good point on the hw_ possiblity but ya they will still work | 17:48 |
*** yoctozepto has joined #openstack-nova | 17:51 | |
*** slaweq has quit IRC | 17:58 | |
*** k_mouza_ has quit IRC | 17:58 | |
*** slaweq has joined #openstack-nova | 18:03 | |
*** slaweq has quit IRC | 18:09 | |
*** jamesdenton has quit IRC | 18:09 | |
*** jamesdenton has joined #openstack-nova | 18:10 | |
stephenfin | sean-k-mooney: That's a good point RE: using the isolated aggregates filtering feature via placement instead | 18:18 |
stephenfin | I wonder if we should just just deprecate both of these filters instead? | 18:19 |
sean-k-mooney | i would be ok with that | 18:23 |
sean-k-mooney | ptg topic maybe | 18:23 |
stephenfin | good idea | 18:23 |
* stephenfin adds it | 18:23 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: conf: Deprecate AggregateImagePropertiesIsolation opts https://review.opendev.org/c/openstack/nova/+/783396 | 18:24 |
sean-k-mooney | the draw back is you might need to update your flavors/image with teh traits | 18:24 |
* artom was playing Go Fish with his daughter | 18:24 | |
stephenfin | Yes, I'm not sure we could ever remove it | 18:24 |
sean-k-mooney | but at least of new deployment i would not recommend turnning them on any more na just use that | 18:24 |
artom | Remote school is... interesting. She's already finished everything for the week with mom | 18:25 |
sean-k-mooney | well we could but it would need a few cycles | 18:25 |
stephenfin | at least not without offering a mechanism to update stored image/flavor metadata for an existing instance | 18:25 |
stephenfin | but the code costs very little to maintain and could happily be ignored | 18:25 |
sean-k-mooney | artom: enjoy | 18:25 |
* artom is digging into the instance_claim on unshelve -> spawn() | 18:25 | |
stephenfin | anyway, PTG topic | 18:25 |
sean-k-mooney | artom: its the same type of claime we do for normal spawn | 18:26 |
artom | So yeah, we do a claim, but _update_port_binding_for_instance() assumed that pci_mapping can only change if there's a migration | 18:26 |
sean-k-mooney | which include claiming the pci devices | 18:26 |
artom | pci_mapping = self._get_pci_mapping_for_migration(instance, migration) | 18:26 |
sean-k-mooney | artom: ya that should like what might be happening | 18:26 |
artom | Yeah, we claim them | 18:26 |
sean-k-mooney | ah cool you found the issue then | 18:26 |
artom | But way before that, we've already updated the port bindings | 18:26 |
artom | With the old pci_slot, since the instance isn't actually migrating | 18:27 |
artom | Or rather, we haven't actually done the update, since pci_slot doens't change | 18:27 |
* artom tries to think of a way to fix that that's backportable... | 18:27 | |
sean-k-mooney | well we just need to update the port again | 18:28 |
sean-k-mooney | it would be nice not to do it twice | 18:28 |
sean-k-mooney | but that is the simiple backportable fix | 18:28 |
sean-k-mooney | as long as we update it before we generate the xml its fine | 18:29 |
sean-k-mooney | then eventually i would like to use the adress form the claim/db instead but that harder | 18:29 |
* artom wonder how we do it for normal boot | 18:30 | |
artom | IOW, how do we *set* the pci_slot in the first place | 18:31 |
artom | _update_port_binding_for_instance() will only update it from a migration | 18:31 |
*** sapd1 has quit IRC | 18:33 | |
artom | Aha _populate_neutron_binding_profile() | 18:38 |
*** mloza has joined #openstack-nova | 18:38 | |
sean-k-mooney | ya it happens in the port bidning right | 18:38 |
sean-k-mooney | artom: i think its this https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L1332-L1333 | 18:38 |
sean-k-mooney | we call that during live migration fore example https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/conductor/tasks/live_migrate.py#L414 | 18:40 |
sean-k-mooney | artom: if you called self.network_api.bind_ports_to_host here https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6579 | 18:43 |
sean-k-mooney | right before spawn i think that woudl fix it | 18:43 |
sean-k-mooney | you would need to change | 18:44 |
sean-k-mooney | with self.rt.instance_claim(context, instance, node, allocations, | 18:44 |
sean-k-mooney | limits): | 18:44 |
sean-k-mooney | to with self.rt.instance_claim(context, instance, node, allocations, | 18:44 |
sean-k-mooney | limits) | 18:44 |
sean-k-mooney | as claim | 18:44 |
sean-k-mooney | and then you could use the claim to get the pci diceis i think | 18:45 |
*** andrewbonney has quit IRC | 18:47 | |
sean-k-mooney | artom: the update would look like this https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L10634-L10657 | 18:49 |
sean-k-mooney | hum actullyno | 18:49 |
sean-k-mooney | well no this is how we actully do it for live miggration https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L10597-L10632 | 18:51 |
* artom wonders if we could just allocate_for_instance instead of _update_port_bindings_for_instance()... | 19:01 | |
artom | I guess we'd have to distinguish between unshelve from just SHELVED and also SHELVED_OFFLOADED | 19:01 |
sean-k-mooney | artom: in the normal spawn workflow after we take the instance calim we call _build_resources | 19:01 |
sean-k-mooney | which does call that yes | 19:01 |
sean-k-mooney | well it all alocate_netork | 19:02 |
sean-k-mooney | artom: https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/compute/manager.py#L2349 | 19:02 |
sean-k-mooney | that is what allocate the networks on spawn normally | 19:02 |
artom | Yeah, I've been looking at that... | 19:03 |
sean-k-mooney | but we dont do that on unshelve | 19:03 |
artom | Which makes sense... but only if the instance was only shelved | 19:03 |
sean-k-mooney | well we woudl be calling it form unshelve | 19:03 |
*** rcernin has joined #openstack-nova | 19:03 | |
sean-k-mooney | here https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L6579 | 19:03 |
sean-k-mooney | litrally after the instance_claim but just before spawn | 19:04 |
*** ralonsoh has quit IRC | 19:04 | |
sean-k-mooney | this is where its update for other move ops right https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L3394-L3419 | 19:06 |
sean-k-mooney | but since thre is no migration that oviously does not work | 19:07 |
*** rcernin has quit IRC | 19:07 | |
artom | Ah, we can't allocate_for_instance on unshelve because even OFFLOADED instances keep their ports | 19:09 |
artom | So I'd think all kinds of things would explode | 19:09 |
artom | We really do need just the _update, but we need to somehow pull the PCI info from the claim, and pass that to the neutron api later | 19:09 |
sean-k-mooney | maybe | 19:09 |
artom | *layer | 19:09 |
sean-k-mooney | its doing more then we want anyway | 19:09 |
sean-k-mooney | _update_ports_for_instance is closer | 19:10 |
sean-k-mooney | https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L1498-L1524 | 19:11 |
sean-k-mooney | this is what actully update the port with the bindingprofile | 19:12 |
sean-k-mooney | the issue is we dont have a way to map the neutorn por tto the pci_request_id | 19:12 |
sean-k-mooney | if we had that we woudl jsut get the dev doing | 19:12 |
sean-k-mooney | pci_devices = pci_manager.get_instance_pci_devs( | 19:12 |
sean-k-mooney | instance, pci_request_id) | 19:12 |
sean-k-mooney | then https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L1487-L1496 | 19:13 |
artom | sean-k-mooney, yeah, I'm hitting that exact issue | 19:13 |
artom | With the migration, we have the mapping from old to new | 19:13 |
sean-k-mooney | would get that for us | 19:13 |
sean-k-mooney | yep | 19:13 |
sean-k-mooney | so i looked at sotring the pci resuet id in the vif breilfy | 19:13 |
sean-k-mooney | but unfortunetly that is a object change | 19:14 |
sean-k-mooney | hum https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L2112 | 19:14 |
artom | I'm assuming pci_vendor_info and physical_network from the port binding isn't enough | 19:14 |
artom | Even assuming we have the latter | 19:15 |
sean-k-mooney | https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L2165 | 19:15 |
sean-k-mooney | the pci request id shoudl be the nueturno port uuid | 19:15 |
artom | Ohhh | 19:15 |
sean-k-mooney | so i thnk we can look it up like that? | 19:16 |
sean-k-mooney | so if we get teh port we could loop over therm calling https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L1498-L1524 | 19:18 |
sean-k-mooney | passing the port['id'] as pci_request_id | 19:18 |
sean-k-mooney | and then after that has updated them in memeory we woudl do a port update? | 19:18 |
sean-k-mooney | then i think we cloud call driver .spawn | 19:19 |
sean-k-mooney | artom: do you think that would work? | 19:20 |
sean-k-mooney | ... its not the neutron port uuid | 19:31 |
artom | sean-k-mooney, think so, yeah | 19:31 |
artom | Lemme try it | 19:31 |
sean-k-mooney | artom: the requester_id is the neutron port uuid | 19:33 |
sean-k-mooney | the pci_request_id is the request_id | 19:33 |
sean-k-mooney | unfortunetly the requester_id is not sotred in teh db | 19:33 |
sean-k-mooney | the requested_networks network object i think is the only thing that has the mapping | 19:34 |
sean-k-mooney | i think this is the same roadblock i hit the last time | 19:35 |
sean-k-mooney | ... | 19:39 |
sean-k-mooney | so the instance_extra tbale has it but not fully | 19:39 |
sean-k-mooney | [{"count": 1, "spec": [{"physical_network": "public"}], "alias_name": null, "is_new": false, "numa_policy": "preferred", "request_id": "03e6f4be-dc49-4825-a33d-337f2708be22", "requester_id": null} | 19:39 |
sean-k-mooney | the requester_id shoudl be the neutorn port uuid | 19:40 |
*** tkajinam_ has joined #openstack-nova | 19:40 | |
sean-k-mooney | if it was we coudl get the request id and then look up the claimed deivce in the pci device table and mapt them back to the ports | 19:40 |
*** tkajinam has quit IRC | 19:41 | |
sean-k-mooney | artom: i think im going to call it a day there. if we fixed that so the requester id was always set then we could use that | 19:43 |
sean-k-mooney | i think it curently not set becasue we dont save this back to the db and only pass it around | 19:43 |
sean-k-mooney | https://github.com/openstack/nova/blob/68ad2c67d891935c66e8c0e5a368695c202a9f49/nova/network/neutron.py#L2154-L2164 | 19:43 |
*** slaweq has joined #openstack-nova | 19:43 | |
artom | sean-k-mooney, ack yeah, my brain is getting rusty as well | 19:44 |
sean-k-mooney | we might need to do this in two parts | 19:47 |
sean-k-mooney | one patch that fixes populating that value and tries to file it in for exsitng instnace | 19:47 |
sean-k-mooney | maybe using the pci_slot | 19:47 |
sean-k-mooney | to figure out thte mappign between port and exctra | 19:48 |
sean-k-mooney | and tehn a secdond to use it to update the port or something like that | 19:48 |
sean-k-mooney | anyway enjoy your weekend | 19:48 |
sean-k-mooney | what frustrating abtout this is every time i look at this we have almsot all the info we need | 19:49 |
sean-k-mooney | almost | 19:49 |
*** gokhani has quit IRC | 19:49 | |
*** k_mouza has joined #openstack-nova | 20:33 | |
*** k_mouza has quit IRC | 20:37 | |
*** amodi has quit IRC | 20:49 | |
*** tbachman_ has joined #openstack-nova | 21:05 | |
*** tbachman has quit IRC | 21:06 | |
*** tbachman_ is now known as tbachman | 21:06 | |
*** jangutter has quit IRC | 21:22 | |
*** jangutter has joined #openstack-nova | 21:23 | |
*** whoami-rajat has quit IRC | 21:30 | |
*** derekh has quit IRC | 21:30 | |
*** jamesdenton has quit IRC | 21:36 | |
*** jamesden_ has joined #openstack-nova | 21:36 | |
*** luksky has quit IRC | 23:14 | |
*** gyee has quit IRC | 23:31 | |
*** macz_ has quit IRC | 23:32 | |
*** gyee has joined #openstack-nova | 23:32 | |
*** tosky has quit IRC | 23:39 | |
*** macz_ has joined #openstack-nova | 23:48 | |
*** macz_ has quit IRC | 23:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!