Thursday, 2018-10-25

*** gvincent has quit IRC01:04
*** gvincent has joined #ara01:04
*** bcoca has quit IRC01:52
*** robertdebock has joined #ara04:46
*** robertdebock has quit IRC04:53
*** helloweenx has joined #ara09:59
helloweenxhey, i'm back with quick one - can i make ARA to not record single variable?09:59
Xarothas in https://ara.readthedocs.io/en/stable/configuration.html#ara-ignore-parameters ?11:19
helloweenxactually tried that, but i'm not sure how to use it.. is it path to file with variables, or is it variable itself? tried both, still see value of variable in ara report11:38
dmsimardhelloweenx: what do you mean by variable ? In a file ? In a result ?12:18
helloweenxi just dont want ARA to record password, which is variable supplied from file12:19
dmsimardBut where is that variable in ARA ?12:20
helloweenxin tasks, recorded in module "mail" parameter "body"12:21
dmsimardhelloweenx: you need to use no_log in your task12:25
dmsimardIn your ansible playbook12:25
dmsimardThat's not ARA, that's Ansible12:25
helloweenxoh. so there is no way to do this with ARA_IGNORE_PARAMETERS in ansible.cfg [ara]?12:26
helloweenxwell i tried no_log and now i have no output whatsoever :-D thats not really what i want12:32
dmsimardhelloweenx: if your password shows in ARA, it would show in the regular ansible-playbook console stdout12:34
dmsimardIf you don't want to set no_log, you can consider patching the module to not log a specific argument12:35
dmsimardThis isn't ARA's job12:35
dmsimardARA takes whatever Ansible sends to it12:35
helloweenxhmm12:41
helloweenxso how this parameter actualy work? ARA_IGNORE_PARAMETERS12:42
helloweenxit seems like perfect fit for my example with description from documentation12:42
helloweenxIf, for example, you use extra_vars to send a password or secret variable to your playbooks, it is likely you don’t want this saved in ARA’s database.12:42
dmsimardhelloweenx: parameters are command line arguments12:54
dmsimardansible-playbook -e foo=bar12:54
dmsimardapollo13: do you have an opinion on https://docs.ansible.com/ansible/2.6/modules/django_manage_module.html ?12:56
helloweenxwell thats too bad, you can hide parameters and you cant hide something from playbook12:59
helloweenxanyways thanks for conclusion ;)12:59
helloweenxdmsimard: will be ACL based access to web interface in ARA 1.0?13:01
dmsimardhelloweenx: what module are you using ? I maintain that the issue is with Ansible13:02
dmsimardModules have a built in method to not print things such as passwords13:02
dmsimard1.0 will ship without authentication, it's not certain yet if it's something that would land in a later release13:03
helloweenxin user module i can see in ARA this: "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",13:05
helloweenxwhich is great13:05
helloweenxbut in mail module, where i am sending password to just created user i can see unencrypted password13:06
dmsimardAh so it's part of an email body13:12
helloweenxyea13:17
*** irclogbot_0 has joined #ara13:18
*** irclogbot_0 has quit IRC13:18
*** irclogbot_0 has joined #ara13:19
helloweenxdamn, i can even see it in task, which loading variables13:20
*** irclogbot_0 has quit IRC13:22
*** irclogbot_0 has joined #ara13:24
*** irclogbot_0 has quit IRC13:37
*** irclogbot_0 has joined #ara13:38
*** bcoca has joined #ara13:40
dmsimardI would use no_log13:52
dmsimardUnless there's something critical in that output that would make it useful for troubleshooting purposes13:52
helloweenxyea for now i'll go for that, but feature to not log single variable would be cool in future releases (if its even possible, still not sure if its ansible side or ARA side)13:58
helloweenxthank you once more ;)13:58
helloweenxbtw not even one "sorry"? really?! :-D14:00
dmsimardhelloweenx: parameters and host facts are things that ARA goes a little bit out of it's way to recover and there are options to filter things accordingly14:01
dmsimardthe rest is just sent from ansible as-is14:02
dmsimardand are things that would be printed on the ansible playbook console14:02
dmsimardin 1.0 there will be another knob to filter things out but it will be for files14:02
dmsimardbecause 1.0 recovers everything14:03
dmsimardsee the no_log on the single argument here: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/database/mysql/mysql_user.py#L53114:07
*** irclogbot_0 has quit IRC14:07
*** tbielawa has joined #ara14:12
*** irclogbot_0 has joined #ara14:17
*** irclogbot_0 has quit IRC14:22
helloweenxdmsimard: cool, thanks for tip14:26
-openstackstatus- NOTICE: Zuul and Nodepool services are being restarted to migrate them to a new Zookeeper cluster. THis brings us an HA database running on newer servers.14:38
*** robertdebock has joined #ara14:43
*** irclogbot_0 has joined #ara14:50
*** irclogbot_0 has quit IRC14:51
*** irclogbot_0 has joined #ara15:01
*** irclogbot_0 has quit IRC15:01
*** irclogbot_0 has joined #ara15:06
*** robertdebock has quit IRC15:06
*** themurph has joined #ara15:18
*** irclogbot_0 has quit IRC15:21
-openstackstatus- NOTICE: The Zuul and Nodepool database transition is complete. Changes updated during the Zuul outage may need to be rechecked.15:29
*** robertdebock has joined #ara15:36
*** robertdebock has quit IRC15:43
*** sshnaidm|ruck is now known as sshnaidm|bbl15:54
*** irclogbot_0 has joined #ara15:55
*** irclogbot_0 has quit IRC15:55
apollo13Xaroth: hey, I know that django does not require a settings.py; but telling an enduser to do settings.configure if they want to override stuff is not really a good idea -- curious, what prompted your comment?16:03
apollo13dmsimard: it kinda works, has a few issues with idempotence though16:03
apollo13dmsimard: and well I fixed the ara issues with it for ansible 2.8 :þ (probably gets backported to 2.7.1)16:04
apollo13Xaroth: and yes, I have seen the turtles all the way talk live ;)16:04
apollo13+ down16:04
Xarothapollo13: it seems unwise to let endusers mess with django settings, as that means  you'll get all kinds of weird bug reports that aren't bugs.. why not include them in the ARA config setings, and pass them on to django?16:15
apollo13Xaroth: that is what I am doing16:16
apollo13ie see https://review.openstack.org/#/c/612446/16:16
Xarothmy apologies then16:17
apollo13Xaroth: no worries, I am open to suggestions :)16:17
*** irclogbot_0 has joined #ara16:22
*** irclogbot_0 has quit IRC16:22
*** mnaser has quit IRC16:26
*** mnaser has joined #ara16:26
dmsimardapollo13: oh, didn't realize you were a contributor to the module haha16:29
apollo13dmsimard: I am not; I just fixed the issues I came along when using ara (it failed because the module didn't return a bool as changed)16:30
*** tbielawa is now known as tbielawa|mtgs16:30
dmsimardapollo13: ah, reason I ask is because I've tried ansible-runner a bit out of curiosity and it's not bad16:35
*** irclogbot_0 has joined #ara16:35
*** irclogbot_0 has quit IRC16:35
dmsimardwas wondering what kind of opportunities there was for ara with it, if any16:35
apollo13is ansible-runner the thing awx uses?16:36
*** robertdebock has joined #ara16:58
*** irclogbot_0 has joined #ara16:59
*** irclogbot_0 has quit IRC16:59
*** sshnaidm|bbl is now known as sshnaidm|off17:15
*** harlowja has joined #ara17:27
dmsimardNot yet, but they want to use it17:30
*** tbielawa|mtgs is now known as tbielawa|lunch17:52
*** robertdebock has quit IRC18:08
*** robertdebock has joined #ara18:20
*** robertdebock has quit IRC18:24
*** robertdebock has joined #ara18:25
*** openstackgerrit has joined #ara19:04
openstackgerritJ Morse proposed openstack/ara master: fix minor doc typo  https://review.openstack.org/61339919:04
*** irclogbot_0 has joined #ara19:06
*** irclogbot_0 has quit IRC19:06
*** irclogbot_0 has joined #ara19:23
*** irclogbot_0 has quit IRC19:51
*** irclogbot_0 has joined #ara19:59
*** tbielawa|lunch is now known as tbielawa20:07
*** robertdebock has quit IRC20:17
*** robertdebock has joined #ara20:18
*** irclogbot_0 has quit IRC20:22
*** robertdebock has quit IRC20:22
*** robertdebock has joined #ara20:43
*** robertdebock has quit IRC20:55
*** tbielawa is now known as tbielawa|g0n321:04
*** irclogbot_0 has joined #ara21:13
*** themurph has quit IRC21:56
*** robertdebock has joined #ara22:03

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