Friday, 2019-01-25

*** k_mouza has quit IRC00:00
*** ricolin_ has joined #heat00:04
*** rcernin has quit IRC00:18
*** rcernin has joined #heat00:19
*** maddtux has joined #heat00:48
*** _fragatina has quit IRC01:08
*** _fragatina has joined #heat01:28
*** _fragatina has quit IRC01:37
*** mikecmpbll has quit IRC02:14
*** hongbin has joined #heat02:25
*** hongbin_ has joined #heat03:19
*** hongbin has quit IRC03:21
*** ramishra has joined #heat03:41
*** skramaja has joined #heat03:44
*** maddtux_ has joined #heat04:27
*** maddtux has quit IRC04:27
*** hongbin_ has quit IRC04:43
*** _fragatina has joined #heat05:27
*** spsurya has joined #heat05:40
*** e0ne has joined #heat07:38
*** ygk_12345 has joined #heat07:42
ygk_12345hi all07:42
ygk_12345i need some help with heat code07:43
ygk_12345can someone help me please07:43
ricolin_ygk_12345, what help you need:)07:43
ygk_12345ricolin_: i added a forms.py file at this location07:44
ygk_12345ricolin_: /openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/heat_dashboard/content/stacks07:44
ygk_12345ricolin_: when I restart heat and try to access the template through horizon, it is saying "module' object has no attribute 'heat'07:45
ygk_12345sorry when I restart horizon not heat07:45
ricolin_ygk_12345, oh, you mean heat-dsahboard, I can say I got any knowledge on dashboard part, but i assume you must override module by accident07:51
ygk_12345ricolin_: didnt get you07:51
ricolin_s/can/can't/07:52
ygk_12345is there anyone here who can help me out with the heat dashboard ?07:52
ygk_12345ricolin_: do u know of anyone here who work on it ?07:55
ricolin_ygk_12345, e0ne, might be able to help, he is horizon PTL. We're looking for people who can work on  heat-dashboard, and we still need volunteer07:57
ygk_12345e0ne: hi07:58
e0nehi07:58
ygk_12345e0ne: can u help me with heat dashboard ?07:58
ygk_12345e0ne: i can share you with hthe three code files as well07:59
e0neygk_12345: could you please share full traceback via paste.openstack.org?07:59
ygk_12345ok let me share the three files first07:59
ygk_12345e0ne: please hang on07:59
ygk_12345e0ne: this is modified form.py http://paste.openstack.org/show/743443/08:01
ygk_12345e0ne: this is preset_templates.py http://paste.openstack.org/show/743444/08:02
ygk_12345e0ne: this is heat.py http://paste.openstack.org/show/743445/08:02
ygk_12345i have place forms and preset in this location "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/heat_dashboard/content/stacks"08:03
ygk_12345and heat.py at "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/openstack_dashboard/api"08:03
ygk_12345e0ne: now I have restarted apache2 horizon service and try accessing the horizon page for stacks. it is showing the 'Frequently Used' option and is listing the stacks08:04
ygk_12345e0ne: but when I select one of those stacks it is throwing this error "module' object has no attribute 'heat'"08:05
ygk_12345e0ne: did u get those files ?08:05
ygk_12345e0ne: this is working on a aio test platform08:06
ygk_12345e0ne: but not on another new same platform08:06
ygk_12345e0ne: did u see the code ?08:07
e0neygk_12345: could you share horizon logs with error?08:08
ygk_12345e0ne: i see no logs in the horizon08:08
ygk_12345e0ne: checking the logs once.08:10
ygk_12345hang on08:10
e0nehm.. where do you see '"module' object has no attribute 'heat'" error?08:10
ygk_12345e0ne: on the horizon gui08:11
ygk_12345e0ne: is it possible for you to connect with me via skype or something08:12
ygk_12345e0ne: that way i cna share my screen as well08:12
ygk_12345*can08:12
e0neygk_12345: your heat.py looks incorrect08:14
ygk_12345e0ne: whers is the issue ?08:15
e0neygk_12345: you have to remove lines #106-107 and fix code which uses it08:15
e0nepython doesn't support function overriding08:15
ygk_12345e0ne: let me check once. please hang on08:16
ygk_12345e0ne: i have placed this heat.py at two locations08:20
ygk_12345e0ne: one is "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/heat_dashboard/api"08:20
ygk_12345e0ne: and other at "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/openstack_dashboard/api"08:20
ygk_12345e0ne: which one I have to modify ?08:21
e0nethis one heat.py http://paste.openstack.org/show/743445/08:25
*** shardy has joined #heat08:25
ygk_12345e0ne: is it enough if I comment them out ?08:26
e0neygk_12345: maybe you have to fix code that uses these functions08:27
ygk_12345e0ne: i have added only these three files. where else does it use ?08:27
e0neygk_12345: sorry, I can't follow all your code and find all errors inside08:27
ygk_12345e0ne: i see this in the forms.py08:28
ygk_12345e0ne: api.heat.get_template_files(cleaned.get('template_data'08:28
ygk_12345e0ne: it is referring here08:29
ygk_12345e0ne: what should I change here ?08:29
e0neygk_12345: I recommend you to use some IDE like pycharm. it will help you to find all such errors and the code08:32
ygk_12345e0ne: still the same error08:36
e0nethere should be some error in logs08:36
e0neor in console if you run horizon via manage.py runserver08:36
ygk_12345e0ne: how to run it ?08:37
e0netox -e runserver08:38
ygk_12345e0ne: from the horizon container itself ?08:39
e0neif you use container, you should find where it stores logs.08:39
ygk_12345e0ne: i know the log localtin is it /var/log/horizon08:39
e0nedoes it have any errors?08:40
e0neif there is apache2 inside, the errors could be logs in apache2 logs too08:40
ygk_12345e0ne: this is the log I see http://paste.openstack.org/show/743447/08:43
e0neit's debug output only. I see no errors08:44
ygk_12345e0ne: yes08:44
ygk_12345e0ne: how to  enable python errors08:44
e0neit's enabled by default08:45
ygk_12345e0ne: but i see any  information other than module attribute  heat not present08:45
ygk_12345*I dont see08:45
e0ne:(08:45
ygk_12345e0ne: is anyone familiar with this code ?08:46
e0netry to run it via tox outside container08:46
e0neyou just need to update your local_setting.py to specify keystone url08:46
ygk_12345e0ne: but it is ruing fine with these three files on a single node AIO setup of the same version08:46
ygk_12345e0ne: why so ?08:46
ygk_12345*running08:47
ygk_12345e0ne: i am baffled08:47
e0neit's easy to debug when you run horizon via tox08:47
ygk_12345e0ne: how to run it please guide me08:47
e0nehere is a manual: https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup08:48
*** shardy has quit IRC08:50
ygk_12345e0ne: can u tell what are the differences between the two folders 'heat_dasjboard' and 'openstack_dashboard' ? which one is active at a time ?08:51
*** shardy has joined #heat08:51
ygk_12345e0ne: any idea ?08:57
*** a-pugachev has joined #heat09:09
*** strigazi has quit IRC09:15
*** strigazi has joined #heat09:16
*** _fragatina has quit IRC09:18
*** k_mouza has joined #heat09:18
*** _fragatina has joined #heat09:18
*** mikecmpbll has joined #heat09:20
*** _fragatina has quit IRC09:20
*** _fragatina has joined #heat09:21
*** stokvis has quit IRC09:40
*** _fragatina has quit IRC09:47
*** maddtux_ has quit IRC09:49
ygk_12345hi all10:00
ygk_12345can someone help me with debugging horizon related heat code ?10:01
ygk_12345what are the differences between the two folders 'heat_dashboard' and 'openstack_dashboard' ? which one is active at a time ?10:03
*** ramishra has quit IRC10:15
*** shardy has quit IRC10:19
*** shardy has joined #heat10:20
openstackgerritPavlo Shchelokovskyy proposed openstack/python-heatclient master: Allow to set poll interval to OSC stack create  https://review.openstack.org/63317610:23
*** ricolin_ has quit IRC10:25
*** ramishra has joined #heat10:39
*** shardy has quit IRC10:55
*** shardy has joined #heat11:10
*** shardy has quit IRC11:15
*** shardy has joined #heat11:17
*** shardy has quit IRC11:22
*** shardy has joined #heat11:35
*** shardy has quit IRC11:39
*** shardy has joined #heat11:53
*** k_mouza has quit IRC11:58
*** e0ne has quit IRC11:59
*** k_mouza has joined #heat12:01
*** k_mouza has quit IRC12:12
*** k_mouza has joined #heat12:19
*** zaneb has quit IRC12:34
*** zbitter has joined #heat12:34
*** ygk_12345 has quit IRC12:35
*** skramaja has quit IRC12:40
*** e0ne has joined #heat12:41
*** _fragatina has joined #heat13:03
*** _fragatina has quit IRC13:04
*** _fragatina has joined #heat13:04
*** k_mouza has quit IRC13:06
*** k_mouza has joined #heat13:08
*** rcernin has quit IRC13:30
*** _fragatina has quit IRC13:58
*** a-pugachev has quit IRC14:02
*** a-pugachev has joined #heat14:03
*** ramishra has quit IRC14:07
*** jcoufal has joined #heat14:28
*** nnsingh has quit IRC14:38
*** ekultails has joined #heat14:43
joadavisgentle poke - there are a few commits on the stable/pike branch that are ready for review/merge - https://review.openstack.org/#/c/612829/ and https://review.openstack.org/#/c/628413/14:48
*** e0ne has quit IRC14:50
*** k_mouza has quit IRC14:58
*** k_mouza has joined #heat15:02
*** spsurya has quit IRC15:07
*** k_mouza has quit IRC15:10
*** k_mouza has joined #heat15:11
*** spsurya has joined #heat15:30
*** jmlowe has joined #heat15:34
*** bnemec has quit IRC15:43
*** ramishra has joined #heat15:44
*** e0ne has joined #heat15:55
openstackgerritPavlo Shchelokovskyy proposed openstack/python-heatclient master: Allow to set poll interval to OSC stack create  https://review.openstack.org/63317615:58
*** ramishra has quit IRC16:08
*** a-pugachev has quit IRC16:31
*** a-pugachev has joined #heat16:31
*** e0ne has quit IRC16:39
*** joadavis has quit IRC16:43
*** jcoufal has quit IRC16:48
*** jcoufal has joined #heat16:56
*** mikecmpbll has quit IRC17:03
*** _fragatina has joined #heat17:16
*** _fragatina has quit IRC17:16
*** _fragatina has joined #heat17:17
*** jcoufal has quit IRC17:26
*** _fragatina has quit IRC17:32
*** _fragatina has joined #heat17:32
*** jcoufal has joined #heat17:36
*** _fragatina has quit IRC17:41
*** k_mouza_ has joined #heat17:41
*** _fragatina has joined #heat17:41
*** k_mouza has quit IRC17:44
*** k_mouza_ has quit IRC17:45
*** k_mouza has joined #heat18:00
*** k_mouza has quit IRC18:04
*** shardy has quit IRC18:06
*** _fragatina has quit IRC18:12
*** _fragatina has joined #heat18:13
*** _fragatina has quit IRC18:23
*** a-pugachev has quit IRC18:36
*** bnemec has joined #heat19:02
*** bnemec is now known as beekneemech19:11
*** e0ne has joined #heat19:25
*** beekneemech has quit IRC19:42
*** _fragatina has joined #heat19:43
*** mikecmpbll has joined #heat19:58
*** jcoufal has quit IRC20:05
*** e0ne has quit IRC20:18
*** problem_v has quit IRC20:29
*** problem_v has joined #heat20:30
*** kei-ichi has quit IRC20:31
*** spsurya has quit IRC20:37
*** gmoro has quit IRC21:15
*** ekultails has quit IRC21:41
*** a-pugachev has joined #heat22:37
*** jmlowe has quit IRC22:41
*** a-pugachev has quit IRC22:42
*** bnemec has joined #heat23:12
*** bnemec has quit IRC23:43
*** bnemec has joined #heat23:44
*** bnemec has quit IRC23:59
*** bnemec has joined #heat23:59

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