Monday, 2015-11-02

*** bobh has joined #tacker00:47
*** bobh has quit IRC01:15
*** bobh has joined #tacker01:23
*** bobh has quit IRC01:37
*** bobh has joined #tacker01:43
*** bobh has quit IRC01:44
*** bobh has joined #tacker01:45
*** bobh has quit IRC01:46
*** tbharath has joined #tacker01:56
*** tbharath has quit IRC02:37
*** jezogwza has joined #tacker03:38
*** tbharath has joined #tacker04:58
*** prashantD_ has quit IRC05:07
*** mdnadeem has joined #tacker06:14
*** dkusidlo has joined #tacker07:48
*** dkusidlo has quit IRC07:48
*** KLuka_ has joined #tacker08:25
*** elo has joined #tacker08:40
*** karimb has joined #tacker08:55
*** tbharath has quit IRC09:21
*** tbharath has joined #tacker09:36
*** masterbound has joined #tacker09:48
openstackgerritbharaththiruveedula proposed openstack/tacker: Set respawn limit to VNF respawn policy  https://review.openstack.org/24081410:05
*** zeih has joined #tacker10:16
*** zeih_ has joined #tacker10:33
*** zeih has quit IRC10:36
*** zeih_ has quit IRC10:45
*** karimb_ has joined #tacker10:52
*** zeih has joined #tacker10:53
*** karimb has quit IRC10:53
*** zeih has quit IRC11:06
*** masterbound has quit IRC11:07
*** mbound has joined #tacker11:23
*** elo has quit IRC11:36
*** elo1 has joined #tacker11:36
*** elo1 has quit IRC11:51
*** zeih has joined #tacker11:55
*** tbharath has quit IRC12:58
*** bobh has joined #tacker13:06
*** elo has joined #tacker13:13
*** bobh has quit IRC13:18
*** tbh has joined #tacker13:41
*** elo has quit IRC13:43
*** elo has joined #tacker13:45
*** zeih has quit IRC13:56
*** zeih has joined #tacker13:59
*** mbound has quit IRC14:21
*** mbound has joined #tacker14:21
*** trozet has joined #tacker14:38
*** tbh_ has joined #tacker14:50
*** tbh has quit IRC14:53
*** tbh_ has quit IRC14:57
*** tbh has joined #tacker15:01
*** bobh has joined #tacker15:10
karimb_hello buddies , i m trying to delete a vnfd and get delete failed (client error): device template 7c6f1b35-76cf-47a5-aa48-fc9ac66a89f4 is still in use15:25
karimb_when i try to delete the device template, i get the same error. how can i find out which device is blocking the delete ?15:27
bobhkarimb_: If you run tacker vnf-list it should show you what VNFs are running, and one of them is probably using the vnfd you are trying to delete15:29
karimb_no vnf are running, no15:29
tbhkarimb_ I think you have restarted the tacker while deleting vnf15:30
karimb_actually, i do see a device in the devices table15:30
tbhSo there must be device in device tavble15:31
tbhWith status as pending delete15:31
karimb_but it doesnt show up in the tacker device-list output ?15:31
karimb_tbh it shows as ACTIVE Rather :(15:32
karimb_weird thing is that this device does show in the tacker.log when i run tacker device-list15:33
karimb_but not on the output15:33
karimb_tbh anything i can do about that ?15:34
tbhJust gimme a min15:35
*** tbh has quit IRC15:37
*** tbharath has joined #tacker15:39
tbharathkarimb_, what do you mean by you can see in tacker.log?15:39
karimb_tbharath http://pastebin.com/WhjNZ5v215:40
karimb_in tacker.log i see an existing device but nothing shows up in the output of tacker device-list15:42
karimb_tbharath ^15:42
tbharathkarimb_, yup, interesting!15:42
karimb_tbharath interestingly , the key of those devices is dead_instance_id_315:43
karimb_which despite this halloween week, doesnt look too promising15:43
tbharathkarimb_, yeah, can you do one thing,15:46
tbharathkarimb_, can you put pdb before this line https://github.com/openstack/tacker/blob/master/tacker/db/vm/vm_db.py#L696 ?15:46
tbharathkarimb_, and check devices?15:46
*** alogra has joined #tacker15:48
karimb_tbharath let me do that15:49
karimb_tbharath a specific sentence i should put ?15:53
tbharathkarimb_, you mean for pdb?15:54
karimb_yes15:54
karimb_lilke pdb.pm() ?15:54
tbharathkarimb_,  import pdb;pdb.set_trace()15:54
karimb_ah ok15:54
tbharathkarimb_,  so add that sentence  and restart tacker15:54
tbharathkarimb_,  and try to run "tacker vnf-list"15:55
tbharathbobh, Hi15:55
bobhtbharath: hello15:56
tbharathbobh, how did the summit happen?15:56
karimb_tbharath there you go http://pastebin.com/GqYRkVCy15:56
bobhtbharath: it went well - lots of interest in NFV and lots of mentions of Tacker15:56
tbharathbobh, oh that sounds good15:57
tbharathkarimb_, are you using tacker?15:57
tbharathkarimb_, sry15:57
tbharathkarimb_, are you using devstack?15:57
karimb_tbharath :)15:57
karimb_nope15:57
karimb_manual , and on kilo15:57
karimb_(and rhelosp7)15:57
tbharathkarimb_, oh okay, can you run tacker in foreground15:58
karimb_why ?15:58
tbharathkarimb_,  so that when you run tacker vnf-list, it hits pdb(I mean you can see pdb prompt)15:58
tbharathkarimb_, there we can check the values in variables, just like gdb15:59
karimb_right15:59
karimb_i m there15:59
karimb_at pdb prompt15:59
tbharathtype devices15:59
karimb_tbharath i do get a result16:00
karimb_tbharath http://pastebin.com/pAzy01Dn16:00
*** zeih has quit IRC16:00
tbharathkarimb_, the reason is as you can see the ID is 'f82066b2-5849-4aa4-9df5-054c8beb73aa-RESPAWN-5' which is not in the format of uuid16:04
tbharathkarimb_, for some reason it is not deleted16:04
tbharathkarimb_, and it does not refer to any VNF now16:06
tbharathbobh,  I just saw your comments16:06
tbharathbobh, I agree with you16:07
karimb_tbharath ok makes sense16:07
tbharathbobh,  I think there must be some mechanism to reset failure_count value to zero, right?16:07
karimb_tbharath i understand that those ids are temporary, set this way during initial spawning16:07
bobhtbharath: Yes, I think we need a second parameter that specifies a time interval to reset the failure count16:09
tbharathbobh, got it, and one more question, do you feel is it right to add limit checking in ActionRespawn class?16:11
tbharathkarimb_, we usually change the device id based on respawn number, for example https://github.com/openstack/tacker/blob/master/tacker/vm/monitor.py#L26816:12
karimb_tbharath so my best shot is delete the device in DB16:12
bobhtbharath: I think it's ok but I think I would change the action specification to make it more obvious that the limit parameter is associated with the respan action16:13
karimb_or rename it quitting the last RESPAWN part ?16:13
bobhtbharath: so maybe have action_parameters: {limit: 2}16:13
tbharathkarimb_, better to delete it16:13
bobhtbharath: that way it is clear that the parameters are passed to the action class16:13
tbharathbobh, action_parameters is associated with action, for example : actions: failure:{ action_name: respawn, action_parameters:{limit: 2}}16:16
tbharathbobh, is that correct?16:16
tbharathkarimb_, I will check and get back to you, why those devices were not removed16:17
bobhtbharath: yes, I think that makes sense.  I'd also like to make actions always be a dict instead of supporting either string or dict - need to check with sridhar_ram to get his opinion16:19
karimb_tbharath thanks ;)16:20
tbharathbobh, yeah16:20
bobhtbharath: if Liberty branch is stable we could put that change in master for release in Mitaka16:20
tbharathbobh, oh okay, for now we are going with action as string in liberty?16:21
tbharathkarimb_, :)16:22
bobhtbharath: I think we could support both in Liberty if we want to but deprecate the string and only support dict in Mitaka16:25
tbharathbobh, oh okay16:26
*** mbound has quit IRC16:37
*** tbharath has quit IRC17:03
*** karimb_ has quit IRC17:03
*** prashantD has joined #tacker17:17
*** sridhar_ram has joined #tacker17:39
*** trozet has quit IRC17:45
*** prashantD has quit IRC17:48
*** prashantD has joined #tacker17:58
*** prashantD has quit IRC18:09
*** prashantD has joined #tacker18:11
*** s3wong has joined #tacker18:19
*** trozet has joined #tacker18:23
*** sridhar_ram has quit IRC18:29
*** sridhar_ram has joined #tacker18:29
*** trozet has quit IRC18:34
*** trozet has joined #tacker18:46
*** sridhar_ram1 has joined #tacker19:44
*** sridhar_ram has quit IRC19:45
*** sridhar_ram has joined #tacker20:05
*** sridhar_ram1 has quit IRC20:06
*** sridhar_ram1 has joined #tacker20:08
*** sridhar_ram has quit IRC20:09
*** sridhar_ram2 has joined #tacker20:09
*** sridhar_ram1 has quit IRC20:12
*** karimb has joined #tacker20:15
*** karimb has quit IRC20:16
*** karimb has joined #tacker20:19
*** karimb has quit IRC20:19
*** sridhar_ram2 has quit IRC20:27
*** sridhar_ram has joined #tacker21:04
*** sridhar_ram has quit IRC21:30
*** santoshkumark has joined #tacker21:53
*** bobh has quit IRC21:58
*** bobh has joined #tacker21:59
*** prashantD_ has joined #tacker22:02
*** prashantD has quit IRC22:03
*** bobh has quit IRC22:12
*** prashantD_ has quit IRC22:27
*** prashantD has joined #tacker22:31
*** bobh has joined #tacker22:34
*** sridhar_ram has joined #tacker22:42
*** prashantD has quit IRC22:52
*** prashantD has joined #tacker22:53
*** prashantD has quit IRC23:02
*** bobh has quit IRC23:02
*** prashantD has joined #tacker23:04
*** elo has quit IRC23:33
openstackgerritMerged openstack/tacker: Add Tacker monitoring tests  https://review.openstack.org/23454323:36
*** sridhar_ram has quit IRC23:48

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