Wednesday, 2021-02-03

*** _KaszpiR_ has quit IRC00:26
*** _KaszpiR_ has joined #ara00:33
*** _KaszpiR_ has quit IRC00:40
*** _KaszpiR_ has joined #ara01:17
*** _KaszpiR_ has quit IRC02:19
*** _KaszpiR_ has joined #ara02:46
*** _KaszpiR_ has quit IRC02:49
*** _KaszpiR_ has joined #ara05:32
*** _KaszpiR_ has quit IRC05:37
*** _KaszpiR_ has joined #ara06:04
*** _KaszpiR_ has quit IRC06:09
*** _KaszpiR_ has joined #ara06:38
*** _KaszpiR_ has quit IRC06:44
*** ccamacho has joined #ara07:25
*** gvincent has joined #ara08:10
*** _KaszpiR_ has joined #ara08:19
*** _KaszpiR_ has quit IRC10:23
*** sshnaidm|afk is now known as sshnaidm|ruck10:35
*** _KaszpiR_ has joined #ara12:06
*** bwatson has left #ara12:25
*** bwatson has joined #ara12:32
*** _KaszpiR_ has quit IRC12:42
*** ccamacho has quit IRC13:10
*** _KaszpiR_ has joined #ara14:46
*** sshnaidm|ruck is now known as sshnaidm16:52
openstackgerritJeffrey van Pelt proposed recordsansible/ara-collection master: Made cron setup more flexible  https://review.opendev.org/c/recordsansible/ara-collection/+/77395217:16
openstackgerritJeffrey van Pelt proposed recordsansible/ara-collection master: ara_api: Add support for installing from PyPi  https://review.opendev.org/c/recordsansible/ara-collection/+/77340717:23
openstackgerritJeffrey van Pelt proposed recordsansible/ara-collection master: Made SQL migration task aware of output  https://review.opendev.org/c/recordsansible/ara-collection/+/77341017:34
ComnenusAfter 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
dmsimardComnenus: ara-manage migrate before runserver20:15
Comnenusdmsimard: that was easy.  Thanks!20:16
dmsimardthe 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 manually20:16
dmsimardComnenus: \o/ happy to help20:29
ComnenusWhat would cause $ ara playbook list not to pick up the playbooks I just ran?20:29
dmsimardComnenus: did you enable the callback plugin ?20:30
Comnenusdmsimard: I set the export.  Is there more to it than that?20:30
dmsimardif you check the value of the variable (say, "env | grep ANSIBLE") does it make sense ?20:31
ComnenusI think it does.  ANSIBLE_CALLBACK_PLUGINS=~/Library/Python/3.9/lib/python/site-packages/ara/plugins/callback20:32
dmsimardok and how ansible is installed ?20:32
ComnenusI used brew20:33
dmsimardso ansible with brew and ara with pip install (--user?)20:33
Comnenuscorrect20:33
dmsimardif 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-packages20:34
Comnenusah, no.  it's in /usr/local/Cellar20:35
dmsimardso there is a split between two python interpreter site-packages libraries and that tends to cause issues20:35
dmsimardif you try installing ansible in the same library (i.e, pip install --user) it should work20:36
ComnenusCool, let me try that.  Thanks!20:36
*** sshnaidm is now known as sshnaidm|afk20:52
*** _KaszpiR_ has quit IRC22:06
*** openstackgerrit has quit IRC22:11

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