Earlier  
Posted Nick Remark
#openstack-nova - 2019-02-15
21:03:23 openstackgerrit Matt Riedemann proposed openstack/nova master: Check hosts have no instances for AZ rename https://review.openstack.org/509206
21:03:32 mriedem sounds like someone needs their nova-computes running on s390x mainframes
21:03:39 mriedem or Power9!
21:04:34 tssurya fried_rice: just saw your patch, so basically you are saving on the lookup time instead of iterating.. We will try this first thing Monday and let you know
21:04:57 openstackgerrit Matt Riedemann proposed openstack/nova master: Check hosts have no instances for AZ rename https://review.openstack.org/509206
21:05:21 fried_rice tssurya: Yes. We already have the list of UUIDs. Now instead of that loop taking O(N) to look up each node's provider object, it'll take O(1).
21:05:58 tssurya yeap nice
21:06:46 fried_rice tssurya: now, it's possible that that lookup wasn't the problem: it's possible that what's killing us is 1700 ProviderTree.data() calls (which copies the guts of the ProviderTree) plus 5100 compares of that information.
21:06:58 fried_rice that may be a tad harder to optimize.
21:08:08 fried_rice (...guts of the individual _Provider in the ProviderTree, that is)
21:15:18 tssurya yea you mean this part here (https://github.com/openstack/nova/blob/880327cc31fea7328d23355730d5458f3b74662b/nova/scheduler/client/report.py#L1440)
21:15:35 tssurya and then the set aggregates and inventories comparisions
21:24:34 melwitt mriedem: if I'm trying to remove the console-auth workaround in stein and nova-status upgrade check has the check for console auths, where it warns if compute services older than rocky are found and advises to set the [workarounds] option if so. if I'm removing the workaround, it seems like I should remove the upgrade check. is that right?
21:30:17 mriedem does the upgrade check just warn today?
21:30:23 melwitt yes
21:30:25 mriedem and is that upgrade check in stable/rocky?
21:30:45 mriedem i think you'd either remove the upgrade check in stein or change it to a hard failure
21:30:54 mriedem and then maybe mark it for removal in Train
21:31:05 melwitt yes the check is in stable/rocky
21:31:13 openstackgerrit Artom Lifshitz proposed openstack/nova master: Introduce live_migration_claim() https://review.openstack.org/635669
21:31:13 openstackgerrit Artom Lifshitz proposed openstack/nova master: New objects to transmit NUMA config from dest to source https://review.openstack.org/634827
21:31:14 openstackgerrit Artom Lifshitz proposed openstack/nova master: LM: Make dest send NUMAMigrateData to the source https://review.openstack.org/634828
21:31:14 openstackgerrit Artom Lifshitz proposed openstack/nova master: [WIP] Use live_migration_claim() to check dest resources https://review.openstack.org/634606
21:31:15 openstackgerrit Artom Lifshitz proposed openstack/nova master: LM: update NUMA-related XML on the source https://review.openstack.org/635229
21:31:42 mriedem off the top of my head i think i'd go conservative and make the upgrade check a hard failure in stein and remove it in train
21:31:44 melwitt ok, I considered changing it to a hard failure if any computes older than rocky are found. I guess the action would be "upgrade your computes
21:31:55 mriedem because someone could run the stein upgrade checks against a rocky deployment from a venv/container
21:32:08 mriedem dansmith might have an opinion
21:32:15 melwitt I was struggling a bit with what the action item is for something that generic. all of the other failures say, "run this command"
21:32:37 mriedem yeah i think the only recent upgrade check we removed was the one for placement resource providers because of the extracted placement
21:32:55 mriedem we could have re-worked that to hit the placement API rather than the nova_api db, but it had been around since ocata so figured it was ok to just drop it
21:33:06 mriedem this consoleauth one seems to have really confused some people and caught them off guard
21:33:19 mriedem so dropping the check with the workaround in the same release might be too aggressive
21:34:11 melwitt I wondered that too, because of how problematic it's been. whether to just keep the workaround around another cycle
21:34:49 mriedem if it's not hurting anything that might be fine
21:34:55 mriedem safer than sorryier
21:35:12 melwitt I was thinking to follow through with TODOs before they get too old and forgettable but this seems like one of those where it's best not
21:35:25 melwitt yeah, it doesn't hurt anything
21:35:36 melwitt ok, well, that's easy then
21:37:03 mriedem we've still got lots of todos to remove things from several releases ago
21:37:16 mriedem hell we've still got nova-net and cells v1
21:38:54 melwitt oh I know. I was thinking instead, I should propose one of the old TODOs. I think the instance group migration to API database that I worked on is still around :(
21:41:04 melwitt oh, looks like you removed that last year. heh
21:59:15 mriedem you still have to write the API side changes for the counting quotas from placement thing right?
21:59:18 mriedem s/quotas/usage/
22:11:21 melwitt mriedem: right. I'm trying to debug why my online data migration does an infinite loop in grenade, at the moment :(
22:23:52 mriedem looks like you're mostly just copying populate_queued_for_delete
22:24:04 mriedem the only major difference i see is you're using filter_by and that other uses filter()
22:24:37 mriedem that shouldn't really matter though
22:26:34 melwitt yeah. I did that because I was thinking that's a better approach than what I was originally planning, to get all instance mappings where user_id=None and then lookup cell by project_id and get instance
22:27:58 melwitt tssurya mentioned to me that when she was working on queued_for_delete, the loop happened for that because originally she didn't have a default for InstanceMapping.create(), so it was creating NULL fields that would get found again by the migration (creates must have been happening also in the online data migrations, I guess)
22:29:13 melwitt so I added a default for create(), also added setting of user_id for save() in conductor, in case any instance builds are in-flight during an upgrade, where instance mapping was created with cell=None before upgrade and then before scheduling during upgrade, it gets scheduled, set the user_id
22:29:40 melwitt I don't know what case grenade is hitting. it's looping not in the initial online migration run before starting services, but in the second online migration after starting services
22:30:00 melwitt I added a print statement to the online migration to help with debugging in the next gate run
22:30:21 mriedem i don't see anything obviously wrong
22:30:34 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add confirm_snapshot_based_resize_at_source https://review.openstack.org/637058
22:30:35 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add confirm_snapshot_based_resize conductor RPC method https://review.openstack.org/637075
22:30:35 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add ConfirmResizeTask https://review.openstack.org/637070
22:30:36 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Confirm cross-cell resize from the API https://review.openstack.org/637316
22:30:38 mriedem dansmith: and we've got confirm ^
22:30:39 melwitt thanks for taking a look
22:30:44 mriedem plus functional
22:41:09 melwitt I think I need to take a break
#openstack-nova - 2019-02-16
05:52:14 openstackgerrit Merged openstack/nova master: Cleanup inflight rpc messages between test cases https://review.openstack.org/637233
05:56:34 openstackgerrit Merged openstack/nova master: Plumbing required in servers ViewBuilder to construct partial results https://review.openstack.org/635146
05:56:42 openstackgerrit Merged openstack/nova master: Add context.target_cell() stub to DownCellFixture https://review.openstack.org/637182
11:27:02 openstackgerrit Takashi NATSUME proposed openstack/nova master: Remove mox in unit/network/test_neutronv2.py (22) https://review.openstack.org/576712
15:30:16 openstackgerrit Merged openstack/python-novaclient master: add python 3.7 unit test job https://review.openstack.org/637290
18:55:26 openstackgerrit Merged openstack/nova master: Trim fake_deserialize_context in test_conductor https://review.openstack.org/635859
19:30:13 openstackgerrit Matt Riedemann proposed openstack/nova stable/queens: Ignore VolumeAttachmentNotFound exception in compute.manager https://review.openstack.org/637391
#openstack-nova - 2019-02-17
00:01:33 openstackgerrit Merged openstack/nova master: API microversion 2.69: Handles Down Cells https://review.openstack.org/591657
10:35:54 openstackgerrit Hamdy Khader proposed openstack/os-vif master: Add create_ovs_port field in VIFPortProfileOpenVSwitch profile https://review.openstack.org/636061
#openstack-nova - 2019-02-18
00:39:56 openstackgerrit Artom Lifshitz proposed openstack/nova master: Remove _legacy_dict methods https://review.openstack.org/636210
00:39:57 openstackgerrit Artom Lifshitz proposed openstack/nova master: New objects to transmit NUMA config from dest to source https://review.openstack.org/634827
00:39:57 openstackgerrit Artom Lifshitz proposed openstack/nova master: Add migration param to check_can_live_migrate_destination https://review.openstack.org/634605
00:39:58 openstackgerrit Artom Lifshitz proposed openstack/nova master: [WIP] Use live_migration_claim() to check dest resources https://review.openstack.org/634606
00:39:58 openstackgerrit Artom Lifshitz proposed openstack/nova master: Introduce live_migration_claim() https://review.openstack.org/635669
00:39:59 openstackgerrit Artom Lifshitz proposed openstack/nova master: LM: update NUMA-related XML on the source https://review.openstack.org/635229
00:39:59 openstackgerrit Artom Lifshitz proposed openstack/nova master: LM: Make dest send NUMAMigrateData to the source https://review.openstack.org/634828
01:58:53 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add method to allow reset fields for root bdm in BDM obj https://review.openstack.org/614672
07:06:48 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Bump compute service to indicate attach/detach root volume is supported https://review.openstack.org/614750
07:09:12 openstackgerrit Yongli He proposed openstack/nova master: Adds the server group info into show server detail API. https://review.openstack.org/621474
07:32:35 openstackgerrit Yongli He proposed openstack/nova master: Add server subresouce toplogy API https://review.openstack.org/621476
08:32:27 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add method to allow reset fields for root bdm in BDM obj https://review.openstack.org/614672
08:48:04 openstackgerrit Sagar Waghmare proposed openstack/nova stable/rocky: db sync prints stack-trace on invalid version https://review.openstack.org/637491
09:33:05 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Bump compute service to indicate attach/detach root volume is supported https://review.openstack.org/614750
09:47:09 openstackgerrit Lajos Katona proposed openstack/python-novaclient master: Add support for microversion v2.69 https://review.openstack.org/637234
10:08:12 openstackgerrit Surya Seetharaman proposed openstack/nova master: API microversion 2.69: Handles Down Cells Documentation https://review.openstack.org/635147
11:51:58 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Bump compute service to indicate attach/detach root volume is supported https://review.openstack.org/614750
11:58:16 kashyap stephenfin: On that serial console rat-hole, one quick heads-up:
11:58:46 kashyap I noticed that, with 'virtlogd', zKVM now tries to open *duplicate* console with the _same_ log file:
11:58:49 kashyap 2019-02-15 08:39:52.292+0000: 3015: error :
11:58:51 kashyap virNetClientProgramDispatchError:177 : Cannot open log file:
11:58:54 kashyap '/opt/stack/data/nova/instances/6cabfc83-8056-4282-9918-f4e349bb6169/console.log':
11:58:57 kashyap Device or resource busy
11:59:18 kashyap Because:
11:59:30 kashyap [8 lines of paste]
11:59:31 kashyap Feb 15 08:39:43.093482 ubuntu-xenial-s390x-cloud-zfwcec175-6757 nova-compute[18734]: <console type='pty'>
11:59:35 kashyap Feb 15 08:39:43.093639 ubuntu-xenial-s390x-cloud-zfwcec175-6757 nova-compute[18734]: <log file='/opt/stack/data/nova/instances/35329c2e-d278-4629-87ad-08795d0a68c8/console.log' append='off'/>
11:59:39 kashyap Feb 15 08:39:43.093782 ubuntu-xenial-s390x-cloud-zfwcec175-6757 nova-compute[18734]: <target type='sclplm' port='0'/>

Earlier   Later