Earlier  
Posted Nick Remark
#openstack-nova - 2019-01-31
14:09:11 mriedem jangutter: do you want to do follow up for these nits or respin? https://review.openstack.org/#/c/634218/
14:09:32 mriedem stephenfin: jaypipes: +2 on the vrouter offload change https://review.openstack.org/#/c/572082/
14:09:46 jangutter mriedem: respin is perfectly fine for me
14:10:03 mriedem jangutter: and when do we consider the bp complete? when ^ merges or https://review.openstack.org/#/c/634218/ ?
14:11:28 sean-k-mooney mriedem: since your looking at that code stephenfin has a related change that that you might want to take a look at
14:11:30 sean-k-mooney https://review.openstack.org/#/c/565471/7
14:11:46 jangutter mriedem: the last functional code is on https://review.openstack.org/#/c/572082/ and anything else is just cleanup, IMHO.
14:13:03 jangutter mriedem: https://review.openstack.org/#/c/634218/ is the last patch for nova (Stein) on bp/generic-os-vif-offloads, with one more coming for os-vif.
14:13:24 mriedem ah ok
14:21:18 mriedem tssurya: do you know if theodoros needs this change or should it be abandoned? https://review.openstack.org/#/c/566470/
14:25:25 bauzas mriedem: FWIW, I'm looking at comments on https://review.openstack.org/#/c/599208/12/
14:25:33 bauzas I finally have time now to work on it
14:26:07 mriedem bauzas: ok, because i'm really losing steam on caring about that
14:26:24 bauzas mriedem: okay, I'll then see the comments and try to provide a new revision
14:33:09 mriedem jroll: is https://blueprints.launchpad.net/nova/+spec/ironic-conductor-groups going to happen in stein or get deferred to train?
15:00:20 ShilpaSD mriedem: Hi
15:01:39 mriedem mnaser: you might have an opinion on http://lists.openstack.org/pipermail/openstack-discuss/2019-January/002267.html which i'm trying to unblock
15:01:41 mriedem ShilpaSD: hi
15:02:02 ShilpaSD mriedem: https://github.com/openstack/python-novaclient/blob/master/novaclient/tests/unit/fixture_data/hypervisors.py#L40
15:02:21 mnaser mriedem: click
15:02:25 ShilpaSD here when first time get will call i want data mentioned as 'get_os_hypervisors '
15:02:32 ShilpaSD but want to call same method again with different result
15:02:37 ShilpaSD like side_effects
15:02:52 ShilpaSD how i can fit this requirement in fixtures here?
15:03:17 ShilpaSD mriedem:means more precisely, get_hypervisors() calling two times, and at second time i want different result
15:08:37 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Move retry from _update to _update_to_placement https://review.openstack.org/634252
15:19:13 openstackgerrit Jan Gutter proposed openstack/nova master: Duplicate os-vif datapath offload metadata https://review.openstack.org/634218
15:19:14 openstackgerrit Jan Gutter proposed openstack/nova master: Collect duplicate codepaths in os_vif_util https://review.openstack.org/634219
15:21:51 sean-k-mooney ShilpaSD: you can do that by makeing the side effect a lamda that is a coroutie the yeild different results on ech execution
15:22:55 sean-k-mooney ShilpaSD: im pretty sure we do this in the test in other places ill see if i can get an example. there is a fairly simple way to do it
15:23:57 ShilpaSD sean-k-money: thanks will check that, example will be great help
15:24:05 mriedem or make it conditional like here https://github.com/openstack/python-novaclient/blob/master/novaclient/tests/unit/fixture_data/hypervisors.py#L129
15:24:14 mriedem or sublcass and overwrite that mock
15:24:17 mriedem *subclass
15:25:47 ShilpaSD mriedem: here based on API version url is different, so its conditional
15:26:00 ShilpaSD will check option of subclass
15:26:02 sean-k-mooney ShilpaSD: basically all you need to do is make the fuction that is set as the side effect stateful in some way so that it can yeild idfferent results
15:27:31 ShilpaSD sean-k-money: will check how i can do this
15:30:44 sean-k-mooney ShilpaSD: i think something like this will work
15:30:47 sean-k-mooney def side_effect_generator(items):
15:30:49 sean-k-mooney for x in items:
15:30:51 sean-k-mooney yeild x
15:30:53 sean-k-mooney
15:30:55 sean-k-mooney my_mock.side_effect = side_effect_generator
15:32:06 sean-k-mooney actully more like this
15:32:10 sean-k-mooney def side_effect_generator(items):
15:32:12 sean-k-mooney for x in items:
15:32:14 sean-k-mooney yeild x
15:32:16 sean-k-mooney results = [suff, more_stuff]
15:32:18 sean-k-mooney my_mock.side_effect = side_effect_generator(results)
15:32:33 sean-k-mooney ShilpaSD: does that makes sense ^
15:32:38 ShilpaSD sean-k-mooney: will try and get back to you
15:34:39 sean-k-mooney cool basically we are usign the fact that corouties/generator fuction will maintain there internal state so you can pass a set of results and everytime it gets invoke it will advance the genortor one step thoguh the list of results
15:41:21 ShilpaSD sean-k-mooney: ok
15:43:35 jangutter why do I, even when working on simple things, always end up with a minimum of 10 gerrit tabs open? (only about 3 unique reviews in them). Should I seek medical attention?
15:44:36 sean-k-mooney if you use chome you should maybe seek more ram for you laptop
15:44:41 openstackgerrit Eric Fried proposed openstack/os-resource-classes master: Add normalize_name utility https://review.openstack.org/634258
16:16:34 openstackgerrit Jack Ding proposed openstack/nova master: Flavor extra spec and image properties validation https://review.openstack.org/620706
16:17:12 openstackgerrit Jack Ding proposed openstack/nova master: Correct instance port binding for rebuilds https://review.openstack.org/603844
16:19:51 openstackgerrit Jack Ding proposed openstack/nova master: Improve libvirt image and snapshot handling https://review.openstack.org/616692
16:20:31 openstackgerrit Eric Fried proposed openstack/os-resource-classes master: Add normalize_name utility https://review.openstack.org/634258
16:20:32 openstackgerrit Jack Ding proposed openstack/nova master: Preserve UEFI NVRAM variable store https://review.openstack.org/621646
17:25:37 sean-k-mooney jaypipes: mriedem: stephenfin: looks like the ci is finally happy with https://review.openstack.org/#/c/626381 if yet have time to take a look.
17:25:38 openstackgerrit Chris Dent proposed openstack/nova master: Switch to using os-resource-classes https://review.openstack.org/628278
17:26:34 mriedem in the middle of something but i'll leave a tab open
17:27:23 sean-k-mooney no worries.
18:17:17 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add PrepResizeAtDestTask https://review.openstack.org/627890
18:17:17 openstackgerrit Matt Riedemann proposed openstack/nova master: Add prep_snapshot_based_resize_at_dest compute method https://review.openstack.org/633293
18:17:18 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Add PrepResizeAtSourceTask https://review.openstack.org/627891
18:19:00 openstackgerrit Eric Fried proposed openstack/nova master: Move retry from _update to _update_to_placement https://review.openstack.org/634252
19:40:44 mriedem sean-k-mooney: comments in https://review.openstack.org/#/c/626381/
19:40:58 mriedem fix is good, just needs polish
19:41:10 sean-k-mooney mriedem: thanks
19:41:30 sean-k-mooney ill fix it up today/tommorow
19:45:05 sean-k-mooney im just leavening of the day but ya all the comments make sense to me
19:53:41 mriedem dansmith: you want to send this backport on (it's your fix) https://review.openstack.org/#/c/633086/
19:55:00 dansmith yeah
20:05:55 openstackgerrit Hang Yang proposed openstack/nova stable/queens: Fix port dns_name reset https://review.openstack.org/633807
20:39:05 openstackgerrit Hang Yang proposed openstack/nova stable/queens: Fix port dns_name reset https://review.openstack.org/633807
20:40:41 openstackgerrit Hang Yang proposed openstack/nova stable/queens: Fix port dns_name reset https://review.openstack.org/633807
20:45:19 mriedem nova meeting in 15 minutes
21:19:42 lbragstad mriedem when is nova specification freeze?
21:19:50 lbragstad or did that already happen?
21:20:48 edleafe lbragstad: that was in early January
21:20:56 mriedem lbragstad: jan 10
21:21:19 lbragstad aha - gotcha, thanks edleafe and mriedem
21:21:39 mriedem lbragstad: i assume you're asking because of https://review.openstack.org/#/c/602201/
21:22:16 mriedem which seemed to enter the summit blackhole and was vaporized
21:22:34 lbragstad correct
21:22:52 mriedem sounds like you need a pop up team mr
21:23:00 mriedem a formal one anyway
21:23:02 lbragstad :)
21:23:25 mnaser someone actually reads [tc] tagged ml posts?
21:23:37 lbragstad i'll see if i can catch johnthetubaguy or jaypipes sometime so we can sync on it at least
21:23:47 lbragstad but i assume the ship has said for stein
21:23:52 lbragstad sailed*
21:23:55 mriedem mnaser: i had a whole reply written and everything
21:23:56 smcginnis mriedem: Glance is very actively battling the subunit parser issues right now too.
21:24:06 mriedem smcginnis: ok i knew it hit glance as well
21:24:25 mriedem i'm hoping one of our fine contributors will pick up the investigation as to what changes are needed in nova for that subnit thing

Earlier   Later