Thursday, 2016-03-31

sridhar_rams3wong: thanks a lot!00:02
sridhar_rambobh_: current main issue is monitoring failure in new tosca template..00:03
openstackgerritMerged openstack/tacker: Fix monitoring policy in new sample tosca templates  https://review.openstack.org/29965700:03
bobh_sridhar_ram: ok - need to get my test env back online so I can try it00:04
sridhar_rambobh_: looking at the traceback and the related code.. this is something might take sometime to fix.. please confirm00:04
sridhar_rambobh_: sounds good..  another minor fix based on test, review when you get a chance .. https://review.openstack.org/29967600:08
sridhar_ramthis is the one from Sripriya00:08
bobh_sridhar_ram: will do00:09
*** uck has quit IRC00:11
*** sridhar_ram has quit IRC00:18
*** lhcheng has quit IRC00:25
*** sridhar_ram has joined #tacker00:33
*** vishnoianil has quit IRC00:37
*** vishnoianil has joined #tacker00:39
openstackgerritMerged openstack/tacker: Revert multiple mgmtdriver check for old templates  https://review.openstack.org/29967600:40
*** sripriya has quit IRC00:46
*** vishnoianil has quit IRC00:54
sridhar_rambobh_: quick check.. if the issue seems localized and a possible simple fix exists. Otherwise we will take it up in a follow on maintenance release00:57
bobh_sridhar_ram: ok - just got my devstack running and the templates loaded00:58
bobh_sridhar_ram: need a little while to debug00:58
sridhar_rambobh_: sounds good.. will stand by.00:58
*** sripriya has joined #tacker01:15
*** sripriya_ has joined #tacker01:17
sridhar_rambobh_: I'm heading home.. will check up as soon as I can.01:18
sridhar_ram*check back01:18
*** lhcheng has joined #tacker01:19
*** sripriya has quit IRC01:20
*** sridhar_ram has quit IRC01:25
*** lhcheng_ has joined #tacker01:27
*** lhcheng has quit IRC01:29
*** vishwanathj has joined #tacker01:30
*** sridhar_ram_away has joined #tacker01:31
*** sridhar_ram_away is now known as sridhar_ram_01:32
bobh_sridhar_ram_: I think I found the problem - working on the fix01:41
sridhar_ram_bobh_: cool01:42
*** s3wong has quit IRC01:44
*** prashantD_ has quit IRC01:48
bobh_sridhar_ram_: so this ends up being a rabbit hole....02:03
sridhar_ram_bobh_: ah, really ?02:10
sridhar_ram_bobh_: we need high degree of comfort to absorb it at this stage02:11
sridhar_ram_bobh_: perhaps we can release-note it for now and fix it in 0.3.1 release02:12
*** dkushwaha has joined #tacker02:13
*** dkushwaha has quit IRC02:17
vishwanathjbobh_ curious to know the root cuase02:18
*** tbh has joined #tacker02:19
vishwanathjbobh_ if you are looking for a quick fix, consider changing the https://github.com/openstack/tacker/blob/master/tacker/vm/tosca/lib/tacker_nfv_defs.yaml#L29 to "type: map"02:20
bobh_vishwanathj: thanks - that fixed the rabbit hole - I think02:35
vishwanathjbobh_ are you planning to push a patch set?02:35
bobh_vishwanathj: hoping to - testing now02:36
vishwanathjbobh_ sridhar_ram as part of your patchset upload, can you push another simple change in heat.py https://github.com/openstack/tacker/blob/master/tacker/vm/infra_drivers/heat/heat.py#L104 ..... should be "if not len(device_template_dict['name']) and 'metadata' in vnfd_dict:"......the issue is blocking if you have more than one TOSCA template uploaded as there is no way to select the VNFD at VNF deploy time.....02:38
vishwanathjthe name for the template shows up as blank currently02:40
bobh_vishwanathj: hat if name isn't in the dict?  won't we get a key error?02:42
*** lhcheng has joined #tacker02:42
bobh_vishwanathj: if ('name' not in device_template_dict or not len(device_template_dict['name'])) and 'metadata' in vnfd_dict:02:43
vishwanathjthe problem is name is always present at that point in the code with an empty value.....02:43
*** Janki has joined #tacker02:43
bobh_ok02:43
vishwanathjits never the case that name is not present as a key02:43
bobh_I'll put it in my patchset02:43
vishwanathjI tested it this afternoon02:43
*** Janki has quit IRC02:44
*** lhcheng_ has quit IRC02:45
openstackgerritSripriya Seetharam proposed openstack/tacker: Deprecate infra driver nova for Mitaka  https://review.openstack.org/29972402:49
*** dkushwaha has joined #tacker03:00
* sridhar_ram_ wandering back to irc03:05
sridhar_ram_bobh_: vishwanathj: looks you both found a way out of the rabbit hole. Is a patchset on the way ?03:07
bobh_sridhar_ram_: running tox now03:07
sridhar_ram_bobh_: cool03:08
sridhar_ram_sripriya_: ^^03:08
sripriya_sridhar_ram: seems like a quick fix for now?03:08
bobh_sripriya_: it's a combination of a real fix and a quickfix03:09
bobh_sripriya_: some existing technical debt that needs to be cleaned up when the existing yaml format is removed03:09
sripriya_bobh_: i see, ok03:09
bobh_sripriya_: and some enhancements to the format when we figure out why tosca-parser is complaining03:10
sripriya_bobh_: ack03:10
dkushwahasridhar_ram_, hi. Please review the patch-set https://review.openstack.org/#/c/291032/03:37
*** lhcheng has quit IRC03:40
*** uck has joined #tacker03:51
*** uck has quit IRC03:52
openstackgerritBob Haddleton proposed openstack/tacker: Fix monitoring of TOSCA VNFDs  https://review.openstack.org/29973703:54
*** bobh_ has quit IRC03:55
*** janki has joined #tacker03:56
*** dkushwaha_ has joined #tacker04:01
*** dkushwaha_ has quit IRC04:06
*** sridhar_ram has joined #tacker04:25
*** sridhar_ram1 has joined #tacker04:28
*** sridhar_ram has quit IRC04:30
openstackgerritNguyen Hung Phuong proposed openstack/tacker: Fix typos in Tacker files  https://review.openstack.org/29974904:38
sridhar_ram1tbh: ping04:42
*** tbh has quit IRC04:48
*** vishwanathj has quit IRC04:53
*** janki has quit IRC05:02
*** dkushwaha has quit IRC05:05
*** dkushwaha has joined #tacker05:06
*** Shahid_ has joined #tacker05:25
*** sridhar_ram1 has quit IRC05:26
*** Shahid_ has quit IRC06:00
*** sridhar_ram_ has quit IRC06:04
dkushwahasripriya_, hi06:09
*** s3wong has joined #tacker06:14
*** gongysh has quit IRC07:06
*** zeih has joined #tacker07:13
*** gongysh has joined #tacker07:23
*** mbound has joined #tacker07:59
*** Shahid_ has joined #tacker08:19
dkushwahagongysh, hi08:26
*** mbound has quit IRC08:38
*** zeih has quit IRC08:51
*** tbh has joined #tacker09:11
*** zeih has joined #tacker09:16
*** tbh has quit IRC09:50
*** tbh has joined #tacker09:51
*** Shahid_ has quit IRC09:56
*** Shahid_ has joined #tacker10:08
*** zeih has quit IRC10:19
*** zeih has joined #tacker10:22
*** tbh has quit IRC10:30
*** zeih has quit IRC10:33
*** Shahid_ has quit IRC10:42
*** mbound has joined #tacker10:50
*** mbound has quit IRC11:13
*** mbound has joined #tacker11:13
*** mbound has quit IRC11:15
*** dhellmann has quit IRC11:22
*** dhellmann_ has joined #tacker11:22
*** Shahid_ has joined #tacker11:25
*** dhellmann_ is now known as dhellmann11:26
openstackgerritdharmendra kushwaha proposed openstack/tacker: Use python package instead of sshpass to execute remote commands.  https://review.openstack.org/26942411:44
*** zeih has joined #tacker12:29
*** mbound has joined #tacker12:48
*** mbound has quit IRC12:49
*** mbound has joined #tacker12:49
*** mbound has quit IRC12:51
*** bobh_ has joined #tacker13:21
*** zeih has quit IRC13:26
*** uck has joined #tacker14:17
*** dkushwaha_ has joined #tacker14:20
*** gongysh has quit IRC14:25
*** Janki has joined #tacker14:36
*** Janki has quit IRC14:37
*** gongysh has joined #tacker14:42
*** dkushwaha_ has quit IRC14:52
*** gongysh has quit IRC14:56
*** Shahid_ has quit IRC15:16
*** zeih has joined #tacker15:25
*** Janki has joined #tacker15:31
*** Janki has quit IRC15:32
*** uck has quit IRC15:39
*** dandruta has joined #tacker15:46
*** sridhar_ram has joined #tacker16:10
*** mbound has joined #tacker16:31
*** mbound has quit IRC16:33
*** prashantD has joined #tacker16:39
*** vishnoianil has joined #tacker16:52
*** s3wong has joined #tacker16:58
*** mbound has joined #tacker17:19
*** dkushwaha_ has joined #tacker17:27
sripriya_dkushwaha_: hello17:28
*** zeih has quit IRC17:29
*** sridhar_ram is now known as sridhar_ram_afk17:37
*** lhcheng has joined #tacker17:44
*** prashantD has quit IRC17:45
*** dandruta has quit IRC17:55
*** sridhar_ram_afk is now known as sridhar_ram17:55
*** prashantD has joined #tacker17:59
dkushwaha_sripriya_, hello18:00
*** lhcheng has quit IRC18:01
*** lhcheng has joined #tacker18:03
*** lhcheng has quit IRC18:03
*** lhcheng has joined #tacker18:04
*** lhcheng has quit IRC18:07
sripriya_dkushwaha_: i just responded to your question on testing openwrt for the python pkg patch18:08
sripriya_dkuhshwaha_: let me know if you need any help18:09
dkushwaha_sripriya_, Thanks for your consideration. I just test regarding the same, but getting some different issue18:13
dkushwaha_sripriya_,  I am looking into that18:13
sripriya_dkushwaha_: cool18:13
*** openstackgerrit has quit IRC19:03
*** openstackgerrit has joined #tacker19:04
*** lhcheng has joined #tacker19:13
*** sridhar_ram1 has joined #tacker20:14
dkushwaha_sripriya_, hi20:14
*** sridhar_ram has quit IRC20:15
sripriya_dkushwaha_: hello20:19
dkushwaha_sripriya_, in  https://review.openstack.org/#/c/269424/11/tacker/vm/mgmt_drivers/openwrt/openwrt.py . While executing  remote command if an error occurred, do we need to raise an exception(i.e. MgmtDriverException)?20:19
sripriya_dkushwaha_: correct20:20
dkushwaha_sripriya_, My doubt is, in case of sshpass, it does not generate any exception. So is't  good if we also maintain the same behavior? Please suggest.20:24
dkushwaha_sripriya_, in that case we just log error message.20:24
sripriya_dkushwaha_: can we check the stderr_ and log a warning message?20:25
dkushwaha_sripriya_, yes.20:26
sripriya_dkushwaha_: we do not want to fail the vnf create if config failed,20:26
dkushwaha_sripriya_, let me explain the scenario...20:27
*** sridhar_ram1 has quit IRC20:29
sripriya_dkushwaha_: i see that you raise an exception if it fails, this will exit the vnf create as a failed operation20:29
dkushwaha_sripriya_, in vnf-create when openwrt goes up, cmd_executer goes to fire command, but at that time it seems network services not started properly, so cmd_executer failed with error EHOSTUNREACH. And in that case currently we are generating MgmtDriverException. Due to which vnf create failed.20:35
sripriya_dkushwaha_: did you try this with the old template or the new tosca template?20:36
dkushwaha_sripriya_, with devstack/samples/config-openwrt-with-firewall.yaml20:37
sripriya_dkushwaha_: and vnfd template with openwrt.yaml?20:37
dkushwaha_sripriya_, yes20:38
sripriya_dkushwaha_: in your case, looks like openwrt came up after a really long boot time which exceeded the default boot wait time of 30 seconds20:41
sripriya_dkushwaha_: IMO, you should attempt to connect to instance until a timeout before failing the command20:41
sripriya_dkushwaha_: see https://github.com/openstack/tacker/blob/0fdd5a471759491d5114cc77125fd5aea4159a62/tacker/vm/plugin.py#L5020:43
sripriya_dkushwaha_: my suggestion would be attempt to config for a certain timeout if EHOSTUNREACH is returned before giving up20:44
dkushwaha_sripriya_, ok, fine.20:45
sripriya_dkushwaha_: also lets not fail vnf-create if config failed20:45
sripriya_dkushwaha_: however for vnf-update it is all about config update, we will have to handle that scenario differently20:46
dkushwaha_sripriya_, right.20:46
sripriya_dkushwaha_: once mgmt driver raises exception it will be good to catch the exception in plugin file and take action appropriately20:48
dkushwaha_sripriya_, yes sure, it will be a good approach.20:49
sripriya_dkushwaha_: i understand sridhar_ram had put this bug under release must fix, but it is not under must fix now and will be going to master and not for mitaka20:55
sripriya_dkushwaha_: so you can take your time :-)20:55
dkushwaha_sripriya_, :-)20:57
*** dkushwaha_ has quit IRC21:48
*** santoshk has joined #tacker21:57
*** amotoki has joined #tacker22:01
*** bobh_ has quit IRC22:02
*** sridhar_ram has joined #tacker22:27
openstackgerritSantosh Kodicherla proposed openstack/tacker: Adding vnf testcase with monitoring with new tosca template  https://review.openstack.org/30024823:13
*** amotoki has quit IRC23:13
*** bobh_ has joined #tacker23:15
*** bobh_ has quit IRC23:17
*** santoshk has quit IRC23:19
*** sridhar_ram has quit IRC23:34
*** bobh_ has joined #tacker23:38
*** bobh_ has quit IRC23:38
*** lhcheng has quit IRC23:58
*** s3wong has quit IRC23:58

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