*** evrardjp has quit IRC | 04:36 | |
*** evrardjp has joined #openstack-sahara | 04:36 | |
*** tosky has joined #openstack-sahara | 07:34 | |
*** ierdem has joined #openstack-sahara | 09:12 | |
ierdem | hello everyone, i am trying to add v6.3.2 cdh plugin to sahara. I recently change the source code of v5_13_0 to v6_3_2 but when i create the necessary folder and files, sahara service does not get the Cloudera Platform at the select tab of plugins. When i undo changes on versionhandler.py, it can get the list. Could you help me please? And also i could not understand sth, how does __pycache__ folder generate? I can not compile .py files which | 09:29 |
---|---|---|
ierdem | present under both the v5.x.x and my v6.3.2 folder. It gives erorr like "__no module named ....". Thank you | 09:29 |
tosky | I can't answer everything, but __pycache__ is handled automatically by python(3) | 09:31 |
tosky | also: how have you deployed the modified code? Have you installed again sahara-plugin-cdh after changing it, or installed with pip, or...? | 09:32 |
ierdem | i am working on existing test cluster, i created v6.3.2 folder under /sahara_plugin_cdh/plugins/cdh/ dir and i copied codes from /v5_13_0. After this i changed the codes and i copied .json files which i generated from my CDH env under /v6_3_2/resources folder. Lastly, i restarts sahara-api and sahara-engine services | 09:37 |
tosky | and you also changed plugins/cdh/plugin.py | 09:40 |
ierdem | yes | 09:40 |
tosky | nothing suspicious in the sahara logs after the restart? | 09:42 |
tosky | it'd make sense to set sahara logs to debug, if they are not | 09:42 |
ierdem | it seems everything is fine, oddly there is no error or sth like that in journal | 09:43 |
ierdem | i am enabling debug mode now | 09:44 |
ierdem | i thought its already enabled by default | 09:44 |
tosky | that depends on the deployment system | 09:44 |
tosky | can you apply your changes to a local clone of sahara-plugin-cdh (as a commit) and try to run the unit tests? | 09:45 |
tosky | there is a test (sahara/tests/unit/plugins/cdh/test_versionfactory.py) which should tell you if the new version is there | 09:45 |
tosky | because you need to patch it with the new version | 09:45 |
tosky | sorry, sahara_plugin_cdh/tests/unit/plugins/cdh/test_versionfactory.py | 09:46 |
tosky | basically, if add the code and you run the unit tests without changing that test (tox -e py36 or tox -e py38), and if the new version is enabled, that test will fail | 09:47 |
tosky | so it should tell you that the new version is enabled | 09:47 |
ierdem | for now i am applying my changes step by step so therea are some of them to be waiting for. I will apply what you say as soon as possible after the complete changes. Thank you, i will be informing you | 09:52 |
tosky | but as the blocker right now is to find whether the plugin is enabled or not, I believe it would be worth to try right to run that unit test - at least you will know whether the plugin is visible :) | 09:54 |
*** jeremyfreudberg has quit IRC | 13:19 | |
*** jeremyfreudberg has joined #openstack-sahara | 13:28 | |
-openstackstatus- NOTICE: Our CI mirrors in OVH BHS1 and GRA1 regions were offline between 12:55 and 14:35 UTC, any failures there due to unreachable mirrors can safely be rechecked | 15:09 | |
*** ianychoi_ is now known as ianychoi | 16:09 | |
*** evrardjp has quit IRC | 16:36 | |
*** evrardjp has joined #openstack-sahara | 16:36 | |
*** ierdem has quit IRC | 17:05 | |
openstackgerrit | Merged openstack/puppet-sahara master: Add CentOS8 to nodesets https://review.opendev.org/726614 | 22:51 |
*** tosky has quit IRC | 22:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!