*** _KaszpiR_ has quit IRC | 00:26 | |
*** _KaszpiR_ has joined #ara | 00:33 | |
*** _KaszpiR_ has quit IRC | 00:40 | |
*** _KaszpiR_ has joined #ara | 01:17 | |
*** _KaszpiR_ has quit IRC | 02:19 | |
*** _KaszpiR_ has joined #ara | 02:46 | |
*** _KaszpiR_ has quit IRC | 02:49 | |
*** _KaszpiR_ has joined #ara | 05:32 | |
*** _KaszpiR_ has quit IRC | 05:37 | |
*** _KaszpiR_ has joined #ara | 06:04 | |
*** _KaszpiR_ has quit IRC | 06:09 | |
*** _KaszpiR_ has joined #ara | 06:38 | |
*** _KaszpiR_ has quit IRC | 06:44 | |
*** ccamacho has joined #ara | 07:25 | |
*** gvincent has joined #ara | 08:10 | |
*** _KaszpiR_ has joined #ara | 08:19 | |
*** _KaszpiR_ has quit IRC | 10:23 | |
*** sshnaidm|afk is now known as sshnaidm|ruck | 10:35 | |
*** _KaszpiR_ has joined #ara | 12:06 | |
*** bwatson has left #ara | 12:25 | |
*** bwatson has joined #ara | 12:32 | |
*** _KaszpiR_ has quit IRC | 12:42 | |
*** ccamacho has quit IRC | 13:10 | |
*** _KaszpiR_ has joined #ara | 14:46 | |
*** sshnaidm|ruck is now known as sshnaidm | 16:52 | |
openstackgerrit | Jeffrey van Pelt proposed recordsansible/ara-collection master: Made cron setup more flexible https://review.opendev.org/c/recordsansible/ara-collection/+/773952 | 17:16 |
---|---|---|
openstackgerrit | Jeffrey van Pelt proposed recordsansible/ara-collection master: ara_api: Add support for installing from PyPi https://review.opendev.org/c/recordsansible/ara-collection/+/773407 | 17:23 |
openstackgerrit | Jeffrey van Pelt proposed recordsansible/ara-collection master: Made SQL migration task aware of output https://review.opendev.org/c/recordsansible/ara-collection/+/773410 | 17:34 |
Comnenus | After I run $ ara-manage runserver I get an HTTP 500 and this error: django.db.utils.OperationalError: no such table: playbooks. How can I fix that? | 20:15 |
dmsimard | Comnenus: ara-manage migrate before runserver | 20:15 |
Comnenus | dmsimard: that was easy. Thanks! | 20:16 |
dmsimard | the callback takes care of that by default when running with the defaults but if you try to run the server before that, you need to run the migrations manually | 20:16 |
dmsimard | Comnenus: \o/ happy to help | 20:29 |
Comnenus | What would cause $ ara playbook list not to pick up the playbooks I just ran? | 20:29 |
dmsimard | Comnenus: did you enable the callback plugin ? | 20:30 |
Comnenus | dmsimard: I set the export. Is there more to it than that? | 20:30 |
dmsimard | if you check the value of the variable (say, "env | grep ANSIBLE") does it make sense ? | 20:31 |
Comnenus | I think it does. ANSIBLE_CALLBACK_PLUGINS=~/Library/Python/3.9/lib/python/site-packages/ara/plugins/callback | 20:32 |
dmsimard | ok and how ansible is installed ? | 20:32 |
Comnenus | I used brew | 20:33 |
dmsimard | so ansible with brew and ara with pip install (--user?) | 20:33 |
Comnenus | correct | 20:33 |
dmsimard | if you run "ansible --version", one of the lines is "ansible python module location" and I would suspect it's not ~/Library/Python/3.9/lib/python/site-packages | 20:34 |
Comnenus | ah, no. it's in /usr/local/Cellar | 20:35 |
dmsimard | so there is a split between two python interpreter site-packages libraries and that tends to cause issues | 20:35 |
dmsimard | if you try installing ansible in the same library (i.e, pip install --user) it should work | 20:36 |
Comnenus | Cool, let me try that. Thanks! | 20:36 |
*** sshnaidm is now known as sshnaidm|afk | 20:52 | |
*** _KaszpiR_ has quit IRC | 22:06 | |
*** openstackgerrit has quit IRC | 22:11 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!