Monday, 2017-01-16

*** amotoki has joined #openstack-lbaas01:42
openstackgerritJoe Mills proposed openstack/neutron-lbaas: api test: centralize health monitor protocol  https://review.openstack.org/41932402:10
*** links has joined #openstack-lbaas02:25
*** links has quit IRC02:38
*** links has joined #openstack-lbaas02:46
*** bana_k has joined #openstack-lbaas03:16
*** sticker has joined #openstack-lbaas03:24
*** bana_k has quit IRC03:29
openstackgerritTuan Luong-Anh proposed openstack/neutron-lbaas: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/40676803:57
*** amotoki_ has joined #openstack-lbaas05:09
*** amotoki has quit IRC05:12
*** kevo has joined #openstack-lbaas06:37
*** saju_m has joined #openstack-lbaas06:47
openstackgerritJingLiu proposed openstack/octavia: Fix file mode  https://review.openstack.org/42051906:50
*** greghaynes has quit IRC06:52
*** greghaynes has joined #openstack-lbaas06:58
*** greghaynes has quit IRC07:04
*** yamamoto has quit IRC07:04
*** greghaynes has joined #openstack-lbaas07:15
*** nrado has joined #openstack-lbaas07:16
*** kevo has quit IRC07:16
*** tesseract has joined #openstack-lbaas07:21
*** nmagnezi has joined #openstack-lbaas07:25
*** kevo has joined #openstack-lbaas07:31
*** gcheresh_ has joined #openstack-lbaas07:33
*** pcaruana has joined #openstack-lbaas07:34
*** jsheeren has joined #openstack-lbaas07:52
*** kobis has joined #openstack-lbaas07:56
*** eezhova has joined #openstack-lbaas07:59
openstackgerritJingLiu proposed openstack/neutron-lbaas: Fix file mode  https://review.openstack.org/42055108:00
*** amotoki has joined #openstack-lbaas08:07
*** amotoki_ has quit IRC08:11
*** eezhova has quit IRC08:47
*** eezhova has joined #openstack-lbaas09:12
*** kevo has quit IRC09:32
*** amotoki has quit IRC10:01
*** anilvenkata has joined #openstack-lbaas10:03
*** amotoki has joined #openstack-lbaas10:08
*** amotoki has quit IRC10:24
*** saju_m has quit IRC10:28
*** saju_m has joined #openstack-lbaas10:55
*** nmagnezi has quit IRC11:04
*** nmagnezi has joined #openstack-lbaas11:04
*** nmagnezi has quit IRC11:06
*** nmagnezi_ has joined #openstack-lbaas11:14
*** nmagnezi_ is now known as nmagnezi11:15
*** amotoki has joined #openstack-lbaas11:37
*** nrado has quit IRC11:59
*** beagles_afk is now known as beagles13:08
*** nrado has joined #openstack-lbaas13:33
nmagnezijohnsom, ping, a question about static routes in amphora (when you are here)14:10
nmagnezijohnsom, I created a loadbalancer with a subnet that has static routes, expected to get those in the file created by https://github.com/openstack/octavia/blob/master/octavia/amphorae/backends/agent/api_server/templates/plug_port_ethX.conf.j2#L26-L2714:12
nmagnezijohnsom, but didn't get any14:12
nmagnezijohnsom, i tried it both with static routes who are part of the subnet (lbaas-loadbalancer-create --name test <subnet>)14:12
nmagnezijohnsom, also, tried to add this as part of the router (which seems like a long shot but i still tried it)14:13
nmagnezijohnsom, the reasoning behind all this is to have an equivalent placement for static routes in the centos templates.14:13
nmagnezijohnsom, so as a first step, I tried to see how it looks with master code + ubuntu based amphora14:14
*** links has quit IRC14:30
*** beagles is now known as beagles_brb14:57
*** jsheeren has quit IRC15:00
*** anilvenkata has quit IRC15:10
*** fnaval has joined #openstack-lbaas15:25
*** beagles_brb is now known as beagles15:41
*** ducttape_ has joined #openstack-lbaas15:52
*** ducttape_ has quit IRC15:55
*** amotoki has quit IRC15:57
*** gcheresh_ has quit IRC16:00
*** kobis has quit IRC16:07
*** beardedeagle has joined #openstack-lbaas16:08
*** armax has joined #openstack-lbaas16:26
*** ducttape_ has joined #openstack-lbaas16:34
*** eezhova has quit IRC16:37
*** cody-somerville has joined #openstack-lbaas16:39
*** cody-somerville has quit IRC16:39
*** cody-somerville has joined #openstack-lbaas16:39
*** cody-somerville has quit IRC16:39
johnsomnmagnezi The static routes come in from the "host_routes" on the subnet used: http://developer.openstack.org/api-ref/networking/v2/?expanded=create-port-detail,create-subnet-detail#create-subnet16:44
*** nrado has quit IRC16:45
*** cody-somerville has joined #openstack-lbaas16:47
*** cody-somerville has quit IRC16:47
*** cody-somerville has joined #openstack-lbaas16:47
*** amotoki has joined #openstack-lbaas16:57
*** ducttape_ has quit IRC16:58
*** nrado has joined #openstack-lbaas16:58
*** armax has quit IRC17:05
*** eezhova has joined #openstack-lbaas17:12
*** tesseract has quit IRC17:29
*** johnsom has quit IRC17:30
*** johnsom has joined #openstack-lbaas17:30
*** frippe75 has joined #openstack-lbaas17:40
*** armax has joined #openstack-lbaas17:42
frippe75maybe a pure neutron question? looking in the routers schema there is a STATUS field which indicates that a router is ACTIVE. In the lbaas_loadbalancer the "same field" is called OPERATING_STATUS and it is ONLINE. Is there no namingconvention?17:43
johnsomWell, OPERATING_STATUS != STATUS17:43
johnsomIf I remember right, STATUS is more like our PROVISIONING_STATUS17:44
frippe75ok thought that it could be something like that.17:44
johnsomhttps://github.com/openstack/octavia/blob/master/octavia/common/constants.py#L6417:44
johnsomYeah, which uses ACTIVE17:44
frippe75Ok so ther is a provisioning_status for loadbalancer and it is ACTIVE. Missed that. but it's actually named provisioning_status and not status. But maybe to be clear as to the operating_status.17:45
johnsomOPERATING_STATUS is actively monitored and the current functional status of the object.  Correct.  We tried to make it more clear what it is representing17:46
*** armax has quit IRC17:47
*** kevo has joined #openstack-lbaas17:47
frippe75ok thanks! took the "easy way" of copying some code and spent some time wondering why it didn't work...17:47
frippe75:-)17:47
johnsomNP17:48
nradoHi, can someone explain to me the workflow of creating a TLS listener with barbican? Why do I need the service_auth in the neutron-lbass.conf and why do I have to add the admin user according to these instructions: https://wiki.openstack.org/wiki/Network/LBaaS/docs/how-to-create-tls-loadbalancer17:50
johnsomHi nrado17:51
johnsomTake a look at: http://docs.openstack.org/developer/octavia/guides/basic-cookbook.html#deploy-a-tls-terminated-https-load-balancer17:51
johnsomBarbican has changed how we can access containers, so TLS listeners have changed a bit.  We are still working with barbican to improve this in a future release.17:52
johnsomnrado This may also help with your user question: http://docs.openstack.org/developer/octavia/guides/dev-quick-start.html#create-octavia-user17:53
*** ducttape_ has joined #openstack-lbaas17:59
*** ducttape_ has quit IRC18:03
*** bana_k has joined #openstack-lbaas18:05
nradoThx johnsom, but it's still not clear to me. What is the neutron or rather the octavio user used for? Let's say I've a non-admin user who wants to create a tls listener.18:07
nradoIs the neutron or octvaia user the one who is responsible for the listener as a consumer? I'm asking because it might be that I have some problems with the RBAC of barbican.18:07
nradoThat's why I need to know what is happening in the background18:07
nradoI was able to to create a TLS listener with an admin user, but as soon as I use a normal user, it's forbidden18:08
johnsomRight.  The issue is the new ACL model in barbican.  When you store your secrets in barbican they are under your project_id.  However, when using them for a listener in octavia/lbaas either neturon or octavia will need access to those secrets containers.18:10
johnsomIf everything is admin, we are fine.  I.e. the container is created as admin and lbaas/octavia are running as admin we can access the containers in barbican.18:10
johnsomHowever, when the containers are created under a different project_id we have to authorize the account lbaas/octavia is running under to have access to those containers in barbican and the contents of the containers.18:11
johnsomThis is the ACL lines in that example.18:12
johnsomOver time, the way barbican handles this has changed, thus the wiki docs being a bit old.18:12
johnsomIn the future we are working to allow the listener create API to do this authorization on behalf of the requesting user, but we are not there yet.18:13
johnsomDoes that help?18:14
nradoYeah, sounds fine to me. So I need to run the "openstack acl user add" commands in order to authorize the neutron or octavia user to have access to the containers18:16
*** bank_ has joined #openstack-lbaas18:17
nradoI'll give it a try now18:17
johnsomYep18:17
nradoHope it will work, thanks for helping me18:17
johnsomNo problem, sorry this has been a bit of a moving target for us.  Maybe in Pike we can get this cleaned up18:18
*** bana_k has quit IRC18:19
*** eezhova has quit IRC18:23
*** bank_ has quit IRC18:29
openstackgerritMichael Johnson proposed openstack/octavia: Remove an erroneous MarkHealthMonitorActiveInDB task  https://review.openstack.org/40940318:36
*** cody-somerville has quit IRC18:48
johnsomHmm, this subunit failure is going to be tricky to track down.  I just ran a test on 457 testr output files I had local and none of them failed like the gate....18:50
*** eezhova has joined #openstack-lbaas18:54
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090718:55
*** cody-somerville has joined #openstack-lbaas19:10
*** cody-somerville has quit IRC19:10
*** cody-somerville has joined #openstack-lbaas19:10
*** bana_k has joined #openstack-lbaas19:11
*** ducttape_ has joined #openstack-lbaas19:15
*** ducttape_ has quit IRC19:19
*** cody-somerville has quit IRC19:20
*** ducttape_ has joined #openstack-lbaas19:25
*** ducttape_ has quit IRC19:30
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090719:52
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090719:54
*** jerrygb has joined #openstack-lbaas19:57
nmagnezijohnsom, hey19:58
johnsomHi19:59
nmagnezijohnsom, re ^^ (static routes), i think this is what i tried19:59
nmagnezithat didn't work for me19:59
nmagnezii added a static route to a subnet19:59
nmagneziand created a loadbalancer in that subnet19:59
nmagnezicreated a listener and checked the cfg files19:59
nmagnezididn't find any static route19:59
johnsomHmmm, that is how I tested it.  Let me see if I can try again20:00
johnsomamp is booting20:04
johnsomnmagnezi where are you checking?20:05
*** bana_k has quit IRC20:07
nmagnezijohnsom, devstack master branch20:07
nmagnezijohnsom, i mean octavia master :)20:07
nmagnezijohnsom, ubuntu amp20:07
johnsomYeah, where were you checking in the amp?20:07
nmagnezijohnsom, oh, sec20:07
nmagnezijohnsom, http://paste.openstack.org/show/595102/20:08
*** bana_k has joined #openstack-lbaas20:10
*** nrado has left #openstack-lbaas20:11
johnsomnmagnezi Hmmm, well, on my system I'm getting another error I will need to look into, but I do have the route in /etc/netns/amphora-haproxy/network/interfaces.d/eth1.cfg20:11
johnsomhttp://paste.openstack.org/show/TPYDUj6UcWT4X0V8Nl3q/20:12
nmagnezijohnsom, can you please paste the cmd you used to create the subnet? maybe i'm doing something wrong there20:12
johnsomneutron subnet-update --host-route destination=99.99.99.0/24,nexthop=172.21.21.244 private-subnet20:12
johnsomneutron lbaas-loadbalancer-create --name lb1 private-subnet20:12
johnsomThat is what I did20:13
nmagnezijohnsom, thanks! I'll check and let you know :)20:13
johnsomNow, to figure out what went wrong with the agent... (though I'm not sure what code I have checked out at the moment on this devstack)20:14
nmagnezijohnsom, that's the fun part :)20:17
*** cody-somerville has joined #openstack-lbaas20:27
*** cody-somerville has quit IRC20:27
*** cody-somerville has joined #openstack-lbaas20:27
*** woodster_ has joined #openstack-lbaas20:32
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090720:32
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090720:33
openstackgerritOpenStack Proposal Bot proposed openstack/neutron-lbaas: Updated from global requirements  https://review.openstack.org/42084320:34
*** ducttape_ has joined #openstack-lbaas20:45
*** ducttape_ has quit IRC20:49
*** gcheresh_ has joined #openstack-lbaas20:53
*** eezhova has quit IRC21:29
openstackgerritMichael Johnson proposed openstack/octavia: Do not merge: Save original testr output  https://review.openstack.org/42090721:30
johnsomOf course, with the log archiving the test won't fail...21:31
*** ducttape_ has joined #openstack-lbaas21:35
*** frippe75 has quit IRC21:36
*** ducttape_ has quit IRC21:43
*** ducttape_ has joined #openstack-lbaas21:44
*** ducttape_ has quit IRC21:44
*** eezhova has joined #openstack-lbaas21:46
*** eezhova has quit IRC21:56
*** csomerville has joined #openstack-lbaas22:01
*** cody-somerville has quit IRC22:04
*** cody-somerville has joined #openstack-lbaas22:05
*** saju_m has quit IRC22:08
*** csomerville has quit IRC22:08
*** saju_m has joined #openstack-lbaas22:10
*** gcheresh_ has quit IRC22:13
openstackgerritMichael Johnson proposed openstack/octavia: Archive the raw testrepository log  https://review.openstack.org/42090722:15
*** yamamoto has joined #openstack-lbaas22:15
nmagnezijohnsom, just tested it22:15
johnsomWell, I'm giving up and just adding that log archive to our gates.22:15
nmagnezijohnsom, not sure what happens but the loadbalancer ends up with ERROR state and the amphora gets deleted22:16
johnsomnmagnezi How did it go?  I found my issue.  I was passing in a bogus host route, so the plug was failing22:16
nmagnezii should set a break point so I can debug22:16
johnsomnmagnezi Yeah, could be the same issue.  If the route doesn't have a valid gw it fails.22:17
nmagnezijohnsom, i should try this stuff with valid routes :)22:17
johnsomnmagnezi FYI, you can stop the revert from running and cleaning up the amp.22:17
nmagnezijohnsom, anyhow I trust what you just pasted. I'll take this as example22:17
nmagnezijohnsom, by stopping the hk and hm services?22:17
johnsomnmagnezi To stop reverts, edit octavia/common/base_taskflow.py22:18
johnsomnmagnezi then add "never_resolve=True," to the tf_engines.load()22:18
* nmagnezi takes notes22:19
johnsomThat makes taskflow just stop the flow if an error occurs that would cause a revert22:19
nmagnezijohnsom, that's a nifty trick :)22:19
johnsomI asked for it special from the taskflow folks22:19
nmagnezijohnsom, till now I just placed breakpoints (pdb) on specific location22:19
johnsomThe name is a bit cryptic, but it works22:19
nmagnezijohnsom, for example after the amp instance is created22:20
johnsomI should really add a config setting for that....22:20
nmagnezijohnsom, so I can use rsync and sync the latest amphora-agent code to the instance and restart the agent22:20
nmagnezijohnsom, a bit tricky, but it works22:20
nmagnezijohnsom, http://paste.openstack.org/show/595110/ :)22:22
nmagnezijohnsom, centos amp22:22
johnsomNice!!!!22:22
nmagnezijohnsom, indeed! I just need to finish the jinja2 templates to include those static routes and ipv622:23
nmagnezijohnsom, doing my best to finish this week..22:23
johnsomPlease do.  It would great to get this in22:23
nmagnezijohnsom, if you have some spare cycles (you don't) you can already have a look at the patch and give me an initial feedback22:24
johnsomI will make time22:24
nmagnezijohnsom, it would. I really want to make it. I'll keep you posted on this22:24
johnsomOk, sounds good22:24
nmagnezijohnsom, okay, /me going to sleep it passed midnight22:25
johnsomGood night22:26
nmagnezijohnsom, good night22:26
nmagnezijohnsom, oh before i go, one thing i wanted to ask you about22:27
nmagnezijohnsom, https://review.openstack.org/#/c/331841/41/elements/amphora-agent/init-scripts/systemd/amphora-agent.service22:27
nmagnezijohnsom, so we either need to have separate files for ubuntu and centos22:27
nmagnezijohnsom, or we can omit the full patch and use22:28
johnsomAh, the install path is different22:28
nmagnezijohnsom, or we can omit the full patch and use: amphora-image to trigger the alias22:28
nmagneziyup22:28
johnsomnmagnezi Well, systemd requires the full path.  It will fail without.22:28
nmagnezii changed it just for my dev needs22:28
nmagnezijohnsom, ack, so we'll need additional file22:29
johnsomnmagnezi I think there is a way to force the install to /usr/local/bin.  Would that be ok if I can pull up the way to override that?22:29
nmagnezijohnsom, mmm.. i dunno, i never tried such a thing. if it works i guess it is okay to have that22:31
nmagnezijohnsom, it might be a silly suggestion but maybe we can create a symlink ?22:31
johnsomnmagnezi Ok, I will research and push a patch while you sleep22:31
nmagnezijohnsom, thanks a lot :)22:32
johnsomYeah, a sym link would probably work too.  I will investigate22:32
nmagnezijohnsom, aye. good night22:33
*** jerrygb has quit IRC22:34
*** ducttape_ has joined #openstack-lbaas22:45
*** ducttape_ has quit IRC22:49
*** cody-somerville has quit IRC22:59
johnsomSix runs with the testr archive and no failures...  ugh.  Well, we can just merge the archive code and use it when it fails again in the future23:00
*** cody-somerville has joined #openstack-lbaas23:18
*** cody-somerville has quit IRC23:18
*** cody-somerville has joined #openstack-lbaas23:18
*** jerrygb has joined #openstack-lbaas23:22
*** jerrygb has quit IRC23:26
*** guest has joined #openstack-lbaas23:29
*** jerrygb has joined #openstack-lbaas23:34
*** ducttape_ has joined #openstack-lbaas23:35
openstackgerritMerged openstack/octavia: Updated from global requirements  https://review.openstack.org/42084523:36
*** csomerville has joined #openstack-lbaas23:39
*** cody-somerville has quit IRC23:42
openstackgerritMichael Johnson proposed openstack/octavia: WIP - Fix the amphora-agent support for RH based Linux flavors  https://review.openstack.org/33184123:54
*** ankur-gupta-f2 has left #openstack-lbaas23:57
*** fnaval has quit IRC23:59

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