Earlier  
Posted Nick Remark
#openstack-nova - 2018-01-15
21:34:26 jaypipes why do we have open-ended dependencies like >=1.7.0 again? :(
21:35:08 sean-k-mooney well we have a catch 22 then
21:35:22 sean-k-mooney the change that increases the upper constriants need this change
21:36:08 sean-k-mooney jaypipes: they are closed by upper-constratints
21:36:29 bauzas sean-k-mooney: before merging the nova change, we should IMHO first bump the min version
21:36:50 bauzas sean-k-mooney: is g-r accepting >= 1.8.0 ?
21:36:59 bauzas if so, just change directly nova requirements.txt
21:37:04 bauzas in the same change
21:37:14 bauzas if not, you need first to modify g-r
21:37:51 sean-k-mooney bauzas: no g-r is os-vif>=1.7.0 u-c is os-vif===1.7.0
21:38:23 sean-k-mooney we cant increase g-r without first increaseing u-c and u-c need that patch
21:42:52 bauzas sean-k-mooney: mmm, looks like a Depends-On change then
21:43:26 sean-k-mooney the depends-on is currently from https://review.openstack.org/#/c/532987/ to https://review.openstack.org/#/c/533766/2
21:43:27 openstackgerrit Artom Lifshitz proposed openstack/nova master: Refactor _build_device_metadata https://review.openstack.org/533804
21:43:27 openstackgerrit Artom Lifshitz proposed openstack/nova master: Consider hostdev devices when building metadata https://review.openstack.org/533805
21:43:35 bauzas sean-k-mooney: I guess the gate is not accepting to upgrade upper-constraints because it tests nova ?
21:43:46 sean-k-mooney yep
21:43:48 bauzas shit
21:44:11 sean-k-mooney we could pin os-vif in nova then increase the upperconstraints then fix the test and bump minium
21:44:26 sean-k-mooney and unpin
21:45:15 bauzas sean-k-mooney: I think we can possibly ask nova to bump os-vif to 1.8.0 and in the meantime have the g-r change that bumps both global-reqs.txt and upper-constraints.txt
21:45:37 bauzas since there will be a depends-on, that should gate correctly
21:46:03 bauzas but I'm not a requirements expert
21:46:05 bauzas tonyb: around ?
21:46:30 bauzas tonyb: questions for a requirements upgrade loop
21:46:49 sean-k-mooney the change that fixes the tests for 1.8 also works on 1.7 because of weird ness with ovo hence why the patch is currently passing zuul without using os-vif 1.8.0
21:48:42 bauzas sean-k-mooney: no I think the nova change uses 1.8.0
21:48:57 bauzas sean-k-mooney: because pypi will give you the last version
21:48:57 sean-k-mooney basically https://github.com/openstack/nova/blob/6a5673a16f8329007880b67a6dbecbe62ac368d7/nova/tests/unit/network/test_os_vif_util.py#L34-L38 means that the extra datapath_type field is discarded
21:49:11 sean-k-mooney bauzas: no i checked locally it was using 1.7.0
21:49:25 sean-k-mooney let me check the test logs
21:50:05 bauzas oh fun, you're right http://logs.openstack.org/66/533766/2/check/openstack-tox-py27/45f0378/job-output.txt.gz#_2018-01-15_20_03_47_088918
21:51:00 sean-k-mooney yep so normally this would be a pain in the ass and we would have to bump the minium but in this case we dont
21:51:35 bauzas :/
21:51:48 bauzas wait
21:52:20 bauzas that works because it's using o.vo so maybe it's just downgrading the version
21:52:28 bauzas I mean the object version
21:52:38 bauzas hence why it works
21:53:38 sean-k-mooney well im adding a new filed to the expected value so use if it downgraded it would discard it but os-vif 1.7.0 does not have explcit down grade logic for 1.8.0 objects
21:54:49 sean-k-mooney bauzas: basically it works because of this https://github.com/openstack/oslo.versionedobjects/blob/1.18.0/oslo_versionedobjects/base.py#L514-L520
21:55:52 sean-k-mooney obj_to_primitive loops over the ovo fields and uses that to generate the dictionary retrunt by obj_to_primitive
21:56:02 bauzas sean-k-mooney: right, it works thanks of the ovo framework, that's it
21:56:07 bauzas soooooo...
21:56:10 sean-k-mooney since datapath_type is not in the 1.7.0 field list it just gets discared
21:56:13 bauzas what to do ?
21:56:17 bauzas I think I'll +2
21:56:26 bauzas it's harmless
21:56:40 bauzas and unblocks things
21:57:39 sean-k-mooney out side of unit tests we have defencive logic which will only populate the datapath_type if it is defined in the vif object
21:58:08 sean-k-mooney and in os-vif we also default to the original hardcoded values if the datapath_type is not set in the profile
21:58:16 sean-k-mooney so in real code this is safe
21:58:43 bauzas right
21:59:53 sean-k-mooney anyway its almost 10 so its 2 hours past when i should have gone home. catch ye tommorow o/
22:00:29 bauzas \o
22:01:02 openstackgerrit Jay Pipes proposed openstack/nova master: placement: _get_trees_matching_all() https://review.openstack.org/531512
22:01:02 openstackgerrit Jay Pipes proposed openstack/nova master: add tests for _get_trees_matching_all() with trait https://review.openstack.org/531899
22:22:49 openstackgerrit Eric Fried proposed openstack/nova master: SchedulerReportClient.set_traits_for_provider https://review.openstack.org/532564
22:22:50 openstackgerrit Eric Fried proposed openstack/nova master: Track associated sharing RPs in report client https://review.openstack.org/526539
22:22:50 openstackgerrit Eric Fried proposed openstack/nova master: Raise on API errors getting aggregates/traits https://review.openstack.org/526540
22:22:51 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.populate_from_iterable https://review.openstack.org/520756
22:22:51 openstackgerrit Eric Fried proposed openstack/nova master: Track tree-associated providers in report client https://review.openstack.org/526541
22:22:52 openstackgerrit Eric Fried proposed openstack/nova master: Scheduler[Report]Client.get_provider_tree https://review.openstack.org/521098
22:22:52 openstackgerrit Eric Fried proposed openstack/nova master: WIP: ComputeDriver.update_provider_tree() https://review.openstack.org/521187
22:22:53 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.snapshot => ProviderSnapshot https://review.openstack.org/533244
22:22:53 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker https://review.openstack.org/520246
22:22:54 openstackgerrit Eric Fried proposed openstack/nova master: SchedulerReportClient.set_aggregates_for_provider https://review.openstack.org/533808
22:23:41 efried jaypipes I removed that 'generation' param in the snapshot patch (where I also cleaned up the other _Provider-accessing cheats).
22:23:57 efried jaypipes If that's too messy for ya, I'll reshuffle the whole series.
22:27:06 tonyb bauzas: you need 1 review to bump u-c; a second that bumps g-r and have the nova change gate on that 2nd chnage ... which I think is basically what you said
22:34:57 bauzas tonyb: the problem is that it seems the u-c change is gated by nova which needs the test modification
22:35:04 bauzas as per sean-k-mooney
22:38:04 efried jaypipes I'm not convinced that ProviderTree.delta(other_provider_tree) is the way to go, because whatever that guy returns is going to be an ugly blob of unstructured data. I was thinking to do the diff-and-update logic in a single method either in report client or resource tracker.
23:20:42 jaypipes efried: I'd be fine with that (single method diff-and-update thing)
23:20:53 efried jaypipes coo, working on it.
23:20:56 jaypipes efried: and will re-review your bottom series tomrrow morn.
23:21:01 efried ack
23:21:06 jaypipes efried: signing off for the night.
23:21:11 efried sleep tight
23:21:16 jaypipes danke
23:25:10 openstackgerrit Chris Dent proposed openstack/nova master: WIP: Refactor WSGI apps and utils to limit imports https://review.openstack.org/533797
23:27:24 openstackgerrit Sylvain Bauza proposed openstack/nova master: WIP: libvirt: pass the mdevs when rebooting the guest https://review.openstack.org/533818
23:29:56 gmann ameeda: sure, ll check that
23:30:59 openstackgerrit Eric Fried proposed openstack/nova master: ComputeDriver.update_provider_tree() https://review.openstack.org/521187
23:30:59 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.snapshot => ProviderSnapshot https://review.openstack.org/533244
23:31:00 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker https://review.openstack.org/520246
23:31:00 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Scheduler[Report]Client.update_from_provider_tree https://review.openstack.org/533821
#openstack-nova - 2018-01-16
00:40:17 openstackgerrit melanie witt proposed openstack/nova master: Stop globally caching host states in scheduler HostManager https://review.openstack.org/533371
00:57:32 tonyb bauzas: Oh then you need a verion of noce that works with old and new versions of os-vif
01:05:52 openstackgerrit Jackie Truong proposed openstack/nova master: Implement certificate_utils https://review.openstack.org/479949
01:24:56 openstackgerrit Chen Hanxiao proposed openstack/nova master: libvirt: guest: introduce blockStats instead of domain.blockStats https://review.openstack.org/526833
01:46:51 openstackgerrit Jackie Truong proposed openstack/python-novaclient master: Microversion 2.60 - Add trusted_image_certificates https://review.openstack.org/500396
02:06:45 openstackgerrit Takashi NATSUME proposed openstack/python-novaclient master: Microversion 2.60 - List/Show all server migration types https://review.openstack.org/430839
03:36:37 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
03:43:07 openstackgerrit OpenStack Proposal Bot proposed openstack/os-vif master: Updated from global requirements https://review.openstack.org/533918
03:55:53 openstackgerrit Jackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API https://review.openstack.org/486204
04:19:59 openstackgerrit Takashi NATSUME proposed openstack/nova master: Transform instance.resize_confirm notification https://review.openstack.org/482557
04:20:21 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
04:20:32 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
04:25:43 openstackgerrit OpenStack Proposal Bot proposed openstack/os-traits master: Updated from global requirements https://review.openstack.org/533994
04:25:51 openstackgerrit OpenStack Proposal Bot proposed openstack/os-vif master: Updated from global requirements https://review.openstack.org/533918

Earlier   Later