Monday, 2020-05-11

*** evrardjp has quit IRC04:36
*** evrardjp has joined #openstack-sahara04:36
*** tosky has joined #openstack-sahara07:34
*** ierdem has joined #openstack-sahara09:12
ierdemhello 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 which09:29
ierdempresent under both the v5.x.x and my v6.3.2 folder. It gives erorr like "__no module named ....". Thank you09:29
toskyI can't answer everything, but __pycache__ is handled automatically by python(3)09:31
toskyalso: how have you deployed the modified code? Have you installed again sahara-plugin-cdh after changing it, or installed with pip, or...?09:32
ierdemi 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 services09:37
toskyand you also changed plugins/cdh/plugin.py09:40
ierdemyes09:40
toskynothing suspicious in the sahara logs after the restart?09:42
toskyit'd make sense to set sahara logs to debug, if they are not09:42
ierdemit seems everything is fine, oddly there is no error or sth like that in journal09:43
ierdemi am enabling debug mode now09:44
ierdemi thought its already enabled by default09:44
toskythat depends on the deployment system09:44
toskycan you apply your changes to a local clone of sahara-plugin-cdh (as a commit) and try to run the unit tests?09:45
toskythere is a test (sahara/tests/unit/plugins/cdh/test_versionfactory.py) which should tell you if the new version is there09:45
toskybecause you need to patch it with the new version09:45
toskysorry, sahara_plugin_cdh/tests/unit/plugins/cdh/test_versionfactory.py09:46
toskybasically, 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 fail09:47
toskyso it should tell you that the new version is enabled09:47
ierdemfor 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 you09:52
toskybut 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 IRC13:19
*** jeremyfreudberg has joined #openstack-sahara13: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 rechecked15:09
*** ianychoi_ is now known as ianychoi16:09
*** evrardjp has quit IRC16:36
*** evrardjp has joined #openstack-sahara16:36
*** ierdem has quit IRC17:05
openstackgerritMerged openstack/puppet-sahara master: Add CentOS8 to nodesets  https://review.opendev.org/72661422:51
*** tosky has quit IRC22:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!