*** prashanthr_ has joined #openstack-zaqar | 00:15 | |
*** flwang1 has quit IRC | 00:24 | |
*** mustapha has joined #openstack-zaqar | 00:29 | |
*** prashanthr_ has quit IRC | 00:47 | |
*** prashanthr_ has joined #openstack-zaqar | 01:14 | |
mustapha | peps has any one seen this backend error when looking at database claims? | 01:23 |
---|---|---|
mustapha | ProgrammingError: (ProgrammingError) operator does not exist: integer <= interva | 01:23 |
*** yograterol has joined #openstack-zaqar | 01:32 | |
*** flwang1 has joined #openstack-zaqar | 01:50 | |
openstackgerrit | lifeless proposed a change to openstack/python-zaqarclient: Remove hardcoded version. https://review.openstack.org/115465 | 01:55 |
*** vkmc has quit IRC | 02:38 | |
*** prashanthr_ has quit IRC | 03:05 | |
*** cpallares has joined #openstack-zaqar | 03:08 | |
*** cpallares has quit IRC | 03:16 | |
*** cpallares has joined #openstack-zaqar | 03:24 | |
*** prashanthr_ has joined #openstack-zaqar | 03:28 | |
*** cpallares has quit IRC | 03:30 | |
*** cpallares has joined #openstack-zaqar | 03:30 | |
*** cpallares has quit IRC | 03:31 | |
*** mustapha has quit IRC | 03:49 | |
*** prashanthr_ has quit IRC | 03:59 | |
*** chandankumar has joined #openstack-zaqar | 03:59 | |
*** prashanthr_ has joined #openstack-zaqar | 03:59 | |
*** prashanthr_ has quit IRC | 04:22 | |
*** chandankumar has quit IRC | 04:52 | |
*** chandankumar has joined #openstack-zaqar | 04:59 | |
*** chandankumar has quit IRC | 05:02 | |
*** prashanthr_ has joined #openstack-zaqar | 05:04 | |
*** yograterol has quit IRC | 05:19 | |
*** prashanthr_1 has joined #openstack-zaqar | 05:39 | |
*** chandankumar has joined #openstack-zaqar | 05:40 | |
*** prashanthr_ has quit IRC | 05:41 | |
*** prashanthr_1 has quit IRC | 05:56 | |
*** flwang1 has quit IRC | 06:02 | |
openstackgerrit | Victoria MartÃnez de la Cruz proposed a change to openstack/zaqar: Zaqar configuration reference docs https://review.openstack.org/114530 | 06:04 |
*** reed has quit IRC | 06:09 | |
*** flaper87|afk is now known as flaper87 | 06:35 | |
*** prashanthr_ has joined #openstack-zaqar | 07:02 | |
*** AAzza_afk is now known as AAzza | 07:08 | |
*** prashanthr_ has quit IRC | 07:46 | |
*** prashanthr_ has joined #openstack-zaqar | 08:03 | |
*** prashanthr_ has quit IRC | 08:10 | |
*** prashanthr_ has joined #openstack-zaqar | 08:31 | |
openstackgerrit | Nataliia Uvarova proposed a change to openstack/zaqar: Encapsulate top-level lists in responses in object https://review.openstack.org/115544 | 08:34 |
flaper87 | prashanthr_: hey :) | 08:39 |
flaper87 | prashanthr_: good morning | 08:40 |
prashanthr_ | flaper87: Hello :) Good morning to you as well ! :) | 08:40 |
flaper87 | prashanthr_: any chance you can address the latest comments in the redis patch soon ? | 08:41 |
flaper87 | :D | 08:41 |
flaper87 | :D | 08:41 |
prashanthr_ | flaper87: Very soon | 08:41 |
prashanthr_ | just about to get them done | 08:41 |
prashanthr_ | will do by EOD today | 08:41 |
* prashanthr_ remembers the time fiasco ;) But is confident this time :) | 08:42 | |
flaper87 | prashanthr_: awesome, awesome, awesome :) | 08:43 |
openstackgerrit | A change was merged to openstack/zaqar: Updated from global requirements https://review.openstack.org/114060 | 08:54 |
*** prashanthr_1 has joined #openstack-zaqar | 08:57 | |
*** julienvey has joined #openstack-zaqar | 09:05 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/zaqar: V1.1 Homedoc https://review.openstack.org/96159 | 09:31 |
*** prashanthr_1 has quit IRC | 09:34 | |
flaper87 | kgriffs|afk: when you're around, could you take a look at this patch? https://review.openstack.org/#/c/76555/ | 09:38 |
flaper87 | I think the current version is good enough to begin with | 09:38 |
flaper87 | (context: health's endpoint patch) | 09:39 |
prashanthr_ | flaper87: Just a small question | 09:47 |
prashanthr_ | assuming there's a dictionary | 09:47 |
prashanthr_ | a = {'id':1} | 09:47 |
prashanthr_ | oops sorry https://etherpad.openstack.org/p/zaqar-scratch | 09:48 |
prashanthr_ | Sorry flaper87 | 09:52 |
* flaper87 back | 09:52 | |
prashanthr_ | typo caused a problem | 09:52 |
flaper87 | for a bit | 09:52 |
prashanthr_ | now solved it | 09:52 |
flaper87 | oh ok | 09:52 |
prashanthr_ | :) | 09:52 |
flaper87 | I'm glad I helped | 09:52 |
flaper87 | :P | 09:52 |
*** openstackgerrit has quit IRC | 10:10 | |
*** prashanthr_1 has joined #openstack-zaqar | 10:22 | |
*** prashanthr_1 has quit IRC | 10:27 | |
*** prashanthr_1 has joined #openstack-zaqar | 10:46 | |
*** prashanthr_2 has joined #openstack-zaqar | 11:29 | |
*** prashanthr_1 has quit IRC | 11:29 | |
flaper87 | wpf: ping | 11:30 |
flaper87 | wpf: any chance you can revisit this patch? https://review.openstack.org/#/c/110543/ | 11:31 |
*** prashanthr_1 has joined #openstack-zaqar | 11:54 | |
*** prashanthr_2 has quit IRC | 11:58 | |
*** vkmc has joined #openstack-zaqar | 12:13 | |
vkmc | morning :) | 12:13 |
prashanthr_ | vkmc: Good morning :) | 12:14 |
flaper87 | vkmc: goooooood morning | 12:14 |
flaper87 | there you are | 12:14 |
flaper87 | vkmc: I've got some questions for you | 12:14 |
flaper87 | but first, here's some coffee for you \_/? | 12:15 |
flaper87 | or tea | 12:15 |
flaper87 | or whatever you want to put in there | 12:15 |
flaper87 | as long as it fits in that cup | 12:15 |
flaper87 | >.> | 12:15 |
flaper87 | I ain't giving you a bigger one | 12:15 |
flaper87 | ok? | 12:15 |
vkmc | hey prashanthr_, flaper87! | 12:15 |
vkmc | haha I got my mates here :) so shoot! | 12:15 |
flaper87 | vkmc: lets start with docs. How's that going ? | 12:16 |
vkmc | I need the coffee too though | 12:16 |
* vkmc grabs \_/ | 12:16 | |
vkmc | I yesterday uploaded some of the config reference | 12:16 |
flaper87 | vkmc: I don't want to put preasure but you and prashanthr_ are the only ones with "essential" blueprints assigned https://launchpad.net/marconi/+milestone/juno-3 | 12:16 |
flaper87 | but really, no preasure, it's just that we can't release w/o that | 12:17 |
flaper87 | but I mean it, no preasure, when do you think it'll be done? | 12:17 |
flaper87 | now, seriously, no preasure. Are you both done? | 12:17 |
flaper87 | :D | 12:17 |
prashanthr_ | flaper87: I really think this will be my last patchset | 12:17 |
vkmc | haha | 12:17 |
prashanthr_ | :D | 12:17 |
* vkmc start feelings the pressure | 12:17 | |
flaper87 | vkmc: that's great news (re config references) | 12:17 |
* prashanthr_ prays :D | 12:17 | |
* flaper87 looks at the blueprint list and realizes that there are 2 essential blueprints left and they're assigned to prashanthr_ and vkmc | 12:18 | |
vkmc | other doc effort is detailed in here https://etherpad.openstack.org/p/marconi-graduation | 12:18 |
flaper87 | vkmc: yeah, I kinda freaked out earlier today | 12:19 |
vkmc | I'm tackling one or two extra items of the dev guide today | 12:19 |
flaper87 | there are many things listed and phew scratched :P | 12:19 |
vkmc | why that? | 12:19 |
vkmc | oh | 12:19 |
vkmc | yes | 12:19 |
flaper87 | but really, no preasure | 12:19 |
* flaper87 ROFL | 12:19 | |
flaper87 | I couldn't help it | 12:19 |
flaper87 | ok | 12:19 |
vkmc | good news about docs that it's not there is that we already have the | 12:19 |
vkmc | 'base' | 12:19 |
flaper87 | I'll dedicate time to help you out with that | 12:19 |
vkmc | so we will be ok | 12:19 |
flaper87 | cool beans | 12:19 |
flaper87 | thank you | 12:19 |
flaper87 | very very much | 12:19 |
vkmc | flaper87, first review this that is essential https://review.openstack.org/#/c/114530/ | 12:20 |
vkmc | wow. much thanks. | 12:20 |
prashanthr_ | thanks flaper87 :) | 12:20 |
flaper87 | vkmc: will those docs be moved somewhere else later on? | 12:20 |
flaper87 | vkmc: none of the integrated projects have the user-guide in their codebase | 12:21 |
flaper87 | I'm happy with it living there, I just want to know what the process is | 12:21 |
vkmc | flaper87, yeap, to the OpenStack Configuration Reference | 12:21 |
flaper87 | prashanthr_: lemme know when the last patch-set is up for review | 12:21 |
flaper87 | vkmc: awesome | 12:22 |
prashanthr_ | flaper87: 2 more unit tests to debug and then it's set :) | 12:22 |
vkmc | flaper87, http://docs.openstack.org/icehouse/config-reference/content/ | 12:22 |
julienvey | flaper87: hi, you've got a minute ? | 12:22 |
flaper87 | julienvey: sure, shoot. | 12:22 |
vkmc | flaper87, yes I'm aware of that, already asked annegentle the way to go | 12:22 |
julienvey | I commented on this bug https://bugs.launchpad.net/python-marconiclient/+bug/1355872 | 12:23 |
vkmc | flaper87, when we graduate then move those docs in /user-guide to the openstack-manuals repo | 12:23 |
julienvey | i found openstackclient has registered both zaqarclient and marconiclient | 12:23 |
flaper87 | julienvey: oh, mmh, that's kinda weird. | 12:23 |
julienvey | i guess zaqarclient is installed via devstack when i enable marconi-server | 12:23 |
julienvey | or zaqar-server now | 12:24 |
flaper87 | Ahhhh probably, yes. | 12:24 |
flaper87 | julienvey: that's probably caused by the rename process | 12:24 |
julienvey | and i guess marconiclient is installed via a requirement somewhere | 12:24 |
julienvey | but it's still marconi client here | 12:24 |
flaper87 | julienvey: so, we're almost completely done with the rename now, I think we need to change 2 more things in devstack and this bug should go away | 12:24 |
julienvey | and I didn't found zaqar on pypi | 12:24 |
flaper87 | julienvey: I'll release it now | 12:24 |
*** malini has quit IRC | 12:25 | |
julienvey | ok, let me know :) | 12:25 |
flaper87 | julienvey: waiting for `infra` to create the project on pypi. Once that's done, I'll proceed with the release | 12:28 |
julienvey | cool, you'll also need to update global-requirements https://github.com/openstack/requirements/blob/master/global-requirements.txt#L103 | 12:29 |
flaper87 | julienvey: crap, you're right! | 12:29 |
flaper87 | soooooooooooooooooooooooooooooooo many little things | 12:29 |
vkmc | julienvey, thanks for reporting this :) | 12:38 |
vkmc | the renaming has been tricky | 12:38 |
*** sriram has joined #openstack-zaqar | 12:38 | |
flaper87 | vkmc: what's the best way to review your patch that does not require reading xml ? | 12:39 |
flaper87 | :P | 12:39 |
flaper87 | does build_sphinx do the trick ? | 12:39 |
* flaper87 runs it | 12:39 | |
vkmc | flaper87, oh nono, that's docbook | 12:39 |
flaper87 | ah :( | 12:39 |
vkmc | I can upload the compiled file | 12:39 |
flaper87 | build_docbook ? :P | 12:40 |
flaper87 | just kidding | 12:40 |
flaper87 | vkmc: nah, that's fine | 12:40 |
vkmc | you require maven for it | 12:40 |
flaper87 | wait, what? | 12:40 |
flaper87 | oh dear lord | 12:40 |
flaper87 | I'd rather read xml | 12:40 |
flaper87 | no wait | 12:40 |
vkmc | and then run 'mvn clean generate-sources' in the directory | 12:40 |
* flaper87 puts a gun on his head and pulls the trigger | 12:41 | |
flaper87 | I'll read the xml | 12:41 |
vkmc | lol | 12:41 |
vkmc | I mean it! | 12:41 |
vkmc | I can upload the output | 12:41 |
flaper87 | vkmc: and that increases the number of thanks | 12:41 |
flaper87 | vkmc: THANK you for working on this | 12:41 |
vkmc | flaper87, np I'm happy to :) | 12:41 |
flaper87 | vkmc: if uploading a compiled version doesn't take you much time, it'd be really nice. | 12:44 |
vkmc | flaper87, almost done | 12:49 |
vkmc | the output is 14mb :@ | 12:51 |
flaper87 | vkmc: crap | 12:51 |
flaper87 | :/ | 12:51 |
vkmc | but it's better than installing maven | 12:52 |
vkmc | and compiling | 12:52 |
vkmc | https://drive.google.com/folderview?id=0B_FzLICJIVoINzR0SzhyQVpoTUU&usp=sharing | 12:53 |
vkmc | :D | 12:53 |
vkmc | unzip target | 12:53 |
vkmc | and run 'firefox docbkx/webhelp/zaqar-config-ref/index.html' | 12:54 |
vkmc | or the browser you like more | 12:54 |
flaper87 | vkmc: awesome, thanks! Dropped some comments | 12:55 |
vkmc | flaper87, thanks, you rock :) | 12:56 |
vkmc | and yeah, it's redundant to read The OpenStack Messaging and Notifications service | 12:57 |
vkmc | but I saw that's how it's everywhere in the configuration reference | 12:57 |
flaper87 | vkmc: ah well, then, lets keep it like that | 12:57 |
vkmc | I don't know if there is some convention to avoid naming the project codename | 12:57 |
vkmc | I'm positive that Catherin will have good feedback about it | 12:57 |
vkmc | Catherine* | 12:58 |
*** malini has joined #openstack-zaqar | 13:05 | |
*** mpanetta has joined #openstack-zaqar | 13:09 | |
vkmc | flaper87, btw, I hit some errors on trying to regenerate the conf file http://paste.openstack.org/show/97445/ | 13:09 |
vkmc | any ideas on why it may be happening? | 13:09 |
vkmc | I read the script and I couldn't spot the issue | 13:10 |
*** AAzza is now known as AAzza_afk | 13:11 | |
flaper87 | vkmc: ah yeah, I was working on that the other day. I think it's something to do with the rename too. I kinda gave up after a bit but I'll work on that again | 13:15 |
flaper87 | vkmc: I noticed you've 2 bugs assigned to you, are you going to work on those or can we re-assign them ? | 13:16 |
vkmc | flaper87, I'm working on the testing one and I have someone interested in working on the docs one | 13:16 |
vkmc | (an OPW future applicant) | 13:16 |
flaper87 | vkmc: awesome :D | 13:16 |
vkmc | I she don't reply me this week though, I'll tackle that | 13:16 |
vkmc | If* | 13:16 |
flaper87 | ok, I just wanted to make sure you were working on them | 13:17 |
flaper87 | great | 13:17 |
flaper87 | julienvey: https://pypi.python.org/pypi/python-zaqarclient | 13:17 |
flaper87 | now, global-requirements | 13:17 |
flaper87 | julienvey: https://review.openstack.org/115641 | 13:20 |
mpanetta | Morning all | 13:21 |
flaper87 | vkmc: addressed your comments here: https://review.openstack.org/#/c/96159/ | 13:22 |
flaper87 | mpanetta: hey hey | 13:22 |
flaper87 | long time | 13:22 |
mpanetta | Yeah, they are keeping me busy here | 13:22 |
mpanetta | How goes? | 13:22 |
vkmc | flaper87, I saw them, reviewing :) thx | 13:23 |
flaper87 | mpanetta: all great man, you? | 13:28 |
flaper87 | lots of patches flying around to get us ready for graduation | 13:28 |
mpanetta | flaper87: Doing well, keeping busy! | 13:28 |
mpanetta | Awesome! | 13:28 |
mpanetta | When is that? | 13:28 |
*** AAzza_afk is now known as AAzza | 13:29 | |
*** prashanthr_1 has quit IRC | 13:29 | |
vkmc | flaper87, https://review.openstack.org/#/c/115622/ isn't the devstack gate also in stable/icehouse? | 13:31 |
vkmc | the rename should affect it though, but I don't remember if we did the rename in devstack in that branch | 13:32 |
vkmc | yes it's done, ignore me | 13:33 |
flaper87 | well, that's tricky. stable/icehouse should still use marconi | 13:34 |
flaper87 | actually, that's a good question. should we also rename stable branches? | 13:34 |
flaper87 | damn | 13:34 |
flaper87 | I had completely forgotten about that | 13:34 |
flaper87 | :S | 13:34 |
flaper87 | lemme ping someone that has already done it | 13:34 |
vkmc | ok | 13:34 |
vkmc | :) | 13:35 |
*** prashanthr_1 has joined #openstack-zaqar | 13:39 | |
flaper87 | vkmc: nah no need to rename stable branches | 13:42 |
flaper87 | as long as all the CI works | 13:43 |
flaper87 | devstack has stable branches as well so, we should be fine | 13:43 |
flaper87 | or not | 13:43 |
flaper87 | because we created the devstack job *after* we released stable/icehouse | 13:43 |
flaper87 | malini: can you confirm this? ^ | 13:43 |
flaper87 | and good morning | 13:43 |
malini | I could confirm - but only if I understood the whole branching thing :D | 13:44 |
flaper87 | malini: LOL, I don't remember if we added the devstack code and gate job before or after icehouse was released | 13:46 |
malini | the devstack gate job happened around the same time of our last grad mailodrama | 13:47 |
malini | Feb maybe? | 13:48 |
vkmc | haha first time I hear *mailodrama* | 13:48 |
vkmc | hi malini :) | 13:48 |
malini | hello vkmc!! | 13:48 |
vkmc | I cannot find anything in the logs meetings, maybe this was all discussed in the channel? | 13:49 |
malini | vkmc: you mean the devstack gate job addituon? | 13:49 |
vkmc | yes | 13:49 |
*** AAzza is now known as AAzza_afk | 13:50 | |
flaper87 | vkmc: kgriffs|afk malini can I get your eyes here? https://review.openstack.org/#/c/106346/ | 13:51 |
vkmc | flaper87, sure thing | 13:52 |
*** AAzza_afk is now known as AAzza | 13:54 | |
malini | flaper87: why are you defining patch_pool & patch_properties https://review.openstack.org/#/c/106346/14/zaqar/common/schemas/flavors.py when all you need is {'type': 'string'} or {'type': 'object'} for create? | 13:54 |
malini | patch_properties read as patch_capabilities :) | 13:54 |
flaper87 | malini: because the patch_pool dict will be then used in the validation process | 13:55 |
flaper87 | malini: queue-flavors | 13:55 |
flaper87 | ops | 13:55 |
flaper87 | malini: zaqar/queues/transport/wsgi/v1_1/flavors.py | 13:55 |
julienvey | flaper87: thank you :) | 13:58 |
*** amitgandhinz has joined #openstack-zaqar | 14:03 | |
prashanthr_ | vkmc: I am getting the following error -> https://gist.github.com/PrashanthRaghu/6fae7fff7721a0731581 | 14:23 |
prashanthr_ | any clues why ? | 14:23 |
prashanthr_ | i guess .gitreview has been updated | 14:23 |
vkmc | prashanthr_, you have to update the remote | 14:23 |
prashanthr_ | vkmc: Can you explain to me how to do it | 14:24 |
prashanthr_ | ? | 14:24 |
vkmc | update the git url with 'git remote set-url origin https://github.com/openstack/zaqar.git' | 14:25 |
vkmc | and you also have to update the gerrit remote | 14:27 |
prashanthr_ | thanks vkmc :) | 14:29 |
*** prashanthr_ has quit IRC | 14:29 | |
vkmc | I'm not sure how to update it... so I directly removed the old one with 'git remote rm gerrit' | 14:29 |
vkmc | and... | 14:29 |
vkmc | well | 14:29 |
*** prashanthr_ has joined #openstack-zaqar | 14:29 | |
prashanthr_ | flaper87: Yaay new patchset ready for review :) | 14:29 |
*** kgriffs|afk is now known as kgriffs | 14:30 | |
* prashanthr_ Is sure to make flaper87 his enemy with this patchset ;) | 14:30 | |
vkmc | prashanthr_, did updating the git url work? | 14:34 |
vkmc | if I'm not wrong you will also need to update the remote | 14:34 |
vkmc | gerrit remote* | 14:34 |
prashanthr_ | I did both :) | 14:35 |
prashanthr_ | it worked | 14:35 |
prashanthr_ | Can you cjeck your email once | 14:35 |
vkmc | ah great :) | 14:35 |
prashanthr_ | and see if you got a new email for the patchst | 14:35 |
vkmc | I did! | 14:35 |
prashanthr_ | that's great :) | 14:37 |
prashanthr_ | thanks vkmc ! | 14:37 |
kgriffs | flaper87: btw, if you get a chance, you ought to check out the log for this channel from monday. vkmc and I discussed some interesting ideas re using timestamp-based message IDs/markers | 14:38 |
vkmc | and alcabrera|afk ^ :) | 14:39 |
vkmc | hi kgriffs! | 14:39 |
kgriffs | hi! | 14:39 |
* kgriffs is still trying to wake up | 14:40 | |
* kgriffs had to get up way too early to drive to a different city this morning | 14:40 | |
* vkmc hands kgriffs a \_/ | 14:41 | |
* kgriffs sips | 14:41 | |
*** mustapha has joined #openstack-zaqar | 14:44 | |
flaper87 | kgriffs: hey hey, goood morning | 14:45 |
prashanthr_ | kgriffs: Hello :) good morning | 14:46 |
*** reed has joined #openstack-zaqar | 14:48 | |
AAzza | good morning people :) | 14:48 |
vkmc | good morning AAzza! | 14:48 |
prashanthr_ | good morning AAzza ! | 14:49 |
prashanthr_ | :) | 14:49 |
flaper87 | malini: did you stop reviewing this patch? https://review.openstack.org/#/c/106346/ | 14:50 |
flaper87 | :P | 14:50 |
flaper87 | vkmc: ^ :D | 14:50 |
flaper87 | also, since prashanthr_ last patch-set is already up for review, it'd be nice to get everyone's eyes on it. | 14:50 |
vkmc | flaper87, I'm almost done :) | 14:50 |
*** alcabrera|afk is now known as alcabrera | 14:56 | |
mustapha | flaper87: Like I indicated to you sometime ago, I have a need to use postgresql as my zaqar backend. I have gotten to a point where I can PUT & POST msg to the queue. However, when I want to claim the msg, I am getting a database error, which is related to how the "TTL" column values are set and retrieved. If I wan to make this generic so that it works for both mysql and postgres which file should I b | 14:58 |
mustapha | e looking at? | 14:58 |
alcabrera | good morning. :) | 15:02 |
vkmc | morning alcabrera o/ | 15:03 |
alcabrera | mustapha: I can point you in the right general direction. check out this directory - https://github.com/openstack/zaqar/tree/master/zaqar/queues/storage/sqlalchemy | 15:03 |
alcabrera | that's all of the sqlalchemy implementation. whatever needs to be changed to make postgres work should live in there | 15:04 |
alcabrera | hey vkmc! how are you? | 15:04 |
vkmc | fine and you? :) | 15:04 |
prashanthr_ | good morning alcabrera :) | 15:04 |
alcabrera | happy. I'm having leftover pizza for breakfast while I catch up on emails and whatnot. :) | 15:04 |
alcabrera | hey prashanthr_! how are you? | 15:05 |
prashanthr_ | fine :) how you ? | 15:05 |
alcabrera | happy w/ pizza. :D | 15:05 |
prashanthr_ | nothing beats pizza early in the morning | 15:05 |
alcabrera | seriously, I adore pizza. :P | 15:05 |
alcabrera | mustapha: since it sounds like the operations on messages are behaving strangely wrt TTL, I'd suggest checking out messages.py and tables.py in that directory | 15:06 |
* flaper87 is back | 15:07 | |
mustapha | WHERE "Messages".cid IS NULL AND "Messages".ttl > now() - "Messages".created AND "Messages".qid = 1 | 15:07 |
mustapha | LIMIT 10 | 15:07 |
mustapha | ERROR: operator does not exist: integer > interval at character 88 | 15:07 |
mustapha | HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | 15:07 |
mustapha | STATEMENT: SELECT "Messages".id | 15:07 |
mustapha | FROM "Messages" | 15:07 |
mustapha | WHERE "Messages".cid IS NULL AND "Messages".ttl > now() - "Messages".created AND "Messages".qid = 1 | 15:07 |
mustapha | LIMIT 10 | 15:08 |
flaper87 | mustapha: pls, use paste.openstack.org | 15:08 |
mustapha | LOG: unexpected EOF on client connection with an open transaction | 15:08 |
flaper87 | mmhh | 15:08 |
mustapha | Sorry that was suppose to be a private msg | 15:08 |
flaper87 | that sounds like on of the mysql/psql things | 15:08 |
*** kgriffs is now known as kgriffs|afk | 15:09 | |
mustapha | I know postgresql does not support now() I understand | 15:09 |
flaper87 | mustapha: oh, mmh. damn :/ | 15:09 |
mustapha | but I don't know which file those calls are being made from | 15:09 |
flaper87 | mustapha: probably claims.py or message.py | 15:10 |
flaper87 | alcabrera: hey hey | 15:10 |
flaper87 | alcabrera: how are you doing ? | 15:10 |
alcabrera | flaper87: heeeey! | 15:10 |
mustapha | flaper87: It seems like I need to adapt the driver for all queries | 15:10 |
alcabrera | I'm doing very well. | 15:10 |
flaper87 | mustapha: probably, it has been tested on sqla and mysql | 15:10 |
mustapha | flaper87: but not postgresql | 15:11 |
flaper87 | mustapha: nope | 15:11 |
flaper87 | vkmc: dumb question. You're working on the user-guide, right? | 15:12 |
*** openstackgerrit has joined #openstack-zaqar | 15:12 | |
mustapha | falper87: It seems like my work is cut out for me :) | 15:12 |
vkmc | flaper87, yeah! | 15:12 |
flaper87 | vkmc: ok, do we have anyone working on the developers guide? | 15:13 |
flaper87 | vkmc: I see that in the docs section on the etherpad | 15:13 |
flaper87 | mustapha: :D | 15:13 |
flaper87 | mustapha: if you can make that work, it'd be awesome. | 15:13 |
vkmc | flaper87, we are all contributing to the developers guide | 15:13 |
mustapha | flaper87: I am sure I can, just need some direction to speed things up | 15:14 |
flaper87 | mustapha: we'll pull out sqlalchemy out of the code base during juno into its own repo. We can definitely make you core in that project if you're willing to maintain it | 15:14 |
flaper87 | vkmc: you just made me feel really bad | 15:14 |
flaper87 | vkmc: I haven't submitted a patch yet | 15:14 |
mustapha | sure thing | 15:14 |
* flaper87 looks for a typo to fix | 15:14 | |
vkmc | flaper87, oh noes, I didn't mean that | 15:14 |
flaper87 | vkmc: yeeeeeeah, riiiiiight | 15:15 |
vkmc | flaper87, in the etherpad we have listed all the items that should be in the developers guide and we are tackling them separately | 15:15 |
vkmc | flaper87, there are already some merged and some in progress... and I'm about to start working on the API ref :) | 15:16 |
prashanthr_ | vkmc: I also have to write up the document on how to develop a new driver for Zaqar. | 15:16 |
vkmc | prashanthr_, yeah, that's on the wiki | 15:16 |
vkmc | but fortunately that one is not essential | 15:16 |
prashanthr_ | hmm yes i agree to that. | 15:17 |
vkmc | I created the placeholder though https://wiki.openstack.org/wiki/Driver_development_guide_(Marconi) | 15:17 |
vkmc | I should add some notes about transport as well | 15:17 |
prashanthr_ | But good to have nevertheless :) | 15:17 |
vkmc | yeah | 15:17 |
vkmc | :) | 15:17 |
vkmc | we can later add it to the developers guide | 15:17 |
mustapha | flaper87: Is there a document that explains how the various layers of the zaqar sqlalchemy driver work together for someone who is not an sqlalchemy expert ? | 15:17 |
flaper87 | mustapha: not yet. It would be useful in general, not just sqla. Let me walk you throught it very briefly | 15:18 |
mustapha | I will appreciate that | 15:18 |
flaper87 | mustapha: queues.py contains all the controllers needed to manage queues. Same logic applies to messages.py and claims.py. We try to keep those controllers as isolated as possible, although there are cases where we've been forced to break that rule to make things work | 15:19 |
flaper87 | mustapha: for example, the message controller may need to check whether a queue exists (in API v1). In the claim controller you have an instance of message controller in order to check some things (IIRC) | 15:20 |
flaper87 | other than that, the logic is pretty isolated | 15:20 |
flaper87 | When a claim happens, for example, it'll update messages and mark them as claimed | 15:20 |
flaper87 | it'll also create a claim record and set the ttl and stuff. | 15:21 |
flaper87 | does that help at all? | 15:21 |
mustapha | flaper87: It does help. What I am seeing for instance is that I can create a queue and post msg to ques without postgresql error. But when I look at the entries in the postgresql using cmd line, I don't see any tables in the marconi database. It's only when I query a claim for messages in queue that I get an error. So the question is for something like that where do I look first? | 15:23 |
flaper87 | oh, mmh. what do you mean with "I don't see any tables" ? That's bad | 15:24 |
vkmc | mustapha, can you share your zaqar.conf file? | 15:25 |
flaper87 | mustapha: first thing is to check whether the tables are created. | 15:25 |
flaper87 | mustapha: they should be created when the first instance of the driver is created? https://github.com/openstack/zaqar/blob/master/zaqar/queues/storage/sqlalchemy/driver.py#L71 | 15:25 |
flaper87 | mustapha: the DataDriver is used to access the queue/message/claim controller | 15:26 |
flaper87 | as soon as the first operation on the database is attempted, it'll create an sqla engine and then try to create the tables if they don't exist | 15:26 |
flaper87 | you can add some special rules for each database. For example, in mysql we have to set the tz to UTC, otherwise it'll use whatever TZ the server has | 15:27 |
flaper87 | mustapha: check https://github.com/openstack/zaqar/blob/master/zaqar/queues/storage/sqlalchemy/driver.py#L50 for per-dbs rules | 15:27 |
mustapha | flaper87: I have seen that but at the moment I don't know what specific rule I need to create for postgresql. I will only know that when I know the cause of the problem. For now I don't. | 15:31 |
mustapha | flaper87: So driver.py is responsible for the creation of databases, right? | 15:32 |
*** prashanthr_1 has quit IRC | 15:34 | |
mustapha | flaper87: I use to get an error when starting up the server with postgresql specified as database. This was because the options column in the "Pools" table has BINARY define as its data type but of course postgresql does not have a binary data type. The error went away when I change is to a generic data type of Large.Binary? Could that be a problem? | 15:36 |
*** AAzza is now known as AAzza_afk | 15:41 | |
*** yograterol has joined #openstack-zaqar | 15:41 | |
flaper87 | mustapha: sorry, was in a call | 15:57 |
mustapha | flaper86: No worries | 15:57 |
flaper87 | mustapha: I don't think that's the problem | 15:58 |
flaper87 | mustapha: could you please paste your tables list, tables describe and the full stacktrace in paste.openstack.org | 15:58 |
flaper87 | I think that will help | 15:58 |
mustapha | http://paste.openstack.org/show/97804/ | 15:59 |
mustapha | That's my list of tables | 16:00 |
flaper87 | mustapha: those are your databases | 16:04 |
mustapha | yes | 16:04 |
flaper87 | mustapha: open marconi's database and list tables there | 16:04 |
flaper87 | damn, gtg. | 16:04 |
flaper87 | mustapha: pls, send all those pastes over, I'll take a look | 16:04 |
mustapha | flaper87:http://paste.openstack.org/show/97807/ | 16:08 |
mustapha | flaper87:http://paste.openstack.org/show/97808/ | 16:12 |
mustapha | flaper87:http://paste.openstack.org/show/97819/ | 16:19 |
*** chandankumar has quit IRC | 16:37 | |
*** kgriffs|afk is now known as kgriffs | 16:42 | |
*** julienvey has quit IRC | 16:48 | |
*** kgriffs is now known as kgriffs|afk | 17:02 | |
*** wpf has quit IRC | 17:10 | |
*** wpf has joined #openstack-zaqar | 17:12 | |
mustapha | flapper87: Does it matter if the "created" column in the Messages database is of type "timestamp without time zone"? | 17:15 |
*** prashanthr_1 has joined #openstack-zaqar | 17:22 | |
*** prashanthr_ has quit IRC | 17:23 | |
malini | Can somebody help me troubleshoot this failure http://logs.openstack.org/80/114980/1/experimental/check-tempest-dsvm-zaqar/81e6ec6/ ? | 17:31 |
malini | it is complaining abt /etc/mongodb.con | 17:31 |
malini | But we changed nothing there | 17:31 |
*** reed has quit IRC | 17:52 | |
*** reed has joined #openstack-zaqar | 17:52 | |
*** AAzza_afk is now known as AAzza | 17:56 | |
*** prashanthr_1 has quit IRC | 17:59 | |
*** prashanthr_ has joined #openstack-zaqar | 17:59 | |
*** AAzza is now known as AAzza_afk | 18:02 | |
flaper87 | malini: mmh, that's a good question. | 18:03 |
flaper87 | erm, mustapha ^ | 18:03 |
flaper87 | malini: looking at it | 18:03 |
flaper87 | mustapha: if you mean UTC, then no. that sounds correct | 18:03 |
flaper87 | mustapha: the tables description looks correct | 18:04 |
flaper87 | malini: is mongodb installed ? | 18:06 |
*** ChanServ sets mode: +v openstackstatus | 18:06 | |
malini | flaper87: it shud be - its a Trusty | 18:16 |
*** AAzza_afk is now known as AAzza | 18:19 | |
*** alcabrera is now known as alcabrera|afk | 18:28 | |
mustapha | flaper87: What I have noticed is that the claims table is empty but when I query for claims, it tries to delete the entries in an empty table | 18:35 |
*** kgriffs|afk is now known as kgriffs | 18:48 | |
*** alcabrera|afk is now known as alcabrera | 18:51 | |
*** amitgandhinz has quit IRC | 19:00 | |
*** amitgandhinz has joined #openstack-zaqar | 19:00 | |
*** chandankumar has joined #openstack-zaqar | 19:02 | |
*** AAzza is now known as AAzza_afk | 19:05 | |
*** chandankumar has quit IRC | 19:09 | |
openstackgerrit | lifeless proposed a change to openstack/python-zaqarclient: Remove hardcoded version https://review.openstack.org/115465 | 19:11 |
*** kgriffs is now known as kgriffs|afk | 19:14 | |
*** malini has quit IRC | 19:34 | |
vkmc | malini|afk, looking at it | 19:52 |
vkmc | any hints by now? | 19:52 |
vkmc | oh | 19:54 |
vkmc | 2014-08-20 15:55:23.802 | sed: can't read /etc/mongodb.conf: No such file or directory | 19:54 |
vkmc | isn't the conf file mongod.conf in Trusty? | 19:54 |
vkmc | I remember I had some problems because of this | 19:54 |
alcabrera | according to http://packages.ubuntu.com/trusty/amd64/mongodb-server/filelist | 19:57 |
alcabrera | should still be /etc/mongodb.conf | 19:57 |
alcabrera | though the server program is named mongod | 19:58 |
vkmc | thanks Alej, I was looking for that | 19:58 |
alcabrera | np, vkmc. :) | 19:58 |
*** kgriffs|afk is now known as kgriffs | 20:21 | |
vkmc | kgriffs, I'm trying to set up the API ref for the developers guide | 20:41 |
vkmc | I saw other projects use oslo.sphinx to automatically generate the indexes | 20:41 |
vkmc | are you familiar with it? | 20:41 |
kgriffs | somewhat. I use sphinx for Falcon | 20:41 |
vkmc | hm well, we should add the module reference in the guide | 20:43 |
vkmc | e.g. http://docs.openstack.org/developer/nova/devref/index.html | 20:43 |
kgriffs | vkmc: did you have any specific questions, or just looking for a way to get started? | 20:43 |
vkmc | kgriffs, looking a way to get started | 20:43 |
kgriffs | ok | 20:43 |
kgriffs | let's see... | 20:43 |
*** sriram has quit IRC | 20:43 | |
kgriffs | so, the thing that makes sphinx do that is called autodic | 20:44 |
kgriffs | autodoc | 20:44 |
kgriffs | You create some RST files and use some keywords to tell sphinx to "insert module or class docs here" | 20:45 |
vkmc | yes... it can create docs from the code docstrings | 20:46 |
kgriffs | ok, so if you look at falcon's index: https://raw.githubusercontent.com/racker/falcon/master/doc/index.rst | 20:46 |
kgriffs | at the bottom it links to so API docs that are auto-generated | 20:46 |
vkmc | cool :) | 20:46 |
kgriffs | https://github.com/racker/falcon/tree/master/doc/api | 20:46 |
vkmc | that's what I didn't understand | 20:46 |
vkmc | I saw in the source of other projects they have api/autoindex | 20:47 |
kgriffs | look at the raw source for those files and it should give you a good idea | 20:47 |
vkmc | awesome, that is was I was looking for | 20:48 |
vkmc | weird thing... in other OpenStack projects they have the reference to api/... but they don't have that folder in /doc | 20:48 |
vkmc | so I was feeling kinda lost | 20:48 |
kgriffs | vkmc: in Falcon I preferred to do the high-level organization by hand. I found that with some human curation, they outline turned out better, and I could also skip things that weren't interesting to devs | 20:48 |
vkmc | makes sense | 20:48 |
kgriffs | idk what's up with the api folder | 20:49 |
kgriffs | I try to follow the principle of least suprise in my own projects. :p | 20:49 |
vkmc | haha it's better that way | 20:50 |
kgriffs | vkmc: I'm not saying Falcon's approach is the best, but at least now you have another reference | 20:50 |
* kgriffs secretly thinks Falcon's approach *is* the best. Shhhhh! | 20:50 | |
vkmc | I really enjoyed falcon docs :) so I think this is the way to go for Zaqar | 20:51 |
kgriffs | I have a feeling the first time we generate these docs we are going to find that some docstrings aren't exactly fabulously-written. :p | 20:52 |
kgriffs | vkmc: one downside to doing the high-level index/organization by hand is you do have to remember to update it occasionally when large new sections of code are added. Just something to be aware of. | 20:52 |
vkmc | haha maybe, we have to try :) | 20:53 |
vkmc | then we can polish it as needed | 20:54 |
vkmc | yeah that's a downside | 20:54 |
kgriffs | anyway, glad to here you are working on that! I've been in so many meetings this week it's been hard to find much time to contribute to the project | 20:54 |
alcabrera | fwiw, all of the haskell web frameworks take an approach similar in spirit to falcon with regards to route declaration | 20:54 |
kgriffs | s/here/hear | 20:54 |
vkmc | but... which modules we would like to doc? I was thinking on mostly transport, storage, tests | 20:54 |
* kgriffs is on a bumpy shuttle between offices... that's *probably* the reason he keeps misspelling words | 20:55 | |
* ametts wonders how a bumpy bus can cause kgriffs to type "re" instead of "ar" | 20:56 | |
kgriffs | vkmc: hmm, that is a good question. I guess we need to think like a new contributor. What are the important interfaces and utilities that I need to know in order to start writing code ASAP? | 20:56 |
vkmc | kgriffs, IMO the ones I mentioned you, and the boostrap module | 21:00 |
kgriffs | OK. It's hard for me to judge because I've never been a "new contributor" to the project, having started it in the first place. :) | 21:02 |
vkmc | haha I'll ping prashanthr_ and AAzza_afk later about this | 21:03 |
kgriffs | sounds like a plan | 21:03 |
*** alcabrera is now known as alcabrera|afk | 21:04 | |
vkmc | also, if you have a moment later, I'd like your feedback on https://review.openstack.org/#/c/114530/ | 21:06 |
vkmc | brb | 21:08 |
*** mpanetta has quit IRC | 21:14 | |
flwang | kgriffs: ping | 21:25 |
kgriffs | o/ | 21:25 |
flwang | kgriffs: pls revisit the health patch at your most convenience https://review.openstack.org/#/c/76555/ thanks | 21:25 |
flwang | after your +2, there are some comments from flaper87 | 21:26 |
kgriffs | ah, ok. I should be able to look at it tomorrow. been in a bunch of meetings the past few days. :p | 21:28 |
flwang | kgriffs: sure, no problem | 21:44 |
*** kgriffs is now known as kgriffs|afk | 21:59 | |
*** flaper87 is now known as flaper87|afk | 22:02 | |
*** amitgandhinz has quit IRC | 22:06 | |
*** amitgandhinz has joined #openstack-zaqar | 22:07 | |
*** amitgandhinz has quit IRC | 22:11 | |
openstackgerrit | Kurt Griffiths proposed a change to openstack/zaqar: Add separate proc and worker options for producer and consumer https://review.openstack.org/115378 | 22:47 |
*** amitgandhinz has joined #openstack-zaqar | 23:33 | |
*** yograterol has quit IRC | 23:35 | |
*** mustapha has quit IRC | 23:49 | |
*** lifeless has joined #openstack-zaqar | 23:53 | |
lifeless | hi | 23:53 |
lifeless | flwang: https://review.openstack.org/#/c/115465/ is now green on CI | 23:54 |
flwang | lifeless: awesome :) | 23:54 |
*** openstackgerrit has quit IRC | 23:54 | |
flwang | lifeless: btw, I'm translating the interview between you and jd :) | 23:54 |
lifeless | interview? | 23:55 |
flwang | the book of jd (The hacker's guide of Python) | 23:55 |
flwang | Julien D | 23:56 |
flwang | lifeless: https://julien.danjou.info/books/the-hacker-guide-to-python :) | 23:56 |
lifeless | oh cool | 23:57 |
lifeless | I had forgotten I did that :0 | 23:57 |
flwang | it's awesome | 23:58 |
*** openstackgerrit has joined #openstack-zaqar | 23:58 | |
flwang | I have approved the patch, cheers | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!