Monday, 2019-01-14

*** tosky has quit IRC00:22
openstackgerritzhangyunyong proposed openstack/puppet-sahara master: Fix tox.ini  https://review.openstack.org/63055002:07
*** pcaruana has joined #openstack-sahara07:11
*** tosky has joined #openstack-sahara08:37
*** tellesnobrega has joined #openstack-sahara11:38
tellesnobregatosky, morning11:47
toskytellesnobrega: hi11:48
toskycan I send a review for tagging a new set of rocky releases?11:49
toskytellesnobrega: we have a significant amount of changes11:49
tellesnobregatosky, yes please11:54
tellesnobregaI wanted to double check the load plugin dynamically fix you suggested11:55
tellesnobregathe issue you pointed out is that we have a list of plugins that we want to load on the config file11:55
toskynew rocky release: https://review.openstack.org/#/c/630656/11:55
tellesnobregabut that list may not be able to be fulfilled since we may not have everything installed, correct?11:56
toskyyes, correct11:56
toskya way to solve this issue is to we make sure that deployers always update that configuration value depending on the plugins installed11:56
toskythat would require no code changes11:56
toskyand leave the check in place11:57
toskyotherwise, no check, and whatever is loaded, is loaded11:57
* tosky bbl11:57
tellesnobregasure11:57
* tosky back (for a while)13:02
*** dave-mccowan has joined #openstack-sahara13:14
*** tellesnobrega has quit IRC13:16
*** wondra has joined #openstack-sahara13:50
wondraHi! I'm trying to implement a policy where the Data Processing panel is not visible unless the user has the role BigData. The Sahara API successfully does not work, but the Data Processing panel is still visible. Can you please confirm that is should work?14:07
toskywondra: I have a vague memory that (and not just for Sahara) policies need to be copied under horizon to have it working, but I'm not totally sure16:09
toskyI worked a bit with policies with the CLI client; on the other hand, the policies should be implemented server-side, regardless of the client, so maybe something else is playing a role16:09
toskydid you already ask to horizon people?16:10
wondraI posted the question in both IRC channels :-).16:12
wondraAnd yes, I have copied the policy file to Horizon config directory and added it to local_settings.py as POLICY_FILES = { "data-processing": "sahara_policy.json",}16:13
wondraBut I'm concerned that there is nothing about policy in the sahara-dashboard code.16:15
toskywell, I don't remember any discussion from the horizon team to plugin owners to add something related to this16:17
toskybut maybe it comes from before the time when the horizon plugins were relevant16:18
wondraI also have the manila-ui plugin and it contains in all tables.py files lines such as:     policy_rules = (("share", "share:create"),)16:19
toskyok, then no, we don't do that16:19
toskyso the answer to your question right now is "no, it will still show, but the operations of course will fail"16:19
wondraAny plans to change that?16:20
toskyit was probably not even known16:20
*** pcaruana has quit IRC16:20
toskyI doubt we will have the bandwidth to implement it before Stein, there are already few other significant changes pending16:21
toskythe starting point is a story - would you please mind creating one on storyboard?16:21
wondraWill do. And I'll ask my developer colleague if he wants that feature enough to implement it. We don't have much experience with Python and none with Horizon.16:22
toskyit does not look like it should be *too* complicated, if it's just about adding the needed policies to each call; but I don't know right now16:23
wondraI think it still will not hide the panel, which is the goal.16:24
toskythat's really a question for the horizon team, then16:30
toskyunless... does the manila panel hides if the policy does not allow people to access it? Or did you try only for Sahara?16:31
wondraDone.16:35
wondraI didn't try for Manila.16:35
*** tellesnobrega has joined #openstack-sahara17:10
*** pcaruana has joined #openstack-sahara17:15
*** tellesnobrega has quit IRC17:16
*** tellesnobrega has joined #openstack-sahara17:48
tellesnobregatosky, are you around?17:50
toskytellesnobrega: yes, I am17:51
tellesnobregaso, going back to the topic earlier17:52
tellesnobregaI had to run, my wife had a flat tire, I had to run to help her and turned I had to buy 4 new tires for my car...17:53
toskyo.O17:53
tellesnobregaI'm back for a bit and will be traveling back home soon17:53
tellesnobregabut wanted to discuss before I have to leave and you finish your day17:53
tellesnobregathe current problem is that the user can choose a list of plugins but some of them may not be installed17:54
tellesnobregaSolution 1. Document that the operator has to match in the conf file what is installed in the service17:54
toskyand fix the deployment tools to do it17:55
tellesnobregaSolution 2. Drop the option from the config file and load using setuptools (if what I read quickly is right)17:56
toskydrop the option == make it useless, and remove it later; but yes17:57
tellesnobregaof course17:57
tellesnobregasmoothly deprecate17:57
toskyor at least make it so that it does not fail if the plugin is not installed, but still allows you to restrict the plugins loaded17:57
toskyI mean, you could still may want to install all but disable some of them17:58
toskyso maybe keep it, but adjust the semantic17:58
tellesnobregaSolution 3. Continue using the config file, to subset what is installed17:58
toskyyes17:59
tellesnobregashould we fail if the plugin is not installed and is present on the config file?18:00
tellesnobregaor should we just notify the user that the plugin was not loaded because it is not installed18:00
tellesnobrega?18:00
toskyright now sahara fails if the plugin is not installed and but it's listed in the config file18:01
toskyso I would maybe issue a warning18:02
tellesnobregaok, that means keeping the behavior pretty much as is, but instead of failing, warning18:03
tellesnobregawe may need to update the config file with the plugins loaded for future comparisons18:03
tellesnobregaI will take a look on the best way to solve that18:03
tellesnobregathanks tosky :)18:03
toskymaybe thinking more the best solution will come up18:05
tellesnobregayes18:14
*** dave-mccowan has quit IRC18:26
*** dave-mccowan has joined #openstack-sahara18:32
*** tellesnobrega has quit IRC18:36
*** pcaruana has quit IRC19:08
*** rcernin has joined #openstack-sahara22:31
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-ambari master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078422:46
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-cdh master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078522:46
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-mapr master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078622:46
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-spark master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078722:46
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-storm master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078822:46
openstackgerritLuigi Toscano proposed openstack/sahara-plugin-vanilla master: Post-import fixes: name, license, doc, translations  https://review.openstack.org/63078922:47
*** tellesnobrega has joined #openstack-sahara23:30

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