Saturday, 2020-12-05

*** evrardjp has quit IRC00:05
*** evrardjp has joined #ara00:06
*** ccamacho has quit IRC00:09
*** ccamacho has joined #ara00:10
*** ccamacho has quit IRC00:39
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: container images: fixes and update to f33  https://review.opendev.org/c/recordsansible/ara/+/76563801:32
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: container images: fixes and update to f33  https://review.opendev.org/c/recordsansible/ara/+/76563803:09
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: WIP: Add support for recording controller fqdn  https://review.opendev.org/c/recordsansible/ara/+/76543403:27
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: WIP: Add support for recording controller fqdn  https://review.opendev.org/c/recordsansible/ara/+/76543403:28
ara-slackslackbot: Pssst! I didn’t unfurl https://review.opendev.org/c/recordsansible/ara/+/765434 because it was already shared in this channel quite recently (within the last hour) and I didn’t want to clutter things up.03:28
openstackgerritMerged recordsansible/ara master: container images: fixes and update to f33  https://review.opendev.org/c/recordsansible/ara/+/76563803:53
ara-slackslackbot: Pssst! I didn’t unfurl https://review.opendev.org/c/recordsansible/ara/+/765638 because it was already shared in this channel quite recently (within the last hour) and I didn’t want to clutter things up.03:53
dmsimardara-slack: what are you talking about03:55
dmsimardsilly bot03:55
*** evrardjp has quit IRC05:33
*** evrardjp has joined #ara05:33
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: cli: Add 'ara playbook metrics'  https://review.opendev.org/c/recordsansible/ara/+/76103405:43
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: cli: Add 'ara task metrics'  https://review.opendev.org/c/recordsansible/ara/+/76073605:48
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: cli: Add 'ara host metrics'  https://review.opendev.org/c/recordsansible/ara/+/76073805:48
openstackgerritDavid Moreau Simard proposed recordsansible/ara master: cli: Add 'ara playbook metrics'  https://review.opendev.org/c/recordsansible/ara/+/76103405:48
ara-slackslackbot: Pssst! I didn’t unfurl https://review.opendev.org/c/recordsansible/ara/+/761034 because it was already shared in this channel quite recently (within the last hour) and I didn’t want to clutter things up.05:48
*** Comnenus has quit IRC11:57
*** Comnenus has joined #ara11:58
*** sshnaidm|off has quit IRC12:24
ara-slackmoisebala: @moisebala has joined the channel16:27
ara-slackmoisebala: Hello guys , i.m wondering if i call record multiple users playbook running  with ARA16:28
ara-slackmoisebala: its seems i only record the user i gave in the service configuration16:29
ara-slackmoisebala: ???16:29
ara-slackdmsimard: @moisebala  could you give an example ? I'm not sure I understand what you mean17:11
ara-slackmoisebala: I have create a service to run ARA on a server , not sure if it the beat way , but on the web GUI i only have the records of the user i specify in my service not all the users on the server .17:14
ara-slackmoisebala: Example :17:15
ara-slackmoisebala: ```[Unit]17:15
ara-slackDescription=ara17:15
ara-slackAfter=network.target17:15
ara-slack [Service]17:15
ara-slackUser=jenkins17:15
ara-slackType=simple17:15
ara-slackTimeoutStartSec=017:15
ara-slackRestart=on-failure17:15
ara-slackRestartSec=1017:15
ara-slackRemainAfterExit=yes17:15
ara-slackExecStart=/usr/bin/ara-manage runserver -h17:15
ara-slack0.0.0.0 -p 919117:15
ara-slack [Install]17:15
ara-slackWantedBy=multi-user.target```17:15
ara-slackmoisebala: i will have only Jenkins user records on the GUI . How can i get the records for all the user by defaults @dmsimard??17:16
ara-slackdmsimard: when you enable the callback, by default it will use the offline API client which will save data to a sqlite database in the user's home directory17:17
ara-slackdmsimard: if you are hosting the API server as a service, you want to use the http api client and set the api servet endpoint17:18
ara-slackdmsimard: so something like, for example:17:19
ara-slackexport ARA_API_CLIENT=http17:19
ara-slackexport ARA_API_SERVER=http://jenkins:919117:19
ara-slackmoisebala: thank you , its really new for me , is there any tutorial that i can follow to configure it  ?17:20
ara-slackdmsimard: we have docs: https://ara.readthedocs.io/en/latest/ansible-plugins-and-use-cases.html#ara-default-callback-recording-playbooks-from-ansible17:21
ara-slackmoisebala: Thank you much17:26
ara-slackmoisebala: i think i have to configure the api server first17:42
ara-slackdmsimard: you might need to set ALLOWED_HOSTS in ~/.ara/server/settings.yaml with the endpoint hostname for your API server17:44
ara-slackmoisebala: am i going to loose my old data?17:56
ara-slackmoisebala: also that all the files i have under .ara :  ansible.sqlite  ara.log  ara.log.2019-05-28  logging.yml17:59
ara-slackmoisebala: thers is no such a file /server/settings.yaml17:59
ara-slackmoisebala: shoul i create it17:59
ara-slackdmsimard: hmm it sounds like you're using a version of ara that predates 1.0 (we're up to 1.5.3 now)18:00
ara-slackdmsimard: I'm not sure how you wound up with that18:00
ara-slackdmsimard: did you install with python2 ? 1.x is only available on python318:00
ara-slackmoisebala: yes18:00
ara-slackmoisebala: i still have python 2.718:00
ara-slackdmsimard: sorry python2 is EOL :disappointed:18:01
ara-slackmoisebala: so i can uninstall that one and reinstall the new one18:01
ara-slackmoisebala: can you provide the link18:01
ara-slackdmsimard: the link to what ?18:03
ara-slackdmsimard: to use the latest version you need to be running both ansible and ara under python3, do you have it available ?18:05
ara-slackmoisebala: yes i have it18:05
ara-slackdmsimard: we have a getting started guide with instructions: https://ara.readthedocs.io/en/latest/getting-started.html18:11
ara-slackmoisebala: thanks18:12
ara-slackmoisebala: Error response from daemon: manifest for recordsansible/ara-api:latest not found18:35
ara-slackmoisebala: when pulling the docker image18:35
ara-slackmoisebala: @dmsimard the newst version doesnt need  'ara.shell' and 'ara.manage'  right ?19:17
ara-slackdmsimard: @moisebala ara <1.0 and >=1.0 are completely different code bases, try to start from a clean state if you can do that20:42
ara-slackdmsimard: there's an ara-manage in 1.0 but it's based on django while 0.x is based on flask20:42
ara-slackdmsimard: shell comes from 0.x20:43
ara-slackmoisebala: thank you21:52
ara-slackmoisebala: i start clean but having  ara-cli erreur21:52
ara-slackmoisebala: i will continu troubleshoot21:52
ara-slackmoisebala: the module is missing21:53

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