Thursday, 2015-10-01

*** santoshkumark has quit IRC00:38
*** bobh has joined #tacker00:41
*** sripriya__ has quit IRC00:42
*** sridhar_ram has quit IRC01:46
*** s3wong has quit IRC01:52
*** bobh has quit IRC02:00
*** bobh has joined #tacker02:10
*** tbh has quit IRC02:13
openstackgerritvishwanath jayaraman proposed stackforge/tacker: Fixes VNF state being stuck in PENDING_CREATE  https://review.openstack.org/22970602:24
openstackgerritvishwanath jayaraman proposed stackforge/tacker: Fixes VNF state being stuck in PENDING_CREATE  https://review.openstack.org/22970602:30
*** prashantD has quit IRC02:37
openstackgerritvishwanath jayaraman proposed stackforge/tacker-horizon: Fixes VNF state being stuck in PENDING_CREATE  https://review.openstack.org/22970902:39
*** lhcheng has quit IRC02:45
*** tbh has joined #tacker02:55
tbhbobh, Hi03:24
bobhtbh: hello03:24
tbhbobh, when I tried to onboard VNF, I got HTTPBadRequest: Unrecognized attribute(s) 'vnfd' error03:25
tbhis it a known error03:25
tbhI am using template in your patch03:25
bobhtbh: Is this using one of the sample templates?03:25
tbhbobh, yes03:26
bobhtbh: I haven't seen that error03:27
tbhbobh, let me figure out what's the problem then03:28
tbhI will get back to you03:28
bobhtbh: ok03:28
tbhbobh, the problem is here https://github.com/stackforge/tacker/blob/master/tacker/api/v1/base.py#L58003:43
tbhbobh, I got extra keys as vnfd03:43
bobhtbh: what does your command line look like?03:44
tbhbobh,  I ran from the dashboard03:44
bobhtbh: interesting - could be a new bug03:45
tbhbobh,  regarding http ping driver, it is almost same as ping driv er03:49
tbhbut I am taking HTTP method and port number to check03:49
tbhso only is_pingable method changes03:49
bobhtbh: sounds good.  These will be good reference implementations and others can get more complex as needed03:49
tbhbobh, okay03:50
tbhbobh, I will try to push http ping driver today and will update devrefs too03:51
tbhbobh, sorry for the late, had been working on ovs firewall driver03:51
bobhtbh: no worries - I've been way behind too.  Way too many things to do and all at the same time03:53
tbh:)03:53
bobhtbh: time to call it a day.  ttyl03:53
tbhttyl03:53
*** bobh has quit IRC03:54
*** lhcheng has joined #tacker04:04
*** lhcheng_ has joined #tacker04:17
*** lhcheng has quit IRC04:19
*** tbh has quit IRC05:10
openstackgerritvishwanath jayaraman proposed stackforge/tacker: Fixes VNF state being stuck in PENDING_CREATE  https://review.openstack.org/22970605:33
*** lhcheng has joined #tacker05:47
*** lhcheng_ has quit IRC05:50
*** tbh has joined #tacker07:22
*** lhcheng has quit IRC07:42
*** openstackgerrit has quit IRC07:46
*** zeih has quit IRC07:46
*** zeih has joined #tacker07:46
*** openstackgerrit has joined #tacker07:47
*** lhcheng has joined #tacker09:31
*** lhcheng has quit IRC09:36
*** lhcheng has joined #tacker11:20
*** lhcheng has quit IRC11:25
*** lhcheng has joined #tacker11:44
*** lhcheng has quit IRC11:49
*** bobh has joined #tacker12:21
*** bobh has quit IRC12:25
openstackgerritbharaththiruveedula proposed stackforge/tacker: HTTP ping monitor driver for Monitoring Framework  https://review.openstack.org/22985812:38
openstackgerritbharaththiruveedula proposed stackforge/tacker: HTTP ping monitor driver for Monitoring Framework  https://review.openstack.org/22985813:01
*** trozet has joined #tacker13:38
*** trozet has quit IRC13:46
*** trozet has joined #tacker13:48
*** tbh has quit IRC13:52
*** bobh has joined #tacker14:26
*** sridhar_ram has joined #tacker14:36
*** sripriya has joined #tacker15:22
*** sridhar_ram has quit IRC15:35
*** zeih has quit IRC15:37
*** tbh has joined #tacker15:44
*** sridhar_ram has joined #tacker15:55
*** lhcheng has joined #tacker15:57
*** prashantD has joined #tacker16:00
openstackgerritSripriya Seetharam proposed stackforge/tacker: Add unit tests for heat infra driver  https://review.openstack.org/22998716:00
sridhar_ramhi tackers - please come over to #openstack-meeting for the weekly mtg16:01
*** prashantD has quit IRC16:04
*** s3wong has joined #tacker16:34
*** bobh has quit IRC17:00
sripriyatbb: hello17:00
sripriyatbh*17:00
tbhsripriya, hello17:00
sripriyatbh: i have not yet deepdived into monitoring code, but can we discuss the issue you were facing17:01
sripriyatbh: where exactly is it choking up?17:01
tbhsripriya, http://paste.openstack.org/show/475098/17:03
* sripriya looking17:04
tbhsripriya,  I haven't seen the exact cause, but checking the working of HTTP ping driver17:04
sripriyatbh: i will have to pull your code and check to see the issue, just the exception is not helping me in this case, is this happening with HTTP ping driver only?17:08
tbhsripriya,  no with ping driver also17:10
sripriyatbh: i see17:11
tbhsripriya, I will try to figure out the issue17:12
sripriyatbh: i will also try to look in parallel17:15
*** elo1 has quit IRC17:15
*** bobh has joined #tacker17:15
*** prashantD_ has joined #tacker17:16
tbhsripriya, I just tried to look at the problem, I think we are adding template_id param here https://github.com/stackforge/tacker/blob/master/tacker/vm/plugin.py#L66917:17
tbhbut not here https://github.com/stackforge/tacker/blob/master/tacker/vm/plugin.py#L29417:18
tbhsripriya,  so I thought that is making the problem, will have to look exactly17:18
sripriyatbh: create_vnf is calling create_device internally which in turn is calling _create_device, so the template_id should be reflected all the way down up to _create_device17:22
sripriyatbh: are you calling create_device directly?17:23
*** elo1 has joined #tacker17:23
tbhsripriya, sorry I haven't looked that call17:26
sridhar_ramtbh: sripriya: as seen in #link https://review.openstack.org/#/c/229858/ .. there is no code change by bharath in any of the areas like create_device ...17:48
sridhar_ramso.. wondering how such template_id issue would crop just for this17:50
sripriyasridhar_ram: i see vnfd_id getting trickled down to vm_db in device_dict.17:54
sripriyatbh: sridhar_ram: found the root cause of the issue18:17
sridhar_ramsripriya: please explain if you've a min18:17
* sridhar_ram pulls the chair to listen18:18
sripriyathis is an issue where the vnf response is still used after returning from create_device18:18
sripriyathe vnf is while returning back modifies tenant_id to vnfd_id and returns back the response of vnf dict18:18
sripriyabut in background the thread is still active for create_device_wait which now will use the modified vnf dict18:19
sridhar_ramouch... race condition18:19
sripriyawhich refers to vnfd_id18:19
sripriyayeah we can say that, cos vnf create would have already returned from the call to send the right response18:20
sripriyain create_vnf we pop the template_id back to vnfd_id before sending the response18:20
sripriyabut background create_wait thread is still running18:21
sridhar_ramhmm... create_device_wait running in the background is the expected behaviour.. nothing wrong w/ that18:23
sripriyasridhar_ram: yes, rather send a copy of vnf response instead of modifying the actual dict.18:24
sridhar_ramdo you have a line # for template_id to vnfd_id switch ? that piece doesn't sound correct18:24
sripriyahttps://github.com/stackforge/tacker/blob/master/tacker/vm/plugin.py#L67118:25
sripriyathis is done to reflect "vnf" response as seen by the user18:27
*** sridhar_ram has quit IRC18:30
*** openstackgerrit has quit IRC18:31
*** openstackgerrit has joined #tacker18:32
tbhsripriya, I think this should work http://paste.openstack.org/show/475110/ ?18:33
tbhI just got my setup working, I will try with this18:33
sripriyatbh: yup! that is what needs to be done!18:38
sripriyatbh: did the issue get resolved after this fix?18:39
tbhsripriya,  checking  that now18:39
tbhsripriya, that's working18:42
tbhnice, thanl you18:42
tbh*thankyou18:43
tbhsripriya, have you raised this bug in launchpad?18:46
sripriyatbh: sure, sorry this was caused due to the new changes we integrated for MANO api. i'm going to raise a bug for this18:46
tbhsripriya, sure thanks18:47
*** tbh has quit IRC18:49
*** shrinathsuresh has joined #tacker19:18
*** shrinathsuresh has quit IRC19:19
*** sripriya has quit IRC19:46
openstackgerritvishwanath jayaraman proposed stackforge/tacker: Fixes VNF state being stuck in PENDING_CREATE  https://review.openstack.org/22970619:59
*** elo1 has quit IRC20:10
*** sripriya has joined #tacker20:20
*** elo has joined #tacker20:28
*** sridhar_ram has joined #tacker20:55
vishwanathjtackers, would appreciate review of https://review.openstack.org/229706, not too much code changes, but definitely a better user experience once this gets reviewed, approved and merged21:12
*** sarob has left #tacker21:16
*** bobh has quit IRC21:44
openstackgerritvishwanath jayaraman proposed stackforge/tacker: Fixes vnf create failure even if all parameters are supplied  https://review.openstack.org/23016922:03
openstackgerritSripriya Seetharam proposed stackforge/tacker: Handle vnf response appropriately for MANO API  https://review.openstack.org/23018522:21
*** prashantD_ has quit IRC23:13
*** bobh has joined #tacker23:59

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