*** evrardjp has quit IRC | 00:05 | |
*** evrardjp has joined #ara | 00:06 | |
*** ccamacho has quit IRC | 00:09 | |
*** ccamacho has joined #ara | 00:10 | |
*** ccamacho has quit IRC | 00:39 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: container images: fixes and update to f33 https://review.opendev.org/c/recordsansible/ara/+/765638 | 01:32 |
---|---|---|
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: container images: fixes and update to f33 https://review.opendev.org/c/recordsansible/ara/+/765638 | 03:09 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: Add support for recording controller fqdn https://review.opendev.org/c/recordsansible/ara/+/765434 | 03:27 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: Add support for recording controller fqdn https://review.opendev.org/c/recordsansible/ara/+/765434 | 03:28 |
ara-slack | slackbot: 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 |
openstackgerrit | Merged recordsansible/ara master: container images: fixes and update to f33 https://review.opendev.org/c/recordsansible/ara/+/765638 | 03:53 |
ara-slack | slackbot: 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 |
dmsimard | ara-slack: what are you talking about | 03:55 |
dmsimard | silly bot | 03:55 |
*** evrardjp has quit IRC | 05:33 | |
*** evrardjp has joined #ara | 05:33 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: cli: Add 'ara playbook metrics' https://review.opendev.org/c/recordsansible/ara/+/761034 | 05:43 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: cli: Add 'ara task metrics' https://review.opendev.org/c/recordsansible/ara/+/760736 | 05:48 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: cli: Add 'ara host metrics' https://review.opendev.org/c/recordsansible/ara/+/760738 | 05:48 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: cli: Add 'ara playbook metrics' https://review.opendev.org/c/recordsansible/ara/+/761034 | 05:48 |
ara-slack | slackbot: 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 IRC | 11:57 | |
*** Comnenus has joined #ara | 11:58 | |
*** sshnaidm|off has quit IRC | 12:24 | |
ara-slack | moisebala: @moisebala has joined the channel | 16:27 |
ara-slack | moisebala: Hello guys , i.m wondering if i call record multiple users playbook running with ARA | 16:28 |
ara-slack | moisebala: its seems i only record the user i gave in the service configuration | 16:29 |
ara-slack | moisebala: ??? | 16:29 |
ara-slack | dmsimard: @moisebala could you give an example ? I'm not sure I understand what you mean | 17:11 |
ara-slack | moisebala: 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-slack | moisebala: Example : | 17:15 |
ara-slack | moisebala: ```[Unit] | 17:15 |
ara-slack | Description=ara | 17:15 |
ara-slack | After=network.target | 17:15 |
ara-slack | [Service] | 17:15 |
ara-slack | User=jenkins | 17:15 |
ara-slack | Type=simple | 17:15 |
ara-slack | TimeoutStartSec=0 | 17:15 |
ara-slack | Restart=on-failure | 17:15 |
ara-slack | RestartSec=10 | 17:15 |
ara-slack | RemainAfterExit=yes | 17:15 |
ara-slack | ExecStart=/usr/bin/ara-manage runserver -h | 17:15 |
ara-slack | 0.0.0.0 -p 9191 | 17:15 |
ara-slack | [Install] | 17:15 |
ara-slack | WantedBy=multi-user.target``` | 17:15 |
ara-slack | moisebala: 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-slack | dmsimard: 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 directory | 17:17 |
ara-slack | dmsimard: if you are hosting the API server as a service, you want to use the http api client and set the api servet endpoint | 17:18 |
ara-slack | dmsimard: so something like, for example: | 17:19 |
ara-slack | export ARA_API_CLIENT=http | 17:19 |
ara-slack | export ARA_API_SERVER=http://jenkins:9191 | 17:19 |
ara-slack | moisebala: thank you , its really new for me , is there any tutorial that i can follow to configure it ? | 17:20 |
ara-slack | dmsimard: we have docs: https://ara.readthedocs.io/en/latest/ansible-plugins-and-use-cases.html#ara-default-callback-recording-playbooks-from-ansible | 17:21 |
ara-slack | moisebala: Thank you much | 17:26 |
ara-slack | moisebala: i think i have to configure the api server first | 17:42 |
ara-slack | dmsimard: you might need to set ALLOWED_HOSTS in ~/.ara/server/settings.yaml with the endpoint hostname for your API server | 17:44 |
ara-slack | moisebala: am i going to loose my old data? | 17:56 |
ara-slack | moisebala: also that all the files i have under .ara : ansible.sqlite ara.log ara.log.2019-05-28 logging.yml | 17:59 |
ara-slack | moisebala: thers is no such a file /server/settings.yaml | 17:59 |
ara-slack | moisebala: shoul i create it | 17:59 |
ara-slack | dmsimard: 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-slack | dmsimard: I'm not sure how you wound up with that | 18:00 |
ara-slack | dmsimard: did you install with python2 ? 1.x is only available on python3 | 18:00 |
ara-slack | moisebala: yes | 18:00 |
ara-slack | moisebala: i still have python 2.7 | 18:00 |
ara-slack | dmsimard: sorry python2 is EOL :disappointed: | 18:01 |
ara-slack | moisebala: so i can uninstall that one and reinstall the new one | 18:01 |
ara-slack | moisebala: can you provide the link | 18:01 |
ara-slack | dmsimard: the link to what ? | 18:03 |
ara-slack | dmsimard: to use the latest version you need to be running both ansible and ara under python3, do you have it available ? | 18:05 |
ara-slack | moisebala: yes i have it | 18:05 |
ara-slack | dmsimard: we have a getting started guide with instructions: https://ara.readthedocs.io/en/latest/getting-started.html | 18:11 |
ara-slack | moisebala: thanks | 18:12 |
ara-slack | moisebala: Error response from daemon: manifest for recordsansible/ara-api:latest not found | 18:35 |
ara-slack | moisebala: when pulling the docker image | 18:35 |
ara-slack | moisebala: @dmsimard the newst version doesnt need 'ara.shell' and 'ara.manage' right ? | 19:17 |
ara-slack | dmsimard: @moisebala ara <1.0 and >=1.0 are completely different code bases, try to start from a clean state if you can do that | 20:42 |
ara-slack | dmsimard: there's an ara-manage in 1.0 but it's based on django while 0.x is based on flask | 20:42 |
ara-slack | dmsimard: shell comes from 0.x | 20:43 |
ara-slack | moisebala: thank you | 21:52 |
ara-slack | moisebala: i start clean but having ara-cli erreur | 21:52 |
ara-slack | moisebala: i will continu troubleshoot | 21:52 |
ara-slack | moisebala: the module is missing | 21:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!