*** k_mouza has quit IRC | 00:00 | |
*** ricolin_ has joined #heat | 00:04 | |
*** rcernin has quit IRC | 00:18 | |
*** rcernin has joined #heat | 00:19 | |
*** maddtux has joined #heat | 00:48 | |
*** _fragatina has quit IRC | 01:08 | |
*** _fragatina has joined #heat | 01:28 | |
*** _fragatina has quit IRC | 01:37 | |
*** mikecmpbll has quit IRC | 02:14 | |
*** hongbin has joined #heat | 02:25 | |
*** hongbin_ has joined #heat | 03:19 | |
*** hongbin has quit IRC | 03:21 | |
*** ramishra has joined #heat | 03:41 | |
*** skramaja has joined #heat | 03:44 | |
*** maddtux_ has joined #heat | 04:27 | |
*** maddtux has quit IRC | 04:27 | |
*** hongbin_ has quit IRC | 04:43 | |
*** _fragatina has joined #heat | 05:27 | |
*** spsurya has joined #heat | 05:40 | |
*** e0ne has joined #heat | 07:38 | |
*** ygk_12345 has joined #heat | 07:42 | |
ygk_12345 | hi all | 07:42 |
---|---|---|
ygk_12345 | i need some help with heat code | 07:43 |
ygk_12345 | can someone help me please | 07:43 |
ricolin_ | ygk_12345, what help you need:) | 07:43 |
ygk_12345 | ricolin_: i added a forms.py file at this location | 07:44 |
ygk_12345 | ricolin_: /openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/heat_dashboard/content/stacks | 07:44 |
ygk_12345 | ricolin_: when I restart heat and try to access the template through horizon, it is saying "module' object has no attribute 'heat' | 07:45 |
ygk_12345 | sorry when I restart horizon not heat | 07: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 accident | 07:51 |
ygk_12345 | ricolin_: didnt get you | 07:51 |
ricolin_ | s/can/can't/ | 07:52 |
ygk_12345 | is there anyone here who can help me out with the heat dashboard ? | 07:52 |
ygk_12345 | ricolin_: 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 volunteer | 07:57 |
ygk_12345 | e0ne: hi | 07:58 |
e0ne | hi | 07:58 |
ygk_12345 | e0ne: can u help me with heat dashboard ? | 07:58 |
ygk_12345 | e0ne: i can share you with hthe three code files as well | 07:59 |
e0ne | ygk_12345: could you please share full traceback via paste.openstack.org? | 07:59 |
ygk_12345 | ok let me share the three files first | 07:59 |
ygk_12345 | e0ne: please hang on | 07:59 |
ygk_12345 | e0ne: this is modified form.py http://paste.openstack.org/show/743443/ | 08:01 |
ygk_12345 | e0ne: this is preset_templates.py http://paste.openstack.org/show/743444/ | 08:02 |
ygk_12345 | e0ne: this is heat.py http://paste.openstack.org/show/743445/ | 08:02 |
ygk_12345 | i 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_12345 | and heat.py at "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/openstack_dashboard/api" | 08:03 |
ygk_12345 | e0ne: 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 stacks | 08:04 |
ygk_12345 | e0ne: but when I select one of those stacks it is throwing this error "module' object has no attribute 'heat'" | 08:05 |
ygk_12345 | e0ne: did u get those files ? | 08:05 |
ygk_12345 | e0ne: this is working on a aio test platform | 08:06 |
ygk_12345 | e0ne: but not on another new same platform | 08:06 |
ygk_12345 | e0ne: did u see the code ? | 08:07 |
e0ne | ygk_12345: could you share horizon logs with error? | 08:08 |
ygk_12345 | e0ne: i see no logs in the horizon | 08:08 |
ygk_12345 | e0ne: checking the logs once. | 08:10 |
ygk_12345 | hang on | 08:10 |
e0ne | hm.. where do you see '"module' object has no attribute 'heat'" error? | 08:10 |
ygk_12345 | e0ne: on the horizon gui | 08:11 |
ygk_12345 | e0ne: is it possible for you to connect with me via skype or something | 08:12 |
ygk_12345 | e0ne: that way i cna share my screen as well | 08:12 |
ygk_12345 | *can | 08:12 |
e0ne | ygk_12345: your heat.py looks incorrect | 08:14 |
ygk_12345 | e0ne: whers is the issue ? | 08:15 |
e0ne | ygk_12345: you have to remove lines #106-107 and fix code which uses it | 08:15 |
e0ne | python doesn't support function overriding | 08:15 |
ygk_12345 | e0ne: let me check once. please hang on | 08:16 |
ygk_12345 | e0ne: i have placed this heat.py at two locations | 08:20 |
ygk_12345 | e0ne: one is "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/heat_dashboard/api" | 08:20 |
ygk_12345 | e0ne: and other at "/openstack/venvs/horizon-18.1.2/lib/python2.7/site-packages/openstack_dashboard/api" | 08:20 |
ygk_12345 | e0ne: which one I have to modify ? | 08:21 |
e0ne | this one heat.py http://paste.openstack.org/show/743445/ | 08:25 |
*** shardy has joined #heat | 08:25 | |
ygk_12345 | e0ne: is it enough if I comment them out ? | 08:26 |
e0ne | ygk_12345: maybe you have to fix code that uses these functions | 08:27 |
ygk_12345 | e0ne: i have added only these three files. where else does it use ? | 08:27 |
e0ne | ygk_12345: sorry, I can't follow all your code and find all errors inside | 08:27 |
ygk_12345 | e0ne: i see this in the forms.py | 08:28 |
ygk_12345 | e0ne: api.heat.get_template_files(cleaned.get('template_data' | 08:28 |
ygk_12345 | e0ne: it is referring here | 08:29 |
ygk_12345 | e0ne: what should I change here ? | 08:29 |
e0ne | ygk_12345: I recommend you to use some IDE like pycharm. it will help you to find all such errors and the code | 08:32 |
ygk_12345 | e0ne: still the same error | 08:36 |
e0ne | there should be some error in logs | 08:36 |
e0ne | or in console if you run horizon via manage.py runserver | 08:36 |
ygk_12345 | e0ne: how to run it ? | 08:37 |
e0ne | tox -e runserver | 08:38 |
ygk_12345 | e0ne: from the horizon container itself ? | 08:39 |
e0ne | if you use container, you should find where it stores logs. | 08:39 |
ygk_12345 | e0ne: i know the log localtin is it /var/log/horizon | 08:39 |
e0ne | does it have any errors? | 08:40 |
e0ne | if there is apache2 inside, the errors could be logs in apache2 logs too | 08:40 |
ygk_12345 | e0ne: this is the log I see http://paste.openstack.org/show/743447/ | 08:43 |
e0ne | it's debug output only. I see no errors | 08:44 |
ygk_12345 | e0ne: yes | 08:44 |
ygk_12345 | e0ne: how to enable python errors | 08:44 |
e0ne | it's enabled by default | 08:45 |
ygk_12345 | e0ne: but i see any information other than module attribute heat not present | 08:45 |
ygk_12345 | *I dont see | 08:45 |
e0ne | :( | 08:45 |
ygk_12345 | e0ne: is anyone familiar with this code ? | 08:46 |
e0ne | try to run it via tox outside container | 08:46 |
e0ne | you just need to update your local_setting.py to specify keystone url | 08:46 |
ygk_12345 | e0ne: but it is ruing fine with these three files on a single node AIO setup of the same version | 08:46 |
ygk_12345 | e0ne: why so ? | 08:46 |
ygk_12345 | *running | 08:47 |
ygk_12345 | e0ne: i am baffled | 08:47 |
e0ne | it's easy to debug when you run horizon via tox | 08:47 |
ygk_12345 | e0ne: how to run it please guide me | 08:47 |
e0ne | here is a manual: https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup | 08:48 |
*** shardy has quit IRC | 08:50 | |
ygk_12345 | e0ne: 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 #heat | 08:51 | |
ygk_12345 | e0ne: any idea ? | 08:57 |
*** a-pugachev has joined #heat | 09:09 | |
*** strigazi has quit IRC | 09:15 | |
*** strigazi has joined #heat | 09:16 | |
*** _fragatina has quit IRC | 09:18 | |
*** k_mouza has joined #heat | 09:18 | |
*** _fragatina has joined #heat | 09:18 | |
*** mikecmpbll has joined #heat | 09:20 | |
*** _fragatina has quit IRC | 09:20 | |
*** _fragatina has joined #heat | 09:21 | |
*** stokvis has quit IRC | 09:40 | |
*** _fragatina has quit IRC | 09:47 | |
*** maddtux_ has quit IRC | 09:49 | |
ygk_12345 | hi all | 10:00 |
ygk_12345 | can someone help me with debugging horizon related heat code ? | 10:01 |
ygk_12345 | what are the differences between the two folders 'heat_dashboard' and 'openstack_dashboard' ? which one is active at a time ? | 10:03 |
*** ramishra has quit IRC | 10:15 | |
*** shardy has quit IRC | 10:19 | |
*** shardy has joined #heat | 10:20 | |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/python-heatclient master: Allow to set poll interval to OSC stack create https://review.openstack.org/633176 | 10:23 |
*** ricolin_ has quit IRC | 10:25 | |
*** ramishra has joined #heat | 10:39 | |
*** shardy has quit IRC | 10:55 | |
*** shardy has joined #heat | 11:10 | |
*** shardy has quit IRC | 11:15 | |
*** shardy has joined #heat | 11:17 | |
*** shardy has quit IRC | 11:22 | |
*** shardy has joined #heat | 11:35 | |
*** shardy has quit IRC | 11:39 | |
*** shardy has joined #heat | 11:53 | |
*** k_mouza has quit IRC | 11:58 | |
*** e0ne has quit IRC | 11:59 | |
*** k_mouza has joined #heat | 12:01 | |
*** k_mouza has quit IRC | 12:12 | |
*** k_mouza has joined #heat | 12:19 | |
*** zaneb has quit IRC | 12:34 | |
*** zbitter has joined #heat | 12:34 | |
*** ygk_12345 has quit IRC | 12:35 | |
*** skramaja has quit IRC | 12:40 | |
*** e0ne has joined #heat | 12:41 | |
*** _fragatina has joined #heat | 13:03 | |
*** _fragatina has quit IRC | 13:04 | |
*** _fragatina has joined #heat | 13:04 | |
*** k_mouza has quit IRC | 13:06 | |
*** k_mouza has joined #heat | 13:08 | |
*** rcernin has quit IRC | 13:30 | |
*** _fragatina has quit IRC | 13:58 | |
*** a-pugachev has quit IRC | 14:02 | |
*** a-pugachev has joined #heat | 14:03 | |
*** ramishra has quit IRC | 14:07 | |
*** jcoufal has joined #heat | 14:28 | |
*** nnsingh has quit IRC | 14:38 | |
*** ekultails has joined #heat | 14:43 | |
joadavis | gentle 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 IRC | 14:50 | |
*** k_mouza has quit IRC | 14:58 | |
*** k_mouza has joined #heat | 15:02 | |
*** spsurya has quit IRC | 15:07 | |
*** k_mouza has quit IRC | 15:10 | |
*** k_mouza has joined #heat | 15:11 | |
*** spsurya has joined #heat | 15:30 | |
*** jmlowe has joined #heat | 15:34 | |
*** bnemec has quit IRC | 15:43 | |
*** ramishra has joined #heat | 15:44 | |
*** e0ne has joined #heat | 15:55 | |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/python-heatclient master: Allow to set poll interval to OSC stack create https://review.openstack.org/633176 | 15:58 |
*** ramishra has quit IRC | 16:08 | |
*** a-pugachev has quit IRC | 16:31 | |
*** a-pugachev has joined #heat | 16:31 | |
*** e0ne has quit IRC | 16:39 | |
*** joadavis has quit IRC | 16:43 | |
*** jcoufal has quit IRC | 16:48 | |
*** jcoufal has joined #heat | 16:56 | |
*** mikecmpbll has quit IRC | 17:03 | |
*** _fragatina has joined #heat | 17:16 | |
*** _fragatina has quit IRC | 17:16 | |
*** _fragatina has joined #heat | 17:17 | |
*** jcoufal has quit IRC | 17:26 | |
*** _fragatina has quit IRC | 17:32 | |
*** _fragatina has joined #heat | 17:32 | |
*** jcoufal has joined #heat | 17:36 | |
*** _fragatina has quit IRC | 17:41 | |
*** k_mouza_ has joined #heat | 17:41 | |
*** _fragatina has joined #heat | 17:41 | |
*** k_mouza has quit IRC | 17:44 | |
*** k_mouza_ has quit IRC | 17:45 | |
*** k_mouza has joined #heat | 18:00 | |
*** k_mouza has quit IRC | 18:04 | |
*** shardy has quit IRC | 18:06 | |
*** _fragatina has quit IRC | 18:12 | |
*** _fragatina has joined #heat | 18:13 | |
*** _fragatina has quit IRC | 18:23 | |
*** a-pugachev has quit IRC | 18:36 | |
*** bnemec has joined #heat | 19:02 | |
*** bnemec is now known as beekneemech | 19:11 | |
*** e0ne has joined #heat | 19:25 | |
*** beekneemech has quit IRC | 19:42 | |
*** _fragatina has joined #heat | 19:43 | |
*** mikecmpbll has joined #heat | 19:58 | |
*** jcoufal has quit IRC | 20:05 | |
*** e0ne has quit IRC | 20:18 | |
*** problem_v has quit IRC | 20:29 | |
*** problem_v has joined #heat | 20:30 | |
*** kei-ichi has quit IRC | 20:31 | |
*** spsurya has quit IRC | 20:37 | |
*** gmoro has quit IRC | 21:15 | |
*** ekultails has quit IRC | 21:41 | |
*** a-pugachev has joined #heat | 22:37 | |
*** jmlowe has quit IRC | 22:41 | |
*** a-pugachev has quit IRC | 22:42 | |
*** bnemec has joined #heat | 23:12 | |
*** bnemec has quit IRC | 23:43 | |
*** bnemec has joined #heat | 23:44 | |
*** bnemec has quit IRC | 23:59 | |
*** bnemec has joined #heat | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!