Earlier  
Posted Nick Remark
#openstack-nova - 2018-04-17
22:01:59 mriedem cfriesen: yes, which they both will for the non-deleted services
22:02:13 mriedem because host1.start() creates a new service record with a uuid
22:02:25 mriedem simulating that you've upgraded to pike and started that compute host with pike code
22:02:38 mriedem after deleting the "newton" compute service / node which didn't have the uuid set
22:03:53 cfriesen mriedem: right, I need the mutated context to read the deleted one.
22:04:20 openstackgerrit Jackie Truong proposed openstack/python-novaclient master: Microversion 2.62 - Add trusted_image_certificates https://review.openstack.org/500396
22:06:26 mriedem cfriesen: only other thing i could think of is like melwitt was saying yesterday and the backref joinedload on the services table is getting lucky and pulling the non-deleted service when listing instances
22:06:49 mriedem this https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L103
22:07:03 cfriesen mriedem: the deleted service in the DB has a uuid
22:07:30 melwitt mriedem, cfriesen: I was wrong about that. the instance.services is all services whose host match the instance, and it will try to add a UUID to both of them, so should reliably fail I think
22:08:46 mriedem cfriesen: ok i don't know how that is per https://review.openstack.org/#/c/562041/2/nova/tests/functional/regressions/test_bug_1764556.py@149
22:09:09 mriedem cfriesen: i guess there needs to be an assertion after the 2nd _migrate_server that the deleted service still doesn't have a uuid
22:10:48 cfriesen mriedem: if I set the uuid to None right before the final line then it fails
22:12:29 melwitt something in the migrate is loading instance.services and generating UUID I guess?
22:12:44 cfriesen seems like...I'm guessing wait_for_state_change()
22:15:39 mriedem idk, at what point is the test mocked out so hard that it masks whether or not we have a bug?
22:15:45 mriedem or that i trust the recreate of it?
22:17:30 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add functional recreate test for bug 1764556 https://review.openstack.org/562041
22:17:30 openstack bug 1764556 in OpenStack Compute (nova) ""nova list" fails with exception.ServiceNotFound if service is deleted and has no UUID" [Undecided,New] https://launchpad.net/bugs/1764556
22:17:30 openstackgerrit Matt Riedemann proposed openstack/nova master: DNM: Revert "Lazy-load instance attributes with read_deleted=yes" https://review.openstack.org/562051
22:17:30 mriedem here are some updates, but i've got to run - the 2nd migrate is indeed migrating the deleted service record
22:18:21 melwitt yeah, wouldn't want to mock it. I guess have to determine what exactly is the func test doing differently than the devstack repro and see if we make it the same as the actions needed with devstack
22:19:15 cfriesen melwitt: I wonder if we need to do the delete/migrate/recreate/migrate first and then do the upgrade to pike
22:19:27 cfriesen so that the migrate happens without uuids on the service
22:20:24 SamYaple looking for love in getting the +3 to get this backport merged. https://review.openstack.org/#/c/560088/
22:21:07 melwitt looking for love in all the wrong places
22:21:27 melwitt dansmith might be able to help you with the backport review ^
22:21:56 SamYaple story of my life melwitt
22:22:02 melwitt heh
22:22:05 cfriesen melwitt: guess not, my bug report specifically says they added the new compute was added after the upgrade
22:22:38 melwitt cfriesen: yeah, I don't yet understand how we're simulating an upgrade in the func test, that's probably what's messing it up
22:22:52 melwitt (I haven't looked in detail because I'm mired in other stuff right now)
22:23:01 cfriesen melwitt: we're simulating the upgrade by just deleting the uuid on the service
22:23:12 melwitt k, that makes sense
22:23:57 cfriesen melwitt: mriedem_away: I suspect I know what's going on....initially we didn't have the other two fixes from stable/pike so I suspect that the migration after the upgrade wouldn't have updated the UUID, thus leaving the DB in the wonky state.
22:24:25 cfriesen melwitt: mriedem_away: I bet that upgrading to stable/pike probably *would* update the service UUID on the migration.
22:25:09 melwitt cfriesen: but earlier didn't you recreate the bug in devstack with the two fixes already applied?
22:25:41 openstackgerrit Merged openstack/nova master: Remove redundant _do_check_can_live_migrate_destination https://review.openstack.org/561948
22:26:18 cfriesen melwitt: yes, by manually editing the DB to make an entry without the UUID. and then trying to list servers. I didn't do the migration step.
22:26:30 melwitt ah
22:26:31 cfriesen melwitt: I suspect that the migration step would update the UUID.
22:26:39 melwitt I see
22:27:05 cfriesen if I'm right, then anyone upgrading to current stable/pike wouldn't see this
22:27:13 melwitt yeah
22:34:28 dansmith melwitt: I think SamYaple means "dansmith mergin' my stuff in a timely manner is the story of my life"
22:34:46 melwitt :)
22:37:29 SamYaple dansmith: <3
22:40:54 openstackgerrit Lee Yarwood proposed openstack/nova master: WIP Add regression test for bug #1764883 https://review.openstack.org/562072
22:40:54 openstack bug 1764883 in OpenStack Compute (nova) "Evacuation fails if the source host returns while the migration is still in progress" [Undecided,New] https://launchpad.net/bugs/1764883
22:41:17 lyarwood dansmith / melwitt ^ FYI, hopefully that's somewhere near what we need
22:41:30 melwitt ack
22:42:59 melwitt lyarwood: also, reminder this thursday is r-1 and we're gonna cut releases for stable branches
22:45:11 lyarwood melwitt: ah cool, thanks for the heads up
22:46:04 openstackgerrit Lee Yarwood proposed openstack/nova stable/queens: libvirt: Report the allocated size of preallocated file based disks https://review.openstack.org/562074
22:51:43 openstackgerrit Merged openstack/nova master: Deduplicate notification samples Rocky - 4 https://review.openstack.org/560731
22:51:51 openstackgerrit Merged openstack/nova master: Deduplicate notification samples Rocky - 5 https://review.openstack.org/560734
22:52:13 openstackgerrit Lee Yarwood proposed openstack/nova stable/pike: libvirt: Report the allocated size of preallocated file based disks https://review.openstack.org/562077
22:52:35 openstackgerrit Lee Yarwood proposed openstack/nova stable/ocata: libvirt: Report the allocated size of preallocated file based disks https://review.openstack.org/562078
22:55:46 openstackgerrit Lee Yarwood proposed openstack/nova stable/ocata: libvirt: Block swap volume attempts with encrypted volumes prior to Queens https://review.openstack.org/561604
23:55:39 openstackgerrit Takashi NATSUME proposed openstack/python-novaclient master: Microversion 2.62 - List/Show all server migration types https://review.openstack.org/430839
#openstack-nova - 2018-04-18
00:01:36 openstackgerrit Takashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vmops.py https://review.openstack.org/561846
00:01:45 openstackgerrit Takashi NATSUME proposed openstack/nova master: Remove mox in unit/virt/xenapi/test_vmops.py https://review.openstack.org/561846
00:54:12 openstackgerrit Tetsuro Nakamura proposed openstack/nova master: Support nested alloc cands without shared RPs https://review.openstack.org/561842
00:54:56 openstackgerrit Merged openstack/nova stable/ocata: Fix wrapping of neutron forbidden error https://review.openstack.org/560088
01:01:06 Kevin_Zheng melwitt Thanks for the info, I will fix the tests ASAP
01:45:18 openstackgerrit Merged openstack/nova master: Deduplicate notification samples Rocky - 6 https://review.openstack.org/560737
01:49:02 naichuans jaypipes: Hi, Jay, for vGPU nested resource provider, should we just keep the old rps when the hypervisor return no information about them?
03:06:33 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add request_id to instance action notifications https://review.openstack.org/553288
03:39:54 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Send out notification when instance metadata updated https://review.openstack.org/558140
03:48:02 openstackgerrit Zhenyu Zheng proposed openstack/nova master: nova-manage db archive_deleted_rows is not multi-cell aware https://review.openstack.org/507486
03:54:36 openstackgerrit Jianghua Wang proposed openstack/nova master: XenAPI: define a new image handler to use vdi streaming https://review.openstack.org/486475
04:56:55 openstackgerrit Merged openstack/nova master: Remove placement config check https://review.openstack.org/558089
05:29:34 openstackgerrit jichenjc proposed openstack/nova master: Fix docs for confirmResize action https://review.openstack.org/562062
08:13:51 openstackgerrit sahid proposed openstack/nova master: compute: introduce cpu_shared_set option https://review.openstack.org/561912
08:13:52 openstackgerrit sahid proposed openstack/nova master: libvirt: always pass emulator threads policy https://review.openstack.org/561913
08:13:53 openstackgerrit sahid proposed openstack/nova master: libvirt: place emulator threads on CONF.cpu_shared_set https://review.openstack.org/510897
08:20:18 openstackgerrit Tetsuro Nakamura proposed openstack/nova-specs master: Return resources of entire trees in Placement https://review.openstack.org/559466
08:21:32 openstackgerrit Florian Haas proposed openstack/nova stable/ocata: Increase cpu time for image conversion https://review.openstack.org/562145
09:01:01 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Add request_id to instance action notifications https://review.openstack.org/553288
09:04:54 openstackgerrit jichenjc proposed openstack/nova-specs master: Add additional information for z/VM spec. https://review.openstack.org/562154
09:05:33 openstackgerrit jichenjc proposed openstack/nova master: mv generate_glance_url to get_image_endpoint_url https://review.openstack.org/511400
09:06:20 openstackgerrit jichenjc proposed openstack/nova-specs master: Add additional information for z/VM spec. https://review.openstack.org/562154
09:13:14 openstackgerrit jichenjc proposed openstack/nova-specs master: Add additional information for z/VM spec. https://review.openstack.org/562154
09:15:16 openstackgerrit Naichuan Sun proposed openstack/nova master: xenapi: Use XAPI pool instead of aggregate pool for shared SR migration https://review.openstack.org/554154
09:27:33 openstackgerrit jichenjc proposed openstack/nova-specs master: Add additional information for z/VM spec. https://review.openstack.org/562154
09:57:39 openstackgerrit sahid proposed openstack/nova master: compute: introduce cpu_shared_set option https://review.openstack.org/561912
09:57:40 openstackgerrit sahid proposed openstack/nova master: libvirt: always pass emulator threads policy https://review.openstack.org/561913
09:57:41 openstackgerrit sahid proposed openstack/nova master: libvirt: place emulator threads on CONF.cpu_shared_set https://review.openstack.org/510897
10:05:23 stephenfin bauzas: Could you take a look at https://review.openstack.org/#/c/379525 today?
10:05:38 bauzas stephenfin: ack
10:13:51 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION for "Rocky" https://review.openstack.org/558783
10:13:52 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Drop MIN_{LIBVIRT_KVM,QEMU}_S390_VERSION https://review.openstack.org/560363
10:13:53 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Drop MIN_LIBVIRT_KVM_PPC64_VERSION https://review.openstack.org/560364
10:13:54 openstackgerrit Kashyap Chamarthy proposed openstack/nova master: libvirt: Drop MIN_LIBVIRT_VIRTUOZZO_VERSION https://review.openstack.org/560365
10:26:08 openstackgerrit Florian Haas proposed openstack/nova stable/ocata: Increase cpu time for image conversion https://review.openstack.org/562145
10:31:31 openstackgerrit Naichuan Sun proposed openstack/nova master: xenapi(N-R-P): Add API to support vgpu resource provider create https://review.openstack.org/520313
10:32:37 openstackgerrit Yikun Jiang (Kero) proposed openstack/nova master: Add rules column to instance_group_policy table. https://review.openstack.org/560832
10:32:38 openstackgerrit Yikun Jiang (Kero) proposed openstack/nova master: WIP: complex policy https://review.openstack.org/553776
10:34:15 kashyap lyarwood: Is this Ocata (trivial) backport still acceptable under stable branch policies -- https://review.openstack.org/#/c/562145/
10:36:26 kashyap It should be accepted & solves a real problem.

Earlier   Later