Wednesday, 2014-08-20

*** prashanthr_ has joined #openstack-zaqar00:15
*** flwang1 has quit IRC00:24
*** mustapha has joined #openstack-zaqar00:29
*** prashanthr_ has quit IRC00:47
*** prashanthr_ has joined #openstack-zaqar01:14
mustaphapeps has any one seen this backend error when looking at database claims?01:23
mustapha ProgrammingError: (ProgrammingError) operator does not exist: integer <= interva01:23
*** yograterol has joined #openstack-zaqar01:32
*** flwang1 has joined #openstack-zaqar01:50
openstackgerritlifeless proposed a change to openstack/python-zaqarclient: Remove hardcoded version.  https://review.openstack.org/11546501:55
*** vkmc has quit IRC02:38
*** prashanthr_ has quit IRC03:05
*** cpallares has joined #openstack-zaqar03:08
*** cpallares has quit IRC03:16
*** cpallares has joined #openstack-zaqar03:24
*** prashanthr_ has joined #openstack-zaqar03:28
*** cpallares has quit IRC03:30
*** cpallares has joined #openstack-zaqar03:30
*** cpallares has quit IRC03:31
*** mustapha has quit IRC03:49
*** prashanthr_ has quit IRC03:59
*** chandankumar has joined #openstack-zaqar03:59
*** prashanthr_ has joined #openstack-zaqar03:59
*** prashanthr_ has quit IRC04:22
*** chandankumar has quit IRC04:52
*** chandankumar has joined #openstack-zaqar04:59
*** chandankumar has quit IRC05:02
*** prashanthr_ has joined #openstack-zaqar05:04
*** yograterol has quit IRC05:19
*** prashanthr_1 has joined #openstack-zaqar05:39
*** chandankumar has joined #openstack-zaqar05:40
*** prashanthr_ has quit IRC05:41
*** prashanthr_1 has quit IRC05:56
*** flwang1 has quit IRC06:02
openstackgerritVictoria Martínez de la Cruz proposed a change to openstack/zaqar: Zaqar configuration reference docs  https://review.openstack.org/11453006:04
*** reed has quit IRC06:09
*** flaper87|afk is now known as flaper8706:35
*** prashanthr_ has joined #openstack-zaqar07:02
*** AAzza_afk is now known as AAzza07:08
*** prashanthr_ has quit IRC07:46
*** prashanthr_ has joined #openstack-zaqar08:03
*** prashanthr_ has quit IRC08:10
*** prashanthr_ has joined #openstack-zaqar08:31
openstackgerritNataliia Uvarova proposed a change to openstack/zaqar: Encapsulate top-level lists in responses in object  https://review.openstack.org/11554408:34
flaper87prashanthr_: hey :)08:39
flaper87prashanthr_: good morning08:40
prashanthr_flaper87: Hello :) Good morning to you as well ! :)08:40
flaper87prashanthr_: any chance you can address the latest comments in the redis patch soon ?08:41
flaper87:D08:41
flaper87:D08:41
prashanthr_flaper87: Very soon08:41
prashanthr_just about to get them done08:41
prashanthr_will do by EOD today08:41
* prashanthr_ remembers the time fiasco ;) But is confident this time :)08:42
flaper87prashanthr_: awesome, awesome, awesome :)08:43
openstackgerritA change was merged to openstack/zaqar: Updated from global requirements  https://review.openstack.org/11406008:54
*** prashanthr_1 has joined #openstack-zaqar08:57
*** julienvey has joined #openstack-zaqar09:05
openstackgerritFlavio Percoco proposed a change to openstack/zaqar: V1.1 Homedoc  https://review.openstack.org/9615909:31
*** prashanthr_1 has quit IRC09:34
flaper87kgriffs|afk: when you're around, could you take a look at this patch? https://review.openstack.org/#/c/76555/09:38
flaper87I think the current version is good enough to begin with09:38
flaper87(context: health's endpoint patch)09:39
prashanthr_flaper87: Just a small question09:47
prashanthr_assuming there's a dictionary09:47
prashanthr_a = {'id':1}09:47
prashanthr_oops sorry https://etherpad.openstack.org/p/zaqar-scratch09:48
prashanthr_Sorry flaper8709:52
* flaper87 back09:52
prashanthr_typo caused a problem09:52
flaper87for a bit09:52
prashanthr_now solved it09:52
flaper87oh ok09:52
prashanthr_:)09:52
flaper87I'm glad I helped09:52
flaper87:P09:52
*** openstackgerrit has quit IRC10:10
*** prashanthr_1 has joined #openstack-zaqar10:22
*** prashanthr_1 has quit IRC10:27
*** prashanthr_1 has joined #openstack-zaqar10:46
*** prashanthr_2 has joined #openstack-zaqar11:29
*** prashanthr_1 has quit IRC11:29
flaper87wpf: ping11:30
flaper87wpf: any chance you can revisit this patch? https://review.openstack.org/#/c/110543/11:31
*** prashanthr_1 has joined #openstack-zaqar11:54
*** prashanthr_2 has quit IRC11:58
*** vkmc has joined #openstack-zaqar12:13
vkmcmorning :)12:13
prashanthr_vkmc: Good morning :)12:14
flaper87vkmc: goooooood morning12:14
flaper87there you are12:14
flaper87vkmc: I've got some questions for you12:14
flaper87but first, here's some coffee for you \_/?12:15
flaper87or tea12:15
flaper87or whatever you want to put in there12:15
flaper87as long as it fits in that cup12:15
flaper87>.>12:15
flaper87I ain't giving you a bigger one12:15
flaper87ok?12:15
vkmchey prashanthr_, flaper87!12:15
vkmchaha I got my mates here :) so shoot!12:15
flaper87vkmc: lets start with docs. How's that going ?12:16
vkmcI need the coffee too though12:16
* vkmc grabs \_/12:16
vkmcI yesterday uploaded some of the config reference12:16
flaper87vkmc: 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-312:16
flaper87but really, no preasure, it's just that we can't release w/o that12:17
flaper87but I mean it, no preasure, when do you think it'll be done?12:17
flaper87now, seriously, no preasure. Are you both done?12:17
flaper87:D12:17
prashanthr_flaper87: I really think this will be my last patchset12:17
vkmchaha12:17
prashanthr_:D12:17
* vkmc start feelings the pressure12:17
flaper87vkmc: 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 vkmc12:18
vkmcother doc effort is detailed in here https://etherpad.openstack.org/p/marconi-graduation12:18
flaper87vkmc: yeah, I kinda freaked out earlier today12:19
vkmcI'm tackling one or two extra items of the dev guide today12:19
flaper87there are many things listed and phew scratched :P12:19
vkmcwhy that?12:19
vkmcoh12:19
vkmcyes12:19
flaper87but really, no preasure12:19
* flaper87 ROFL12:19
flaper87I couldn't help it12:19
flaper87ok12:19
vkmcgood news about docs that it's not there is that we already have the12:19
vkmc'base'12:19
flaper87I'll dedicate time to help you out with that12:19
vkmcso we will be ok12:19
flaper87cool beans12:19
flaper87thank you12:19
flaper87very very much12:19
vkmcflaper87, first review this that is essential https://review.openstack.org/#/c/114530/12:20
vkmcwow. much thanks.12:20
prashanthr_thanks flaper87 :)12:20
flaper87vkmc: will those docs be moved somewhere else later on?12:20
flaper87vkmc: none of the integrated projects have the user-guide in their codebase12:21
flaper87I'm happy with it living there, I just want to know what the process is12:21
vkmcflaper87, yeap, to the OpenStack Configuration Reference12:21
flaper87prashanthr_: lemme know when the last patch-set is up for review12:21
flaper87vkmc: awesome12:22
prashanthr_flaper87: 2 more unit tests to debug and then it's set :)12:22
vkmcflaper87, http://docs.openstack.org/icehouse/config-reference/content/12:22
julienveyflaper87: hi, you've got a minute ?12:22
flaper87julienvey: sure, shoot.12:22
vkmcflaper87, yes I'm aware of that, already asked annegentle the way to go12:22
julienveyI commented on this bug https://bugs.launchpad.net/python-marconiclient/+bug/135587212:23
vkmcflaper87, when we graduate then move those docs in /user-guide to the openstack-manuals repo12:23
julienveyi found openstackclient has registered both zaqarclient and marconiclient12:23
flaper87julienvey: oh, mmh, that's kinda weird.12:23
julienveyi guess zaqarclient is installed via devstack when i enable marconi-server12:23
julienveyor zaqar-server now12:24
flaper87Ahhhh probably, yes.12:24
flaper87julienvey: that's probably caused by the rename process12:24
julienveyand i guess marconiclient is installed via a requirement somewhere12:24
julienveybut it's still marconi client here12:24
flaper87julienvey: 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 away12:24
julienveyand I didn't found zaqar on pypi12:24
flaper87julienvey: I'll release it now12:24
*** malini has quit IRC12:25
julienveyok, let me know :)12:25
flaper87julienvey: waiting for `infra` to create the project on pypi. Once that's done, I'll proceed with the release12:28
julienveycool, you'll also need to update global-requirements https://github.com/openstack/requirements/blob/master/global-requirements.txt#L10312:29
flaper87julienvey: crap, you're right!12:29
flaper87soooooooooooooooooooooooooooooooo many little things12:29
vkmcjulienvey, thanks for reporting this :)12:38
vkmcthe renaming has been tricky12:38
*** sriram has joined #openstack-zaqar12:38
flaper87vkmc: what's the best way to review your patch that does not require reading xml ?12:39
flaper87:P12:39
flaper87does build_sphinx do the trick ?12:39
* flaper87 runs it12:39
vkmcflaper87, oh nono, that's docbook12:39
flaper87ah :(12:39
vkmcI can upload the compiled file12:39
flaper87build_docbook ? :P12:40
flaper87just kidding12:40
flaper87vkmc: nah, that's fine12:40
vkmcyou require maven for it12:40
flaper87wait, what?12:40
flaper87oh dear lord12:40
flaper87I'd rather read xml12:40
flaper87no wait12:40
vkmcand then run 'mvn clean generate-sources' in the directory12:40
* flaper87 puts a gun on his head and pulls the trigger12:41
flaper87I'll read the xml12:41
vkmclol12:41
vkmcI mean it!12:41
vkmcI can upload the output12:41
flaper87vkmc: and that increases the number of thanks12:41
flaper87vkmc: THANK you for working on this12:41
vkmcflaper87, np I'm happy to :)12:41
flaper87vkmc: if uploading a compiled version doesn't take you much time, it'd be really nice.12:44
vkmcflaper87, almost done12:49
vkmcthe output is 14mb :@12:51
flaper87vkmc: crap12:51
flaper87:/12:51
vkmcbut it's better than installing maven12:52
vkmcand compiling12:52
vkmchttps://drive.google.com/folderview?id=0B_FzLICJIVoINzR0SzhyQVpoTUU&usp=sharing12:53
vkmc:D12:53
vkmcunzip target12:53
vkmcand run 'firefox docbkx/webhelp/zaqar-config-ref/index.html'12:54
vkmcor the browser you like more12:54
flaper87vkmc: awesome, thanks! Dropped some comments12:55
vkmcflaper87, thanks, you rock :)12:56
vkmcand yeah, it's redundant to read The OpenStack Messaging and Notifications service12:57
vkmcbut I saw that's how it's everywhere in the configuration reference12:57
flaper87vkmc: ah well, then, lets keep it like that12:57
vkmcI don't know if there is some convention to avoid naming the project codename12:57
vkmcI'm positive that Catherin will have good feedback about it12:57
vkmcCatherine*12:58
*** malini has joined #openstack-zaqar13:05
*** mpanetta has joined #openstack-zaqar13:09
vkmcflaper87, btw, I hit some errors on trying to regenerate the conf file http://paste.openstack.org/show/97445/13:09
vkmcany ideas on why it may be happening?13:09
vkmcI read the script and I couldn't spot the issue13:10
*** AAzza is now known as AAzza_afk13:11
flaper87vkmc: 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 again13:15
flaper87vkmc: I noticed you've 2 bugs assigned to you, are you going to work on those or can we re-assign them ?13:16
vkmcflaper87, I'm working on the testing one and I have someone interested in working on the docs one13:16
vkmc(an OPW future applicant)13:16
flaper87vkmc: awesome :D13:16
vkmcI she don't reply me this week though, I'll tackle that13:16
vkmcIf*13:16
flaper87ok, I just wanted to make sure you were working on them13:17
flaper87great13:17
flaper87julienvey: https://pypi.python.org/pypi/python-zaqarclient13:17
flaper87now, global-requirements13:17
flaper87julienvey: https://review.openstack.org/11564113:20
mpanettaMorning all13:21
flaper87vkmc: addressed your comments here: https://review.openstack.org/#/c/96159/13:22
flaper87mpanetta: hey hey13:22
flaper87long time13:22
mpanettaYeah, they are keeping me busy here13:22
mpanettaHow goes?13:22
vkmcflaper87, I saw them, reviewing :) thx13:23
flaper87mpanetta: all great man, you?13:28
flaper87lots of patches flying around to get us ready for graduation13:28
mpanettaflaper87: Doing well, keeping busy!13:28
mpanettaAwesome!13:28
mpanettaWhen is that?13:28
*** AAzza_afk is now known as AAzza13:29
*** prashanthr_1 has quit IRC13:29
vkmcflaper87, https://review.openstack.org/#/c/115622/ isn't the devstack gate also in stable/icehouse?13:31
vkmcthe rename should affect it though, but I don't remember if we did the rename in devstack in that branch13:32
vkmcyes it's done, ignore me13:33
flaper87well, that's tricky. stable/icehouse should still use marconi13:34
flaper87actually, that's a good question. should we also rename stable branches?13:34
flaper87damn13:34
flaper87I had completely forgotten about that13:34
flaper87:S13:34
flaper87lemme ping someone that has already done it13:34
vkmcok13:34
vkmc:)13:35
*** prashanthr_1 has joined #openstack-zaqar13:39
flaper87vkmc: nah no need to rename stable branches13:42
flaper87as long as all the CI works13:43
flaper87devstack has stable branches as well so, we should be fine13:43
flaper87or not13:43
flaper87because we created the devstack job *after* we released stable/icehouse13:43
flaper87malini: can you confirm this? ^13:43
flaper87and good morning13:43
maliniI could confirm - but only if I understood the whole branching thing :D13:44
flaper87malini: LOL, I don't remember if we added the devstack code and gate job before or after icehouse was released13:46
malinithe devstack gate job happened around the same time of our last grad mailodrama13:47
maliniFeb maybe?13:48
vkmchaha first time I hear *mailodrama*13:48
vkmchi malini :)13:48
malinihello vkmc!!13:48
vkmcI cannot find anything in the logs meetings, maybe this was all discussed in the channel?13:49
malinivkmc: you mean the devstack gate job addituon?13:49
vkmcyes13:49
*** AAzza is now known as AAzza_afk13:50
flaper87vkmc: kgriffs|afk malini can I get your eyes here? https://review.openstack.org/#/c/106346/13:51
vkmcflaper87, sure thing13:52
*** AAzza_afk is now known as AAzza13:54
maliniflaper87: 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
malinipatch_properties read as patch_capabilities :)13:54
flaper87malini: because the patch_pool dict will be then used in the validation process13:55
flaper87malini: queue-flavors13:55
flaper87ops13:55
flaper87malini: zaqar/queues/transport/wsgi/v1_1/flavors.py13:55
julienveyflaper87: thank you :)13:58
*** amitgandhinz has joined #openstack-zaqar14:03
prashanthr_vkmc: I am getting the following error -> https://gist.github.com/PrashanthRaghu/6fae7fff7721a073158114:23
prashanthr_any clues why ?14:23
prashanthr_i guess .gitreview has been updated14:23
vkmcprashanthr_, you have to update the remote14:23
prashanthr_vkmc: Can you explain to me how to do it14:24
prashanthr_?14:24
vkmcupdate the git url with 'git remote set-url origin https://github.com/openstack/zaqar.git'14:25
vkmcand you also have to update the gerrit remote14:27
prashanthr_thanks vkmc :)14:29
*** prashanthr_ has quit IRC14:29
vkmcI'm not sure how to update it... so I directly removed the old one with 'git remote rm gerrit'14:29
vkmcand...14:29
vkmcwell14:29
*** prashanthr_ has joined #openstack-zaqar14:29
prashanthr_flaper87: Yaay new patchset ready for review :)14:29
*** kgriffs|afk is now known as kgriffs14:30
* prashanthr_ Is sure to make flaper87 his enemy with this patchset ;)14:30
vkmcprashanthr_, did updating the git url work?14:34
vkmcif I'm not wrong you will also need to update the remote14:34
vkmcgerrit remote*14:34
prashanthr_I did both :)14:35
prashanthr_it worked14:35
prashanthr_Can you cjeck your email once14:35
vkmcah great :)14:35
prashanthr_and see if you got a new email for the patchst14:35
vkmcI did!14:35
prashanthr_that's great :)14:37
prashanthr_thanks vkmc !14:37
kgriffsflaper87: 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/markers14:38
vkmcand alcabrera|afk ^ :)14:39
vkmchi kgriffs!14:39
kgriffshi!14:39
* kgriffs is still trying to wake up14:40
* kgriffs had to get up way too early to drive to a different city this morning14:40
* vkmc hands kgriffs a \_/14:41
* kgriffs sips14:41
*** mustapha has joined #openstack-zaqar14:44
flaper87kgriffs: hey hey, goood morning14:45
prashanthr_kgriffs: Hello :) good morning14:46
*** reed has joined #openstack-zaqar14:48
AAzzagood morning people :)14:48
vkmcgood morning AAzza!14:48
prashanthr_good morning AAzza !14:49
prashanthr_:)14:49
flaper87malini: did you stop reviewing this patch? https://review.openstack.org/#/c/106346/14:50
flaper87:P14:50
flaper87vkmc: ^ :D14:50
flaper87also, since prashanthr_ last patch-set is already up for review, it'd be nice to get everyone's eyes on it.14:50
vkmcflaper87, I'm almost done :)14:50
*** alcabrera|afk is now known as alcabrera14:56
mustaphaflaper87: 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 b14:58
mustaphae looking at?14:58
alcabreragood morning. :)15:02
vkmcmorning alcabrera o/15:03
alcabreramustapha: I can point you in the right general direction. check out this directory - https://github.com/openstack/zaqar/tree/master/zaqar/queues/storage/sqlalchemy15:03
alcabrerathat's all of the sqlalchemy implementation. whatever needs to be changed to make postgres work should live in there15:04
alcabrerahey vkmc! how are you?15:04
vkmcfine and you? :)15:04
prashanthr_good morning alcabrera :)15:04
alcabrerahappy. I'm having leftover pizza for breakfast while I catch up on emails and whatnot. :)15:04
alcabrerahey prashanthr_! how are you?15:05
prashanthr_fine :) how you ?15:05
alcabrerahappy w/ pizza. :D15:05
prashanthr_nothing beats pizza early in the morning15:05
alcabreraseriously, I adore pizza. :P15:05
alcabreramustapha: 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 directory15:06
* flaper87 is back15:07
mustaphaWHERE "Messages".cid IS NULL AND "Messages".ttl > now() - "Messages".created AND "Messages".qid = 115:07
mustapha LIMIT 1015:07
mustaphaERROR:  operator does not exist: integer > interval at character 8815:07
mustaphaHINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.15:07
mustaphaSTATEMENT:  SELECT "Messages".id15:07
mustaphaFROM "Messages"15:07
mustaphaWHERE "Messages".cid IS NULL AND "Messages".ttl > now() - "Messages".created AND "Messages".qid = 115:07
mustapha LIMIT 1015:08
flaper87mustapha: pls, use paste.openstack.org15:08
mustaphaLOG:  unexpected EOF on client connection with an open transaction15:08
flaper87mmhh15:08
mustaphaSorry that was suppose to be a private msg15:08
flaper87that sounds like on of the mysql/psql things15:08
*** kgriffs is now known as kgriffs|afk15:09
mustaphaI know postgresql does not support now() I understand15:09
flaper87mustapha: oh, mmh. damn :/15:09
mustaphabut I don't know which file those calls are being made from15:09
flaper87mustapha: probably claims.py or message.py15:10
flaper87alcabrera: hey hey15:10
flaper87alcabrera: how are you doing ?15:10
alcabreraflaper87: heeeey!15:10
mustaphaflaper87: It seems like I need to adapt the driver for all queries15:10
alcabreraI'm doing very well.15:10
flaper87mustapha: probably, it has been tested on sqla and mysql15:10
mustaphaflaper87: but not  postgresql15:11
flaper87mustapha: nope15:11
flaper87vkmc: dumb question. You're working on the user-guide, right?15:12
*** openstackgerrit has joined #openstack-zaqar15:12
mustaphafalper87: It seems like my work is cut out for me :)15:12
vkmcflaper87, yeah!15:12
flaper87vkmc: ok, do we have anyone working on the developers guide?15:13
flaper87vkmc: I see that in the docs section on the etherpad15:13
flaper87mustapha: :D15:13
flaper87mustapha: if you can make that work, it'd be awesome.15:13
vkmcflaper87, we are all contributing to the developers guide15:13
mustaphaflaper87: I am sure I  can, just need some direction to speed things up15:14
flaper87mustapha: 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 it15:14
flaper87vkmc: you just made me feel really bad15:14
flaper87vkmc: I haven't submitted a patch yet15:14
mustaphasure thing15:14
* flaper87 looks for a typo to fix15:14
vkmcflaper87, oh noes, I didn't mean that15:14
flaper87vkmc: yeeeeeeah, riiiiiight15:15
vkmcflaper87, in the etherpad we have listed all the items that should be in the developers guide and we are tackling them separately15:15
vkmcflaper87, 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
vkmcprashanthr_, yeah, that's on the wiki15:16
vkmcbut fortunately that one is not essential15:16
prashanthr_hmm yes i agree to that.15:17
vkmcI created the placeholder though https://wiki.openstack.org/wiki/Driver_development_guide_(Marconi)15:17
vkmcI should add some notes about transport as well15:17
prashanthr_But good to have nevertheless :)15:17
vkmcyeah15:17
vkmc:)15:17
vkmcwe can later add it to the developers guide15:17
mustaphaflaper87: 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
flaper87mustapha: not yet. It would be useful in general, not just sqla. Let me walk you throught it very briefly15:18
mustaphaI will appreciate that15:18
flaper87mustapha: 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 work15:19
flaper87mustapha: 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
flaper87other than that, the logic is pretty isolated15:20
flaper87When a claim happens, for example, it'll update messages and mark them as claimed15:20
flaper87it'll also create a claim record and set the ttl and stuff.15:21
flaper87does that help at all?15:21
mustaphaflaper87: 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
flaper87oh, mmh. what do you mean with "I don't see any tables" ? That's bad15:24
vkmcmustapha, can you share your zaqar.conf file?15:25
flaper87mustapha: first thing is to check whether the tables are created.15:25
flaper87mustapha: 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#L7115:25
flaper87mustapha: the DataDriver is used to access the queue/message/claim controller15:26
flaper87as 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 exist15:26
flaper87you 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 has15:27
flaper87mustapha: check https://github.com/openstack/zaqar/blob/master/zaqar/queues/storage/sqlalchemy/driver.py#L50 for per-dbs rules15:27
mustaphaflaper87: 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
mustaphaflaper87: So driver.py is responsible for the creation of databases, right?15:32
*** prashanthr_1 has quit IRC15:34
mustaphaflaper87:  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_afk15:41
*** yograterol has joined #openstack-zaqar15:41
flaper87mustapha: sorry, was in a call15:57
mustaphaflaper86: No worries15:57
flaper87mustapha: I don't think that's the problem15:58
flaper87mustapha: could you please paste your tables list, tables describe and the full stacktrace in paste.openstack.org15:58
flaper87I think that will help15:58
mustaphahttp://paste.openstack.org/show/97804/15:59
mustaphaThat's my list of tables16:00
flaper87mustapha: those are your databases16:04
mustaphayes16:04
flaper87mustapha: open marconi's database and list tables there16:04
flaper87damn, gtg.16:04
flaper87mustapha: pls, send all those pastes over, I'll take a look16:04
mustaphaflaper87:http://paste.openstack.org/show/97807/16:08
mustaphaflaper87:http://paste.openstack.org/show/97808/16:12
mustaphaflaper87:http://paste.openstack.org/show/97819/16:19
*** chandankumar has quit IRC16:37
*** kgriffs|afk is now known as kgriffs16:42
*** julienvey has quit IRC16:48
*** kgriffs is now known as kgriffs|afk17:02
*** wpf has quit IRC17:10
*** wpf has joined #openstack-zaqar17:12
mustaphaflapper87: 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-zaqar17:22
*** prashanthr_ has quit IRC17:23
maliniCan somebody help me troubleshoot this failure http://logs.openstack.org/80/114980/1/experimental/check-tempest-dsvm-zaqar/81e6ec6/ ?17:31
maliniit is complaining abt /etc/mongodb.con17:31
maliniBut we changed nothing there17:31
*** reed has quit IRC17:52
*** reed has joined #openstack-zaqar17:52
*** AAzza_afk is now known as AAzza17:56
*** prashanthr_1 has quit IRC17:59
*** prashanthr_ has joined #openstack-zaqar17:59
*** AAzza is now known as AAzza_afk18:02
flaper87malini: mmh, that's a good question.18:03
flaper87erm, mustapha ^18:03
flaper87malini: looking at it18:03
flaper87mustapha: if you mean UTC, then no. that sounds correct18:03
flaper87mustapha: the tables description looks correct18:04
flaper87malini: is mongodb installed ?18:06
*** ChanServ sets mode: +v openstackstatus18:06
maliniflaper87: it shud be - its a Trusty18:16
*** AAzza_afk is now known as AAzza18:19
*** alcabrera is now known as alcabrera|afk18:28
mustaphaflaper87: 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 table18:35
*** kgriffs|afk is now known as kgriffs18:48
*** alcabrera|afk is now known as alcabrera18:51
*** amitgandhinz has quit IRC19:00
*** amitgandhinz has joined #openstack-zaqar19:00
*** chandankumar has joined #openstack-zaqar19:02
*** AAzza is now known as AAzza_afk19:05
*** chandankumar has quit IRC19:09
openstackgerritlifeless proposed a change to openstack/python-zaqarclient: Remove hardcoded version  https://review.openstack.org/11546519:11
*** kgriffs is now known as kgriffs|afk19:14
*** malini has quit IRC19:34
vkmcmalini|afk, looking at it19:52
vkmcany hints by now?19:52
vkmcoh19:54
vkmc2014-08-20 15:55:23.802 | sed: can't read /etc/mongodb.conf: No such file or directory19:54
vkmcisn't the conf file mongod.conf in Trusty?19:54
vkmcI remember I had some problems because of this19:54
alcabreraaccording to http://packages.ubuntu.com/trusty/amd64/mongodb-server/filelist19:57
alcabrerashould still be /etc/mongodb.conf19:57
alcabrerathough the server program is named mongod19:58
vkmcthanks Alej, I was looking for that19:58
alcabreranp, vkmc. :)19:58
*** kgriffs|afk is now known as kgriffs20:21
vkmckgriffs, I'm trying to set up the API ref for the developers guide20:41
vkmcI saw other projects use oslo.sphinx to automatically generate the indexes20:41
vkmcare you familiar with it?20:41
kgriffssomewhat. I use sphinx for Falcon20:41
vkmchm well, we should add the module reference in the guide20:43
vkmce.g. http://docs.openstack.org/developer/nova/devref/index.html20:43
kgriffsvkmc: did you have any specific questions, or just looking for a way to get started?20:43
vkmckgriffs, looking a way to get started20:43
kgriffsok20:43
kgriffslet's see...20:43
*** sriram has quit IRC20:43
kgriffsso, the thing that makes sphinx do that is called autodic20:44
kgriffsautodoc20:44
kgriffsYou create some RST files and use some keywords to tell sphinx to "insert module or class docs here"20:45
vkmcyes... it can create docs from the code docstrings20:46
kgriffsok, so if you look at falcon's index: https://raw.githubusercontent.com/racker/falcon/master/doc/index.rst20:46
kgriffsat the bottom it links to so API docs that are auto-generated20:46
vkmccool :)20:46
kgriffshttps://github.com/racker/falcon/tree/master/doc/api20:46
vkmcthat's what I didn't understand20:46
vkmcI saw in the source of other projects they have api/autoindex20:47
kgriffslook at the raw source for those files and it should give you a good idea20:47
vkmcawesome, that is was I was looking for20:48
vkmcweird thing... in other OpenStack projects they have the reference to api/... but they don't have that folder in /doc20:48
vkmcso I was feeling kinda lost20:48
kgriffsvkmc: 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 devs20:48
vkmcmakes sense20:48
kgriffsidk what's up with the api folder20:49
kgriffsI try to follow the principle of least suprise in my own projects. :p20:49
vkmchaha it's better that way20:50
kgriffsvkmc: I'm not saying Falcon's approach is the best, but at least now you have another reference20:50
* kgriffs secretly thinks Falcon's approach *is* the best. Shhhhh!20:50
vkmcI really enjoyed falcon docs :) so I think this is the way to go for Zaqar20:51
kgriffsI have a feeling the first time we generate these docs we are going to find that some docstrings aren't exactly fabulously-written. :p20:52
kgriffsvkmc: 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
vkmchaha maybe, we have to try :)20:53
vkmcthen we can polish it as needed20:54
vkmcyeah that's a downside20:54
kgriffsanyway, 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 project20:54
alcabrerafwiw, all of the haskell web frameworks take an approach similar in spirit to falcon with regards to route declaration20:54
kgriffss/here/hear20:54
vkmcbut... which modules we would like to doc? I was thinking on mostly transport, storage, tests20:54
* kgriffs is on a bumpy shuttle between offices... that's *probably* the reason he keeps misspelling words20:55
* ametts wonders how a bumpy bus can cause kgriffs to type "re" instead of "ar"20:56
kgriffsvkmc: 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
vkmckgriffs, IMO the ones I mentioned you, and the boostrap module21:00
kgriffsOK. 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
vkmchaha I'll ping prashanthr_ and AAzza_afk later about this21:03
kgriffssounds like a plan21:03
*** alcabrera is now known as alcabrera|afk21:04
vkmcalso, if you have a moment later, I'd like your feedback on https://review.openstack.org/#/c/114530/21:06
vkmcbrb21:08
*** mpanetta has quit IRC21:14
flwangkgriffs: ping21:25
kgriffso/21:25
flwangkgriffs: pls revisit the health patch at your most convenience https://review.openstack.org/#/c/76555/ thanks21:25
flwangafter your +2, there are some comments from flaper8721:26
kgriffsah, ok. I should be able to look at it tomorrow. been in a bunch of meetings the past few days. :p21:28
flwangkgriffs: sure, no problem21:44
*** kgriffs is now known as kgriffs|afk21:59
*** flaper87 is now known as flaper87|afk22:02
*** amitgandhinz has quit IRC22:06
*** amitgandhinz has joined #openstack-zaqar22:07
*** amitgandhinz has quit IRC22:11
openstackgerritKurt Griffiths proposed a change to openstack/zaqar: Add separate proc and worker options for producer and consumer  https://review.openstack.org/11537822:47
*** amitgandhinz has joined #openstack-zaqar23:33
*** yograterol has quit IRC23:35
*** mustapha has quit IRC23:49
*** lifeless has joined #openstack-zaqar23:53
lifelesshi23:53
lifelessflwang: https://review.openstack.org/#/c/115465/ is now green on CI23:54
flwanglifeless: awesome :)23:54
*** openstackgerrit has quit IRC23:54
flwanglifeless: btw, I'm translating the interview between you and jd :)23:54
lifelessinterview?23:55
flwangthe book of jd (The hacker's guide of Python)23:55
flwangJulien D23:56
flwanglifeless: https://julien.danjou.info/books/the-hacker-guide-to-python :)23:56
lifelessoh cool23:57
lifelessI had forgotten I did that :023:57
flwangit's awesome23:58
*** openstackgerrit has joined #openstack-zaqar23:58
flwangI have approved the patch, cheers23:58

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!