| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-09-24 | |||
| 15:22:36 | kashyap | (Oh, I wanted to fix that, too! Realized it too late) | |
| 15:22:43 | aspiers | but then you list "value" alongside "type" etc. which is incorrect | |
| 15:22:55 | aspiers | type/readonly/secure are values of the name attribute of <enum> | |
| 15:22:56 | sean-k-mooney | we could update the numa migration code in train to also update it to prefered | |
| 15:22:59 | aspiers | but you don't even mention <enum> | |
| 15:23:03 | sean-k-mooney | but i would do that as a seperate patch | |
| 15:23:44 | aspiers | and the confusion over the point of <enum> was the whole reason we started looking at this in the first place | |
| 15:24:15 | aspiers | kashyap: ^^^ | |
| 15:25:00 | kashyap | aspiers: Okay, my brain is completely exhausted for the moment; will make a note to get back to this and submit a patch | |
| 15:25:03 | kashyap | Thanks! | |
| 15:25:05 | aspiers | kashyap: "For cases like that, os element exposes ..." is ambiguous about whether it's <os> in domCaps or caps | |
| 15:25:12 | aspiers | which again was the crux of the confusion | |
| 15:25:28 | aspiers | These docs need to be crystal clear about when they are referring to elements of domCaps vs. caps | |
| 15:25:50 | aspiers | so that the parallel between the two is understood | |
| 15:26:33 | kashyap | aspiers: I didn't touch those bits; but you're right, they _do_ need "less careless" documentation. I'll get back to this tomm / this week | |
| 15:26:45 | aspiers | kashyap: thanks! one more pointer | |
| 15:26:49 | kashyap | Non-null? | |
| 15:26:53 | kashyap | :D | |
| 15:27:06 | aspiers | kashyap: I'm suggesting to hyperlink text like "the <loader/> element in the domain XML" | |
| 15:27:20 | aspiers | should link to https://libvirt.org/formatdomain.html#elementLoader | |
| 15:27:29 | aspiers | in both directions, ideally | |
| 15:27:39 | aspiers | kashyap: feel free to send me something to review | |
| 15:27:43 | aspiers | when you have a chance | |
| 15:29:29 | kashyap | aspiers: Will definitely do. | |
| 15:29:53 | aspiers | thanks again! | |
| 15:30:48 | kashyap | You're welcome again | |
| 15:33:06 | kashyap | sean-k-mooney: Yeah, indeed. | |
| 15:34:10 | kashyap | Sean, sorry, disregard that; was replying to a stale message, as had the IRC buffer scrolled up. | |
| 15:48:22 | mlavalle | gmann: hi, I have some questions regarding http://specs.openstack.org/openstack/nova-specs/specs/train/approved/policy-default-refresh.html. when you have some time, please ping me | |
| 16:02:58 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Use compression by default for 'SshDriver' https://review.opendev.org/684393 | |
| 16:02:58 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Add missing parameter https://review.opendev.org/682886 | |
| 16:03:56 | stephenfin | mriedem: Seeing as we're on a docs roll, could you take a look at https://review.opendev.org/#/c/671298/, please? Maybe efried or gibi too | |
| 16:05:37 | gibi | stephenfin: done | |
| 16:05:47 | mriedem | hmm | |
| 16:07:21 | openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: docs: Rewrite nova-manage docs to use proper directives https://review.opendev.org/677509 | |
| 16:07:21 | openstackgerrit | Stephen Finucane proposed openstack/nova master: config: Explicitly register 'remote_debug' CLI opts https://review.opendev.org/677444 | |
| 16:07:21 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Document global options for nova-manage https://review.opendev.org/677443 | |
| 16:12:15 | shilpasd | mriedem: hi, to verify performance for changes https://review.opendev.org/#/c/612626/ Ignore root_gb for BFV in simple tenant usage API, i have written test program http://paste.openstack.org/show/779196/, please go through once and share any suggestions/corrections if any | |
| 16:12:52 | mriedem | shilpasd: you should paste that into the patch and/or the bug report | |
| 16:13:04 | shilpasd | ok, will do that | |
| 16:13:32 | shilpasd | mriedem: thanks, will paste along with test results | |
| 16:15:05 | dansmith | stephenfin: comment on that db sync one | |
| 16:15:32 | dansmith | stephenfin: If you just did what you said in the commit message, I'd be good, but I feel like you're regressing the verbiage in there | |
| 16:15:50 | dansmith | maybe mriedem has an opinion | |
| 16:16:00 | dansmith | I mean, I bet he does, but maybe he'll tell us what it is | |
| 16:17:17 | stephenfin | makes sense. I can respin | |
| 16:17:18 | mriedem | dansmith: i just said the same thing :) | |
| 16:17:29 | mriedem | and said "maybe dan has an opinion on this" | |
| 16:17:37 | dansmith | heh nice | |
| 16:18:48 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Note use of 'nova-manage db sync --config-file' https://review.opendev.org/671298 | |
| 16:18:49 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Document global options for nova-manage https://review.opendev.org/677443 | |
| 16:18:49 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Correct 'nova-manage db sync' documentation https://review.opendev.org/677508 | |
| 16:18:50 | openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: docs: Rewrite nova-manage docs to use proper directives https://review.opendev.org/677509 | |
| 16:18:50 | openstackgerrit | Stephen Finucane proposed openstack/nova master: config: Explicitly register 'remote_debug' CLI opts https://review.opendev.org/677444 | |
| 16:22:24 | stephenfin | dansmith, mriedem: okay, took what dansmith said and made it a thing ^ | |
| 16:22:47 | dansmith | looks okay to me, but mriedem was more specific about details, so I'll let him ack it first | |
| 16:27:24 | mriedem | you and gibi can approve | |
| 16:50:29 | ozzzo | after rebuilding controllers in my dev cluster, is is possible to re-register the existing HV, or do I need to rebuild them? | |
| 16:51:12 | openstackgerrit | Merged openstack/nova master: objects: use all_things_equal from objects.base https://review.opendev.org/681397 | |
| 16:51:18 | openstackgerrit | Merged openstack/nova master: Func test for migrate reschedule with pinned compute rpc https://review.opendev.org/683385 | |
| 16:51:25 | openstackgerrit | Merged openstack/nova master: Add evacuate vs rebuild contributor doc https://review.opendev.org/683245 | |
| 16:51:59 | artom | mriedem, so, I think I figured out the NUMA LM thing | |
| 16:52:56 | artom | We filter out 'accepted' migrations in https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L4422 | |
| 16:53:08 | artom | (That's called from the update resources periodic task | |
| 16:53:10 | artom | ) | |
| 16:54:10 | artom | But we only set the 'preparing' status here: https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L7020 | |
| 16:54:23 | mriedem | and we set accepted in the live migration task | |
| 16:54:23 | artom | (It's created with 'accepted' by the conductor) | |
| 16:54:44 | artom | So there's a window between doing the claim and setting the status when the resource tracker periodic can kick in and miss the migration | |
| 16:55:07 | artom | And free the incoming instance's resources because it's still on the source according to the DB | |
| 16:55:10 | mriedem | compared to the cold migrate / resize of https://www.health.harvard.edu/blog/common-anticholinergic-drugs-like-benadryl-linked-increased-dementia-risk-201501287667 | |
| 16:55:12 | mriedem | ha | |
| 16:55:12 | mriedem | oops | |
| 16:55:18 | artom | Dementia indeed | |
| 16:55:22 | mriedem | 'pre-migrating' | |
| 16:55:40 | artom | I guess now we know why pre-migrating exists :) | |
| 16:55:58 | mriedem | https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L4408-L4412 | |
| 16:56:18 | artom | Yep, saw that | |
| 16:56:19 | sean-k-mooney | pre-migration is the default status no? | |
| 16:56:26 | sean-k-mooney | at least for cold migraitons | |
| 16:56:37 | mriedem | artom: ok so i guess just remove 'accepted' from that db api query and see if ya.wang can reproduce with his test script right? | |
| 16:56:37 | artom | sean-k-mooney, it's one giant mess | |
| 16:57:02 | artom | mriedem, as an initial smoke test, yeah, but I'm not sure that's the correct permanent solution | |
| 16:57:39 | mriedem | why? if you haven't realized yet, the migration status stuff and the rt is all very tightly coupled | |
| 16:57:55 | artom | Well... | |
| 16:57:56 | sean-k-mooney | mriedem: i like that comment :) not the reason why its needed but i like the phrasing | |
| 16:58:04 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Remove 'adv-config', 'system-admin' subdocs https://review.opendev.org/684402 | |
| 16:58:04 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Rework the PCI passthrough guides https://review.opendev.org/635243 | |
| 16:58:05 | artom | The migration status is technically part of our API, no? | |
| 16:58:26 | artom | And... even it isn't - as you said, it's all tightly coupled, I'd be afraid to break something else | |
| 16:58:55 | artom | Ideally we would implement your TODO | |
| 16:59:08 | artom | Though I suppose one doens't hurt the other | |
| 16:59:11 | sean-k-mooney | if we removed accepted we would need to add it to migration_get_in_progress_by_instance right | |
| 16:59:16 | mriedem | artom: "accepted" is only set while a live migration is in-progress | |
| 16:59:22 | mriedem | and that api is for getting in-progress migrations | |
| 16:59:34 | mriedem | the only reason it didn't matter before was because the RT filtered out anything that wasn't evacuate/resize/cold migrate | |
| 16:59:59 | artom | mriedem, that's a good point | |
| 17:00:15 | mriedem | artom: specifically this v | |
| 17:00:16 | mriedem | https://review.opendev.org/#/c/634606/86/nova/compute/resource_tracker.py | |
| 17:00:21 | mriedem | _is_trackable_migration | |