*** _alastor_ has quit IRC | 00:09 | |
*** ttsiouts has quit IRC | 00:12 | |
*** mriedem has quit IRC | 00:15 | |
*** artom has joined #openstack-nova | 00:30 | |
*** _hemna has joined #openstack-nova | 00:33 | |
*** gyee has quit IRC | 00:38 | |
*** Sundar has quit IRC | 00:45 | |
*** brinzhang has joined #openstack-nova | 00:53 | |
*** cdent has quit IRC | 01:06 | |
*** _hemna has quit IRC | 01:08 | |
*** zhongjun2_ has joined #openstack-nova | 01:26 | |
*** tiendc has joined #openstack-nova | 01:28 | |
*** _alastor_ has joined #openstack-nova | 01:37 | |
*** _alastor_ has quit IRC | 01:42 | |
*** sean-k-mooney has quit IRC | 01:42 | |
*** tbachman has quit IRC | 01:49 | |
*** tbachman has joined #openstack-nova | 01:51 | |
*** ttsiouts has joined #openstack-nova | 02:09 | |
*** itlinux has joined #openstack-nova | 02:28 | |
*** partlycloudy has joined #openstack-nova | 02:35 | |
*** itlinux has quit IRC | 02:38 | |
*** ttsiouts has quit IRC | 02:42 | |
*** ricolin has joined #openstack-nova | 02:42 | |
*** JamesBenson has joined #openstack-nova | 02:59 | |
*** _hemna has joined #openstack-nova | 03:04 | |
*** psachin has joined #openstack-nova | 03:34 | |
*** _hemna has quit IRC | 03:38 | |
*** udesale has joined #openstack-nova | 03:51 | |
*** lpetrut has joined #openstack-nova | 03:53 | |
*** wwriverrat has quit IRC | 04:03 | |
openstackgerrit | Brin Zhang proposed openstack/nova master: Change the migration warning log https://review.opendev.org/657916 | 04:13 |
---|---|---|
*** ratailor has joined #openstack-nova | 04:14 | |
*** lpetrut has quit IRC | 04:18 | |
openstackgerrit | Merged openstack/nova stable/stein: Use migration_status during volume migrating and retyping https://review.opendev.org/657575 | 04:33 |
*** janki has joined #openstack-nova | 04:38 | |
*** ttsiouts has joined #openstack-nova | 04:39 | |
*** ivve has quit IRC | 04:45 | |
*** JamesBenson has quit IRC | 05:01 | |
*** ttsiouts has quit IRC | 05:12 | |
*** jaosorior has joined #openstack-nova | 05:12 | |
*** samueldmq has quit IRC | 05:19 | |
*** yaawang has quit IRC | 05:19 | |
*** yaawang has joined #openstack-nova | 05:20 | |
*** _hemna has joined #openstack-nova | 05:34 | |
*** _alastor_ has joined #openstack-nova | 05:39 | |
*** _alastor_ has quit IRC | 05:43 | |
*** ivve has joined #openstack-nova | 05:49 | |
*** belmoreira has joined #openstack-nova | 06:06 | |
*** slaweq has joined #openstack-nova | 06:06 | |
*** _hemna has quit IRC | 06:07 | |
*** udesale has quit IRC | 06:13 | |
*** udesale has joined #openstack-nova | 06:14 | |
*** whoami-rajat has joined #openstack-nova | 06:20 | |
*** Luzi has joined #openstack-nova | 06:26 | |
openstackgerrit | zhongshengping proposed openstack/nova master: Update Python 3 test runtimes for Train https://review.opendev.org/657941 | 06:29 |
*** brinzh has joined #openstack-nova | 06:48 | |
*** brinzhang has quit IRC | 06:52 | |
*** udesale has quit IRC | 06:53 | |
*** udesale has joined #openstack-nova | 06:53 | |
*** maciejjozefczyk has joined #openstack-nova | 07:09 | |
*** tesseract has joined #openstack-nova | 07:09 | |
*** ttsiouts has joined #openstack-nova | 07:09 | |
*** shilpasd has joined #openstack-nova | 07:18 | |
*** panda|off is now known as panda | 07:19 | |
*** jaosorior has quit IRC | 07:27 | |
*** johnthetubaguy has quit IRC | 07:28 | |
*** johnthetubaguy has joined #openstack-nova | 07:30 | |
*** rpittau|afk is now known as rpittau | 07:35 | |
*** helenafm has joined #openstack-nova | 07:41 | |
*** ttsiouts has quit IRC | 07:42 | |
*** ttsiouts has joined #openstack-nova | 07:46 | |
*** belmoreira has quit IRC | 07:55 | |
*** belmoreira has joined #openstack-nova | 07:58 | |
*** brinzh has quit IRC | 08:08 | |
*** brinzh has joined #openstack-nova | 08:08 | |
*** ralonsoh has joined #openstack-nova | 08:20 | |
*** kaisers1 has joined #openstack-nova | 08:27 | |
*** tkajinam has quit IRC | 08:30 | |
*** jangutter has joined #openstack-nova | 08:39 | |
*** tobias-urdin has joined #openstack-nova | 08:41 | |
*** panda has quit IRC | 08:55 | |
*** panda has joined #openstack-nova | 08:55 | |
*** gmann_pto has joined #openstack-nova | 08:58 | |
*** _hemna has joined #openstack-nova | 09:12 | |
*** ttsiouts has quit IRC | 09:15 | |
*** tssurya has joined #openstack-nova | 09:18 | |
*** wxy-xiyuan has quit IRC | 09:26 | |
*** belmoreira has quit IRC | 09:33 | |
openstackgerrit | zhongshengping proposed openstack/nova master: Update Python 3 test runtimes for Train https://review.opendev.org/657941 | 09:37 |
*** _alastor_ has joined #openstack-nova | 09:40 | |
*** _alastor_ has quit IRC | 09:45 | |
*** _hemna has quit IRC | 09:46 | |
*** belmoreira has joined #openstack-nova | 09:48 | |
*** tssurya has quit IRC | 09:57 | |
openstackgerrit | Sylvain Bauza proposed openstack/nova master: Pass allocations to virt drivers when resizing https://review.opendev.org/589085 | 10:07 |
*** helenafm has quit IRC | 10:10 | |
*** mugsie has quit IRC | 10:25 | |
*** ttsiouts has joined #openstack-nova | 10:31 | |
*** jaosorior has joined #openstack-nova | 10:34 | |
*** jaosorior has quit IRC | 10:35 | |
*** jaosorior has joined #openstack-nova | 10:35 | |
*** mugsie has joined #openstack-nova | 10:35 | |
*** mugsie has quit IRC | 10:35 | |
*** mugsie has joined #openstack-nova | 10:36 | |
*** ttsiouts has quit IRC | 10:36 | |
*** mugsie has quit IRC | 10:38 | |
*** mugsie has joined #openstack-nova | 10:39 | |
*** tesseract has quit IRC | 10:40 | |
*** tesseract has joined #openstack-nova | 10:41 | |
*** tssurya has joined #openstack-nova | 10:42 | |
*** priteau has joined #openstack-nova | 10:43 | |
*** tesseract has quit IRC | 10:45 | |
*** tesseract has joined #openstack-nova | 10:45 | |
*** tbachman has quit IRC | 10:48 | |
*** belmoreira has quit IRC | 10:55 | |
*** belmoreira has joined #openstack-nova | 10:56 | |
*** panda is now known as panda|lunch | 11:02 | |
openstackgerrit | Surya Seetharaman proposed openstack/nova stable/ocata: [DNM] Populate key_pairs from top_cell to child cells https://review.opendev.org/657995 | 11:09 |
openstackgerrit | Surya Seetharaman proposed openstack/nova stable/ocata: [DNM] Populate key_pairs from top_cell to child cells https://review.opendev.org/657995 | 11:13 |
tssurya | sorrison: ^^ its an ugly fix, but it worked for us :) I don't think it will be merged upstream but you can use it downstream. Let me know if you have any questions | 11:14 |
*** belmoreira has quit IRC | 11:15 | |
*** udesale has quit IRC | 11:15 | |
openstackgerrit | Surya Seetharaman proposed openstack/nova stable/ocata: [DNM] Populate key_pairs from top_cell to child cells https://review.opendev.org/657995 | 11:19 |
*** priteau has quit IRC | 11:23 | |
*** helenafm has joined #openstack-nova | 11:38 | |
*** _hemna has joined #openstack-nova | 11:42 | |
*** belmoreira has joined #openstack-nova | 11:48 | |
*** gmann_pto has quit IRC | 11:50 | |
*** janki has quit IRC | 11:54 | |
*** zigo has quit IRC | 11:59 | |
*** belmoreira has quit IRC | 12:03 | |
*** tbachman has joined #openstack-nova | 12:05 | |
*** panda|lunch is now known as panda | 12:06 | |
*** _hemna has quit IRC | 12:16 | |
*** zigo has joined #openstack-nova | 12:23 | |
*** mgariepy has quit IRC | 12:26 | |
*** mgariepy has joined #openstack-nova | 12:30 | |
*** mgariepy has quit IRC | 12:42 | |
*** brinzh has quit IRC | 12:44 | |
*** belmoreira has joined #openstack-nova | 12:49 | |
*** udesale has joined #openstack-nova | 12:50 | |
*** mriedem has joined #openstack-nova | 12:51 | |
*** ratailor has quit IRC | 12:54 | |
*** mgariepy has joined #openstack-nova | 12:57 | |
*** artom has quit IRC | 13:04 | |
shilpasd | efried: Hi | 13:10 |
efried | o/ shilpasd | 13:10 |
shilpasd | Hi need bit input, i am currently working on implementation of https://review.opendev.org/#/c/650188/, Allow compute nodes to use shared storage provider for DISK_GB resources | 13:10 |
shilpasd | Gone through RESHAPE functionality implemented and here which deals with reshaping inventory and allocations | 13:11 |
shilpasd | In Shared storage Provider, similarly doing reshape where moving allocations of DISK_GB from compute node to shared storage provider | 13:11 |
shilpasd | now i want to correct local_gb_used at compute node at nova side | 13:12 |
shilpasd | so can you help me how to proceed here | 13:12 |
shilpasd | pre_start_hook() first update_available_resource() and then calls update_provider_tree() | 13:13 |
shilpasd | and during update_provider_tree() i am doing RESHAPE for DISK_GB similarly done for VGPU | 13:14 |
efried | shilpasd: let me go look at some code... | 13:16 |
efried | IIRC local_gb_used is a bit tricky | 13:16 |
*** samueldmq has joined #openstack-nova | 13:16 | |
efried | shilpasd: I'm sort of thinking we may want local_gb_used to be set to zero when the host is using shared disk. | 13:17 |
efried | mriedem, gibi, dansmith: You guys have a take on this? ^ | 13:18 |
* gibi is lost in downstream rabbit holes, please send help | 13:21 | |
*** ttsiouts has joined #openstack-nova | 13:24 | |
mriedem | idk, i'd think local_gb_used would at least report reserved_host_disk_mb (which defaults to 0) | 13:24 |
mriedem | otherwise i'd tend to agree that it should be 0 for instance usage in the resource tracker if you're using shared storage on that node | 13:25 |
mriedem | mdbooth might have other wrinkles in mind there | 13:25 |
dansmith | yea, what mriedem said... because in the future we could have the compute *also* reporting its own disk inventory if it gained the ability to do that thing | 13:28 |
mdbooth | Hmm, I'd need to look at code. Depends how local_gb_used is used. | 13:28 |
*** lbragstad_ has joined #openstack-nova | 13:29 | |
* mdbooth doesn't understand how we handle thin provisioning in the placement world. | 13:29 | |
*** lbragstad_ is now known as lbragstad | 13:30 | |
*** _alastor_ has joined #openstack-nova | 13:30 | |
*** _alastor_ has quit IRC | 13:35 | |
*** tesseract has quit IRC | 13:35 | |
*** tesseract has joined #openstack-nova | 13:35 | |
efried | mdbooth: The only nod to thin provisioning is allocation_ratio | 13:36 |
efried | which amounts to a wild-ass guess | 13:36 |
efried | and is why cinder has shown minimal enthusiasm for adopting placement to do their tracking | 13:37 |
mdbooth | IIRC local_gb_used is all about thin provisioning. | 13:37 |
efried | oh? | 13:37 |
mdbooth | IIRC it answers the question: can I migrate here? | 13:37 |
*** KH-Jared has quit IRC | 13:38 | |
mdbooth | It's weird that we don't track actual usage in placement. | 13:38 |
efried | mdbooth: you would have to be sending updates all the time | 13:39 |
mdbooth | Yeah | 13:40 |
efried | the actual usage of thin-provisioned storage changes every time the guest does a write | 13:40 |
efried | also, somebody told me that the storage doesn't ever actually tell you how much space it really has anyway. | 13:40 |
efried | the more expensive the storage, the less accurate | 13:40 |
mdbooth | *some* storage | 13:40 |
efried | which seems bizarre to me | 13:40 |
mdbooth | We don't use that in Nova, though. | 13:40 |
efried | "we" don't? | 13:40 |
efried | I was assuming we would eventually be using this shared storage stuff for cinder volumes too | 13:41 |
mdbooth | The question we want to answer is: "do I have enough space to write X bytes here"? | 13:41 |
mdbooth | It seems weird to me that any useful storage would not be able to answer that question. | 13:41 |
efried | agree with that | 13:41 |
efried | but apparently it is so | 13:41 |
dansmith | mdbooth: uh, we do if we're on nfs backed by it | 13:41 |
mdbooth | That's a different question to "how much storage do I have?" | 13:41 |
dansmith | but the most expensive and most impressive storage gives you no useful numbers | 13:41 |
dansmith | reportedly some of them give you nothing more than "buy more disks around october" | 13:42 |
mdbooth | DISK_GB_PURCHASED_OCTOBER | 13:42 |
dansmith | obviously that would be a trait not a resource class :) | 13:42 |
mdbooth | Hehe | 13:43 |
*** altlogbot_3 has quit IRC | 13:43 | |
*** altlogbot_3 has joined #openstack-nova | 13:45 | |
ganso | mriedem: good morning! =) I replied to your comment in https://review.opendev.org/#/c/657870 Could you please confirm if the test case is really the same? | 13:45 |
kashyap | efried: Nice work on doing the summary emails. Tireless donkey work it is. | 13:45 |
kashyap | Thanks! | 13:45 |
efried | kashyap: :) thanks | 13:49 |
*** psachin has quit IRC | 13:51 | |
efried | shilpasd: afaict, the libvirt driver is setting the DISK_GB inventory based on the result from _get_local_gb_info() | 13:52 |
efried | At a glance, it seems like it would make sense to split that into two methods: _get_local_disk_info and _get_shared_disk_info. | 13:53 |
efried | If we start off supporting either local or shared but not both, then in a shared scenario the locals ought to report zero. | 13:53 |
efried | If the provider tree you are given has its disk local, and _get_local_disk_info returns zeros but _get_shared_disk_info returns nonzeros, you know you need to reshape. | 13:54 |
efried | And local_gb_used (really local_gb<anything>) should simply be fed from _get_local_disk_info, no matter what, meaning in the above case it will be zeros. | 13:54 |
stephenfin | anyone know if/when jaypipes will be back around. It sure would be lovely give the a once over and get it in (he reviewed in depth previously) https://review.opendev.org/#/c/629589/ | 13:56 |
*** mgariepy has quit IRC | 13:57 | |
*** mgariepy has joined #openstack-nova | 13:58 | |
jaypipes | stephenfin: I am here. | 13:59 |
jaypipes | stephenfin: +2 from me. feel free to +W it. | 14:03 |
shilpasd | efried: thanks for input | 14:04 |
*** ttsiouts has quit IRC | 14:08 | |
*** rpittau is now known as rpittau|afk | 14:08 | |
openstackgerrit | Eric Fried proposed openstack/nova-specs master: Train Cycle Themes https://review.opendev.org/657171 | 14:09 |
*** _hemna has joined #openstack-nova | 14:13 | |
ganso | Hi folks! I got a question about the num_instances value in the compute_nodes table. I have run into a situation where I have 4 VMs and "openstack hypervisor show" displays running_vms = 2. I found that this value is incremented/decremented in nova/compute/stats.py. Is there a way to recalculate this value or is the only way to fix this to update the database directly? | 14:13 |
*** mlavalle has joined #openstack-nova | 14:13 | |
*** JamesBenson has joined #openstack-nova | 14:17 | |
*** tiendc has quit IRC | 14:17 | |
*** itlinux has joined #openstack-nova | 14:17 | |
mriedem | ganso: are all 4 of those vms running? | 14:20 |
ganso | mriedem: yes | 14:21 |
*** ccamacho has joined #openstack-nova | 14:21 | |
*** JamesBenson has quit IRC | 14:21 | |
mriedem | looks like the update_available_resource periodic task in the compute should recalculate that value on each run of the task, which is every 1 minute by default | 14:23 |
*** itlinux has quit IRC | 14:23 | |
*** ttsiouts has joined #openstack-nova | 14:23 | |
mriedem | which release are you on? | 14:23 |
*** JamesBenson has joined #openstack-nova | 14:23 | |
*** tesseract has quit IRC | 14:24 | |
ganso | mriedem: mitaka | 14:24 |
*** liuyulong has joined #openstack-nova | 14:25 | |
mriedem | ganso: ok there was a stats related bug that probably only got fixed back to ocata, se | 14:27 |
mriedem | *sec | 14:27 |
*** ttsiouts has quit IRC | 14:28 | |
*** JamesBenson has quit IRC | 14:28 | |
openstackgerrit | Surya Seetharaman proposed openstack/nova master: Disable max_placement_results if affinity (or anti) is requested https://review.opendev.org/658110 | 14:28 |
*** JamesBenson has joined #openstack-nova | 14:29 | |
mriedem | ganso: i think you might need https://review.opendev.org/#/q/I0b9e5b711878fa47ba90e43c0b41437b57cf8ef6 | 14:32 |
mriedem | oh but looking at that again, it was fixing a regression in ocata, so maybe not | 14:32 |
mriedem | nvm | 14:32 |
efried | tssurya: Was your intent to backport that ----^ | 14:32 |
tssurya | efried: yea was hoping to once it got merged in master | 14:33 |
efried | tssurya: Okay. Because we talked about enabling some placement-isms to help with this in Train itself, yah? | 14:33 |
tssurya | efried: yep, that would be a spec | 14:33 |
tssurya | I'll get onto that too soon-ish | 14:33 |
mriedem | in_tree for strict affinity but that's not backportable | 14:33 |
mriedem | it's also racy | 14:33 |
ganso | mriedem: so, this problem is likely caused by a bug that got fixed, correct? or was the periodic task added in ocata? | 14:34 |
efried | cool, just making sure I had the big picture | 14:34 |
tssurya | mriedem: no no ^ that fix is just making limits None if affinity/anti is requested | 14:34 |
tssurya | like we did earlier on for force_hosts/nodes | 14:34 |
tssurya | only that needs to be backported | 14:34 |
mriedem | ganso: the periodic was always around, | 14:34 |
mriedem | the stats thing i fixed was a regression in ocata so shouldn't affect you on mitaka | 14:34 |
mriedem | ganso: for that num_instances thing, you'd likely need to add some debug logging to that update_available_resource flow to see what it's doing, | 14:36 |
mriedem | but it should 0 out num_instances in the stats at the start of the run, and then add instances to the stats as it processes instances for that host/node | 14:36 |
mriedem | ganso: does https://developer.openstack.org/api-ref/compute/#list-hypervisor-servers also show 4 servers on that hypervisor? | 14:37 |
*** mvkr has quit IRC | 14:37 | |
efried | tssurya: We have in_tree in Stein though... | 14:38 |
efried | ...so you could make a backportable patch that adds in_tree for positive affinity and removes the limit for anti-affinity. | 14:38 |
efried | ...and then if you want to backport further, use this one. | 14:39 |
ganso | mriedem: hmmm is that equivalent of "openstack hypervisor list" ? | 14:39 |
efried | tssurya: is that the plan? | 14:39 |
mriedem | efried: tssurya: it should be a 2 part series at least, | 14:39 |
ganso | mriedem: I have confirmed that the database has the value "2", so the database is wrong | 14:39 |
*** BjoernT has joined #openstack-nova | 14:39 | |
tssurya | efried: oh didn't realise in_tree was there in Stein since it was used only in train | 14:39 |
tssurya | but what you said makes sense | 14:39 |
mriedem | tssurya: but the bug goes back further than that | 14:39 |
efried | tssurya: I *think* it's in stein, sec... | 14:39 |
mriedem | in_tree usage in nova is new in train | 14:40 |
mriedem | from tetsuro | 14:40 |
tssurya | mriedem: yup I think the bug is from rocky, and it would be good for us to have it in rocky | 14:40 |
*** BjoernT has quit IRC | 14:40 | |
mriedem | it probably goes back further than that | 14:41 |
mriedem | my guess is pike | 14:41 |
efried | tssurya: Confirmed, in_tree is in Stein. | 14:41 |
efried | So you could do this in three parts. | 14:41 |
mriedem | efried: in_tree is in stein in placement right? | 14:41 |
efried | yes --^ | 14:41 |
mriedem | but the nova object usage of it is not | 14:42 |
efried | 1.31 | 14:42 |
efried | does that matter? | 14:42 |
mriedem | if you're using versioned objects it does yes | 14:42 |
efried | versioned objects | 14:42 |
efried | you mean the RequestSpec? | 14:42 |
mriedem | RequestGroup | 14:42 |
mriedem | but yes | 14:42 |
mriedem | https://review.opendev.org/#/q/topic:bug/1777591+(status:open+OR+status:merged) | 14:42 |
mriedem | it's really 2 changes, one to backport which just disables the limit if the server is in a group | 14:43 |
efried | groan, okay. | 14:43 |
mriedem | and another to be smarter about in_tree if it's in a strict affinity policy | 14:43 |
mriedem | but noting that ^ is racy | 14:43 |
tssurya | mriedem, efired: ok so we stick to what we discussed in the ptg right ? | 14:44 |
tssurya | the new in_tree affinity thing stays in train then | 14:44 |
*** _alastor_ has joined #openstack-nova | 14:44 | |
tssurya | mriedem: yea you might be right, I can trace it back to at least queens | 14:45 |
mriedem | max_placement_results was new in queens so i guess it goes to queens | 14:45 |
mriedem | ganso: no not hypervisor list, sec | 14:45 |
efried | tssurya: That's not my favorite misspelling of my handle. | 14:45 |
mriedem | she's channeling her inner trump | 14:46 |
tssurya | efried: yikes, I didn't even realised I missplled it :D | 14:46 |
mriedem | tssurya is a big fan, some are saying the biggest fan | 14:46 |
mriedem | folks | 14:46 |
efried | anyway, +2 on this patch, thanks for explaining | 14:46 |
tssurya | mriedem: :P | 14:46 |
tssurya | thanks efried, mriedem | 14:47 |
mriedem | ganso: more like this https://docs.openstack.org/python-novaclient/latest/cli/nova.html#nova-hypervisor-servers | 14:47 |
*** _hemna has quit IRC | 14:47 | |
mriedem | ganso: i'm wondering if ^ will show 4 for that node while running_vms shows 2 | 14:47 |
ganso | mriedem: oh I see! | 14:47 |
ganso | mriedem: will run it and report back! | 14:47 |
mriedem | if ^ shows 2 servers as well, then you have some issue | 14:47 |
mriedem | like, the db might say 2 of those guests you think are on that node actually aren't | 14:48 |
mriedem | e.g. failed live migration or something | 14:48 |
ganso | mriedem: it does list 4 VMs! =) | 14:50 |
*** tesseract has joined #openstack-nova | 14:50 | |
mriedem | ok so yeah the stats stuff is busted somehow, but you'd likely need to add logging statements to the code to debug it | 14:51 |
*** dpawlik has quit IRC | 14:51 | |
*** Luzi has quit IRC | 14:51 | |
*** tesseract has quit IRC | 14:51 | |
*** tesseract has joined #openstack-nova | 14:51 | |
ganso | mriedem: ok, so... I am curious on how I could reset the value, and double check if it is being recalculated incorrectly, or if it is not being recalculated at all | 14:51 |
ganso | mriedem: like, if I restart the service (nova-cpu I'd assume), it would reset to 0 and recalculate? Does it help if I set the value to 0 in the database and then restart the service? | 14:52 |
*** ratailor has joined #openstack-nova | 14:52 | |
mriedem | the periodic should set it every time | 14:53 |
mriedem | so you could set it to 0 in the db if you want and wait for the periodic to run, or restart the service | 14:53 |
ganso | mriedem: ok, will try that, thank you! | 14:54 |
openstackgerrit | Merged openstack/nova stable/rocky: Use migration_status during volume migrating and retyping https://review.opendev.org/657577 | 14:54 |
*** BjoernT has joined #openstack-nova | 14:54 | |
*** hongbin has joined #openstack-nova | 14:56 | |
mriedem | tssurya: comments in that change, but it's not just the group hint | 14:59 |
ganso | mriedem: sorry, one more question. I am trying to track the name of the periodic task, I haven't seen periodic_task decorators or where they are registered in resource_tracker.py. But it seems the periodic task is either "update_available_resource" or another method that invokes this one. Could you please confirm? | 14:59 |
mriedem | we also have same_host/different_host hints/filters | 14:59 |
mriedem | ganso: it's the ComputeManager.update_available_resource method | 14:59 |
mriedem | called on start of the compute service and in a periodic | 14:59 |
ganso | mriedem: oh it starts in the ComputeManager, thank you! | 14:59 |
*** ttsiouts has joined #openstack-nova | 14:59 | |
tssurya | mriedem: oh hmm looking | 14:59 |
*** tesseract has quit IRC | 15:01 | |
mriedem | https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#samehostfilter | 15:01 |
mnaser | so it looks like the kernel that enables nested by default (4.19) also added a gate that blocks live migrations if nested virt is enabled p | 15:01 |
jangutter | Did the ptg etherpad finally die? | 15:01 |
mnaser | ERROR nova.virt.libvirt.driver [-] [instance: 738eb188-1545-4126-b05b-54d384e55f73] Live Migration failure: internal error: unable to execute QEMU command 'migrate': Nested VMX virtualization does not support live migration yet: libvirtError: internal error: unable to execute QEMU command 'migrate': Nested VMX virtualization does not support live migration yet | 15:02 |
mnaser | so by default vmx is enabled, so every instance is not live migratable... | 15:02 |
tssurya | mriedem: I have never used that filter before, but since I am fixing it for the other two filters, I will update the patch for this one as well | 15:02 |
tssurya | and https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#differenthostfilter like you have said | 15:02 |
mriedem | i really wish we could functionally test this code to recreate the bug but i don't think there is an easy way to do that | 15:03 |
tssurya | jangutter: I have been trying to access it too :( not sure if someone has a backup | 15:03 |
*** tesseract has joined #openstack-nova | 15:03 | |
*** ttsiouts has quit IRC | 15:04 | |
tssurya | mriedem: you mean the bug I am working on ? | 15:04 |
*** guilhermesp has joined #openstack-nova | 15:11 | |
mriedem | tssurya: yes | 15:11 |
*** tesseract has quit IRC | 15:11 | |
mriedem | but there isn't really a good way to do that with functional tests that don't involve stubbing placement responses, which defeats the purpose of a functional test | 15:11 |
*** wwriverrat has joined #openstack-nova | 15:11 | |
*** imacdonn has quit IRC | 15:12 | |
*** imacdonn has joined #openstack-nova | 15:12 | |
mnaser | I’m trying to figure out how I can make both nested virt available as an opt in | 15:14 |
mnaser | But also without making complicated host aggregates and flavour explosion | 15:15 |
*** tesseract has joined #openstack-nova | 15:16 | |
mriedem | required trait on vmx? | 15:18 |
*** tesseract has quit IRC | 15:18 | |
mriedem | libvirt computes with vmx enabled would report the HW_CPU_X86_VMX trait right? | 15:20 |
*** tesseract has joined #openstack-nova | 15:20 | |
mriedem | and you could have flavors and/or images which require that trait so the user can opt into nested virt that way | 15:20 |
*** jaosorior has quit IRC | 15:23 | |
mriedem | live migration is going to be hairy though right? because you could have instances land on those hosts that don't want nested virt and then you can't live migrate them? | 15:30 |
mriedem | not sure if "Live Migration failure: internal error: unable to execute QEMU command 'migrate': Nested VMX virtualization does not support live migration yet: libvirtError: internal error: unable to execute QEMU command 'migrate': Nested VMX virtualization does not support live migration yet" is a problem if vmx is on the source, dest or both | 15:31 |
mnaser | right, but then the idea is to make it opt-in and have a note that says "you won't be live migrated if you enable nested virtualize" | 15:31 |
mnaser | virt* | 15:31 |
mriedem | my point is, | 15:31 |
mriedem | the people that aren't opting in could still land on those hosts | 15:31 |
mriedem | i.e. this is the exclusion problem in the scheduler | 15:31 |
mriedem | for which forbidden aggregates are going to be used | 15:31 |
mriedem | https://specs.openstack.org/openstack/nova-specs/specs/train/approved/placement-req-filter-forbidden-aggregates.html | 15:32 |
mriedem | i'm not sure how you get around this without aggregates | 15:33 |
*** trident has quit IRC | 15:33 | |
mnaser | hmm, so its not necessarily possible to "request" a custom cpu flag for a specific instance | 15:34 |
*** trident has joined #openstack-nova | 15:35 | |
openstackgerrit | Rodrigo Barbieri proposed openstack/nova stable/queens: [DEBUG] Add functional confirm_migration_error test https://review.opendev.org/658136 | 15:36 |
openstackgerrit | Dan Smith proposed openstack/nova master: Update the contributor doc for macos https://review.opendev.org/658137 | 15:37 |
dansmith | trivial contributor doc update ^ | 15:37 |
*** ivve has quit IRC | 15:40 | |
*** mvkr has joined #openstack-nova | 15:42 | |
*** helenafm has quit IRC | 15:43 | |
bnemec | efried: Would you be able to add the nova-specific freeze dates to https://releases.openstack.org/train/schedule.html ? | 15:43 |
bnemec | The keystone patch is a good example: https://review.opendev.org/#/c/653544/ | 15:44 |
bnemec | It came up last week that people were surprised by some Nova freeze dates so it would be good to get them on the common schedule. | 15:44 |
efried | bnemec: can do. I think melwitt conveniently created the schedule a month or two ago in the wiki, please hold. | 15:44 |
efried | bnemec: https://wiki.openstack.org/wiki/Nova/Train_Release_Schedule | 15:44 |
mriedem | mnaser: the user would request via the flavor/image which would have the required cpu flag as a trait | 15:44 |
bnemec | efried: Cool, thanks. | 15:45 |
bnemec | I guess the main one would be spec freeze then. | 15:46 |
mnaser | mriedem: would it be appended to the 'existing' cpu flags or it would have to match a hypervisor that has those cpu flags (i.e I would have a bunch of nested-virt enabled computes, and those that aren't) | 15:46 |
mriedem | mnaser: my understanding from https://specs.openstack.org/openstack/nova-specs/specs/rocky/implemented/report-cpu-features-as-traits.html is that the compute reports the cpu features as traits, and you can configure each compute with additional flags using https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.cpu_model_extra_flags | 15:48 |
*** priteau has joined #openstack-nova | 15:48 | |
mriedem | i think cpu_model_extra_flags get reported as traits as well, but i would have to dig into the code to confirm | 15:48 |
mnaser | but if I add `cpu_model_extra_flags` that would then make every instance get nested virt | 15:49 |
mnaser | (on that host) | 15:49 |
*** belmoreira has quit IRC | 15:49 | |
mriedem | oh i see, you want per-instance | 15:49 |
mnaser | yeah, that way I don't have to maintain a whole bunch of host aggrgates | 15:50 |
mriedem | well, geez, that sounds like starlingx craziness bro! | 15:50 |
mnaser | is that something they do / looking to do ? | 15:50 |
mriedem | i want to say yes | 15:50 |
mriedem | i thought somewhat related to https://review.opendev.org/#/c/637834/ but not really what you want | 15:51 |
mnaser | it looks like the workflow of google is per-image based -- https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances | 15:51 |
*** cdent has joined #openstack-nova | 15:52 | |
mriedem | yar, i know we have things like hw_vif_model, hw_pointer_model, hw_scsi_model but no hw_cpu_model | 15:53 |
mnaser | yeah I guess the weird thing is `hw_cpu_model` actually ties into physical infra instead of virtual only | 15:54 |
mriedem | not sure where vcpu_model comes from on the instance | 15:54 |
*** gyee has joined #openstack-nova | 15:54 | |
mnaser | i.e. `hw_cpu_model` depends on the physical CPU having a certain capability so it might not always work | 15:54 |
mnaser | whereas the rest will probably always work as they are virtualized things | 15:55 |
mriedem | https://review.opendev.org/#/c/148138/ | 15:55 |
*** yan0s has quit IRC | 15:56 | |
*** priteau has quit IRC | 15:56 | |
mriedem | allowing the user to specify the cpu features they want sounds like something kashyap might be aware of if someone is working on it | 15:57 |
*** bnemec has quit IRC | 15:58 | |
*** bnemec has joined #openstack-nova | 15:58 | |
mnaser | because right now I think the assumption is: if a host advertises support for a specific trait, it will always boot vms with that cpu flag | 15:58 |
mriedem | mnaser: ah here you go, starlingx did have a spec for it at one point https://review.opendev.org/#/c/168982/ (liberty) | 15:59 |
*** mvkr has quit IRC | 15:59 | |
mriedem | thank my handy dandy starlingx diffs spreadsheet | 15:59 |
mnaser | where as I'm trying to have it be: if a host advertises support for a specific trait, it can be an opt-in one, so all vms boot without it, unless it's requested explicitly | 16:00 |
*** tesseract has quit IRC | 16:01 | |
mnaser | yeah.. this seems to pretty much cover the majority of the use case, but huge scope | 16:01 |
mriedem | last week starlingx claimed to be down to 11 critical patches outside of nova and when i asked about that they said their were all for numa live migration, so if they have support for the user specifying cpu model in the flavor/image, i'm not sure what they are doing now | 16:01 |
mriedem | and cfriesen isn't around | 16:01 |
mriedem | note that spec also predates traits and all that by years | 16:02 |
mnaser | I was thinking maybe just add something like cpu_models_optin or something .. compute manager will advertise all traits (including ones in cpu_models_optin) and when it gets a vm, it'll decide to add/remove that flag if the flavor/image has that trait added | 16:02 |
*** ratailor has quit IRC | 16:03 | |
mnaser | which would make the scheduler side of things fairly untouched, and it would be a virt-level thing... and the traits stuff will still work too | 16:03 |
mnaser | for t in requested_traits: if t in cpu_optional_features then add cpu flag else noop -- pretty much, | 16:04 |
*** ttsiouts has joined #openstack-nova | 16:09 | |
openstackgerrit | Brian Haley proposed openstack/nova stable/queens: Teardown networking when rolling back live migration even if shared disk https://review.opendev.org/658149 | 16:14 |
dansmith | mriedem: I took that claim to mean they have only 11 patches of stuff planned to merge into nova and the rest is "value add" they're planning to just keep in their fork | 16:18 |
dansmith | which is noticeably different from the original stance on the "we don't want to maintain a fork" stuff that none of us believed anyway :) | 16:19 |
mriedem | yeah maybe | 16:19 |
mriedem | i know they have lots of other stuff like this, like specifying vif_model when attaching a port | 16:22 |
openstackgerrit | Dan Smith proposed openstack/nova master: Add extra logging to request filters https://review.opendev.org/657629 | 16:25 |
*** dtantsur has quit IRC | 16:26 | |
*** BjoernT has quit IRC | 16:26 | |
*** dtantsur has joined #openstack-nova | 16:26 | |
openstackgerrit | Surya Seetharaman proposed openstack/nova master: Disable limit if affinity(anti)/same(different)host is requested https://review.opendev.org/658110 | 16:30 |
*** stephenfin has quit IRC | 16:30 | |
mriedem | gibi: comments and questions and nits in your 'move ops for qos ports' spec https://review.opendev.org/#/c/652608/ but nothing worth holding it back | 16:32 |
*** dtantsur has quit IRC | 16:32 | |
*** roukoswarf has joined #openstack-nova | 16:34 | |
roukoswarf | hey all, i have a fun one... so i boot an instance using an image and a volume, works great, hard resets fine. but i boot an instance with a volume as the boot disk, add a volume, then hard reset, and then it has "no bootable device" till the volume is detached | 16:35 |
roukoswarf | i cant find a decernable difference in the libvirt cfg that would cause it to not check all disks for mbr... but maybe theres some cfg im missing? replication steps are pretty simple, boot from a volume, add a volume, do a full power reset on the vm, fail. | 16:36 |
*** dtantsur has joined #openstack-nova | 16:37 | |
*** tssurya has quit IRC | 16:38 | |
*** maciejjozefczyk has quit IRC | 16:42 | |
*** _hemna has joined #openstack-nova | 16:43 | |
*** ricolin has quit IRC | 16:45 | |
*** irclogbot_3 has quit IRC | 16:46 | |
*** munimeha1 has joined #openstack-nova | 16:46 | |
*** irclogbot_0 has joined #openstack-nova | 16:47 | |
*** cdent_ has joined #openstack-nova | 16:56 | |
openstackgerrit | Dan Smith proposed openstack/nova master: Add extra logging to request filters https://review.opendev.org/657629 | 16:57 |
*** cdent has quit IRC | 16:57 | |
*** cdent_ is now known as cdent | 16:57 | |
*** stephenfin has joined #openstack-nova | 17:01 | |
*** liuyulong has quit IRC | 17:03 | |
openstackgerrit | Mohammed Naser proposed openstack/nova master: [rfc] ability to use optional cpu flags https://review.opendev.org/658158 | 17:04 |
mnaser | mriedem: ^ well, I'd love to hear comments, I know this probably needs a spec and all sorts of other stuff.. but the 'general' idea | 17:05 |
*** ralonsoh has quit IRC | 17:08 | |
*** macza has joined #openstack-nova | 17:12 | |
*** udesale has quit IRC | 17:13 | |
*** _hemna has quit IRC | 17:17 | |
openstackgerrit | Merged openstack/nova master: libvirt: auto detach/attach sriov ports on migration https://review.opendev.org/629589 | 17:35 |
*** artom has joined #openstack-nova | 17:41 | |
*** ivve has joined #openstack-nova | 17:42 | |
*** _hemna has joined #openstack-nova | 17:53 | |
*** hongbin has quit IRC | 17:54 | |
*** BjoernT has joined #openstack-nova | 17:55 | |
*** tbachman has quit IRC | 18:13 | |
*** ttsiouts has quit IRC | 18:25 | |
*** _hemna has quit IRC | 18:27 | |
*** BjoernT has quit IRC | 18:34 | |
*** igordc has joined #openstack-nova | 18:35 | |
*** jaypipes has quit IRC | 18:37 | |
*** ttsiouts has joined #openstack-nova | 18:40 | |
openstackgerrit | Artom Lifshitz proposed openstack/python-novaclient master: Use SHA56 instead of MD5 in completion cache https://review.opendev.org/658181 | 18:44 |
*** igordc has quit IRC | 18:44 | |
*** BjoernT has joined #openstack-nova | 18:44 | |
*** ttsiouts has quit IRC | 18:45 | |
*** tbachman has joined #openstack-nova | 18:45 | |
*** igordc has joined #openstack-nova | 18:47 | |
openstackgerrit | Merged openstack/nova master: Remove ComputeDriver.macs_for_instance method https://review.opendev.org/652737 | 18:55 |
mriedem | https://review.opendev.org/#/q/topic:bp/libvirt-neutron-sriov-livemigration+(status:open+OR+status:merged) is all merged now but i'm not sure what docs are needed or where | 18:59 |
mriedem | ah yes https://docs.openstack.org/neutron/latest/admin/config-sriov.html#known-limitations | 19:00 |
mriedem | stephenfin: is ^ something you want to handle while sean is out on pto? | 19:02 |
openstackgerrit | Dustin Cowles proposed openstack/nova master: Use SDK instead of ironicclient for validating instance and node https://review.opendev.org/656028 | 19:11 |
*** ttsiouts has joined #openstack-nova | 19:11 | |
*** maciejjozefczyk has joined #openstack-nova | 19:15 | |
artom | mriedem, sean's back Monday, and stephenfin is probably drinking and/or sleeping now | 19:18 |
mriedem | yeah, it was for his bouncer | 19:19 |
mriedem | irc, not the "bloke" at the "pub" | 19:19 |
artom | (Yeah, not sure why I thought you didn't know his tz) | 19:20 |
*** jobewan has joined #openstack-nova | 19:22 | |
openstackgerrit | Merged openstack/nova master: Add --instance option to heal_allocations https://review.opendev.org/651945 | 19:22 |
*** maciejjozefczyk has quit IRC | 19:23 | |
*** tbachman has quit IRC | 19:30 | |
openstackgerrit | Artom Lifshitz proposed openstack/python-novaclient master: Use SHA256 instead of MD5 in completion cache https://review.opendev.org/658181 | 19:35 |
*** hongbin has joined #openstack-nova | 19:44 | |
*** BjoernT has quit IRC | 19:45 | |
*** ttsiouts has quit IRC | 20:14 | |
redkrieg | I'm having an issue with lxd on my deployment where creating instances fails with "LXDAPIException: Profile is currently in use" in nova-compute.log. is there any good way to troubleshoot what could be causing that? | 20:17 |
*** Nick_A has joined #openstack-nova | 20:21 | |
*** _hemna has joined #openstack-nova | 20:23 | |
*** ttsiouts has joined #openstack-nova | 20:29 | |
*** tssurya has joined #openstack-nova | 20:31 | |
*** boxiang has quit IRC | 20:32 | |
*** ttsiouts has quit IRC | 20:32 | |
*** ttsiouts has joined #openstack-nova | 20:33 | |
*** boxiang has joined #openstack-nova | 20:33 | |
openstackgerrit | Merged openstack/nova master: Update the contributor doc for macos https://review.opendev.org/658137 | 20:35 |
*** ttsiouts has quit IRC | 20:47 | |
*** takashin has joined #openstack-nova | 20:52 | |
*** _hemna has quit IRC | 20:58 | |
*** logan- has quit IRC | 21:00 | |
mriedem | efried: nova meeting today? | 21:01 |
efried | yes, sorry, starting... | 21:01 |
edleafe | heh, was just typing that :) | 21:01 |
mriedem | redkrieg: lxd isn't in tree, you'd have to ask in their channel | 21:01 |
redkrieg | cool, thanks | 21:01 |
mriedem | redkrieg: https://github.com/openstack/nova-lxd#support-and-discussions | 21:01 |
redkrieg | that helps, thank you mriedem. I'm doing a reinstall right now so I'll follow up there if I still have an issue | 21:03 |
mriedem | np | 21:03 |
*** logan- has joined #openstack-nova | 21:03 | |
*** mchlumsky has quit IRC | 21:04 | |
*** cdent has quit IRC | 21:11 | |
*** cdent has joined #openstack-nova | 21:26 | |
*** Nick_A has left #openstack-nova | 21:28 | |
*** ttsiouts has joined #openstack-nova | 21:29 | |
*** ttsiouts has quit IRC | 21:34 | |
*** lbragstad has quit IRC | 21:45 | |
*** dasp has quit IRC | 21:52 | |
*** tbachman has joined #openstack-nova | 21:58 | |
*** JamesBenson has quit IRC | 21:59 | |
*** hongbin has quit IRC | 22:04 | |
*** hongbin has joined #openstack-nova | 22:05 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: DNM: Test theory behind bug 1822884 https://review.opendev.org/649464 | 22:05 |
openstack | bug 1822884 in OpenStack Compute (nova) "live migration fails due to port binding duplicate key entry in post_live_migrate" [Undecided,In progress] https://launchpad.net/bugs/1822884 - Assigned to sean mooney (sean-k-mooney) | 22:05 |
*** hongbin has quit IRC | 22:05 | |
*** hongbin has joined #openstack-nova | 22:06 | |
*** hongbin has quit IRC | 22:06 | |
*** hongbin has joined #openstack-nova | 22:06 | |
*** hongbin has quit IRC | 22:08 | |
*** hongbin has joined #openstack-nova | 22:08 | |
*** trident has quit IRC | 22:19 | |
*** tbachman has quit IRC | 22:19 | |
mriedem | sorry | 22:21 |
mriedem | not sorry | 22:21 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Update usage in RT.drop_move_claim during confirm resize https://review.opendev.org/641806 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add Migration.cross_cell_move and get_by_uuid https://review.opendev.org/614012 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add InstanceAction/Event create() method https://review.opendev.org/614036 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add Instance.hidden field https://review.opendev.org/631123 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add TargetDBSetupTask https://review.opendev.org/627892 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add CrossCellMigrationTask https://review.opendev.org/631581 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Execute TargetDBSetupTask https://review.opendev.org/633853 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add can_connect_volume() compute driver method https://review.opendev.org/621313 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add prep_snapshot_based_resize_at_dest compute method https://review.opendev.org/633293 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add PrepResizeAtDestTask https://review.opendev.org/627890 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add prep_snapshot_based_resize_at_source compute method https://review.opendev.org/634832 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add nova.compute.utils.delete_image https://review.opendev.org/637605 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add PrepResizeAtSourceTask https://review.opendev.org/627891 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Refactor ComputeManager.remove_volume_connection https://review.opendev.org/642183 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add power_on kwarg to ComputeDriver.spawn() method https://review.opendev.org/642590 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add finish_snapshot_based_resize_at_dest compute method https://review.opendev.org/635080 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add FinishResizeAtDestTask https://review.opendev.org/635646 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add Destination.allow_cross_cell_move field https://review.opendev.org/614035 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add CrossCellWeigher https://review.opendev.org/614353 | 22:22 |
*** trident has joined #openstack-nova | 22:22 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Add cross-cell resize policy rule and enable in API https://review.opendev.org/638269 | 22:22 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: WIP: Enable cross-cell resize in the nova-multi-cell job https://review.opendev.org/656656 | 22:22 |
*** markmcclain has quit IRC | 22:35 | |
*** icey has quit IRC | 22:35 | |
*** icey has joined #openstack-nova | 22:36 | |
*** markmcclain has joined #openstack-nova | 22:37 | |
*** ttsiouts has joined #openstack-nova | 22:46 | |
*** mlavalle has quit IRC | 22:49 | |
*** ttsiouts has quit IRC | 22:51 | |
*** slaweq has quit IRC | 22:51 | |
*** munimeha1 has quit IRC | 22:52 | |
*** _hemna has joined #openstack-nova | 22:53 | |
*** macza has quit IRC | 22:57 | |
*** slaweq has joined #openstack-nova | 22:58 | |
redkrieg | I reinstalled one of my compute nodes and thought I had removed it from openstack first but I think it reregistered before I shut it down. is there a good way to get around this? error: | 22:58 |
redkrieg | 2019-05-09 18:57:34.505 12028 ERROR nova.scheduler.client.report [req-d7fa7b90-ada9-4296-8f2f-977b8e041dfc - - - - -] [req-ce0a1ceb-1e0f-486f-afe6-c1dc9ecdbad5] Failed to create resource provider record in placement API for UUID 5f5eecf0-9805-4b0c-892e-cddb70b6a4eb. Got 409: {"errors": [{"status": 409, "request_id": "req-ce0a1ceb-1e0f-486f-afe6-c1dc9ecdbad5", "detail": "There was a conflict when | 22:58 |
redkrieg | trying to complete your request.\n\n Conflicting resource provider name: nyc-slxc-1 already exists. ", "title": "Conflict"}]}. | 22:59 |
*** Nick_A has joined #openstack-nova | 23:01 | |
*** slaweq has quit IRC | 23:03 | |
*** tkajinam has joined #openstack-nova | 23:03 | |
cdent | redkrieg: quick and dirty: find the resource provider that represent the older compute node (its uuid) and delete that from placement. you can do that with curl calls to placement, the osc-placement client, or looking into the database directly | 23:04 |
*** slaweq has joined #openstack-nova | 23:11 | |
redkrieg | cdent: thanks, I found the entry and deleted it. looks like it registered correctly after. | 23:12 |
cdent | redkrieg: great. I think there's been some work or at least discussion on making that less of a problem, but quick and dirty seemed like the right way to go in this case | 23:13 |
redkrieg | yep, it's not a common scenario. I generally avoid reinstalling when I can. | 23:13 |
*** slaweq has quit IRC | 23:16 | |
mriedem | the proper thing would have been (1) stop the nova-compute process on the host, (2) delete the compute service in the API which (depending on your release) should cleanup the provider in placement automatically | 23:16 |
*** ttsiouts has joined #openstack-nova | 23:17 | |
mriedem | https://developer.openstack.org/api-ref/compute/?expanded=delete-compute-service-detail#delete-compute-service | 23:18 |
redkrieg | I actually tried to use the openstack-ansible-ops playbook to remove the host first, but I think it left a placement entry instead of properly cleaning it up. I'm just glad it's working now. thanks for looking! | 23:19 |
*** ttsiouts has quit IRC | 23:21 | |
mriedem | hmm, i hope the ansible stuff isn't screwing things up now | 23:22 |
mriedem | which release are you using? | 23:22 |
*** _hemna has quit IRC | 23:26 | |
Nick_A | we're on rocky | 23:27 |
*** samueldmq has quit IRC | 23:31 | |
*** whoami-rajat has quit IRC | 23:34 | |
*** jobewan has quit IRC | 23:36 | |
mriedem | am i being blizzarded again? | 23:48 |
mriedem | anyway, DELETE /os-services/{service_id} should have cleaned that stuff up for you assuming the nova-compute service was not running (it will recreate records on a periodic task) | 23:49 |
mriedem | so i don't know what that ansible play does, but might be worth investigating, it should stop the service first and then delete it via the api | 23:49 |
artom | mriedem, you're seriously getting snow? | 23:51 |
mriedem | artom: no blizzard the company | 23:51 |
artom | They're a verb now? | 23:51 |
mriedem | yes | 23:52 |
mriedem | "it's a blizzard of blizzard operators" | 23:52 |
mriedem | blizzarded | 23:52 |
* artom stops asking questions | 23:53 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Handle inactive port binding in _update_port_binding_for_instance https://review.opendev.org/653506 | 23:53 |
mriedem | fwiw i have no idea who redkrieg and Nick_A work for, i've just noticed the blizzard gang runs in packs | 23:54 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Handle inactive port binding in _update_port_binding_for_instance https://review.opendev.org/653506 | 23:59 |
mriedem | tobberydberg: i know your guys are interested in this ^ | 23:59 |
mriedem | might be a bear to backport but that should have it passing | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!