Wednesday, 2014-10-15

*** kgriffs is now known as kgriffs|afk00:20
*** kgriffs|afk is now known as kgriffs00:23
*** exploreshaifali has quit IRC01:09
*** zhiyan|afk has joined #openstack-zaqar01:32
*** zhiyan has quit IRC01:33
*** flwang has quit IRC01:33
*** flwang has joined #openstack-zaqar01:33
*** zhiyan|afk is now known as zhiyan01:34
*** jeffrey4l has quit IRC01:34
*** jeffrey4l has joined #openstack-zaqar01:36
*** openstack has joined #openstack-zaqar01:42
*** jeffrey4l has quit IRC01:42
*** jeffrey4l has joined #openstack-zaqar01:42
*** dmitryme2 has joined #openstack-zaqar01:42
*** yfujioka_ has joined #openstack-zaqar01:42
*** dmitryme has quit IRC01:42
*** dmitryme2 is now known as dmitryme01:42
*** fifieldt has joined #openstack-zaqar01:43
*** openstackgerrit has joined #openstack-zaqar01:52
jeffrey4l/close01:59
*** jeffrey4l has left #openstack-zaqar01:59
*** echevemaster has joined #openstack-zaqar02:00
*** jeffrey4l has joined #openstack-zaqar02:00
*** yfujioka_ has quit IRC02:01
*** jeffrey4l has quit IRC03:17
*** X019 has quit IRC03:37
*** X019 has joined #openstack-zaqar03:50
*** wpf has quit IRC03:54
*** echevemaster_ has joined #openstack-zaqar04:05
*** wpf has joined #openstack-zaqar04:47
*** echevemaster_ has quit IRC04:49
wpfkgriffs:  ping04:49
wpfzhiyan:  ping05:15
wpfor anyone is familiar with the log configuration?05:16
*** echevemaster has quit IRC05:20
*** kgriffs is now known as kgriffs|afk05:44
*** jeffrey4l has joined #openstack-zaqar06:01
*** sgotliv has joined #openstack-zaqar06:14
*** sgotliv has quit IRC06:19
*** exploreshaifali has joined #openstack-zaqar07:02
*** flaper87|afk is now known as flaper8707:09
*** sgotliv has joined #openstack-zaqar07:18
*** exploreshaifali has quit IRC07:21
*** jeffrey4l has quit IRC07:28
*** jeffrey4l has joined #openstack-zaqar07:29
*** exploreshaifali has joined #openstack-zaqar07:29
openstackgerritFlavio Percoco proposed a change to openstack/zaqar: Fix ttl and grace story for claims updates  https://review.openstack.org/12751807:32
*** sgotliv has quit IRC07:43
*** exploreshaifali has quit IRC07:46
*** exploreshaifali_ has joined #openstack-zaqar07:46
wpfflaper87:  ping07:54
flaper87wpf: pong07:55
wpfflaper87:  do you know what's code generate the output into the console ?  for "localhost - - [15/Oct/2014 15:54:21] "GET /v1/pools HTTP/1.1" 204 007:55
wpf"......07:55
wpfI try to find it ,but failed07:56
flaper87wpf: I think that's falcon's log07:56
flaper87or wsgiref07:56
wpfOh, then maybe it's wsgiref, since I also go though the falcon code and create a simple api sample ,did not see that07:56
exploreshaifali_hello, I have started the server with *zaqar-server -v* then run command *curl -i -X PUT http://127.0.0.1:8888/v1/queues/samplequeue -H "Content-type: application/json"* and getting "HTTP 204"08:05
exploreshaifali_but it should give HTTP 20108:05
exploreshaifali_does it mean installion problem?08:06
exploreshaifali_why am I unable to create the queue?08:07
exploreshaifali_flaper87: ^08:07
flaper87exploreshaifali_: https://github.com/openstack/zaqar/blob/master/zaqar/queues/transport/wsgi/v1_0/queues.py#L5108:11
flaper87exploreshaifali_: that means the queue *already* exists08:11
flaper87that said, you should be using v1.1 :)08:12
exploreshaifali_flaper87: I will be working on v2.0?08:15
flaper87exploreshaifali_: no, v1.108:15
flaper87exploreshaifali_: we still have no plans for v2.008:15
flaper87We'll probably talk about it at the summit a couple of weeks from now08:15
exploreshaifali_flaper87: ok, so to get/ run version 1.1 I need to fork Juno branch?08:16
flaper87yes, either juno or master08:17
exploreshaifali_I have master only08:17
exploreshaifali_does, also tried to run *curl -i -X PUT http://127.0.0.1:8888/v1.1/queues/samplequeue -H "Content-type: application/json"*08:18
exploreshaifali_But it gave bad request08:18
exploreshaifali_HTTP 40008:18
flaper87exploreshaifali_: what does the returned message say?08:19
exploreshaifali_flaper87: here is the output http://pastebin.com/mrsnTcJn08:20
flaper87exploreshaifali_: right, what does the returned response say?08:21
flaper87there's a title and a description there08:21
flaper87Those explain what the error is08:21
flaper87exploreshaifali_: a 400 error means that the request was malformed08:21
flaper87therefore, something in your request was either missing or wrong08:22
exploreshaifali_okay,  description and title should be there in request08:22
flaper87exploreshaifali_: no08:22
flaper87exploreshaifali_: description and title are part of the response08:22
flaper87read what it's written there08:23
flaper87s/it's/is/08:23
exploreshaifali_flaper87: okay, title and description is part of response, got it08:23
exploreshaifali_but why did I got Bad Request?08:24
exploreshaifali_because request is malformed?08:25
exploreshaifali_flaper87: then what is the correct formate?08:25
flaper87exploreshaifali_: ok, let me try again. Title and decription contain the information regarding the error in the *request*08:26
flaper87exploreshaifali_: if you read the exception returned in the response, you'll see what's missing in the request08:26
exploreshaifali_flaper87: in header client ID is missing08:28
flaper87exploreshaifali_: there you go08:28
flaper87add a header for Client-ID and try again08:28
exploreshaifali_cool :)08:29
exploreshaifali_flaper87: my Client-ID and api-key I will get from keystone08:48
exploreshaifali_flaper87: but how do I identify what is my client-id and api-key08:48
exploreshaifali_from where I will able to access them?08:49
flaper87exploreshaifali_: api-key?08:49
flaper87exploreshaifali_: client id is a random uuid generated in the client side08:49
flaper87you can use whatever you want there08:49
exploreshaifali_flaper87: I have tried with dummy client-id08:49
exploreshaifali_but got *title: wrong uuid value*08:50
exploreshaifali_with HTTP 400, bad request08:50
exploreshaifali_and api-key, as it is mentioned here https://developer.rackspace.com/blog/openstack-marconi-api/08:50
flaper87exploreshaifali_: you shouldn't be reading rackspace docs :P08:52
flaper87exploreshaifali_: https://wiki.openstack.org/wiki/Zaqar/specs/api/v1.108:52
flaper87exploreshaifali_: also, I told you the client id could be a random uuid08:52
flaper87if the API says the uuid is wrong is because your uuid is malformed08:52
exploreshaifali_above link that I have mentioned is suggested https://wiki.openstack.org/wiki/Zaqar/Give_Zaqar_a_try#Basic_Zaqar_operations08:52
flaper87what did you use?08:52
*** njirap has joined #openstack-zaqar08:53
flaper87exploreshaifali_: yeah, we need to update that doc to use the v1.1 once it's released in Juno08:53
exploreshaifali_okay!08:53
exploreshaifali_flaper87: for client-id I used once '123', then 'shaifali'08:54
flaper87exploreshaifali_: hehe, but 123 is not an uuid08:54
flaper87exploreshaifali_: http://en.wikipedia.org/wiki/Universally_unique_identifier08:54
*** sgotliv has joined #openstack-zaqar09:07
*** flwang1 has joined #openstack-zaqar09:09
flwang1flaper87: ping09:09
*** flwang1 has quit IRC09:12
*** flwang1 has joined #openstack-zaqar09:12
flaper87flwang1: pong09:17
*** AAzza_afk has joined #openstack-zaqar09:23
*** AAzza has quit IRC09:24
*** AAzza_afk is now known as AAzza09:24
*** exploreshaifali_ has quit IRC09:29
*** AAzza has quit IRC09:36
*** AAzza_afk has joined #openstack-zaqar09:42
*** AAzza_afk is now known as AAzza09:42
*** exploreshaifali has joined #openstack-zaqar09:44
*** AAzza has quit IRC10:07
*** AAzza_afk has joined #openstack-zaqar10:08
*** AAzza_afk is now known as AAzza10:08
*** flwang1 has quit IRC10:12
*** flwang1 has joined #openstack-zaqar10:12
*** sgotliv has quit IRC10:14
*** exploreshaifali has quit IRC10:35
*** exploreshaifali has joined #openstack-zaqar10:45
*** malini|afk is now known as malini_znc10:50
*** malini_znc is now known as malini|afk10:51
*** sgotliv has joined #openstack-zaqar10:56
*** malini has joined #openstack-zaqar11:07
*** exploreshaifali has quit IRC11:46
*** sgotliv has quit IRC12:09
*** anna_ has joined #openstack-zaqar12:19
*** X019 has quit IRC12:22
*** exploreshaifali has joined #openstack-zaqar12:40
*** anna_ is now known as X01912:41
*** jchai has joined #openstack-zaqar13:03
*** malini has quit IRC13:03
*** sriram has joined #openstack-zaqar13:08
*** sgotliv has joined #openstack-zaqar13:13
*** malini has joined #openstack-zaqar13:41
flaper87kgriffs|afk: malini could you please review these 2 patches? https://review.openstack.org/#/q/I9cce93c65f6d14ed8fabbbbcb9bf7ddc3bc11af2,n,z13:53
flaper87Especially master, the proposed juno patch will be merged by ttx once master lands13:53
maliniyes13:53
flaper87malini: thanks, release is tomorrow and we need to respin13:54
flaper87:P13:54
malinisounds like we have a looot of time left :D13:54
flaper87LOL13:54
malinimeanwhile I thought you might enjoy this http://niemann.blogs.nytimes.com/2014/10/09/the-gummi-bear-chronicles/?_php=true&_type=blogs&_r=013:55
* flaper87 clicks13:55
*** AAzza_afk has joined #openstack-zaqar13:57
flaper87malini: LOOOOOOOOOOOOOL, that's me all the way13:58
flaper87:D13:58
*** AAzzal has joined #openstack-zaqar13:58
maliniIt reminded me of a few ppl here when I first saw that :D13:58
*** AAzza has quit IRC13:59
*** AAzzal is now known as AAzza13:59
*** sriram has quit IRC14:01
*** AAzza_afk has quit IRC14:01
*** flaper87 is now known as flaper87|afk14:02
*** vkmc has joined #openstack-zaqar14:05
exploreshaifalihey vkmc :)14:06
exploreshaifaliyou back!!14:06
*** jchai is now known as jchai_afk14:06
vkmchey exploreshaifali! :)14:07
vkmcI am yeah14:07
exploreshaifalinice to see you again!14:07
vkmcthanks, nice to see you around here too14:07
vkmchow are you?14:08
exploreshaifaliyou have worked on zaqar too?14:08
exploreshaifaliI am good and you?14:08
vkmcI did yeah :)14:08
vkmcand I do too :p14:08
vkmchaha14:08
exploreshaifali:d14:09
exploreshaifali:D14:09
exploreshaifalivkmc: please can you tell me how storage layer and transport layer communicate with each other?14:09
exploreshaifaliI mean I except transport layer must have imported files from storage layer as transport is on top of storage14:10
exploreshaifalibut when looking at code, I didn't found that14:11
exploreshaifalionly storage.errors is being imported by files inside transport dir14:11
vkmcwell, right now we only have one driver for transport14:11
vkmcwsgi14:11
vkmcwe use falcon for that14:11
vkmchttp://falconframework.org/14:12
*** bradjones has joined #openstack-zaqar14:12
vkmcand two/three storage drivers14:15
bradjoneshey folks, just wondering what the status of horizon integration is?14:15
vkmcmongodb, redis and sqlalchemy (which is deprecated)14:15
vkmcso two14:15
vkmcbradjones, I remember someone was working on that14:16
malinijay used to work on tht, but I don't think he has been able to spend time on it recently14:18
vkmcexploreshaifali, so... if you look at the code, you will see that the transport driver simply calls Falcon when it receives a GET, POST...etc14:18
vkmcexploreshaifali, and then it calls the storage to do the required action14:19
vkmcbut most of the magic is done with falcon14:19
exploreshaifaliokay so we depend on falcon14:19
bradjonesmalini: do you know if there is any WIP patch available to take a look at?14:19
exploreshaifaliamm... where is that code of using falcon, on github?14:20
malinibradjones: let me check on that and get back to you14:20
bradjonesmalini: great thanks14:20
malinibradjones: are you going to be in this channel?14:20
*** kgriffs|afk is now known as kgriffs14:20
bradjonesmalini: yeah14:20
malinibradjones: cool! I'll get back to you soon14:21
exploreshaifalivkmc: can I see the code where falcon is used for zaqar, on github14:24
vkmcexploreshaifali, for instance, queues creation is handled here https://github.com/openstack/zaqar/blob/master/zaqar/queues/transport/wsgi/v1_1/queues.py#L61-L9414:24
vkmcon_put, on_get and so on are hooks14:25
exploreshaifalivkmc: kk :)14:25
vkmchere is everything explained :) on the falcon side14:26
vkmchttp://falcon.readthedocs.org/en/latest/14:26
exploreshaifalivkmc: I was actually thinking that if we will change storage code, will it affect to transport layer14:27
exploreshaifalias both layer interact with each other14:27
exploreshaifalivkmc: let me see falcon :)14:27
vkmcno, the beauty of zaqar is that its highly modular14:28
vkmcwhich is your task for OPW?14:28
exploreshaifalivkmc: my task?14:29
exploreshaifalivkmc: I didn't got what are you asking14:30
vkmcexploreshaifali, yeah, you should have a project/tasks/proposal idea for yor internship14:31
vkmclike... I dunno14:31
vkmc'adding a new storage for zaqar'14:31
exploreshaifalivkmc: objecive of project is to split data and control planes of storage layer14:32
exploreshaifaliat present they are messed up14:32
vkmccool14:32
vkmcyeah14:33
vkmcnot messed up, but we need to polish those14:33
vkmcok, so in your project you will be trying to make Zaqar even more modular14:33
vkmcprobably changing where the controls are done14:33
exploreshaifalivkmc: Yeah :)14:35
exploreshaifaliThanks!14:35
vkmccool14:36
*** echevemaster has joined #openstack-zaqar14:59
*** sriram has joined #openstack-zaqar15:16
*** exploreshaifali has quit IRC15:19
*** amitgandhinz has joined #openstack-zaqar15:22
*** jchai_afk is now known as jchai15:28
*** jchai is now known as jchai_afk15:39
*** sgotliv has quit IRC15:47
*** exploreshaifali has joined #openstack-zaqar16:07
*** flwang1 has quit IRC16:15
*** cpallares has joined #openstack-zaqar16:27
*** jchai_afk is now known as jchai16:31
*** njirap has quit IRC16:36
*** sgotliv has joined #openstack-zaqar16:56
*** exploreshaifali has quit IRC17:01
*** echevemaster has quit IRC17:03
*** kgriffs is now known as kgriffs|afk17:03
*** kgriffs|afk is now known as kgriffs17:24
*** kgriffs is now known as kgriffs|afk17:34
*** jchai has quit IRC17:35
*** sgotliv has quit IRC17:51
*** kgriffs|afk is now known as kgriffs18:25
malinibradjones: ping18:34
*** kgriffs is now known as kgriffs|afk18:35
*** cpallares has quit IRC18:49
*** kgriffs|afk is now known as kgriffs18:51
*** malini has left #openstack-zaqar19:28
*** sgotliv has joined #openstack-zaqar19:28
boris-42kgriffs around?)20:13
*** sgotliv has quit IRC20:13
*** sgotliv has joined #openstack-zaqar20:16
*** flwang1 has joined #openstack-zaqar20:54
flwangkgriffs: ping20:55
*** fifieldt has quit IRC21:00
*** fifieldt has joined #openstack-zaqar21:00
*** sriram has quit IRC21:12
openstackgerritA change was merged to openstack/zaqar: Fix ttl and grace story for claims updates  https://review.openstack.org/12751821:18
openstackgerritAbhishek Chanda proposed a change to openstack/zaqar: Use the enum module  https://review.openstack.org/12877421:42
*** sgotliv has quit IRC21:46
openstackgerritAbhishek Chanda proposed a change to openstack/zaqar: Use the enum module  https://review.openstack.org/12877422:00
*** amitgandhinz has quit IRC22:11
*** kgriffs is now known as kgriffs|afk22:49
*** vkmc has quit IRC23:04
*** echevemaster has joined #openstack-zaqar23:15
openstackgerritOpenStack Proposal Bot proposed a change to openstack/zaqar: Updated from global requirements  https://review.openstack.org/12780023:47

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