*** brinzhang has joined #openstack-nova | 00:14 | |
*** tosky has quit IRC | 00:38 | |
*** macz_ has quit IRC | 00:54 | |
*** _mlavalle_1 has quit IRC | 00:59 | |
*** __ministry has joined #openstack-nova | 01:21 | |
*** hamalq has quit IRC | 01:26 | |
*** benj_ has quit IRC | 01:53 | |
*** benj_ has joined #openstack-nova | 01:54 | |
*** spatel has joined #openstack-nova | 02:23 | |
*** LinPeiWen has joined #openstack-nova | 02:25 | |
*** spatel has quit IRC | 03:01 | |
*** spatel has joined #openstack-nova | 03:04 | |
*** mkrai has joined #openstack-nova | 03:14 | |
*** ricolin has quit IRC | 03:15 | |
*** ricolin has joined #openstack-nova | 03:30 | |
*** mkrai has quit IRC | 03:35 | |
*** mkrai_ has joined #openstack-nova | 03:35 | |
*** psachin has joined #openstack-nova | 03:36 | |
*** macz_ has joined #openstack-nova | 03:43 | |
*** macz_ has quit IRC | 03:47 | |
*** khomesh24 has joined #openstack-nova | 04:14 | |
*** macz_ has joined #openstack-nova | 04:24 | |
*** martinkennelly has quit IRC | 04:29 | |
*** macz_ has quit IRC | 04:29 | |
*** __ministry has quit IRC | 04:45 | |
*** ratailor has joined #openstack-nova | 04:46 | |
*** __ministry has joined #openstack-nova | 04:47 | |
*** mkrai_ has quit IRC | 04:55 | |
*** mkrai has joined #openstack-nova | 05:08 | |
*** rcernin has quit IRC | 05:15 | |
*** rcernin has joined #openstack-nova | 05:22 | |
*** macz_ has joined #openstack-nova | 05:24 | |
*** macz_ has quit IRC | 05:29 | |
*** macz_ has joined #openstack-nova | 05:45 | |
*** macz_ has quit IRC | 05:49 | |
*** gyee has quit IRC | 06:12 | |
*** LinPeiWen has quit IRC | 06:18 | |
*** vishalmanchanda has joined #openstack-nova | 06:25 | |
*** xek has joined #openstack-nova | 06:29 | |
*** spatel has quit IRC | 06:35 | |
*** LinPeiWen has joined #openstack-nova | 06:43 | |
*** zzzeek has quit IRC | 06:45 | |
*** zzzeek has joined #openstack-nova | 06:46 | |
*** slaweq_ has joined #openstack-nova | 06:50 | |
openstackgerrit | Lucian Petrut proposed openstack/nova master: hyper-v rbd volume support https://review.opendev.org/c/openstack/nova/+/763550 | 07:03 |
---|---|---|
*** brinzhang has quit IRC | 07:13 | |
*** rcernin has quit IRC | 07:15 | |
*** mkrai has quit IRC | 07:18 | |
*** ralonsoh has joined #openstack-nova | 07:21 | |
*** nightmare_unreal has joined #openstack-nova | 07:27 | |
*** smcginnis has quit IRC | 07:30 | |
*** smcginnis has joined #openstack-nova | 07:30 | |
*** hoonetorg has quit IRC | 07:38 | |
*** zzzeek has quit IRC | 07:39 | |
*** zzzeek has joined #openstack-nova | 07:40 | |
openstackgerrit | Yongli He proposed openstack/nova master: Smartnic support - cyborg drive https://review.opendev.org/c/openstack/nova/+/771362 | 07:48 |
openstackgerrit | Yongli He proposed openstack/nova master: smartnic support - new vnic type https://review.opendev.org/c/openstack/nova/+/771363 | 07:48 |
openstackgerrit | Yongli He proposed openstack/nova master: smartnic support https://review.opendev.org/c/openstack/nova/+/758944 | 07:48 |
*** rcernin has joined #openstack-nova | 07:49 | |
*** dklyle has quit IRC | 07:57 | |
*** mkrai has joined #openstack-nova | 07:57 | |
*** rcernin has quit IRC | 08:06 | |
*** andrewbonney has joined #openstack-nova | 08:06 | |
*** rcernin has joined #openstack-nova | 08:09 | |
*** luksky has quit IRC | 08:17 | |
*** tesseract has joined #openstack-nova | 08:20 | |
*** macz_ has joined #openstack-nova | 08:22 | |
*** rcernin has quit IRC | 08:23 | |
*** macz_ has quit IRC | 08:26 | |
*** rpittau|afk is now known as rpittau | 08:28 | |
*** luksky has joined #openstack-nova | 08:29 | |
*** zoharm has joined #openstack-nova | 08:30 | |
*** luksky has quit IRC | 08:49 | |
*** tosky has joined #openstack-nova | 08:50 | |
*** ociuhandu has joined #openstack-nova | 08:59 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Nova supports password encrypted VNC https://review.opendev.org/c/openstack/nova/+/622336 | 09:02 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List/Update Servers APIs https://review.opendev.org/c/openstack/nova/+/764292 | 09:02 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace all_tenants with all_projects in List Server APIs https://review.opendev.org/c/openstack/nova/+/765311 | 09:02 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API https://review.opendev.org/c/openstack/nova/+/766380 | 09:02 |
*** luksky has joined #openstack-nova | 09:02 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List SG API https://review.opendev.org/c/openstack/nova/+/766726 | 09:02 |
*** ociuhandu has quit IRC | 09:04 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Flavor Access APIs https://review.opendev.org/c/openstack/nova/+/767704 | 09:09 |
*** psachin has quit IRC | 09:11 | |
*** martinkennelly has joined #openstack-nova | 09:11 | |
*** ociuhandu has joined #openstack-nova | 09:12 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List/Show usage APIs https://review.opendev.org/c/openstack/nova/+/768509 | 09:12 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace tenants* with projects* of policies https://review.opendev.org/c/openstack/nova/+/765315 | 09:13 |
*** LinPeiWen has quit IRC | 09:16 | |
*** ociuhandu has quit IRC | 09:24 | |
*** ociuhandu has joined #openstack-nova | 09:24 | |
*** noonedeadpunk has quit IRC | 09:26 | |
*** bauzas has quit IRC | 09:26 | |
*** bauzas has joined #openstack-nova | 09:27 | |
*** k_mouza has joined #openstack-nova | 09:27 | |
*** ociuhandu has quit IRC | 09:28 | |
*** ociuhandu has joined #openstack-nova | 09:28 | |
*** noonedeadpunk has joined #openstack-nova | 09:29 | |
*** lpetrut has joined #openstack-nova | 09:35 | |
*** slaweq_ is now known as slaweq | 09:40 | |
*** tesseract has quit IRC | 09:44 | |
*** tesseract has joined #openstack-nova | 09:47 | |
*** macz_ has joined #openstack-nova | 09:50 | |
*** derekh has joined #openstack-nova | 09:51 | |
slaweq | gibi: hi, did You saw errors like https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_4f9/777015/1/check/neutron-tempest-multinode-full-py3/4f9f062/testr_results.html already? | 09:51 |
slaweq | I saw it at least twice in last few days | 09:51 |
slaweq | in same test | 09:51 |
slaweq | do You want me to report new bug for that? | 09:52 |
*** macz_ has quit IRC | 09:54 | |
*** LinPeiWen has joined #openstack-nova | 10:19 | |
openstackgerrit | Lucas Alvares Gomes proposed openstack/nova master: [OVN] Explicitly set nova-next job to ML2/OVS https://review.opendev.org/c/openstack/nova/+/776944 | 10:25 |
openstackgerrit | Lucas Alvares Gomes proposed openstack/nova master: DO NOT REVIEW: Test OVN devstack module https://review.opendev.org/c/openstack/nova/+/776945 | 10:25 |
gibi | slaweq: hi, let me check it | 10:32 |
gibi | slaweq: I see 6 failures in the last 7 days | 10:36 |
gibi | http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_building_state%5C%22%20AND%20message%3A%5C%22FAILED%5C%22 | 10:36 |
slaweq | gibi: do You want me to open LP for that? | 10:37 |
gibi | slaweq: I will check the logs first then I can open an LP. thanks for notifying us | 10:38 |
slaweq | gibi: thank You | 10:38 |
gibi | it happens outside of neutron jobs too | 10:38 |
*** jangutter_ has quit IRC | 10:40 | |
*** jangutter has joined #openstack-nova | 10:40 | |
*** ociuhandu has quit IRC | 10:45 | |
*** ociuhandu has joined #openstack-nova | 10:46 | |
gibi | slaweq: reported https://bugs.launchpad.net/nova/+bug/1916588 | 10:47 |
openstack | Launchpad bug 1916588 in OpenStack Compute (nova) "Delete instance in build state result in HTTP 500: nova.exception.ConstraintNotMet: Constraint not met." [Undecided,New] | 10:47 |
slaweq | gibi++ thx | 10:47 |
*** ociuhandu has quit IRC | 10:47 | |
*** ociuhandu has joined #openstack-nova | 10:47 | |
*** k_mouza has quit IRC | 10:49 | |
*** mkrai has quit IRC | 10:57 | |
*** k_mouza has joined #openstack-nova | 10:59 | |
*** rpittau is now known as rpittau|bbl | 11:00 | |
*** iurygregory_ has joined #openstack-nova | 11:00 | |
*** iurygregory has quit IRC | 11:01 | |
*** dtantsur|afk is now known as dtantsur | 11:03 | |
*** iurygregory_ is now known as iurygregory | 11:06 | |
*** Luzi has joined #openstack-nova | 11:13 | |
*** smcginnis has quit IRC | 11:19 | |
*** __ministry has quit IRC | 11:24 | |
gibi | slaweq: it turned out it is a duplicate of https://bugs.launchpad.net/nova/+bug/1914777 | 11:26 |
openstack | Launchpad bug 1914777 in OpenStack Compute (nova) "Possible race condition between n-cpu and n-api when deleting a building instance" [High,In progress] - Assigned to melanie witt (melwitt) | 11:26 |
*** smcginnis has joined #openstack-nova | 11:26 | |
*** belmoreira has joined #openstack-nova | 11:30 | |
gibi | slaweq: I've just approved the fix for it https://review.opendev.org/c/openstack/nova/+/775308 | 11:30 |
slaweq | gibi++ thx a lot | 11:34 |
*** nightmare_unreal has quit IRC | 11:37 | |
*** ociuhandu has quit IRC | 11:40 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace os-simple-tenant-usage with os-simple-project-usage https://review.opendev.org/c/openstack/nova/+/768852 | 11:43 |
*** brinzhang has joined #openstack-nova | 11:43 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace tenant_id with project_id in os-quota-sets path https://review.opendev.org/c/openstack/nova/+/768851 | 11:43 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace tenant_id with project_id in Limits API https://review.opendev.org/c/openstack/nova/+/768862 | 11:43 |
openstackgerrit | Brin Zhang proposed openstack/nova master: Replace tenant* with project* in codes https://review.opendev.org/c/openstack/nova/+/769329 | 11:43 |
*** brinzhang has quit IRC | 11:45 | |
*** ociuhandu has joined #openstack-nova | 11:56 | |
*** smcginnis has quit IRC | 12:01 | |
*** ociuhandu has quit IRC | 12:01 | |
*** ratailor has quit IRC | 12:04 | |
*** smcginnis has joined #openstack-nova | 12:07 | |
*** ociuhandu has joined #openstack-nova | 12:11 | |
*** ociuhandu has quit IRC | 12:16 | |
*** LinPeiWen has quit IRC | 12:23 | |
*** nightmare_unreal has joined #openstack-nova | 12:26 | |
*** zenkuro has quit IRC | 12:26 | |
*** zenkuro has joined #openstack-nova | 12:28 | |
*** ociuhandu has joined #openstack-nova | 12:29 | |
*** ociuhandu has quit IRC | 12:42 | |
*** zenkuro has quit IRC | 12:51 | |
*** zenkuro has joined #openstack-nova | 12:52 | |
openstackgerrit | Vishal Manchanda proposed openstack/nova master: Docs: Correct ``Password injection using the dashboard`` Explanation https://review.opendev.org/c/openstack/nova/+/775084 | 12:59 |
*** rpittau|bbl is now known as rpittau | 13:01 | |
*** macz_ has joined #openstack-nova | 13:14 | |
*** macz_ has quit IRC | 13:18 | |
*** ociuhandu has joined #openstack-nova | 13:35 | |
*** tbachman has quit IRC | 13:35 | |
*** tbachman has joined #openstack-nova | 13:36 | |
*** ociuhandu has quit IRC | 13:39 | |
*** ociuhandu has joined #openstack-nova | 13:40 | |
*** ociuhandu has quit IRC | 13:40 | |
*** ociuhandu has joined #openstack-nova | 13:42 | |
*** zimmerry has quit IRC | 13:43 | |
*** tbachman has quit IRC | 13:43 | |
*** tbachman has joined #openstack-nova | 13:46 | |
*** ociuhandu has quit IRC | 13:49 | |
*** ociuhandu has joined #openstack-nova | 13:53 | |
*** jangutter_ has joined #openstack-nova | 13:54 | |
*** ociuhandu has quit IRC | 13:57 | |
*** ociuhandu has joined #openstack-nova | 13:57 | |
*** spatel has joined #openstack-nova | 13:57 | |
*** jangutter has quit IRC | 13:58 | |
*** mlavalle has joined #openstack-nova | 13:58 | |
*** zimmerry has joined #openstack-nova | 14:02 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Follow up for QoS interface attach https://review.opendev.org/c/openstack/nova/+/777112 | 14:04 |
gibi | bauzas, stephenfin: a small fup for QoS based on your comments ^^ | 14:05 |
*** haleyb has quit IRC | 14:07 | |
bauzas | gibi: ack | 14:08 |
* bauzas clicks | 14:08 | |
bauzas | today is a review day for me | 14:08 |
*** haleyb has joined #openstack-nova | 14:09 | |
bauzas | gibi: question | 14:15 |
bauzas | gibi: when you mention the audit command in the exception, do we raise it to the user ? | 14:15 |
bauzas | gibi: /me looks at whether we have a sync call for attaching | 14:16 |
gibi | attach is synch | 14:16 |
bauzas | ok, so the user will get HTTP500, right? | 14:16 |
bauzas | with the exception | 14:17 |
gibi | I assume so | 14:17 |
gibi | let me check it in a devstack | 14:17 |
bauzas | gibi: in this case, we shouldn't be explain to use the audit command | 14:17 |
bauzas | explaining* | 14:17 |
bauzas | as the user wouldn't know how to do it | 14:17 |
bauzas | hence my LOG concern | 14:18 |
bauzas | to not pass it to the user | 14:18 |
bauzas | but if we don't, fair enough | 14:18 |
openstackgerrit | Lucian Petrut proposed openstack/nova master: hyper-v rbd volume support https://review.opendev.org/c/openstack/nova/+/763550 | 14:20 |
gibi | bauzas: only the name of the exception is returned on the REST API | 14:24 |
gibi | http://paste.openstack.org/show/802931/ | 14:24 |
bauzas | oh shit you're right | 14:25 |
bauzas | just the first reason | 14:25 |
bauzas | hmmm, even not | 14:25 |
bauzas | changed my vote | 14:26 |
gibi | thanks | 14:27 |
gibi | stephenfin: do you know a way to tell mypy that a = {} is really an empty dict that will never have keys? | 14:27 |
sean-k-mooney | the presnece of keys is not an atirbute of the type | 14:28 |
sean-k-mooney | so that statement does not make sese form a type checking perspectiv | 14:28 |
bauzas | a parameter being {} by default ? | 14:28 |
bauzas | I hope we don't do it | 14:29 |
bauzas | or maybe I misunderstood | 14:29 |
gibi | bauzas: nope, a singalling of a failure here https://github.com/openstack/nova/blob/8ca5d2169fc3ba5cf86f830a93cf92bae925e1f4/nova/network/neutron.py#L650 | 14:29 |
gibi | sean-k-mooney: good point | 14:29 |
gibi | sean-k-mooney: but if we only have | 14:29 |
gibi | a = {} | 14:29 |
gibi | if a: | 14:29 |
gibi | then this code does not have a key type defined either | 14:30 |
sean-k-mooney | thats fine | 14:30 |
sean-k-mooney | you dont need to define a key type | 14:30 |
sean-k-mooney | you can just use dict | 14:30 |
gibi | I can assign a: ty.Dict = {} | 14:30 |
sean-k-mooney | you can but ty.Dict is an alis for dict | 14:30 |
gibi | true | 14:30 |
gibi | thank | 14:30 |
gibi | s | 14:30 |
bauzas | I don't understand the concern but meh to mypy | 14:31 |
sean-k-mooney | dict is treated like ty.Dict[ty.Any,ty.Any] | 14:31 |
bauzas | defaultdict maybe ? | 14:31 |
gibi | sean-k-mooney: yep it is | 14:31 |
gibi | bauzas: if you infer types from the usage of a dict then if the dict is never used (empty) then you cannot infer a key type | 14:32 |
gibi | bauzas: so it is different that defaultdict | 14:32 |
bauzas | ah I see | 14:32 |
sean-k-mooney | bauzas: gibi just wanted to be a bit more explcit about the contained types then dict of anything | 14:33 |
sean-k-mooney | whcih he can do explitcly with the : syntax | 14:33 |
bauzas | that's one of the reason why I prefer to signal an nullable variable as None | 14:33 |
sean-k-mooney | well its not really nullable | 14:33 |
*** vishalmanchanda has quit IRC | 14:33 | |
gibi | bauzas: yes, {} and None has a different meaning | 14:33 |
gibi | even if we tend to mix them | 14:34 |
sean-k-mooney | they are different types | 14:34 |
bauzas | sean-k-mooney: I know, I'm just saying that I prefer to have an object with a None value rather than an id and which is empty | 14:34 |
sean-k-mooney | there are pros and cons to both | 14:34 |
sean-k-mooney | using Empty collections is generally perfered using None for literals or classes is also genereally perfered | 14:36 |
sean-k-mooney | None tened to be used for singal values and empty collection fo correct type for aggreates | 14:36 |
*** jangutter has joined #openstack-nova | 14:42 | |
*** jangutter_ has quit IRC | 14:45 | |
sean-k-mooney | stephenfin: it will be a while before i push anything but how do you feel about hw:mem_locked=True|False as the name of the new extra spec required for vdpa | 14:49 |
sean-k-mooney | so vdpa guest woudl need hw:mem_locked=true and hw:mem_page_size=<anything> set | 14:50 |
sean-k-mooney | mem_page_size to account for no over commit and correct tracking | 14:50 |
jkulik | hi, we just upgraded to rocky. is the "sync aggregates" command supposed to be usable with ironic nodes? | 14:50 |
sean-k-mooney | and locked for the the dma limiations | 14:50 |
jkulik | because it raises an TooManyComputesForHost ... is there an official way to migrate those aggregates? | 14:52 |
*** tbachman_ has joined #openstack-nova | 14:57 | |
*** tbachman has quit IRC | 15:01 | |
*** tbachman_ is now known as tbachman | 15:01 | |
stephenfin | gibi: Not a clue. That seems like an odd request | 15:03 |
gibi | stephenfin: I stick to dict (aka ty.Dict) | 15:03 |
gibi | it works | 15:03 |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Turn on mypy for nova/network/neutron.py https://review.opendev.org/c/openstack/nova/+/777146 | 15:03 |
gibi | stephenfin, bauzas: turned on mypy for nova/network/neutron.py | 15:04 |
bauzas | gibi: yeah saw it | 15:04 |
gibi | I will rebase that on top of the routed net patch | 15:04 |
bauzas | will look at that and thanks for working on it | 15:04 |
openstackgerrit | Lucas Alvares Gomes proposed openstack/nova master: [OVN] Explicitly set nova-next job to ML2/OVS https://review.opendev.org/c/openstack/nova/+/776944 | 15:05 |
openstackgerrit | Lucas Alvares Gomes proposed openstack/nova master: DO NOT REVIEW: Test OVN devstack module https://review.opendev.org/c/openstack/nova/+/776945 | 15:05 |
sean-k-mooney | i kind of think ^ is inverted | 15:07 |
sean-k-mooney | we shoudl proably explcity set nova-next to ovn and keep the rest on ml2/ovs for now and then consider swaping to ovn on more jobs later | 15:07 |
*** Luzi has quit IRC | 15:15 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Turn on mypy for nova/network/neutron.py https://review.opendev.org/c/openstack/nova/+/777146 | 15:16 |
*** dklyle has joined #openstack-nova | 15:16 | |
*** lucasagomes has joined #openstack-nova | 15:17 | |
gibi | stephenfin: I've replied in https://review.opendev.org/c/openstack/nova/+/772381/6/nova/virt/libvirt/driver.py#263 | 15:20 |
*** ociuhandu has quit IRC | 15:20 | |
*** ociuhandu has joined #openstack-nova | 15:21 | |
stephenfin | ta | 15:24 |
*** ociuhandu has quit IRC | 15:25 | |
*** ociuhandu has joined #openstack-nova | 15:29 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Move the guest.get_disk test to test_guest https://review.opendev.org/c/openstack/nova/+/777151 | 15:35 |
*** macz_ has joined #openstack-nova | 15:36 | |
lpetrut | Hi, about the Windows RBD patch: would you guys be ok with skipping the os-brick dependency until we sort out the lower constraints issue? https://review.opendev.org/c/openstack/nova/+/763550 | 15:37 |
*** macz_ has quit IRC | 15:40 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Enable mypy on libvirt/guest.py https://review.opendev.org/c/openstack/nova/+/777155 | 16:02 |
gibi | stephenfin: this is an interesting one ^^ | 16:03 |
* stephenfin is almost sure he's a patch locally to do that too, though it might not be complete | 16:03 | |
stephenfin | looking | 16:04 |
gibi | stephenfin: I did that as a followup for the detach bugfix series | 16:06 |
stephenfin | gibi++ Yup, realize that. Thanks :) | 16:06 |
stephenfin | So the unusual thing is the assertion, I assume? | 16:07 |
stephenfin | gibi: Is it just me, or are all those functions in the exception handlers than are accepting a 'guest' parameter broken? | 16:08 |
stephenfin | If so, I bet I was the one that broke it too. I recall reworking that stuff recently | 16:09 |
* stephenfin looks | 16:09 | |
stephenfin | and attempts to bury the evidence ;) | 16:09 |
gibi | hm, you have a point, mypy only found the last usage of gues but the expcetion handler code also depends on the guest variable | 16:10 |
*** macz_ has joined #openstack-nova | 16:10 | |
gibi | _cleanup_failed_start checks the guest before use it | 16:11 |
gibi | so the exception handlers are good | 16:11 |
stephenfin | the guest is useless though | 16:11 |
stephenfin | there's no way a function that raises an exception can return something | 16:12 |
stephenfin | so guest will either always be None or it will be set and an exception won't be raiseed | 16:12 |
stephenfin | *raised | 16:12 |
stephenfin | I suspect there was another caller after '_create_guest' previously | 16:12 |
stephenfin | power on or something | 16:12 |
gibi | hm, yeah, this can be cleaned up to only run the code that is currently in the finally block of _cleanup_failed_start | 16:14 |
stephenfin | yeah, https://github.com/openstack/nova/blob/stable/train/nova/virt/libvirt/driver.py#L6351-L6352 | 16:15 |
stephenfin | there was stuff done after '_create_guest' (formerly '_create_domain') previously | 16:15 |
stephenfin | so I suspect the real solution to that is to stop passing 'guest' to '_cleanup_failed_start' and remove any code that relied on it? | 16:16 |
stephenfin | which is what you just said, sorry :) | 16:16 |
gibi | I don't know why we try to stop the guest | 16:16 |
gibi | nvm I see it | 16:16 |
stephenfin | why or where? | 16:17 |
gibi | so in the past there was a case when the guest was fully started | 16:17 |
gibi | and then we failed | 16:17 |
gibi | so we need to stop is | 16:17 |
gibi | it | 16:17 |
gibi | but now it either starts without exception or fails before it is started | 16:17 |
stephenfin | if the firewall driver couldn't apply filters, right? | 16:17 |
gibi | yepp | 16:17 |
stephenfin | yeah, that's my reading of this too | 16:17 |
stephenfin | I did the firewall cleanup too but missed that. Apologies | 16:18 |
gibi | hm, I don't know what happens if create_guest fails at libvirt_secret.undefine() in the finally block, at that point we have a running guest I assume | 16:18 |
gibi | but we don't get back the guest object from the caller | 16:19 |
gibi | to stop it | 16:19 |
stephenfin | yeah, an exception will still be raised | 16:19 |
stephenfin | the finally block just executes stuff before the finally happens, iirc | 16:20 |
stephenfin | akin to save_and_reraise | 16:20 |
gibi | so we have to catch possible exceptions from libvirt_secret.undefine(), LOG them, and still return the geust object | 16:22 |
gibi | guest | 16:23 |
stephenfin | apparently not | 16:23 |
stephenfin | https://docs.python.org/3/reference/compound_stmts.html#finally | 16:23 |
stephenfin | If finally is present, it specifies a ‘cleanup’ handler. The try clause is executed, including any except and else clauses. If an exception occurs in any of the clauses and is not handled, the exception is temporarily saved. The finally clause is executed. If there is a saved exception it is re-raised at the end of the finally clause. If the finally clause raises another exception, the saved exception is set as the context of | 16:23 |
stephenfin | the new exception. If the finally clause executes a return, break or continue statement, the saved exception is discarded: | 16:23 |
stephenfin | Sorry | 16:23 |
stephenfin | If the finally clause raises another exception, the saved exception is set as the context of the new exception. | 16:23 |
stephenfin | so it'll basically do raise undefine_exception from other_exception | 16:23 |
* stephenfin tests | 16:23 | |
gibi | yeah that is how I understand | 16:24 |
stephenfin | yeah http://paste.openstack.org/show/802935/ | 16:24 |
gibi | if we let the exception propagate from the finally block then we will leave a running guest behind | 16:25 |
gibi | and the caller cannot stop it | 16:25 |
gibi | as it has no reference to that guest object | 16:26 |
stephenfin | Hmm, good point | 16:26 |
stephenfin | so if the undefine call fails | 16:26 |
stephenfin | we won't have a running guest before that since launching it is the last thing we do (returning won't cause an exception) | 16:27 |
*** jdillaman has quit IRC | 16:28 | |
gibi | you are right sorry | 16:28 |
gibi | so no need to change here | 16:29 |
*** lpetrut has quit IRC | 16:32 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Follow up type hints for a634103 https://review.opendev.org/c/openstack/nova/+/777159 | 16:33 |
*** _mlavalle_1 has joined #openstack-nova | 16:39 | |
*** _mlavalle_1 has quit IRC | 16:41 | |
*** mlavalle has quit IRC | 16:43 | |
*** zimmerry has quit IRC | 16:44 | |
bauzas | woah, the gate pipeline is late | 16:44 |
*** zoharm has quit IRC | 16:47 | |
gibi | maybe it is already the churn before the feature freeze | 16:54 |
stephenfin | bauzas: There are issues. They were discussing it on #openstack-infra earlier | 16:55 |
stephenfin | Still are, maybe | 16:55 |
bauzas | kk | 16:55 |
bauzas | thanks | 16:55 |
*** lucasagomes has quit IRC | 17:00 | |
prometheanfire | we're coming up on the end of the release cycle and nova still hasn't fixed mock :| | 17:03 |
sean-k-mooney | prometheanfire: its not really broken is it. | 17:05 |
stephenfin | prometheanfire: I thought we'd said that we didn't need to? | 17:05 |
stephenfin | mock (the third party lib) has fixes that weren't backported to python3.6 | 17:06 |
stephenfin | and I'm pretty sure the reason mock was capped at <4.0 (iirc) was because that had its own bug | 17:06 |
stephenfin | prometheanfire: Can you remind me of the reason nova had to switch? I'd stopped focusing on it because working around python3.6 unittest.mock bugs seemed wrong | 17:07 |
sean-k-mooney | wel should eventulaly swicht to not useing mock the lib at all | 17:07 |
sean-k-mooney | and use the standard lib only | 17:08 |
stephenfin | sean-k-mooney: why | 17:08 |
sean-k-mooney | because mock the lib has some bugs | 17:08 |
sean-k-mooney | it does not fully work the same as the stanard lib | 17:08 |
stephenfin | See above | 17:08 |
prometheanfire | requirements doesn't cap mock | 17:08 |
sean-k-mooney | and since we are pythoh 3 only now we dont need it any more | 17:08 |
stephenfin | To the best of my knowledge, it's a carbon copy of unittest.mock from the latest stable python | 17:08 |
stephenfin | including all the new features and bugfixes found therein | 17:09 |
prometheanfire | if the mock-4 releases are bad they should be masked so they don't bug me every day when the constraints bot review fails because nova doesn't work with the new mock (but other projects aparently do) | 17:09 |
stephenfin | prometheanfire: I'm almost certain we're seeing the exact same issues with unittest.mock on either python3.9 or python3.10 | 17:10 |
sean-k-mooney | stephenfin: there was deffinlty differnt behavor in the past as code in neutorn would not work in nova | 17:10 |
stephenfin | and there's an open bug against it but it hasn't gone anywhere | 17:10 |
stephenfin | prometheanfire: Have you link to a failing constraints bot job? | 17:11 |
stephenfin | *a link | 17:11 |
prometheanfire | yep | 17:11 |
prometheanfire | https://review.opendev.org/776967 | 17:11 |
stephenfin | ta | 17:11 |
* stephenfin looks | 17:11 | |
prometheanfire | was the previous work abandoned? switching to unittest.mock iirc | 17:12 |
stephenfin | it's not abandoned in Gerrit terms, but nobody is looking at it | 17:12 |
stephenfin | https://review.opendev.org/c/openstack/nova/+/714676 | 17:12 |
sean-k-mooney | this is becasue of eventlets and py39 | 17:12 |
prometheanfire | which is why I pinged :P | 17:12 |
sean-k-mooney | the websocket proxy is broken on py39 | 17:12 |
sean-k-mooney | because of dnspython | 17:13 |
prometheanfire | ya, turtles | 17:13 |
sean-k-mooney | well actull its brok on 36 too | 17:13 |
sean-k-mooney | eventlest does not supprot dnspython 2.0 | 17:13 |
stephenfin | prometheanfire: Yes, look https://review.opendev.org/c/openstack/nova/+/714676/9/nova/tests/unit/console/test_websocketproxy.py | 17:14 |
prometheanfire | only worked by accident on 3.7 and 3.8? | 17:14 |
sean-k-mooney | that websocket issue look kindo fo like the double wrappign issue | 17:14 |
prometheanfire | ya, magicmock | 17:14 |
stephenfin | prometheanfire: To get it working with stdlib mock, we had to remove the same test that's failing there | 17:14 |
stephenfin | prometheanfire: We can push a patch to master to remove that test and unblock requirements | 17:15 |
stephenfin | I'll do that now | 17:15 |
sean-k-mooney | stephenfin: yep this is one of the case i think where there is a delta between standard mock and mock the lib | 17:15 |
prometheanfire | if you don't mind | 17:15 |
stephenfin | sean-k-mooney: I'm saying unittest.mock and mock the lib are having the exact same issue :) | 17:15 |
stephenfin | because they're the same thing | 17:15 |
prometheanfire | and using mock as a lib is fine, it is one MOVING target for all python versions, vs a locked target per version of supported python | 17:16 |
prometheanfire | pick your poison kinda | 17:16 |
sean-k-mooney | maybe now but again on python 2.7 it was not | 17:16 |
sean-k-mooney | anyway we shoudl proably revie https://review.opendev.org/c/openstack/nova/+/714676 | 17:16 |
sean-k-mooney | but delete the current test i guess works for now | 17:17 |
atmark | is there filter can tag a set of computes to a tenant? | 17:17 |
stephenfin | prometheanfire: Yeah, I was all for dropping it in e.g. oslo projects, but we obviously have way more tests than anything there and when you start looking at the amount of bugs we need to workaround on older stdlib versions it seems less attractive | 17:17 |
sean-k-mooney | atmark: yes | 17:18 |
stephenfin | We'll do it _eventually_, but it's dropped down my priority list rn (and melwitt's too, evidently) | 17:18 |
prometheanfire | stephenfin: yep | 17:18 |
sean-k-mooney | there is both a post fitler and prefilter https://github.com/openstack/nova/commit/732e202e81142a8ea462a9ebcde9a7226a62a60b | 17:18 |
atmark | will take a look | 17:19 |
atmark | thanks | 17:19 |
prometheanfire | now I have to check on fasteners (which I think needs a mask of 0.16 at least) and virtualenv (which is a whole... thing) | 17:19 |
sean-k-mooney | atmark: the old way is to use https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#aggregatemultitenancyisolation but you should use https://docs.openstack.org/nova/latest/admin/aggregates.html#tenant-isolation-with-placement if you can | 17:20 |
sean-k-mooney | atmark: i think the latter was added around rocky | 17:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Remove ;test_tcp_rst_no_compute_rpcapi' https://review.opendev.org/c/openstack/nova/+/777168 | 17:21 |
stephenfin | prometheanfire: ^ | 17:21 |
prometheanfire | thanks | 17:21 |
stephenfin | gibi, melwitt, lyarwood, bauzas: That ^ is taken out of https://review.opendev.org/c/openstack/nova/+/714676 and should unblock mock 4.x in requirements. Could you take a look? | 17:21 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Remove 'test_tcp_rst_no_compute_rpcapi' https://review.opendev.org/c/openstack/nova/+/777168 | 17:23 |
stephenfin | aha, melwitt already has a better solution https://review.opendev.org/c/openstack/nova/+/741351/ | 17:23 |
*** ociuhandu_ has joined #openstack-nova | 17:24 | |
stephenfin | prometheanfire: https://review.opendev.org/c/openstack/nova/+/741351 is approved, so that should be fixed once it goes through the gate | 17:25 |
melwitt | stephenfin: I was gonna say, I spent time to rewrite that test proper 🥺 thanks for finding it, I should have pinged you to look but I kept forgetting | 17:25 |
prometheanfire | awesome, thanks :D | 17:25 |
*** tesseract has quit IRC | 17:26 | |
prometheanfire | was nova the one having problems with fasteners-0.16? | 17:26 |
stephenfin | That doesn't ring a bell | 17:27 |
prometheanfire | k | 17:27 |
stephenfin | do we use fasteners? | 17:27 |
stephenfin | I've no idea what that is, tbh | 17:28 |
*** ociuhandu has quit IRC | 17:28 | |
*** ociuhandu_ has quit IRC | 17:28 | |
sean-k-mooney | stephenfin: we do indrectly | 17:30 |
sean-k-mooney | its used in oslo | 17:30 |
stephenfin | Oh I guessed that but I meant directly | 17:31 |
sean-k-mooney | stephenfin: as far as i aware its only use for the fair lock in oslo.concurancy | 17:31 |
sean-k-mooney | that is where we use it in nova | 17:31 |
prometheanfire | must have been a ml thread that mentioned | 17:31 |
sean-k-mooney | all our locks are eventually provided by fasteners | 17:31 |
bnemec | Yes, there was an issue with the latest fasteners release and nova: https://github.com/harlowja/fasteners/issues/36 | 17:32 |
sean-k-mooney | prometheanfire: i mentioned we could use it to backport a patch in nova for an ironic issue | 17:32 |
sean-k-mooney | e.g. port the lock to nova directly since we could not depned on oslo | 17:32 |
prometheanfire | bnemec: should we mask 0.16 (and maybe 0.15) | 17:33 |
prometheanfire | less deps are nice | 17:33 |
bnemec | I believe it has been capped since the bug was found. | 17:34 |
bnemec | Note that fasteners is the thing that does our file locking too. The fair lock stuff was added later. | 17:34 |
prometheanfire | no, I've been holding 0.15 and 0.16 back for too long :P | 17:34 |
*** zimmerry has joined #openstack-nova | 17:35 | |
prometheanfire | looks like 0.15 was masked but 0.16 has not been https://github.com/openstack/requirements/blob/master/global-requirements.txt#L308 | 17:35 |
melwitt | I wonder if dansmith might have some thoughts about the cell func test locking + eventlet issue https://github.com/harlowja/fasteners/issues/36#issuecomment-760402680 | 17:39 |
*** zimmerry has quit IRC | 17:40 | |
dansmith | sounds like something I would have thoughts on but I am like super deep in my current queue right now | 17:40 |
sean-k-mooney | in the func tests we serials the scater gather right | 17:41 |
melwitt | ok :( but understandable | 17:41 |
openstackgerrit | Chris Dent proposed openstack/placement master: Update traits in tests and requirements https://review.opendev.org/c/openstack/placement/+/777174 | 17:41 |
sean-k-mooney | i belve we have a fixture that alteres its executiton | 17:41 |
*** rpittau is now known as rpittau|afk | 17:41 | |
sean-k-mooney | https://github.com/openstack/nova/blob/d10c9de25d7e4885a0ed2e5e31747e44f68359ba/nova/tests/unit/test_fixtures.py#L313-L321 | 17:41 |
sean-k-mooney | so all the functest should be running in 1 thread of executin serially | 17:42 |
melwitt | are we using that in all tests though? I hadn't thought so. oh | 17:42 |
sean-k-mooney | maybe not | 17:43 |
sean-k-mooney | https://github.com/openstack/nova/blob/d10c9de25d7e4885a0ed2e5e31747e44f68359ba/nova/tests/unit/compute/test_compute.py#L1455 | 17:43 |
sean-k-mooney | its used in teh compute unit tests | 17:43 |
sean-k-mooney | i tought we had a similar one in place for functional | 17:43 |
melwitt | I found this old patch from March 2020 having to do with monkey patching current_thread https://review.opendev.org/c/openstack/nova/+/707474, it's not clear to me when the problem was last reproduced | 17:44 |
melwitt | that is, I wonder if it's possible that could have fixed things | 17:44 |
sean-k-mooney | i think that is the same eventlet issue that is linked form teh fasteners one | 17:45 |
sean-k-mooney | ya it is https://github.com/harlowja/fasteners/issues/36#issuecomment-760402680 | 17:46 |
sean-k-mooney | oh that was done as part of https://bugs.launchpad.net/nova/+bug/1863021 | 17:47 |
openstack | Launchpad bug 1863021 in OpenStack Object Storage (swift) "[SRU] eventlet monkey patch results in assert len(_active) == 1 AssertionError" [Undecided,In progress] - Assigned to Chris MacNaughton (chris.macnaughton) | 17:47 |
sean-k-mooney | which wwas really just wack a mole trying to work around an eventlet bug in every openstack project | 17:48 |
*** k_mouza has quit IRC | 17:49 | |
*** k_mouza has joined #openstack-nova | 17:49 | |
sean-k-mooney | melwitt: so ya maybe that use to fix it and now its broken again or fastners also need to hack around the eventlet issue | 17:52 |
melwitt | sean-k-mooney: yeah lemme see if I can run the tests successfully locally with the new version | 17:52 |
*** zimmerry has joined #openstack-nova | 17:53 | |
*** khomesh24 has quit IRC | 17:56 | |
*** zimmerry has quit IRC | 17:59 | |
*** derekh has quit IRC | 18:00 | |
*** dtantsur is now known as dtantsur|afk | 18:00 | |
*** zimmerry has joined #openstack-nova | 18:03 | |
*** zimmerry has quit IRC | 18:15 | |
*** mlavalle has joined #openstack-nova | 18:20 | |
*** lpetrut has joined #openstack-nova | 18:34 | |
*** lpetrut has quit IRC | 18:40 | |
*** jangutter_ has joined #openstack-nova | 19:03 | |
*** jangutter has quit IRC | 19:06 | |
*** k_mouza_ has joined #openstack-nova | 19:14 | |
*** zimmerry has joined #openstack-nova | 19:16 | |
*** jangutter has joined #openstack-nova | 19:16 | |
*** zimmerry has quit IRC | 19:16 | |
*** zimmerry has joined #openstack-nova | 19:17 | |
*** k_mouza_ has quit IRC | 19:17 | |
*** k_mouza has quit IRC | 19:18 | |
*** jangutter_ has quit IRC | 19:19 | |
*** andrewbonney has quit IRC | 19:34 | |
openstackgerrit | Merged openstack/nova stable/train: Disallow CONF.compute.max_disk_devices_to_attach = 0 https://review.opendev.org/c/openstack/nova/+/772986 | 19:35 |
openstackgerrit | Merged openstack/nova master: Handle instance = None in _local_delete_cleanup https://review.opendev.org/c/openstack/nova/+/775308 | 19:38 |
openstackgerrit | Merged openstack/nova master: Add net & utils methods for routed nets & segments https://review.opendev.org/c/openstack/nova/+/773976 | 19:39 |
*** Madkiss has joined #openstack-nova | 19:40 | |
openstackgerrit | Merged openstack/nova master: Add a routed networks scheduler pre-filter https://review.opendev.org/c/openstack/nova/+/749068 | 19:40 |
*** zimmerry has quit IRC | 19:45 | |
*** gmann is now known as gmann_lunch | 19:47 | |
*** zimmerry has joined #openstack-nova | 19:47 | |
*** nightmare_unreal has quit IRC | 19:47 | |
*** gmann_lunch is now known as gmann | 20:07 | |
openstackgerrit | melanie witt proposed openstack/nova stable/victoria: Add regression test for bug 1914777 https://review.opendev.org/c/openstack/nova/+/777121 | 20:10 |
openstack | bug 1914777 in OpenStack Compute (nova) "Possible race condition between n-cpu and n-api when deleting a building instance" [High,In progress] https://launchpad.net/bugs/1914777 - Assigned to melanie witt (melwitt) | 20:10 |
openstackgerrit | melanie witt proposed openstack/nova stable/victoria: Handle instance = None in _local_delete_cleanup https://review.opendev.org/c/openstack/nova/+/777209 | 20:13 |
*** gyee has joined #openstack-nova | 20:14 | |
*** luksky has quit IRC | 20:17 | |
*** jangutter has quit IRC | 20:22 | |
*** jangutter has joined #openstack-nova | 20:23 | |
*** zenkuro has quit IRC | 20:24 | |
openstackgerrit | melanie witt proposed openstack/nova stable/ussuri: Add regression test for bug 1893284 https://review.opendev.org/c/openstack/nova/+/777216 | 20:26 |
openstack | bug 1893284 in OpenStack Compute (nova) ussuri "Per-user quotas not scoped correctly when creating a server" [Low,New] https://launchpad.net/bugs/1893284 | 20:26 |
openstackgerrit | melanie witt proposed openstack/nova stable/ussuri: Default user_id when not specified in check_num_instances_quota https://review.opendev.org/c/openstack/nova/+/777217 | 20:26 |
openstackgerrit | melanie witt proposed openstack/nova stable/ussuri: Add regression test for bug 1914777 https://review.opendev.org/c/openstack/nova/+/777218 | 20:26 |
openstackgerrit | melanie witt proposed openstack/nova stable/ussuri: Handle instance = None in _local_delete_cleanup https://review.opendev.org/c/openstack/nova/+/777219 | 20:26 |
openstack | bug 1914777 in OpenStack Compute (nova) victoria "Possible race condition between n-cpu and n-api when deleting a building instance" [High,In progress] https://launchpad.net/bugs/1914777 - Assigned to melanie witt (melwitt) | 20:26 |
*** zzzeek has quit IRC | 20:29 | |
*** luksky has joined #openstack-nova | 20:30 | |
*** hamalq has joined #openstack-nova | 20:30 | |
*** zzzeek has joined #openstack-nova | 20:31 | |
*** rcernin has joined #openstack-nova | 20:44 | |
*** slaweq has quit IRC | 20:50 | |
*** rcernin has quit IRC | 21:01 | |
*** knikolla has quit IRC | 21:11 | |
*** knikolla has joined #openstack-nova | 21:11 | |
*** k_mouza has joined #openstack-nova | 21:18 | |
*** k_mouza has quit IRC | 21:23 | |
*** zimmerry has quit IRC | 21:27 | |
*** spatel has quit IRC | 21:35 | |
*** spatel has joined #openstack-nova | 21:38 | |
*** rcernin has joined #openstack-nova | 21:46 | |
*** spatel has quit IRC | 21:49 | |
*** rcernin has quit IRC | 21:57 | |
*** rcernin has joined #openstack-nova | 21:57 | |
openstackgerrit | Merged openstack/nova master: FUP: Catch and reraise routed nets exception https://review.opendev.org/c/openstack/nova/+/776694 | 22:04 |
*** spatel has joined #openstack-nova | 22:11 | |
*** spatel has quit IRC | 22:11 | |
*** luksky has quit IRC | 22:16 | |
*** xek has quit IRC | 22:26 | |
*** ralonsoh has quit IRC | 22:31 | |
openstackgerrit | Merged openstack/nova master: Refactor and rename test_tcp_rst_no_compute_rpcapi https://review.opendev.org/c/openstack/nova/+/741351 | 22:41 |
openstackgerrit | melanie witt proposed openstack/nova stable/ussuri: Raise InstanceMappingNotFound if StaleDataError is encountered https://review.opendev.org/c/openstack/nova/+/777253 | 22:44 |
openstackgerrit | melanie witt proposed openstack/nova stable/train: Raise InstanceMappingNotFound if StaleDataError is encountered https://review.opendev.org/c/openstack/nova/+/777254 | 22:45 |
*** Corwin has quit IRC | 22:46 | |
*** dansmith has quit IRC | 22:46 | |
*** valleedelisle has quit IRC | 22:46 | |
*** Corwin has joined #openstack-nova | 22:48 | |
*** dansmith has joined #openstack-nova | 22:48 | |
*** valleedelisle has joined #openstack-nova | 22:48 | |
*** tkajinam has joined #openstack-nova | 22:51 | |
*** k_mouza has joined #openstack-nova | 23:19 | |
*** tobias-urdin has quit IRC | 23:22 | |
*** k_mouza has quit IRC | 23:23 | |
*** belmoreira has quit IRC | 23:26 | |
*** tkajinam has quit IRC | 23:40 | |
*** tkajinam has joined #openstack-nova | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!