Monday, 2016-02-15

*** reedip_away is now known as reedip00:15
*** salv-orlando has quit IRC00:21
*** dingboopt has joined #openstack-kuryr01:03
*** salv-orlando has joined #openstack-kuryr01:29
*** baohua has joined #openstack-kuryr01:30
*** salv-orlando has quit IRC01:31
baohuadear kuryr experts, please help review a patch and push it forward, as it's been a long while, and will block further work. thanks a lot :) https://review.openstack.org/#/c/265105/01:38
*** kenji has joined #openstack-kuryr03:25
*** kenji is now known as Guest9375003:26
*** Guest93750 has quit IRC03:33
*** salv-orlando has joined #openstack-kuryr04:44
*** salv-orlando has quit IRC04:49
*** irenab has quit IRC05:51
*** salv-orlando has joined #openstack-kuryr06:30
*** irenab has joined #openstack-kuryr06:39
*** ajo has quit IRC07:03
*** ajo has joined #openstack-kuryr07:03
*** shashank_hegde has quit IRC07:23
*** shashank_hegde has joined #openstack-kuryr07:24
openstackgerritLiping Mao proposed openstack/kuryr: Mofify external_ids in /usr/libexec/kuryr/ovs  https://review.openstack.org/27822407:44
openstackgerritLiping Mao proposed openstack/kuryr: Modify external_ids in /usr/libexec/kuryr/ovs  https://review.openstack.org/27822407:47
*** salv-orlando has quit IRC07:47
*** reedip is now known as reedip_away08:13
*** shashank_hegde has quit IRC08:20
*** salv-orlando has joined #openstack-kuryr08:59
*** salv-orlando has quit IRC08:59
*** salv-orlando has joined #openstack-kuryr08:59
*** ajo has quit IRC09:16
*** ajo has joined #openstack-kuryr09:16
*** baohua has quit IRC09:30
*** salv-orl_ has joined #openstack-kuryr10:03
*** salv-orlando has quit IRC10:06
*** apuimedo has joined #openstack-kuryr10:36
*** openstackgerrit_ has joined #openstack-kuryr12:27
*** salv-orl_ has quit IRC13:04
*** salv-orlando has joined #openstack-kuryr13:40
*** fawadkhaliq has joined #openstack-kuryr14:10
*** fawadk has joined #openstack-kuryr14:21
*** fawadk has quit IRC14:24
*** fawadkhaliq has quit IRC14:24
*** fawadkhaliq has joined #openstack-kuryr14:24
*** msagh__ has joined #openstack-kuryr14:26
irenabapuimedo: gsagie : Cannot make it to kury meeting today, something urgent came up14:26
*** fawadkhaliq has quit IRC14:26
apuimedoHope nothing bad irenab ;-)14:26
*** fawadkhaliq has joined #openstack-kuryr14:26
*** msagh__ has quit IRC14:27
*** salv-orlando has quit IRC14:27
*** gsagie_ has joined #openstack-kuryr14:38
*** banix has joined #openstack-kuryr14:41
gsagie_mestery: ping14:45
*** irenab has quit IRC14:46
*** salvorlando has joined #openstack-kuryr14:56
*** fawadkhaliq has quit IRC15:10
*** fawadkhaliq has joined #openstack-kuryr15:11
mesterygsagie_: pong15:28
*** devvesa has joined #openstack-kuryr15:43
*** irenab has joined #openstack-kuryr15:55
*** apuimedo has quit IRC15:58
*** apuimedo has joined #openstack-kuryr16:04
*** gsagie_ has quit IRC16:09
*** devvesa has quit IRC16:12
*** gsagie_ has joined #openstack-kuryr16:20
*** salvorlando has quit IRC16:40
*** gsagie_ has quit IRC16:56
*** salv-orlando has joined #openstack-kuryr17:06
*** salv-orlando has quit IRC17:11
openstackgerritMohammad Banikazemi proposed openstack/kuryr: Make use of one instance of IPDB  https://review.openstack.org/28033417:27
*** irenab_ has joined #openstack-kuryr17:34
*** irenab has quit IRC17:35
*** irenab_ is now known as irenab17:35
*** salv-orlando has joined #openstack-kuryr17:36
*** openstackgerrit has quit IRC17:45
*** openstackgerrit has joined #openstack-kuryr17:46
*** mspreitz_ has joined #openstack-kuryr18:08
mspreitz_apuimedo, are you there?18:08
apuimedomspreitz_: affirmative18:08
mspreitz_I tried that renaming hack, no joy --- due to IPAM difference18:08
mspreitz_root@dev-mon01-kraken15-host-01:~# docker run --net=mynet_name -d 716669d6a328 a390cdb7b4f865254f5a18305e37f9228ca8be5a5390425a67f3dae032b85e0b Error response from daemon: Cannot start container a390cdb7b4f865254f5a18305e37f9228ca8be5a5390425a67f3dae032b85e0b: failed to create endpoint thirsty_ramanujan on network mynet_name: Plugin Error: NetworkDriver.CreateEndpoint, {   "Err": "No subnet exist for the cidrs 10.10.1.2/2418:09
mspreitz_here's the story:...18:09
mspreitz_I installed openstack, including a provider network18:09
mspreitz_then I used `docker network create` to make Docker network mynet_name, with IP addrs in 10.10...18:10
mspreitz_then I renamed the new Neutron network to fubar, and renamed the provider net to have the Docker network's Docker UUID18:10
mspreitz_but it still has its original subnets, not 10.10...18:10
mspreitz_then I tried `docker run`, and it failed as you see.18:11
apuimedomspreitz_: if you create the network with the same --subnet --ip-range --gateway as the network you'll replace?18:11
mspreitz_Um, won't Neutron object?18:11
apuimedoI don't think so, it's fine to have overlapping networks in neutron18:12
mspreitz_I'm game to try.   What would the command line be to `docker network create` with IPAM matching my existing provider network?18:12
apuimedolet me get it for you18:12
*** shashank_hegde has joined #openstack-kuryr18:13
apuimedodocker network create --driver=kuryr --ipam-driver=kuryr --subnet 10.12.0.0/16 --ip-range 10.12.0.0/16 --gateway 10.12.0.1 bcn18:13
apuimedomspreitz_: ^^18:13
mspreitz_let me try...18:13
mspreitz_big messy error spew.  Let me make an etherpad...18:16
apuimedothanks18:18
mspreitz_apuimedo, banix: see https://etherpad.openstack.org/p/0fFdv4PPXI18:18
mspreitz_It ends with a little status, in case that helps18:18
apuimedowow, I never saw the web error trace18:20
apuimedoonly the console one18:20
apuimedomspreitz_: is the normal binding working for you?18:22
apuimedowithout this hacky changing of the network under the wraps?18:22
apuimedocause it looks to me like you don't have anything in /usr/libexec/kuryr18:23
openstackgerritMerged openstack/kuryr: Make use of one instance of IPDB  https://review.openstack.org/28033418:23
mspreitz_oh, let me check18:24
mspreitz_I've got no /usr/libexec at all18:25
mspreitz_banix: should I expect your hacky install script to make and populate /usr/libexec?  As far as I can tell, it does not.18:26
mspreitz_apuimedo: do we need to talk about versions now?18:26
apuimedoversions?18:27
mspreitz_of kuryr18:27
mspreitz_I got a kuryr distro from banix a couple of weeks ago18:27
apuimedocp -r usr/libexec/kuryr /usr/libexec/kuryr18:28
mspreitz_let me see if it is functioning without worrying about /usr/libexec ...18:28
apuimedofrom the kuryr repo18:28
mspreitz_I get a similar problem when I attempt no renaming.  See https://etherpad.openstack.org/p/ccd8Q1twx618:30
apuimedomspreitz_: did you place the /usr/libexec or not?18:31
apuimedobecause it complains that it does not find the binding script18:31
mspreitz_not yet.  I found two usr/libexec in what I got from banix, will make a guess and use it...18:32
apuimedocool18:32
apuimedogotta go take care of my son, but I should be back in 1.5-2h18:32
mspreitz_cp -rp, right?18:32
mspreitz_I copied and fixed up permissions, on both worker nodes.  Still getting big error spew.  See https://etherpad.openstack.org/p/9Is0Kqpm4v18:40
mspreitz_banix: are you around now?18:45
*** irenab has quit IRC18:53
apuimedomspreitz_: which neutron plugin do you have configured? Ovn?18:57
*** banix has quit IRC18:59
mspreitz_ML2 with OVS and VXLAN19:01
*** fawadkhaliq has quit IRC19:02
mspreitz_apuimedo: ML2 with OVS and VXLAN19:03
apuimedocan you put a print in kuryr/binding.py just after it does the vif_type = neutron_port.get(VIF_TYPE_KEY, FALLBACK_VIF_TYPE)19:04
apuimedoof the vif_type value19:04
apuimedoand of binding_exec_path19:04
mspreitz_I think so, just a few mins..19:09
mspreitz_now, looking for where stdout went...19:14
* mspreitz_ slaps head, restarts kuryr19:17
apuimedo:-)19:18
mspreitz_Here is the output:19:19
mspreitz_vif_type:  ovs binding_exec_path:  /home/openstack/latest/kuryr/usr/libexec/kuryr/ovs19:19
*** irenab has joined #openstack-kuryr19:19
mspreitz_BTW, /home/openstack/latest/kuryr/usr/libexec is what I copied to /usr/19:19
mspreitz_well, not actually!19:20
mspreitz_There is no /home/openstack/latest/kuryr/usr/libexec !19:21
mspreitz_There is no /home/openstack/latest19:21
mspreitz_apuimedo: ^^19:22
mspreitz_apuimedo: /home/mspreitzer/kuryr-installer/latest/kuryr/usr/libexec is what I copied to /usr19:22
apuimedooh, that is a funny path :P19:22
apuimedobanix installer must be quite unusual :P19:22
mspreitz_Worse yet, I adapted it so that part is now an Ansible playbook19:23
apuimedoanyway, if you put it in the path it expects it should work19:23
apuimedomspreitz_: for Ursula?19:23
mspreitz_not yet, Ursula and I are not getting along19:23
apuimedo:P19:23
apuimedodeployment tools are tough lovers19:25
mspreitz_Well, the copy eliminated the complaint... now to see if it is actually wired up correctly...19:25
fkautzapuimedo: do you have an easy way of tracing calls made from the libnetwork plugin to neutron?19:26
* apuimedo crosses fingers19:26
apuimedofkautz: well, if you run kuryr in foreground it prints the requests I think19:27
mspreitz_hmm, the flailures have left some junk that may be harmfull, let me see about clearing it out...19:27
fkautzapuimedo: thanks, i'll give that a try19:27
apuimedofkautz: well, it prints the requests to kuryr19:28
apuimedothe requests to neutron maybe only if they fail, actually19:28
apuimedoyou'd like to see the underlying http request?19:28
apuimedomspreitz_: clear it out with neutron cli19:28
apuimedofirst19:28
apuimedothen delete with docker network19:28
mspreitz_The junk to which I am referring is ip routes19:28
apuimedoit's a sureway to get it clean ;-)19:28
apuimedoah, ok19:29
apuimedomspreitz_: in MidoNet we don't have that :P19:29
mspreitz_actually, rather than clean out the old, let me just start with a fresh network19:29
*** salv-orlando has quit IRC19:30
apuimedookey dokey19:30
apuimedogoing for dinner, will check later19:30
mspreitz_apuimedo: thanks19:31
*** banix has joined #openstack-kuryr19:36
mspreitz_It worked!19:40
fkautz:D19:41
mspreitz_cumulative hack list to make kuryr work at all: copy libexec to /usr, to ~openstack19:41
mspreitz_hack to connect to existing provider network: create new network with same IPAM, switch Neutron names around19:41
mspreitz_and beware broken networks19:42
mspreitz_of which my provider network is now one19:42
mspreitz_To be a little more precise: the places to which I had to copy libexec are: /usr and /home/openstack/latest/kuryr/usr19:43
banixmspreitz_: not the place to discuss this, but the tar file you have, should include the usr/libexec directory19:44
mspreitz_I found libexec in /home/mspreitzer/kuryr-installer/latest/kuryr/usr/libexec19:44
mspreitz_banix: that was from your distro tar19:44
mspreitz_your install scripting did not do any of those copies.  I am going to update my Ansible playbook, which I use instead of your install_kuryr.sh19:45
apuimedo;-)19:45
mspreitz_both invoke scripts/run_kuryr.sh19:45
banixI have missed some of the logs above and will read but you shouldnt need to copy anything anywhere ….19:45
mspreitz_You will see that I needed to make two copies of libexec19:46
apuimedofkautz: can you file a bug on launchpad please so that we add debug level logging messages for calls to Neutron APIs?19:46
banixapuimedo: shouldn't we create a prper service for Kuryr to get things more steamlined…19:47
banixapuimedo: our logging in general need work…. have made some changes that i will push up soon19:48
apuimedobanix: when you mean proper service, you mean a systemd or upstart service files?19:48
banixyup19:48
banix:)19:48
apuimedoI have an upstart service one19:48
apuimedoI should push it to init/upstart19:49
apuimedoand we should put one for systemd19:49
banixapuimedo: that would be a great start19:49
apuimedoand then distros can decide if to pick those up19:49
apuimedobanix: you want the upstart one?19:49
apuimedoor do you use el7?19:49
mspreitz_I use upstart today19:50
banixno but I am sure there are those who so19:50
mspreitz_everyone uses Ubuntu 14.04 still, right?19:50
apuimedowell, I use arch linux19:51
apuimedoUbuntu folks internally are already using 16.0419:51
banixdoes that mean they are working in future apuimedo ?19:52
mspreitz_last I heard, OpenStack gets the most/best testing on Ubuntu 14.04 LTS and it is a waste of my time to try anything else19:52
apuimedobanix: yes19:52
banixwhat time machine do they use?19:52
apuimedoI have a 16.04 deployment too :P19:52
banixyou too?!!!!19:52
apuimedoI want to have kuryr ready for 16.0419:52
apuimedoso this weekend I installed the alpha19:53
banixmakes sense19:53
mspreitz_so, getting back to the point,  upstart support please.19:53
apuimedoI'll send it now19:53
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr: Add upstart config file  https://review.openstack.org/28037819:55
apuimedobanix: mspreitz_ ^^19:55
apuimedoas you will see, it is rather simple19:56
apuimedothere is a patch I should send soon to run it as a regular user, not as root19:56
apuimedobut I never get to cleaning it up19:56
banixapuimedo: thanks and yes to the non root user patch :)19:58
apuimedobanix: it's going to be a contrib thing19:58
apuimedowith instructions for packagers, eh?19:58
banixyou may have mentioned this before but what is the general approach?19:59
apuimedoit's a small C program that inherits CAP_NET_ADMIN20:04
apuimedoand launches the interpreter hardcoded to run Kuryr20:04
*** openstackgerrit has quit IRC20:17
*** openstackgerrit_ is now known as openstackgerrit20:17
*** openstackgerrit has quit IRC20:17
*** openstackgerrit_ has joined #openstack-kuryr20:17
*** openstackgerrit_ is now known as openstackgerrit20:18
*** openstackgerrit_ has joined #openstack-kuryr20:18
fkautzapuimedo: I'll file a bug20:29
apuimedothanks20:29
*** salv-orlando has joined #openstack-kuryr20:42
*** irenab_ has joined #openstack-kuryr21:00
*** irenab has quit IRC21:01
*** irenab_ is now known as irenab21:01
openstackgerritMohammad Banikazemi proposed openstack/kuryr: Adds config options for using SSL  https://review.openstack.org/28040421:09
openstackgerritMohammad Banikazemi proposed openstack/kuryr: Add binding script for LB  https://review.openstack.org/28041121:28
*** salv-orl_ has joined #openstack-kuryr22:03
*** salv-orlando has quit IRC22:05
*** banix has quit IRC22:10
*** itsuugo has quit IRC22:24
*** itsuugo has joined #openstack-kuryr22:27
*** WANG_Feng has quit IRC22:28
*** WANG_Feng has joined #openstack-kuryr22:28
*** shashank_hegde has quit IRC23:12
*** shashank_hegde has joined #openstack-kuryr23:26
*** yuanying_flu is now known as yuanying23:29
*** mspreitz_ has quit IRC23:44
*** banix has joined #openstack-kuryr23:45
*** reedip_away is now known as reedip23:50
*** banix has quit IRC23:55

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