*** openstackgerrit has quit IRC | 01:37 | |
*** tristanC has quit IRC | 01:37 | |
*** odyssey4me has quit IRC | 01:37 | |
*** njt has quit IRC | 01:37 | |
*** yeled has quit IRC | 01:37 | |
*** gundalow has quit IRC | 01:37 | |
*** jmccrory has quit IRC | 01:37 | |
*** apollo13 has quit IRC | 01:37 | |
*** Glandos has quit IRC | 01:37 | |
*** cloudnull has quit IRC | 01:37 | |
*** sshnaidm|afk has quit IRC | 01:37 | |
*** TimNZ has quit IRC | 01:37 | |
*** mgariepy has quit IRC | 01:37 | |
*** _KaszpiR_ has quit IRC | 01:37 | |
*** andymccr has quit IRC | 01:37 | |
*** Brainspackle has quit IRC | 01:37 | |
*** mnaser has quit IRC | 01:37 | |
*** gnupyx has quit IRC | 01:37 | |
*** larsks has quit IRC | 01:37 | |
*** jrist has quit IRC | 01:37 | |
*** wkid has quit IRC | 01:37 | |
*** dmsimard has quit IRC | 01:37 | |
*** hiroki has quit IRC | 01:37 | |
*** leifmadsen has quit IRC | 01:37 | |
*** Naphta has quit IRC | 01:37 | |
*** dw has quit IRC | 01:37 | |
*** ChanServ has quit IRC | 01:37 | |
*** dw has joined #ara | 01:43 | |
*** odyssey4me has joined #ara | 01:43 | |
*** Naphta has joined #ara | 01:43 | |
*** leifmadsen has joined #ara | 01:43 | |
*** hiroki has joined #ara | 01:43 | |
*** dmsimard has joined #ara | 01:43 | |
*** wkid has joined #ara | 01:43 | |
*** jrist has joined #ara | 01:43 | |
*** card.freenode.net sets mode: +o dmsimard | 01:43 | |
*** apollo13 has joined #ara | 01:44 | |
*** Glandos has joined #ara | 01:44 | |
*** cloudnull has joined #ara | 01:44 | |
*** openstackgerrit has joined #ara | 01:44 | |
*** sshnaidm|afk has joined #ara | 01:45 | |
*** TimNZ has joined #ara | 01:45 | |
*** gundalow has joined #ara | 01:45 | |
*** yeled has joined #ara | 01:45 | |
*** njt has joined #ara | 01:45 | |
*** Brainspackle has joined #ara | 01:46 | |
*** mnaser has joined #ara | 01:46 | |
*** andymccr has joined #ara | 01:46 | |
*** mgariepy has joined #ara | 01:46 | |
*** _KaszpiR_ has joined #ara | 01:46 | |
*** gnupyx has joined #ara | 01:46 | |
*** larsks has joined #ara | 01:46 | |
*** ChanServ has joined #ara | 01:47 | |
*** card.freenode.net sets mode: +o ChanServ | 01:47 | |
*** jrist has quit IRC | 05:11 | |
*** odyssey4me has quit IRC | 07:07 | |
*** gvincent has joined #ara | 07:09 | |
*** odyssey4me has joined #ara | 07:49 | |
*** sshnaidm|afk is now known as sshnaidm | 08:22 | |
*** gvincent has quit IRC | 08:42 | |
*** gvincent has joined #ara | 08:45 | |
*** gvincent has quit IRC | 09:10 | |
*** gvincent has joined #ara | 10:15 | |
*** gvincent has quit IRC | 10:22 | |
*** gvincent has joined #ara | 10:23 | |
_KaszpiR_ | the video from yesterdays live zuul prezentation is available https://www.crowdcast.io/e/zuul/1 | 10:29 |
---|---|---|
*** sshnaidm is now known as sshnaidm|afk | 11:04 | |
*** jrist has joined #ara | 11:15 | |
*** sshnaidm|afk is now known as sshnaidm | 11:24 | |
dmsimard | apollo13: I looked at the searching/filtering stuff briefly, it looks like we need to set up query sets, search fields and stuff like that | 12:39 |
dmsimard | _KaszpiR_: https://i.imgur.com/g9GZgsi.png reminds me of this that I did a while back: https://i.imgur.com/I3bV7nJ.png | 12:42 |
_KaszpiR_ | yeah | 12:45 |
_KaszpiR_ | some people do not know even basics of UML, unfortunately :/ | 12:45 |
dmsimard | I suck at graphs tho | 12:46 |
*** bcoca has joined #ara | 13:17 | |
*** tbielawa has joined #ara | 13:22 | |
*** dericcrago has joined #ara | 13:32 | |
*** themurph has joined #ara | 14:02 | |
*** themurph has quit IRC | 14:20 | |
*** themurph has joined #ara | 14:28 | |
*** jrist has quit IRC | 15:23 | |
*** justicefries has joined #ara | 15:23 | |
*** gvincent has quit IRC | 15:32 | |
*** justicefries has quit IRC | 15:53 | |
*** justicefries has joined #ara | 15:55 | |
*** sshnaidm has quit IRC | 15:58 | |
*** sshnaidm has joined #ara | 15:59 | |
*** justicefries has quit IRC | 16:30 | |
*** justicefries has joined #ara | 16:31 | |
*** tbielawa has quit IRC | 16:59 | |
*** tbielawa has joined #ara | 17:01 | |
*** tbielawa is now known as tbielawa|lunch | 17:59 | |
*** justicefries has quit IRC | 18:20 | |
*** tbielawa|lunch has quit IRC | 18:37 | |
*** tbielawa has joined #ara | 19:29 | |
*** tbielawa has quit IRC | 19:29 | |
*** tbielawa has joined #ara | 19:29 | |
apollo13 | dmsimard: do you have any definition somewhere what should be filterable? | 20:35 |
dmsimard | apollo13: I can make one up | 20:35 |
apollo13 | that would be great | 20:35 |
dmsimard | apollo13: can you give me an example of what you need ? | 20:36 |
dmsimard | or just the endpoint and what fields we'd need to query | 20:36 |
dmsimard | like getting tasks for a particular playbook, or tasks with a particular status, or plays with a particular uuid | 20:36 |
apollo13 | endpoint + which fields should be filterable would be enough | 20:37 |
apollo13 | even if it is just a list of sentences like you just had | 20:37 |
dmsimard | ok I can write a few of what we need to get us started | 20:38 |
apollo13 | ok, will go to bed now; just send me a link to a paste or whatever and I'll see what I can do | 20:38 |
apollo13 | oh drf uses django_filters; I maintained that package for a while :D | 20:40 |
dmsimard | that'll come in handy | 20:40 |
*** tbielawa has quit IRC | 20:53 | |
dmsimard | apollo13: https://etherpad.openstack.org/p/ara-1.0-searching | 20:54 |
apollo13 | dmsimard: regarding 3.2; I see a foreignkey to play in the Task model | 21:00 |
dmsimard | yeah and play has a key to playbook | 21:00 |
dmsimard | but task doesn't have a key to playbook | 21:00 |
dmsimard | at the end of the day, almost everything ties back to a playbook | 21:00 |
apollo13 | actually, what is a play and what is a playbook :) | 21:00 |
dmsimard | you know ansible right ? | 21:01 |
apollo13 | yes | 21:01 |
dmsimard | a playbook is basically the entire execution of one ansible-playbook command | 21:01 |
dmsimard | you can have one or many plays inside a playbook | 21:01 |
apollo13 | ah righto | 21:01 |
apollo13 | never looked to closely into the terminology | 21:02 |
dmsimard | apollo13: https://gist.github.com/dmsimard/d7e194c888f4ace177f176b24ff74f07 | 21:02 |
apollo13 | jupp | 21:02 |
openstackgerrit | Merged openstack/ara-server master: Don't run isort on django database migrations https://review.openstack.org/609075 | 21:02 |
openstackgerrit | Merged openstack/ara-server master: Add an uuid field for the play model and API https://review.openstack.org/609076 | 21:02 |
apollo13 | I guess for efficiency a direct link to playbooks might make sense | 21:03 |
dmsimard | yeah | 21:03 |
dmsimard | also, we need to figure out what we really want to send back on API calls | 21:03 |
dmsimard | I mean | 21:03 |
dmsimard | right now /api/v1/playbooks returns almost everything | 21:03 |
dmsimard | including files etc | 21:04 |
apollo13 | jupp, btw looking through the models | 21:05 |
apollo13 | tags = models.BinaryField(max_length=(2 ** 32) - 1) | 21:05 |
apollo13 | any reason why tags would be a binary field? | 21:05 |
dmsimard | that particular one probably doesn't need to be | 21:07 |
apollo13 | same probably goes for host facts | 21:07 |
dmsimard | ara does in-database compression to keep the size in check and files are hashed and stored once | 21:07 |
apollo13 | if it fits into json it is not binary… | 21:07 |
dmsimard | it's compressed | 21:07 |
apollo13 | ah | 21:07 |
dmsimard | tags are not big or anything | 21:07 |
dmsimard | but files and facts add up quickly | 21:07 |
apollo13 | ok, we might wanna write a custom field which does compression and decompression automatically | 21:08 |
apollo13 | or do you want compression already on the api side? | 21:08 |
dmsimard | gvincent recommended we keep the model as "dumb" as possible and handle the compression at the API level | 21:09 |
dmsimard | which is the current state of affairs | 21:09 |
dmsimard | in the flask version of 1.0, the compression was done in the model | 21:09 |
dmsimard | keeping it in the API probably makes sense | 21:09 |
apollo13 | ok, really going to be now :D gotta see if I can look into filtering a bit at work tomorrow | 21:11 |
dmsimard | ++ | 21:11 |
*** themurph has quit IRC | 21:14 | |
*** sshnaidm is now known as sshnaidm|afk | 22:33 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!