Thursday, 2017-08-24

*** lukepatrick has quit IRC00:21
*** dixiaoli has joined #openstack-meeting-500:55
*** dixiaoli has quit IRC00:56
*** dixiaoli has joined #openstack-meeting-500:56
*** ramishra has quit IRC01:19
*** yamahata has quit IRC01:48
*** iyamahat has quit IRC01:54
*** ramishra has joined #openstack-meeting-502:30
*** lukepatrick has joined #openstack-meeting-502:32
*** ricolin has joined #openstack-meeting-502:39
*** markvoelker_ has quit IRC02:41
*** zhipeng has joined #openstack-meeting-502:54
*** zhipeng has quit IRC03:06
*** lukepatrick has quit IRC03:49
*** ramishra has left #openstack-meeting-504:18
*** markvoelker has joined #openstack-meeting-504:42
*** iyamahat has joined #openstack-meeting-505:10
*** iyamahat has quit IRC05:11
*** iyamahat has joined #openstack-meeting-505:11
*** markvoelker has quit IRC05:17
*** rarcea has joined #openstack-meeting-505:18
*** korzen_ has joined #openstack-meeting-505:24
*** markvoelker has joined #openstack-meeting-506:14
*** makowals has joined #openstack-meeting-506:27
*** markvoelker has quit IRC06:47
*** markvoelker has joined #openstack-meeting-507:44
*** TuanVu_ has joined #openstack-meeting-508:02
*** TuanVu has joined #openstack-meeting-508:03
*** Mutter has joined #openstack-meeting-508:08
*** TuanVu has quit IRC08:09
*** yamamoto has joined #openstack-meeting-508:10
*** Mutter has quit IRC08:11
*** markvoelker has quit IRC08:16
*** iyamahat has quit IRC08:29
*** markvoelker has joined #openstack-meeting-509:13
*** yamamoto has quit IRC09:16
*** yamamoto has joined #openstack-meeting-509:17
*** yamamoto has quit IRC09:27
*** yamamoto has joined #openstack-meeting-509:29
*** yamamoto has quit IRC09:30
*** markvoelker has quit IRC09:46
*** makowals has quit IRC10:03
*** TuanVu_ has quit IRC10:26
*** yamamoto has joined #openstack-meeting-510:31
*** yamamoto has quit IRC10:36
*** dixiaoli has quit IRC10:51
*** yamamoto has joined #openstack-meeting-511:33
*** yamamoto has quit IRC11:38
*** makowals has joined #openstack-meeting-511:43
*** markvoelker has joined #openstack-meeting-511:44
*** markvoelker has quit IRC12:16
*** markvoelker has joined #openstack-meeting-512:32
*** korzen_ is now known as korzen12:34
*** yamamoto has joined #openstack-meeting-512:34
*** yamamoto has quit IRC12:41
*** rarcea has quit IRC12:49
*** rarcea has joined #openstack-meeting-513:01
*** lukepatrick has joined #openstack-meeting-513:22
*** annp has joined #openstack-meeting-513:29
*** lukepatrick has quit IRC13:32
*** yamamoto has joined #openstack-meeting-513:36
*** yamamoto has quit IRC13:42
*** korzen has quit IRC13:43
*** Mutter_ has joined #openstack-meeting-513:45
*** Mutter_ is now known as TuanVu13:45
*** lujinluo has joined #openstack-meeting-513:54
*** ihrachys has joined #openstack-meeting-514:00
ihrachys#startmeeting neutron_upgrades14:00
openstackMeeting started Thu Aug 24 14:00:43 2017 UTC and is due to finish in 60 minutes.  The chair is ihrachys. Information about MeetBot at http://wiki.debian.org/MeetBot.14:00
ihrachyslujinluo, hi14:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:00
*** openstack changes topic to " (Meeting topic: neutron_upgrades)"14:00
openstackThe meeting name has been set to 'neutron_upgrades'14:00
ihrachysmanjeets, is off today14:00
lujinluoihrachys: o/14:00
TuanVuHi everybody14:00
lujinluoi see14:01
ihrachysTuanVu, hey!14:01
*** annp_ has joined #openstack-meeting-514:01
ihrachyswe have no action items from prev meeting. I think we can just run through patches up for review.14:01
annp_Hi14:01
ihrachysannp_, hey!14:01
TuanVuHi ihrachys14:01
annp_Hi ihrachys. :)14:02
ihrachys#topic OVO patches14:02
*** openstack changes topic to "OVO patches (Meeting topic: neutron_upgrades)"14:02
ihrachyshttps://review.openstack.org/#/q/status:open+project:openstack/neutron+branch:master+topic:bp/adopt-oslo-versioned-objects-for-db14:02
ihrachysFloating IP: https://review.openstack.org/#/c/396351/14:03
lujinluoI have a question regarding floating ip14:03
lujinluoi met check policy failure14:03
lujinluobecause of the absence of tenant_id14:03
ihrachyswhere is the error?14:03
lujinluoe.g http://logs.openstack.org/51/396351/28/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/0e31319/console.html#_2017-08-24_09_10_47_77759914:04
lujinluoIt ha in API layer, as I observed14:04
lujinluoIt is*14:04
*** derekh has joined #openstack-meeting-514:04
*** annp has quit IRC14:05
ihrachyslujinluo, we probably return a dict from plugin to api layer that doesn't have tenant_id in it14:05
*** annp__ has joined #openstack-meeting-514:05
lujinluoyes, but how can we mitigate that? i mean we switched from tenant_id to project_id in ovo14:05
lujinluothere is no longer tenant_id in floating ip ovo14:06
ihrachysI think we still return tenant_id (in addition to project_id) in dicts generated with .to_dict()14:06
*** TuanVu_ has joined #openstack-meeting-514:06
lujinluoi see.14:06
lujinluoi will add tenant_id to .to_dict() then14:06
ihrachysI think it should already be there14:07
ihrachyssec14:07
lujinluoit is possible that i deleted it, not 100% sure though14:07
ihrachysthis is generic implementation for tenant_id field: https://github.com/openstack/neutron/blob/master/neutron/objects/base.py#L244-L24714:08
ihrachysand this, I think, should add tenant_id to the dict: https://github.com/openstack/neutron/blob/master/neutron/objects/base.py#L121-L12514:08
lujinluoi did not modify base.py, then they are not working as expected..?14:09
ihrachysfor what I understand, the request that fails is to get floatingip14:10
ihrachyswhich should be get_floatingip in plugin code14:10
ihrachysthis: https://github.com/openstack/neutron/blob/master/neutron/db/l3_db.py#L1390-L139314:11
ihrachysin your patch, you changed the type of result of _get_floatingip to an OVO object14:12
ihrachys(before the patch, it was a sqlalchemy model)14:12
lujinluoAhh, i see. https://review.openstack.org/#/c/396351/28/neutron/db/l3_db.py@1037 i should change this line as well14:12
ihrachysthat being said, _make_floatingip_dict should have correctly extract tenant_id: https://github.com/openstack/neutron/blob/master/neutron/db/l3_db.py#L103614:12
ihrachyslujinluo, yeah, I am not sure we implement __getitem__ for tenant_id14:13
lujinluoit should be floatingip['project_id']. thanks, i will double check tmr14:13
ihrachyscool14:13
ihrachysnext is https://review.openstack.org/#/c/495810/ "Use Agent OVO in agents_db and test_agents_db"14:13
ihrachysit's pretty red14:14
TuanVu_hi, we're still working on it14:14
annp__I and Tuan just working on it14:14
annp__we have issue with _get_dict14:14
ihrachysack, we'll look closer when it's ready14:14
ihrachysnext is https://review.openstack.org/#/c/370452/ "OVO for NetworkDhcpAgentBinding"14:15
TuanVu_hi Ihrachys14:15
TuanVu_could you please wait14:15
ihrachysTuanVu_, eh, sure. what's up?14:15
TuanVu_we have one concern and hopefully you could help14:15
TuanVu_yes, regarding to _get_dict14:16
ihrachysTuanVu_, which patch do we talk about, agent one?14:16
TuanVu_https://review.openstack.org/#/c/495810/5/neutron/db/agents_db.py14:16
TuanVu_yes14:16
TuanVu_line 17814:17
TuanVu_for this function14:17
TuanVu_conf = jsonutils.loads(json_value)14:17
TuanVu_we cannot load json_value14:18
TuanVu_it looks like there's problem with unicode string14:18
ihrachyshave you checked that json_value is a legit JSON string?14:18
*** annp has joined #openstack-meeting-514:18
TuanVu_therefore, there are several tests failed and we still couldn't figure out how to fix it14:18
*** annp__ has quit IRC14:19
*** annp_ has quit IRC14:19
lujinluois is because in OVO, "configuraton" is DictOfMiscValuesField?14:19
TuanVu_hmm, we've tried to dump it, and it looks legit14:20
TuanVu_could you please clarify more, Ihra and Luo ?14:20
ihrachysTuanVu_, I think lujinluo is onto smth here. maybe the attribute you extract is already a dict14:20
ihrachysso you may not need to do .loads()14:20
*** makowals has quit IRC14:20
ihrachyshave you checked its type?14:20
TuanVu_what do you think, An-san?14:20
lujinluohttps://review.openstack.org/#/c/411830/ this patch declares the type pf "configurations"14:21
ihrachysTuanVu_, f.e see https://review.openstack.org/#/c/495810/5/neutron/objects/agent.py@7514:21
annpsorry, i just lost connection. :)14:21
annplet me see14:21
*** marst has joined #openstack-meeting-514:22
TuanVu_thank you, Luo and Ihra, I'm also checking14:22
annpI will try with ihrachys's suggestion tomorrow,14:23
annpPlease go ahead14:23
ihrachysok, thanks14:23
ihrachysnext is https://review.openstack.org/#/c/370452/ "OVO for NetworkDhcpAgentBinding"14:23
ihrachysI already +2d it, we need 2nd opinion to merge14:23
ihrachysmoving on. next is https://review.openstack.org/#/c/361443/, "OVO for L3HARouter"14:24
ihrachysI need to repeat review for the patch, I see TuanVu_ respinned it yesterday14:24
TuanVu_yes, I did14:24
TuanVu_thanks for your insightful review, Ihrachys14:25
ihrachysI see some discussion here: https://review.openstack.org/#/c/361443/46/neutron/objects/l3_hamode.py@53 give me a second to read it14:25
*** TuanVu has quit IRC14:25
TuanVu_ok14:26
ihrachysok I see what's going on there. I think it's fine to leave it as-is. I would suggest we leave a TODO here to get back to it, but it's not a must.14:26
ihrachysI think it's the right thing not to try to unravel the whole stack of interdependencies in one go\14:27
TuanVu_ok then14:27
ihrachysnext is https://review.openstack.org/#/c/429829/, "Allow Agent object to be queryable by dict's key field"14:27
ihrachysTuanVu_, you respinned it14:28
ihrachysI wonder whether it's still needed14:28
ihrachysthe patch is quite old, not sure it applies now. do we have some code that would benefit from it?14:28
lujinluoi went through the unittest of agent, and it seems we do not need it anymore14:28
TuanVu_yeah, I've checked that too14:29
ihrachysok, then let's abandon? we can always revive if needed.14:29
TuanVu_but since being a newbie, I'm not sure if we still need it14:29
TuanVu_ok, no problem14:30
TuanVu_I'll abandon this patch14:30
ihrachysthanks!14:30
ihrachysthere are no more patches in the review queue that have new developments14:31
ihrachysany patch from those I haven't mentioned that you would like to discuss?14:31
*** annp_ has joined #openstack-meeting-514:31
*** annp has quit IRC14:32
lujinluoihrachys: thanks for changing the topic of Port patch! I always forgot to do it  ;)14:32
TuanVu_Hi14:32
TuanVu_I have one question14:32
ihrachysTuanVu_, shoot14:32
TuanVu_about the strategy for updating patches for Agent (eg: the order of files to be updated)14:32
ihrachysTuanVu_, what's the question?14:34
ihrachyshave we lost TuanVu_ ?14:36
TuanVu_after working on "agents_db", I realize that when continue working on other files (eg: l3agentscheduler), there are lots of changes need to be done on agents_db14:36
TuanVu_sorry, I'm trying to explain my concern in a simple way14:36
ihrachysTuanVu_, np, I thought that's connectivity issues14:36
ihrachysTuanVu_, so in general, I think it's fine to split patches as much as to simplify review / reduce their size14:37
ihrachysit's easier to land small patches14:37
TuanVu_yes, I totally agree with that idea14:37
ihrachysthere is no requirement that you switch all uses of a model in one go14:37
TuanVu_but regarding to the order of file to be updated14:37
*** yamamoto has joined #openstack-meeting-514:38
ihrachyshow does the order play out in this particular case?14:38
TuanVu_especially for Agent OVO which is pretty big and complicated, do you have any suggestion for "the order of files to be updated"14:38
TuanVu_eg: which one first, then what is the next one14:39
TuanVu_yes, the order plays a pretty big deal14:39
ihrachysthere are two files at play, agents_db and l3agentscheduler? or there are more?14:39
TuanVu_well, there are lots of files need to be updated for Agent OVO (about 10, I think)14:40
TuanVu_https://review.openstack.org/#/c/495810/14:40
TuanVu_after above patch, I'm about to move on to l3agentscheduler14:41
TuanVu_and when working with l3agentscheduler, I'll need to update agents_db again14:41
TuanVu_so that's the problem I would like to mention here14:42
ihrachysok. I don't have specifics to give very specific answer, but what I would do is I would try to take the smallest bit you can tackle from one of those files [f.e. a single method], try to migrate it to OVO and see where it leads you (and do the minimal necessary change in other files to adopt to the change and pass CI without touching other code)14:42
ihrachysTuanVu_, oh, you mean you want to base your scheduler work on that other patch?14:42
TuanVu_I mean, looks like it would be better to update agents_db at the end14:42
ihrachysif so, you can stack them in git14:42
TuanVu_thank you, Ihar14:43
TuanVu_I got your idea :)14:43
ihrachysTuanVu_, in the agents_db patch, if the only remaining issue is with json.loads() and it will be ready to merge, I think that's what we should concentrate on14:44
TuanVu_"I would try to take the smallest bit you can tackle from one of those files [f.e. a single method], try to migrate it to OVO and see where it leads you (and do the minimal necessary change in other files to adopt to the change and pass CI without touching other code)"14:44
ihrachysbut in the meantime, you can work on scheduler patch, just make sure you base it on the agents_db one14:44
*** yamamoto has quit IRC14:44
TuanVu_yes, thanks for your advice14:45
TuanVu_I really appreciate it :)14:45
ihrachysyou do it with: git review -d 495810 ; <edit scheduler code>; git commit -a -m "blablabla"; git review14:45
ihrachysthe first command (git review -d ...) will download the state of git tree with the agents_db patch on top14:45
TuanVu_yeah, I got your idea14:45
ihrachysso when you execute the last command (git review), it will send both patches, but the first is the same, so it is not affected14:46
ihrachysok, cool14:46
ihrachysI guess that's all we had for today unless someone has anything more to discuss14:46
lujinluonone from me14:46
*** ralonsoh has joined #openstack-meeting-514:46
annp_ me too14:46
TuanVu_same here14:46
ihrachysTuanVu_, annp_, lujinluo thanks for all the effort14:47
ihrachys#endmeeting14:47
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings"14:47
openstackMeeting ended Thu Aug 24 14:47:10 2017 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:47
openstackMinutes:        http://eavesdrop.openstack.org/meetings/neutron_upgrades/2017/neutron_upgrades.2017-08-24-14.00.html14:47
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/neutron_upgrades/2017/neutron_upgrades.2017-08-24-14.00.txt14:47
openstackLog:            http://eavesdrop.openstack.org/meetings/neutron_upgrades/2017/neutron_upgrades.2017-08-24-14.00.log.html14:47
TuanVu_thank you Ihar, Luo and An-san14:47
lujinluoihrachys: not a problem ;) have a nice day annp_ TuanVu_ have a good rest14:47
*** ralonsoh has quit IRC14:47
annp_Ihar, TuanVu and Lou, thanks14:47
TuanVu_thank you guys14:47
TuanVu_see you all later :)14:47
*** TuanVu_ has quit IRC14:50
*** lujinluo has quit IRC14:55
*** annp_ has quit IRC15:06
*** lukepatrick has joined #openstack-meeting-515:16
*** yamamoto has joined #openstack-meeting-515:40
*** yamamoto has quit IRC15:45
*** lukepatrick has quit IRC15:45
*** amotoki is now known as amotoki__away15:47
*** lukepatrick has joined #openstack-meeting-516:22
*** gagehugo has joined #openstack-meeting-516:27
*** yamamoto has joined #openstack-meeting-516:41
*** iyamahat has joined #openstack-meeting-516:47
*** yamamoto has quit IRC16:47
*** yamahata has joined #openstack-meeting-516:47
*** derekh has quit IRC16:55
*** rarcea has quit IRC16:59
*** yamamoto has joined #openstack-meeting-517:43
*** yamamoto has quit IRC17:48
*** lukepatrick has quit IRC18:13
*** lukepatrick has joined #openstack-meeting-518:18
*** dixiaoli has joined #openstack-meeting-518:22
*** dixiaoli has quit IRC18:26
*** lukepatrick has quit IRC18:34
*** lukepatrick has joined #openstack-meeting-518:43
*** yamamoto has joined #openstack-meeting-518:44
*** gagehugo has left #openstack-meeting-518:49
*** yamamoto has quit IRC18:50
*** yamamoto has joined #openstack-meeting-519:46
*** yamamoto has quit IRC19:51
*** yamamoto has joined #openstack-meeting-519:51
*** lukepatrick has quit IRC20:03
*** lukepatrick has joined #openstack-meeting-520:14
*** iyamahat has quit IRC20:23
*** iyamahat has joined #openstack-meeting-520:28
*** derekh has joined #openstack-meeting-520:35
*** yamamoto has quit IRC20:45
*** derekh has quit IRC20:46
*** ricolin_ has joined #openstack-meeting-521:18
*** ricolin has quit IRC21:21
*** yamamoto has joined #openstack-meeting-521:46
*** yamamoto has quit IRC21:51
*** ihrachys_ has joined #openstack-meeting-522:04
*** ihrachys has quit IRC22:06
*** ihrachys_ is now known as ihrachys22:07
*** ihrachys has quit IRC22:34
*** lukepatrick has quit IRC22:46
*** yamamoto has joined #openstack-meeting-522:47
*** yamamoto has quit IRC22:53
*** marst has quit IRC23:05
*** yamamoto has joined #openstack-meeting-523:49
*** yamamoto has quit IRC23:55

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!