Earlier  
Posted Nick Remark
#openstack-nova - 2018-07-18
21:15:01 _ix I believe it was the case where a live migration was ongoing, and the targeted compute's services were unavailable or became unavailable.
21:15:24 _ix From a user's perspective, there doesn't seem to be a way to back out of the migration.
21:15:40 sean-k-mooney _ix so the vm migrated but the migration timeded out becase the node became unableale?
21:16:23 _ix The vm stayed on the source but received allocation on the target.
21:16:24 sean-k-mooney _ix: well migration is an admin action so "end users" should not be aware of them in general
21:16:33 _ix That's a fair point.
21:17:10 sean-k-mooney mriedem: jaypipes efried do you know how to clean up the stale allocation?
21:17:29 _ix How can I force the issue? I've manually added allocations records to reflect reality in the nova_api.allocations table and marked the failed migration as deleted in nova.migrations.
21:17:51 efried sean-k-mooney: I haven't been following the conversation. You want to manually remove an allocation from placement?
21:18:02 _ix Yes please.
21:18:15 sean-k-mooney efried: live migration failed but allocation on dest remain
21:18:32 efried mriedem is the osc-placement expert. I can only tell you how to do it programmatically :)
21:19:48 _ix It's an open bug, but it's such an edge case, I totally understand why this might lead to something out-of-state: https://bugs.launchpad.net/nova/+bug/1753676
21:19:48 openstack Launchpad bug 1753676 in OpenStack Compute (nova) "Live migration not working as Expected when Restarting nova-compute service while migration from source node" [Undecided,Confirmed]
21:20:23 _ix I'm pleased to report live migrations tend to work quite well and fast, I might add.
21:20:34 sean-k-mooney _ix: ya migration in pike was kind of buggy. dansmith was working on fixing that i think
21:20:56 mriedem yeah osc-placement
21:21:16 mriedem https://docs.openstack.org/osc-placement/latest/index.html
21:21:29 mriedem https://docs.openstack.org/osc-placement/latest/cli/index.html#resource-provider-allocation-set specifically
21:21:46 _ix mriedem: Thanks!
21:21:51 mriedem if the consumer (instance in this case) shows having allocations against multiple resource providers (compute nodes), then determine the one you want to keep and the one you want to remove, and update the allocations
21:22:04 mriedem you can view the allocations with https://docs.openstack.org/osc-placement/latest/cli/index.html#resource-provider-aggregate-list
21:22:07 mriedem oops
21:22:12 sean-k-mooney mriedem: would the consumer not be the migration in this case
21:22:13 mriedem https://docs.openstack.org/osc-placement/latest/cli/index.html#resource-provider-allocation-show
21:22:18 mriedem sean-k-mooney: not in pike
21:22:25 sean-k-mooney oh ok
21:22:27 mriedem that change happened in queens
21:22:41 mriedem https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/migration-allocations.html
21:22:55 mriedem also, pike GA had a few bugs with cleaning up allocations during failures,
21:23:01 mriedem which we fixed in stable point releases of pike
21:23:07 mriedem _ix: which version of pike are you running? latest stable i hope
21:23:18 mriedem https://docs.openstack.org/releasenotes/nova/pike.html
21:24:20 _ix mriedem: Latest stable, I believe.
21:24:42 _ix I must be missing a client. What enables the placement hierarchy?
21:25:11 mriedem _ix: https://pypi.org/project/osc-placement/
21:25:26 mriedem it's an osc plugin
21:25:56 _ix I wish I were more familiar. I'll do some reading. Thanks very much!
21:27:47 mriedem np
21:28:21 mriedem placement is a new big required thing to a lot of people in pike so it's ok to ask operational questions here
21:36:56 openstackgerrit Matt Riedemann proposed openstack/nova master: Add regression test for bug 1781710 https://review.openstack.org/583339
21:36:58 openstack bug 1781710 in OpenStack Compute (nova) "ServersOnMultiNodesTest.test_create_server_with_scheduler_hint_group_anti_affinity failing with "Servers are on the same host"" [High,Fix released] https://launchpad.net/bugs/1781710 - Assigned to Matt Riedemann (mriedem)
21:36:59 openstackgerrit Matt Riedemann proposed openstack/nova master: Update RequestSpec.instance_uuid during scheduling https://review.openstack.org/583347
21:37:03 mriedem jaypipes: melwitt: sean-k-mooney: now rebased on top of the regression test which also helped me find some other places i needed to touch up
21:38:47 _ix So... if a consumer is provided for by.... four providers, that probably isn't so good.
21:39:41 mriedem _ix: nope
21:40:01 mriedem in case it's not clear, you can correlate the provider id to hypervisor ids
21:40:03 mriedem using nova hypervisor-list
21:40:10 sean-k-mooney efried: mriedem pull request sent https://github.com/mfcloud/python-zvm-sdk/pull/7
21:40:27 openstackgerrit Matt Riedemann proposed openstack/nova master: Update RequestSpec.instance_uuid during scheduling https://review.openstack.org/583347
21:41:30 mriedem sean-k-mooney: update the setup.py too
21:42:14 sean-k-mooney mriedem: oh ya will do
21:44:50 _ix I've probably spent too much time looking the through the database entries trying to figure out how this was supposed to work. Perhaps I don't see the forest for the trees, but I would guess that the consumers aren't only instances. Is that the case?
21:48:45 sean-k-mooney mriedem: i just did a force push to my forked copy and the pull request updated. im not sure if i like this or now but done
21:50:21 jaypipes mriedem: ack. ++
21:53:52 melwitt ack
21:55:12 efried _ix: In pike they are; in more recent releases we introduced a special consumer to represent migrations so we didn't have to double up instance allocs like you're seeing.
22:04:17 openstackgerrit sean mooney proposed openstack/os-vif master: add upper_constraints support https://review.openstack.org/583582
22:09:26 sean-k-mooney efried: addressed you comments and changed to CONSTRAINTS_OPT
22:12:25 sean-k-mooney anyway its 11 so i should proably log off
22:12:41 sean-k-mooney i have missed working upstream
22:17:58 sean-k-mooney efried: stephenfin melwitt mriedem before i go. if we merge https://review.openstack.org/#/c/583582 today ill update https://review.openstack.org/#/c/583319 in the morning and os-vif will be updated for rocky. if their are any other change ye want ill adress them in the morning
22:50:10 melwitt sean-k-mooney: ack
23:33:38 openstackgerrit Merged openstack/nova master: [placement] Add gabbi coverage for an inventory change https://review.openstack.org/583642
23:33:49 openstackgerrit Merged openstack/nova master: [placement] Add gabbi coverage for inv of missing rp https://review.openstack.org/583643
23:33:57 openstackgerrit Merged openstack/nova master: [placement] cover bad content-length header https://review.openstack.org/583644
#openstack-nova - 2018-07-19
01:06:11 openstackgerrit Matt Riedemann proposed openstack/nova master: Use consumer generation in _heal_allocations_for_instance https://review.openstack.org/577905
01:39:09 openstackgerrit Merged openstack/python-novaclient master: Microversion 2.64 - Use new format policy in server group https://review.openstack.org/578261
01:52:44 openstackgerrit Takashi NATSUME proposed openstack/nova master: Making consistent used of GiB and MiB in API ref https://review.openstack.org/559985
02:19:40 mriedem if someone is looking for something to investigate today https://bugs.launchpad.net/nova/+bug/1782468
02:19:40 openstack Launchpad bug 1782468 in OpenStack Compute (nova) "driver notes in feature support matrix don't render" [Medium,Confirmed]
02:21:09 openstackgerrit Matt Riedemann proposed openstack/nova master: Add encrypted volume support to feature matrix docs https://review.openstack.org/570255
02:23:56 openstackgerrit Matt Riedemann proposed openstack/nova master: Remove support for /os-floating-ips-bulk REST API https://review.openstack.org/582912
02:23:57 openstackgerrit Matt Riedemann proposed openstack/nova master: Remove support for /os-floating-ip-dns REST API https://review.openstack.org/582943
02:23:58 openstackgerrit Matt Riedemann proposed openstack/nova master: Remove "DEPRECATED" tag from Obsolete APIs https://review.openstack.org/583092
02:42:18 openstackgerrit fupingxie proposed openstack/nova master: Delete allocations when it is re-allocated https://review.openstack.org/582899
04:20:46 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Use Tempest scenario job to run all scenario tests https://review.openstack.org/583840
04:35:22 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Use Tempest scenario job to run all scenario tests https://review.openstack.org/583840
05:13:24 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Fix ServerMigrationSampleJsonTests to use sample files from version dir https://review.openstack.org/582702
05:47:39 openstackgerrit fupingxie proposed openstack/nova master: Delete allocations when it is re-allocated https://review.openstack.org/582899
06:33:40 openstackgerrit Chen proposed openstack/python-novaclient master: Fix inconsistency https://review.openstack.org/572770
06:35:12 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Merge server create for config_drive extension https://review.openstack.org/583538
06:38:45 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Merge server create for bdm extensions https://review.openstack.org/583559
06:42:54 openstackgerrit Chen proposed openstack/python-novaclient master: Fix inconsistency https://review.openstack.org/572770
06:51:11 openstackgerrit Chen proposed openstack/nova master: Fix soft deleting vm fails after "nova resize" vm https://review.openstack.org/546920
07:48:25 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Merge server create for bdm extensions https://review.openstack.org/583559
08:20:44 openstackgerrit Ghanshyam Mann proposed openstack/nova master: Remove stevedore extensions server_create method https://review.openstack.org/583882
08:22:58 openstackgerrit Stephen Finucane proposed openstack/os-vif master: add upper_constraints support https://review.openstack.org/583582
08:25:33 openstackgerrit fupingxie proposed openstack/nova master: Delete allocations when it is re-allocated https://review.openstack.org/582899
08:31:21 openstackgerrit sahid proposed openstack/nova master: hardware: fix memory check usage for small/large pages https://review.openstack.org/532168
08:40:41 openstackgerrit Vishakha Agarwal proposed openstack/nova master: 'Updated_at' is NULL when show aggregate info https://review.openstack.org/580271
09:17:20 openstackgerrit Lei Zhang proposed openstack/nova master: Add method to get cpu traits https://review.openstack.org/560317
09:17:21 openstackgerrit Lei Zhang proposed openstack/nova master: Docs for reporting CPU traits feature https://review.openstack.org/582902
09:46:04 openstackgerrit Chris Dent proposed openstack/nova master: [placement] disallow additional fiels in allocations https://review.openstack.org/583907
09:46:30 openstackgerrit Chris Dent proposed openstack/nova master: [placement] disallow additional fields in allocations https://review.openstack.org/583907
10:57:35 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add regression test for bug 1781880 https://review.openstack.org/583927
10:57:36 openstack bug 1781880 in OpenStack Compute (nova) "nova service-list for new compute service causes TypeError with servicegroup_driver mc " [Medium,Triaged] https://launchpad.net/bugs/1781880 - Assigned to Zhenyu Zheng (zhengzhenyu)
11:03:07 openstackgerrit Lei Zhang proposed openstack/nova master: Add method to get cpu traits https://review.openstack.org/560317
11:12:03 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add regression test for bug 1781880 https://review.openstack.org/583927
11:12:04 openstack bug 1781880 in OpenStack Compute (nova) "nova service-list for new compute service causes TypeError with servicegroup_driver mc " [Medium,Triaged] https://launchpad.net/bugs/1781880 - Assigned to Zhenyu Zheng (zhengzhenyu)

Earlier   Later