Tuesday, 2015-12-08

*** salv-orl_ has quit IRC00:03
*** salv-orlando has joined #openstack-kuryr00:09
openstackgerritvikas choudhary proposed openstack/kuryr: IPAM: Add /Plugin.Activate, /IpamDriver.RequestPool and placeholders  https://review.openstack.org/25279600:28
*** dingboopt has quit IRC00:32
*** banix has joined #openstack-kuryr00:37
*** vikasc__ has quit IRC00:37
*** vikasc__ has joined #openstack-kuryr00:41
*** salv-orlando has quit IRC01:25
openstackgerritvikas choudhary proposed openstack/kuryr: IPAM: Implement /IpamDriver.RequestAddress  https://review.openstack.org/25283501:36
openstackgerritvikas choudhary proposed openstack/kuryr: IPAM: Implement /IpamDriver.RequestAddress  https://review.openstack.org/25283501:40
openstackgerritvikas choudhary proposed openstack/kuryr: IPAM: Implement /IpamDriver.ReleasePool  https://review.openstack.org/25284801:49
*** dingboopt has joined #openstack-kuryr01:52
openstackgerritvikas choudhary proposed openstack/kuryr: IPAM: Implement /IpamDriver.ReleaseAddress  https://review.openstack.org/25286001:56
openstackgerritvikas choudhary proposed openstack/kuryr: Create subnets in /NetworkDriver.CreateNetwork using IPv4Data and IPv6Data  https://review.openstack.org/25324101:58
openstackgerritTaku Fukushima proposed openstack/kuryr: Add trailing commans to follow the coding standard  https://review.openstack.org/25449302:25
*** tfukushima has joined #openstack-kuryr02:26
openstackgerritvikas choudhary proposed openstack/kuryr: /NetworkDriver.CreateEndpoint cleanup  https://review.openstack.org/25332302:54
*** vikasc__ has quit IRC02:59
*** vikasc__ has joined #openstack-kuryr03:01
openstackgerritBaohua Yang proposed openstack/kuryr: Using direct kwargs instead of a dict creation/destroy  https://review.openstack.org/25407103:15
*** vikasc__ has quit IRC03:17
*** salv-orlando has joined #openstack-kuryr03:29
banixtfukushima: hi Taku03:31
tfukushimabanix: Hi banix,03:31
banixhad a question for you03:31
banixregarding pyroute2, do you need to be rrot to use the library?03:31
tfukushimabanix: Oh, sorry I forgot to reply to your email.03:32
banixI can have it working only as root03:32
tfukushimabanix: Yes, pyroute2 uses rtnetlink, which opens up the special socket against the kernel. So it requires the root privilege.03:33
tfukushimaSame as iproute2.03:33
*** salv-orlando has quit IRC03:34
tfukushimaI mean for creating resources. Listing and showing the details of the resources can run without root.03:34
banixso then 2 questions: so we need to run kutyt as root?03:34
banixkuryr that is03:34
banixthe 2nd question a minor one: we dont need the sudo in the ovs binary for example03:36
tfukushimaKuryr needs to be run by the root user, especially the pyroute2 part.03:37
tfukushimaHonestly I'm not familiar with the way to separate the user privilege in the same Python process.03:38
tfukushimaWe need the root privilege only for pyroute2.03:38
tfukushimaFor creating a veth pair. That's the only place we need the root.03:38
banixI recall similar discussion on neutron/nova side wrt using librarires such as this; not sure what that led to03:38
banixso the other approach would be using sudo, etc which is far from ideal….03:39
tfukushimaYeah, if we use the ip command, we could just add the "sudo" prefix.03:40
banixok so we can/should discuss this further; just wanted to make sure I am not doing something incorrectly03:41
tfukushimaWe could use the ip command but it would be the string based command construction rather than the pure Python program.03:42
banixyes, I understand.03:42
banixthe other thing I wanted to discuss tfukushima  is that for different bindings (plugs/unplugs) we may have the same vif type03:44
banixin particular for ovs and ovs_hybrid03:44
banixI have been thinking about how to deal with this03:44
banixone approach could be delegating both ovs and ovs_hybrid to the same binary and have the binary figure out which plugging it needs to do03:45
tfukushimaYou mean you might want to execute the different binding binary even if binding:vif_type is set to the single value, say "ovs"?03:46
banixyes or somehow a single binary has to distinguish between different types03:47
banixfor ovs and ovs_hybrid the plugging operations are different but both have the vif type as ovs03:47
tfukushimaThat'd be a little bit tough. We would need the additional context to do that.03:48
tfukushimabinding:vif_type can't be set to ovs_hybrid?03:49
banixyeah so in nova you have a config option for it as far as i recall. we may need to have an additional config option.03:49
banixnot really. you see there is the binding and then plugging the port. i think we have been mixing these a bit. even though the binding is the same the plugging is different03:51
banixwill work on a solution and propose and see if it makes sense to you and others03:51
tfukushimaHmm, that's a bit tricky. I guess we need to add the logic for the special case.03:52
banixactually there may be other plugins with ovs type but different plugging but the prominent case is ovs and ovs_hybrid03:52
tfukushima:-/03:53
tfukushimaThe radical way is to overwrite "ovs" script by their own but I'm pretty much sure we don't want it.03:54
tfukushimaSo please submit a patch when you come to find the workaround. We'd appreciate it.03:54
banixyeah something less bad :)03:56
banixthanks. talk to you later.03:57
tfukushimabanix: Have a good night.03:57
openstackgerritTaku Fukushima proposed openstack/kuryr: [WIP] Add spec of blueprint existing-neutron-network  https://review.openstack.org/25400504:05
*** tfukushima has quit IRC04:11
*** tfukushima has joined #openstack-kuryr04:14
*** tfukushima has quit IRC04:20
*** banix has quit IRC04:39
*** fawadkhaliq has joined #openstack-kuryr05:12
*** tfukushima has joined #openstack-kuryr05:20
openstackgerritGal Sagie proposed openstack/kuryr: Seperate unit tests from fullstack tests  https://review.openstack.org/25456506:22
*** diga has joined #openstack-kuryr06:29
gsagieWill be good if we can merge https://review.openstack.org/254565 fast, it might effect other patches as i moved the unit tests to a different location06:30
*** tfukushima has quit IRC06:31
*** tfukushima has joined #openstack-kuryr06:31
irenabgsagie: checking06:32
gsagietfukushima: https://review.openstack.org/254565    , best to merge this fast as i moved unit tests location06:32
gsagieirenab: thanks06:34
irenabgsagie: done06:38
tfukushimagasagie: Let me take a look at it.06:39
tfukushimagsagie: So in this patch the unit tests are just moved, right?06:40
gsagietfukushima: yes06:41
openstackgerritGal Sagie proposed openstack/kuryr: Seperate unit tests from fullstack tests  https://review.openstack.org/25456506:46
gsagietfukushima: just want to seperate the tests that run in the python27 gate job (same as you will write 'tox') and the tests that require devstack with Kuryr deployed which we will run in the gate06:48
gsagiepython27 gate is for the unit tests06:48
tfukushimaOk.06:48
*** salv-orlando has joined #openstack-kuryr06:49
gsagieirenab: once this is merged going to use these comments :)06:49
gsagiei can take them off if its that of a problem, but since i am multiplexing with too many patches i prefer not to forget stuff ;) but as you see fit06:50
irenabgsagie: I will try to be less pedantic. Will try hard :-)06:50
openstackgerritBaohua Yang proposed openstack/kuryr: Using direct kwargs instead of a dict creation/destroy  https://review.openstack.org/25407106:50
gsagieirenab: np ;) be yourself!06:50
irenabgsagie: having some REVISIT/TODO will be great06:51
openstackgerritGal Sagie proposed openstack/kuryr: Seperate unit tests from fullstack tests  https://review.openstack.org/25456506:52
gsagieirenab: nvm, just removed it :)06:52
*** salv-orlando has quit IRC06:54
openstackgerritGal Sagie proposed openstack/kuryr: Separate unit tests from fullstack tests  https://review.openstack.org/25456507:08
tfukushimagsagie: I need to attend a meeting, so I just left brief comments.07:13
*** fawadkhaliq has quit IRC07:41
*** fawadkhaliq has joined #openstack-kuryr07:42
tfukushimagsagie: So you need your patch merged now?08:40
openstackgerritkexiaodong proposed openstack/kuryr: Replace full-width quotes with half-width quotes  https://review.openstack.org/25461408:43
gsagietfukushima: yes, will be good to make it now08:47
openstackgerritMerged openstack/kuryr: Using direct kwargs instead of a dict creation/destroy  https://review.openstack.org/25407108:47
gsagietfukushima: will do the fixes after, as all the patches that work on the unit tests and any new one will need to rebase08:47
tfukushimagsagie: This might cause some conflicts, for instance Vikas' IPAM patches. So I'm a little bit hesitated.08:48
gsagietfukushima: yes, but its better we do it now rather then wait08:48
gsagieit will get worst08:48
tfukushimaOk. Finger crossed.08:49
gsagiei will rebase the patches for him08:49
gsagieis he online?08:49
tfukushimaI don't think so.08:50
openstackgerritMerged openstack/kuryr: Separate unit tests from fullstack tests  https://review.openstack.org/25456508:52
tfukushimagsagie: Merged and almost all patches got -1 by the change on the test. :-p08:56
gsagieyes need to move the test dir08:57
gsagiewill fix it now08:57
tfukushimaOr we can just announce the change on the mailing list.08:59
gsagietfukushima: sec, let me see how much effort it is, i might be able to resolve it quickly09:01
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Add /Plugin.Activate, /IpamDriver.RequestPool and placeholders  https://review.openstack.org/25279609:02
tfukushimaIt was resolved automatically against my patch when I did rebase on top of the current master.09:02
openstackgerritTaku Fukushima proposed openstack/kuryr: Add trailing commans to follow the coding standard  https://review.openstack.org/25449309:02
gsagieyeah, but was hoping i only need to do the merge once, but seems i need to do it for every patch09:04
gsagieohh well, will do it09:04
openstackgerritMerged openstack/kuryr: Replace full-width quotes with half-width quotes  https://review.openstack.org/25461409:07
gsagieohh god :|09:08
tfukushimakexiaodong: We'd appreciate if you could add some reviewers next time you submit the patch. Refer to https://review.openstack.org/#/c/254565/ for instance.09:08
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Implement /IpamDriver.RequestAddress  https://review.openstack.org/25283509:18
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Add /Plugin.Activate, /IpamDriver.RequestPool and placeholders  https://review.openstack.org/25279609:18
kexiaodongok, I will add some reviewer next time09:19
tfukushimakexiaodong: Thanks!09:20
gsagietfukushima: doing some rebases on Vikas patches, please re-check me if you can :)09:20
gsagiehope i am not doing any mistakes09:20
tfukushimagsagie: I'm too lazy and I'd just announce the change and let people rebase their patches if I were you. :-p09:21
*** diga has quit IRC09:22
gsagietfukushima: okie09:23
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Add /Plugin.Activate, /IpamDriver.RequestPool and placeholders  https://review.openstack.org/25279609:29
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Implement /IpamDriver.RequestAddress  https://review.openstack.org/25283509:34
gsagieok, nvm i just did it wrong the first time09:34
gsagiebah :)09:34
gsagieoops09:35
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Implement /IpamDriver.RequestAddress  https://review.openstack.org/25283509:43
openstackgerritBerezovsky Irena proposed openstack/kuryr: Add trailing commas to follow the coding standard  https://review.openstack.org/25449310:09
*** tfukushima has quit IRC10:10
*** tfukushima has joined #openstack-kuryr10:11
*** tfukushima has quit IRC10:14
*** fawadkhaliq has quit IRC10:21
*** fawadkhaliq has joined #openstack-kuryr10:21
*** salv-orlando has joined #openstack-kuryr10:25
*** salv-orlando has quit IRC10:30
*** openstackgerrit has quit IRC11:02
*** openstackgerrit has joined #openstack-kuryr11:02
openstackgerritGal Sagie proposed openstack/kuryr: IPAM: Add /Plugin.Activate, /IpamDriver.RequestPool and placeholders  https://review.openstack.org/25279611:05
*** salv-orlando has joined #openstack-kuryr11:06
*** salv-orlando has quit IRC11:14
gsagiewe need vikas :(11:50
gsagieapuimedo: here?11:50
*** fawadkhaliq has quit IRC12:14
*** fawadkhaliq has joined #openstack-kuryr12:37
*** fawadkhaliq has quit IRC12:40
*** fawadkhaliq has joined #openstack-kuryr12:40
*** diogogmt has quit IRC13:58
*** diogogmt has joined #openstack-kuryr13:58
*** gsagie_ has joined #openstack-kuryr14:01
*** gsagie_ has quit IRC14:12
*** banix has joined #openstack-kuryr14:16
*** diogogmt has quit IRC14:25
*** fawadkhaliq has quit IRC14:45
*** fawadkhaliq has joined #openstack-kuryr14:46
*** vikasc__ has joined #openstack-kuryr14:50
*** gsagie_ has joined #openstack-kuryr15:02
*** fawadkhaliq has quit IRC15:16
banixgsagie: did you get your docker problem issue resolved? I think we saw the same issue at some point after change of kernel version; some mismatch between certain version of docker and the kernel15:18
banixgsagie_: ^^^15:19
gsagie_banix: haven't tried yet, will update you tomorrow, haven't updated kernel, just re installed docker15:21
gsagie_from get.docker.com script15:21
banixso you may need to upgrade the kernel. probably.15:21
gsagie_They exit with code 127 just after they are started?15:22
gsagie_banix: which kernel version solved it?15:23
banixcan look at docker log, or start docker in debug; had this issue a while back…15:23
banixthis is a while back so not the latest docker but had to go to 3.16. where running trusty. may be different for you.15:23
gsagie_well, it did work for me like 1-2 weeks ago15:23
banixbut you updated the docker you said?15:24
gsagie_banix: ok thanks will check tommorow15:24
banixsure15:24
gsagie_banix: yeah15:24
*** vikasc__ has quit IRC15:25
*** gsagie_ has quit IRC15:31
*** diogogmt has joined #openstack-kuryr15:36
*** salv-orlando has joined #openstack-kuryr16:03
*** salv-orlando has quit IRC16:03
*** salv-orlando has joined #openstack-kuryr16:03
*** fawadkhaliq has joined #openstack-kuryr16:12
*** salv-orl_ has joined #openstack-kuryr16:26
*** salv-orlando has quit IRC16:29
*** openstackgerrit has quit IRC16:47
*** openstackgerrit has joined #openstack-kuryr16:47
*** salv-orl_ has quit IRC17:16
*** yasui_ has quit IRC17:35
*** yasui_ has joined #openstack-kuryr17:41
*** salv-orlando has joined #openstack-kuryr18:17
*** salv-orlando has quit IRC18:21
*** openstackgerrit has quit IRC19:02
*** openstackgerrit has joined #openstack-kuryr19:02
*** salv-orlando has joined #openstack-kuryr19:04
*** salv-orlando has quit IRC19:11
*** mestery has quit IRC19:28
*** mestery has joined #openstack-kuryr19:28
*** irenab has quit IRC19:42
*** fawadkhaliq has quit IRC20:55
*** salv-orlando has joined #openstack-kuryr21:50
*** salv-orlando has quit IRC21:55
*** salv-orlando has joined #openstack-kuryr22:05
*** banix has quit IRC22:40
*** salv-orlando has quit IRC22:53
*** salv-orlando has joined #openstack-kuryr22:54

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