*** dbpiv has joined #ara | 00:28 | |
*** dbpiv has quit IRC | 01:10 | |
*** dbpiv has joined #ara | 01:25 | |
*** dbpiv has quit IRC | 02:28 | |
*** dbpiv has joined #ara | 02:30 | |
*** dbpiv has quit IRC | 02:43 | |
*** gvincent has joined #ara | 07:53 | |
*** zbr|ooo is now known as zbr | 08:38 | |
*** sshnaidm|rover|b is now known as sshnaidm|rover | 10:13 | |
*** dbpiv has joined #ara | 12:04 | |
*** dbpiv has quit IRC | 14:14 | |
*** dbpiv has joined #ara | 14:15 | |
*** dbpiv has quit IRC | 14:16 | |
*** dbpiv has joined #ara | 14:16 | |
*** dbpiv_ has joined #ara | 14:21 | |
*** dbpiv has quit IRC | 14:21 | |
*** TKersten has joined #ara | 15:28 | |
TKersten | Does anyone know how to solve this: django.db.utils.OperationalError: no such table: playbooks | 15:29 |
---|---|---|
TKersten | In 'ara-manage runserver' | 15:30 |
dmsimard | TKersten: need to run SQL migrations: ara-manage migrate | 15:30 |
TKersten | Does this create a new database? | 15:30 |
dmsimard | TKersten: when using sqlite, it creates a ~/.ara/server/ansible.sqlite database file and creates the database schema inside | 15:31 |
TKersten | dmsimard: Aarrgh, thank you. Been debugging this all day. Thanks for this life-saver :-) | 15:32 |
dmsimard | the default behavior has the callback use the offline API client which takes care of running the migrations automatically | 15:32 |
dmsimard | TKersten: we should definitely add it to the docs, it's one of the items on the todo list in this issue https://github.com/ansible-community/ara/issues/76 | 15:33 |
dmsimard | don't spend a day on an issue, please reach out :D | 15:33 |
openstackgerrit | Merged recordsansible/ara master: API client: Add support for disabling SSL verification https://review.opendev.org/692821 | 15:34 |
TKersten | dmsimard: Then there is a bug in there, I do get an emty sql file with nothing in there. | 15:35 |
TKersten | dmsimard: I sure don't want to spent the whole day debugging. But I'm creating an Ansible training, so I want to learn as well. | 15:35 |
dmsimard | TKersten: ara-manage migrate creates the database file and the schema -- you need to run a playbook with the ara callback enabled for data to be recorded to it | 15:35 |
TKersten | dmsimard: I know I need to run playbooks to get data, but I didn't know I had to migrate to get an empty database scheme. And there I got stuck | 15:37 |
TKersten | dmsimard: Thanks for the hint! | 15:38 |
dmsimard | TKersten: I'll see if I can take a shot at the sql migration docs after I'm done wrestling with date and time zone issues :p | 15:38 |
TKersten | Thanks. A simple line in the docs would help. | 15:38 |
*** TKersten has quit IRC | 15:55 | |
*** fiddletwix has joined #ara | 16:15 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 17:20 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Move query filters from views.py to filters.py https://review.opendev.org/693057 | 17:24 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 17:26 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:07 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:10 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Move query filters from views.py to filters.py https://review.opendev.org/693057 | 18:12 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:12 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Move query filters from views.py to filters.py https://review.opendev.org/693057 | 18:14 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:14 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Move query filters from views.py to filters.py https://review.opendev.org/693057 | 18:17 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:17 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:26 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:26 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: api: Add support for searching by date fields https://review.opendev.org/692835 | 18:28 |
dmsimard | sorry for the spam, I think this one is good to go now :D | 18:28 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: api: Add support for ordering results https://review.opendev.org/693067 | 18:46 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: api: Add support for ordering results https://review.opendev.org/693067 | 18:46 |
*** sshnaidm|rover is now known as sshnaidm|off | 19:16 | |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: api: Add support for ordering results https://review.opendev.org/693067 | 20:07 |
openstackgerrit | David Moreau Simard proposed recordsansible/ara master: WIP: ui: Add support for filtering and ordering playbook index https://review.opendev.org/693076 | 20:07 |
*** zbr is now known as zbr|ooo | 20:29 | |
openstackgerrit | Merged recordsansible/ara master: api: Move query filters from views.py to filters.py https://review.opendev.org/693057 | 22:03 |
dmsimard | gvincent, apollo13: would love your opinion in https://review.opendev.org/692835 <3 | 22:04 |
dmsimard | wrote a comment | 22:04 |
*** zbr|ooo has quit IRC | 23:00 | |
*** fiddletwix has quit IRC | 23:23 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!