*** kgriffs is now known as kgriffs|afk | 00:20 | |
*** kgriffs|afk is now known as kgriffs | 00:23 | |
*** exploreshaifali has quit IRC | 01:09 | |
*** zhiyan|afk has joined #openstack-zaqar | 01:32 | |
*** zhiyan has quit IRC | 01:33 | |
*** flwang has quit IRC | 01:33 | |
*** flwang has joined #openstack-zaqar | 01:33 | |
*** zhiyan|afk is now known as zhiyan | 01:34 | |
*** jeffrey4l has quit IRC | 01:34 | |
*** jeffrey4l has joined #openstack-zaqar | 01:36 | |
*** openstack has joined #openstack-zaqar | 01:42 | |
*** jeffrey4l has quit IRC | 01:42 | |
*** jeffrey4l has joined #openstack-zaqar | 01:42 | |
*** dmitryme2 has joined #openstack-zaqar | 01:42 | |
*** yfujioka_ has joined #openstack-zaqar | 01:42 | |
*** dmitryme has quit IRC | 01:42 | |
*** dmitryme2 is now known as dmitryme | 01:42 | |
*** fifieldt has joined #openstack-zaqar | 01:43 | |
*** openstackgerrit has joined #openstack-zaqar | 01:52 | |
jeffrey4l | /close | 01:59 |
---|---|---|
*** jeffrey4l has left #openstack-zaqar | 01:59 | |
*** echevemaster has joined #openstack-zaqar | 02:00 | |
*** jeffrey4l has joined #openstack-zaqar | 02:00 | |
*** yfujioka_ has quit IRC | 02:01 | |
*** jeffrey4l has quit IRC | 03:17 | |
*** X019 has quit IRC | 03:37 | |
*** X019 has joined #openstack-zaqar | 03:50 | |
*** wpf has quit IRC | 03:54 | |
*** echevemaster_ has joined #openstack-zaqar | 04:05 | |
*** wpf has joined #openstack-zaqar | 04:47 | |
*** echevemaster_ has quit IRC | 04:49 | |
wpf | kgriffs: ping | 04:49 |
wpf | zhiyan: ping | 05:15 |
wpf | or anyone is familiar with the log configuration? | 05:16 |
*** echevemaster has quit IRC | 05:20 | |
*** kgriffs is now known as kgriffs|afk | 05:44 | |
*** jeffrey4l has joined #openstack-zaqar | 06:01 | |
*** sgotliv has joined #openstack-zaqar | 06:14 | |
*** sgotliv has quit IRC | 06:19 | |
*** exploreshaifali has joined #openstack-zaqar | 07:02 | |
*** flaper87|afk is now known as flaper87 | 07:09 | |
*** sgotliv has joined #openstack-zaqar | 07:18 | |
*** exploreshaifali has quit IRC | 07:21 | |
*** jeffrey4l has quit IRC | 07:28 | |
*** jeffrey4l has joined #openstack-zaqar | 07:29 | |
*** exploreshaifali has joined #openstack-zaqar | 07:29 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/zaqar: Fix ttl and grace story for claims updates https://review.openstack.org/127518 | 07:32 |
*** sgotliv has quit IRC | 07:43 | |
*** exploreshaifali has quit IRC | 07:46 | |
*** exploreshaifali_ has joined #openstack-zaqar | 07:46 | |
wpf | flaper87: ping | 07:54 |
flaper87 | wpf: pong | 07:55 |
wpf | flaper87: 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 0 | 07:55 |
wpf | "...... | 07:55 |
wpf | I try to find it ,but failed | 07:56 |
flaper87 | wpf: I think that's falcon's log | 07:56 |
flaper87 | or wsgiref | 07:56 |
wpf | Oh, then maybe it's wsgiref, since I also go though the falcon code and create a simple api sample ,did not see that | 07: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 201 | 08:05 |
exploreshaifali_ | does it mean installion problem? | 08:06 |
exploreshaifali_ | why am I unable to create the queue? | 08:07 |
exploreshaifali_ | flaper87: ^ | 08:07 |
flaper87 | exploreshaifali_: https://github.com/openstack/zaqar/blob/master/zaqar/queues/transport/wsgi/v1_0/queues.py#L51 | 08:11 |
flaper87 | exploreshaifali_: that means the queue *already* exists | 08:11 |
flaper87 | that said, you should be using v1.1 :) | 08:12 |
exploreshaifali_ | flaper87: I will be working on v2.0? | 08:15 |
flaper87 | exploreshaifali_: no, v1.1 | 08:15 |
flaper87 | exploreshaifali_: we still have no plans for v2.0 | 08:15 |
flaper87 | We'll probably talk about it at the summit a couple of weeks from now | 08:15 |
exploreshaifali_ | flaper87: ok, so to get/ run version 1.1 I need to fork Juno branch? | 08:16 |
flaper87 | yes, either juno or master | 08:17 |
exploreshaifali_ | I have master only | 08: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 request | 08:18 |
exploreshaifali_ | HTTP 400 | 08:18 |
flaper87 | exploreshaifali_: what does the returned message say? | 08:19 |
exploreshaifali_ | flaper87: here is the output http://pastebin.com/mrsnTcJn | 08:20 |
flaper87 | exploreshaifali_: right, what does the returned response say? | 08:21 |
flaper87 | there's a title and a description there | 08:21 |
flaper87 | Those explain what the error is | 08:21 |
flaper87 | exploreshaifali_: a 400 error means that the request was malformed | 08:21 |
flaper87 | therefore, something in your request was either missing or wrong | 08:22 |
exploreshaifali_ | okay, description and title should be there in request | 08:22 |
flaper87 | exploreshaifali_: no | 08:22 |
flaper87 | exploreshaifali_: description and title are part of the response | 08:22 |
flaper87 | read what it's written there | 08:23 |
flaper87 | s/it's/is/ | 08:23 |
exploreshaifali_ | flaper87: okay, title and description is part of response, got it | 08: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 |
flaper87 | exploreshaifali_: ok, let me try again. Title and decription contain the information regarding the error in the *request* | 08:26 |
flaper87 | exploreshaifali_: if you read the exception returned in the response, you'll see what's missing in the request | 08:26 |
exploreshaifali_ | flaper87: in header client ID is missing | 08:28 |
flaper87 | exploreshaifali_: there you go | 08:28 |
flaper87 | add a header for Client-ID and try again | 08:28 |
exploreshaifali_ | cool :) | 08:29 |
exploreshaifali_ | flaper87: my Client-ID and api-key I will get from keystone | 08:48 |
exploreshaifali_ | flaper87: but how do I identify what is my client-id and api-key | 08:48 |
exploreshaifali_ | from where I will able to access them? | 08:49 |
flaper87 | exploreshaifali_: api-key? | 08:49 |
flaper87 | exploreshaifali_: client id is a random uuid generated in the client side | 08:49 |
flaper87 | you can use whatever you want there | 08:49 |
exploreshaifali_ | flaper87: I have tried with dummy client-id | 08:49 |
exploreshaifali_ | but got *title: wrong uuid value* | 08:50 |
exploreshaifali_ | with HTTP 400, bad request | 08:50 |
exploreshaifali_ | and api-key, as it is mentioned here https://developer.rackspace.com/blog/openstack-marconi-api/ | 08:50 |
flaper87 | exploreshaifali_: you shouldn't be reading rackspace docs :P | 08:52 |
flaper87 | exploreshaifali_: https://wiki.openstack.org/wiki/Zaqar/specs/api/v1.1 | 08:52 |
flaper87 | exploreshaifali_: also, I told you the client id could be a random uuid | 08:52 |
flaper87 | if the API says the uuid is wrong is because your uuid is malformed | 08:52 |
exploreshaifali_ | above link that I have mentioned is suggested https://wiki.openstack.org/wiki/Zaqar/Give_Zaqar_a_try#Basic_Zaqar_operations | 08:52 |
flaper87 | what did you use? | 08:52 |
*** njirap has joined #openstack-zaqar | 08:53 | |
flaper87 | exploreshaifali_: yeah, we need to update that doc to use the v1.1 once it's released in Juno | 08:53 |
exploreshaifali_ | okay! | 08:53 |
exploreshaifali_ | flaper87: for client-id I used once '123', then 'shaifali' | 08:54 |
flaper87 | exploreshaifali_: hehe, but 123 is not an uuid | 08:54 |
flaper87 | exploreshaifali_: http://en.wikipedia.org/wiki/Universally_unique_identifier | 08:54 |
*** sgotliv has joined #openstack-zaqar | 09:07 | |
*** flwang1 has joined #openstack-zaqar | 09:09 | |
flwang1 | flaper87: ping | 09:09 |
*** flwang1 has quit IRC | 09:12 | |
*** flwang1 has joined #openstack-zaqar | 09:12 | |
flaper87 | flwang1: pong | 09:17 |
*** AAzza_afk has joined #openstack-zaqar | 09:23 | |
*** AAzza has quit IRC | 09:24 | |
*** AAzza_afk is now known as AAzza | 09:24 | |
*** exploreshaifali_ has quit IRC | 09:29 | |
*** AAzza has quit IRC | 09:36 | |
*** AAzza_afk has joined #openstack-zaqar | 09:42 | |
*** AAzza_afk is now known as AAzza | 09:42 | |
*** exploreshaifali has joined #openstack-zaqar | 09:44 | |
*** AAzza has quit IRC | 10:07 | |
*** AAzza_afk has joined #openstack-zaqar | 10:08 | |
*** AAzza_afk is now known as AAzza | 10:08 | |
*** flwang1 has quit IRC | 10:12 | |
*** flwang1 has joined #openstack-zaqar | 10:12 | |
*** sgotliv has quit IRC | 10:14 | |
*** exploreshaifali has quit IRC | 10:35 | |
*** exploreshaifali has joined #openstack-zaqar | 10:45 | |
*** malini|afk is now known as malini_znc | 10:50 | |
*** malini_znc is now known as malini|afk | 10:51 | |
*** sgotliv has joined #openstack-zaqar | 10:56 | |
*** malini has joined #openstack-zaqar | 11:07 | |
*** exploreshaifali has quit IRC | 11:46 | |
*** sgotliv has quit IRC | 12:09 | |
*** anna_ has joined #openstack-zaqar | 12:19 | |
*** X019 has quit IRC | 12:22 | |
*** exploreshaifali has joined #openstack-zaqar | 12:40 | |
*** anna_ is now known as X019 | 12:41 | |
*** jchai has joined #openstack-zaqar | 13:03 | |
*** malini has quit IRC | 13:03 | |
*** sriram has joined #openstack-zaqar | 13:08 | |
*** sgotliv has joined #openstack-zaqar | 13:13 | |
*** malini has joined #openstack-zaqar | 13:41 | |
flaper87 | kgriffs|afk: malini could you please review these 2 patches? https://review.openstack.org/#/q/I9cce93c65f6d14ed8fabbbbcb9bf7ddc3bc11af2,n,z | 13:53 |
flaper87 | Especially master, the proposed juno patch will be merged by ttx once master lands | 13:53 |
malini | yes | 13:53 |
flaper87 | malini: thanks, release is tomorrow and we need to respin | 13:54 |
flaper87 | :P | 13:54 |
malini | sounds like we have a looot of time left :D | 13:54 |
flaper87 | LOL | 13:54 |
malini | meanwhile I thought you might enjoy this http://niemann.blogs.nytimes.com/2014/10/09/the-gummi-bear-chronicles/?_php=true&_type=blogs&_r=0 | 13:55 |
* flaper87 clicks | 13:55 | |
*** AAzza_afk has joined #openstack-zaqar | 13:57 | |
flaper87 | malini: LOOOOOOOOOOOOOL, that's me all the way | 13:58 |
flaper87 | :D | 13:58 |
*** AAzzal has joined #openstack-zaqar | 13:58 | |
malini | It reminded me of a few ppl here when I first saw that :D | 13:58 |
*** AAzza has quit IRC | 13:59 | |
*** AAzzal is now known as AAzza | 13:59 | |
*** sriram has quit IRC | 14:01 | |
*** AAzza_afk has quit IRC | 14:01 | |
*** flaper87 is now known as flaper87|afk | 14:02 | |
*** vkmc has joined #openstack-zaqar | 14:05 | |
exploreshaifali | hey vkmc :) | 14:06 |
exploreshaifali | you back!! | 14:06 |
*** jchai is now known as jchai_afk | 14:06 | |
vkmc | hey exploreshaifali! :) | 14:07 |
vkmc | I am yeah | 14:07 |
exploreshaifali | nice to see you again! | 14:07 |
vkmc | thanks, nice to see you around here too | 14:07 |
vkmc | how are you? | 14:08 |
exploreshaifali | you have worked on zaqar too? | 14:08 |
exploreshaifali | I am good and you? | 14:08 |
vkmc | I did yeah :) | 14:08 |
vkmc | and I do too :p | 14:08 |
vkmc | haha | 14:08 |
exploreshaifali | :d | 14:09 |
exploreshaifali | :D | 14:09 |
exploreshaifali | vkmc: please can you tell me how storage layer and transport layer communicate with each other? | 14:09 |
exploreshaifali | I mean I except transport layer must have imported files from storage layer as transport is on top of storage | 14:10 |
exploreshaifali | but when looking at code, I didn't found that | 14:11 |
exploreshaifali | only storage.errors is being imported by files inside transport dir | 14:11 |
vkmc | well, right now we only have one driver for transport | 14:11 |
vkmc | wsgi | 14:11 |
vkmc | we use falcon for that | 14:11 |
vkmc | http://falconframework.org/ | 14:12 |
*** bradjones has joined #openstack-zaqar | 14:12 | |
vkmc | and two/three storage drivers | 14:15 |
bradjones | hey folks, just wondering what the status of horizon integration is? | 14:15 |
vkmc | mongodb, redis and sqlalchemy (which is deprecated) | 14:15 |
vkmc | so two | 14:15 |
vkmc | bradjones, I remember someone was working on that | 14:16 |
malini | jay used to work on tht, but I don't think he has been able to spend time on it recently | 14:18 |
vkmc | exploreshaifali, so... if you look at the code, you will see that the transport driver simply calls Falcon when it receives a GET, POST...etc | 14:18 |
vkmc | exploreshaifali, and then it calls the storage to do the required action | 14:19 |
vkmc | but most of the magic is done with falcon | 14:19 |
exploreshaifali | okay so we depend on falcon | 14:19 |
bradjones | malini: do you know if there is any WIP patch available to take a look at? | 14:19 |
exploreshaifali | amm... where is that code of using falcon, on github? | 14:20 |
malini | bradjones: let me check on that and get back to you | 14:20 |
bradjones | malini: great thanks | 14:20 |
malini | bradjones: are you going to be in this channel? | 14:20 |
*** kgriffs|afk is now known as kgriffs | 14:20 | |
bradjones | malini: yeah | 14:20 |
malini | bradjones: cool! I'll get back to you soon | 14:21 |
exploreshaifali | vkmc: can I see the code where falcon is used for zaqar, on github | 14:24 |
vkmc | exploreshaifali, for instance, queues creation is handled here https://github.com/openstack/zaqar/blob/master/zaqar/queues/transport/wsgi/v1_1/queues.py#L61-L94 | 14:24 |
vkmc | on_put, on_get and so on are hooks | 14:25 |
exploreshaifali | vkmc: kk :) | 14:25 |
vkmc | here is everything explained :) on the falcon side | 14:26 |
vkmc | http://falcon.readthedocs.org/en/latest/ | 14:26 |
exploreshaifali | vkmc: I was actually thinking that if we will change storage code, will it affect to transport layer | 14:27 |
exploreshaifali | as both layer interact with each other | 14:27 |
exploreshaifali | vkmc: let me see falcon :) | 14:27 |
vkmc | no, the beauty of zaqar is that its highly modular | 14:28 |
vkmc | which is your task for OPW? | 14:28 |
exploreshaifali | vkmc: my task? | 14:29 |
exploreshaifali | vkmc: I didn't got what are you asking | 14:30 |
vkmc | exploreshaifali, yeah, you should have a project/tasks/proposal idea for yor internship | 14:31 |
vkmc | like... I dunno | 14:31 |
vkmc | 'adding a new storage for zaqar' | 14:31 |
exploreshaifali | vkmc: objecive of project is to split data and control planes of storage layer | 14:32 |
exploreshaifali | at present they are messed up | 14:32 |
vkmc | cool | 14:32 |
vkmc | yeah | 14:33 |
vkmc | not messed up, but we need to polish those | 14:33 |
vkmc | ok, so in your project you will be trying to make Zaqar even more modular | 14:33 |
vkmc | probably changing where the controls are done | 14:33 |
exploreshaifali | vkmc: Yeah :) | 14:35 |
exploreshaifali | Thanks! | 14:35 |
vkmc | cool | 14:36 |
*** echevemaster has joined #openstack-zaqar | 14:59 | |
*** sriram has joined #openstack-zaqar | 15:16 | |
*** exploreshaifali has quit IRC | 15:19 | |
*** amitgandhinz has joined #openstack-zaqar | 15:22 | |
*** jchai_afk is now known as jchai | 15:28 | |
*** jchai is now known as jchai_afk | 15:39 | |
*** sgotliv has quit IRC | 15:47 | |
*** exploreshaifali has joined #openstack-zaqar | 16:07 | |
*** flwang1 has quit IRC | 16:15 | |
*** cpallares has joined #openstack-zaqar | 16:27 | |
*** jchai_afk is now known as jchai | 16:31 | |
*** njirap has quit IRC | 16:36 | |
*** sgotliv has joined #openstack-zaqar | 16:56 | |
*** exploreshaifali has quit IRC | 17:01 | |
*** echevemaster has quit IRC | 17:03 | |
*** kgriffs is now known as kgriffs|afk | 17:03 | |
*** kgriffs|afk is now known as kgriffs | 17:24 | |
*** kgriffs is now known as kgriffs|afk | 17:34 | |
*** jchai has quit IRC | 17:35 | |
*** sgotliv has quit IRC | 17:51 | |
*** kgriffs|afk is now known as kgriffs | 18:25 | |
malini | bradjones: ping | 18:34 |
*** kgriffs is now known as kgriffs|afk | 18:35 | |
*** cpallares has quit IRC | 18:49 | |
*** kgriffs|afk is now known as kgriffs | 18:51 | |
*** malini has left #openstack-zaqar | 19:28 | |
*** sgotliv has joined #openstack-zaqar | 19:28 | |
boris-42 | kgriffs around?) | 20:13 |
*** sgotliv has quit IRC | 20:13 | |
*** sgotliv has joined #openstack-zaqar | 20:16 | |
*** flwang1 has joined #openstack-zaqar | 20:54 | |
flwang | kgriffs: ping | 20:55 |
*** fifieldt has quit IRC | 21:00 | |
*** fifieldt has joined #openstack-zaqar | 21:00 | |
*** sriram has quit IRC | 21:12 | |
openstackgerrit | A change was merged to openstack/zaqar: Fix ttl and grace story for claims updates https://review.openstack.org/127518 | 21:18 |
openstackgerrit | Abhishek Chanda proposed a change to openstack/zaqar: Use the enum module https://review.openstack.org/128774 | 21:42 |
*** sgotliv has quit IRC | 21:46 | |
openstackgerrit | Abhishek Chanda proposed a change to openstack/zaqar: Use the enum module https://review.openstack.org/128774 | 22:00 |
*** amitgandhinz has quit IRC | 22:11 | |
*** kgriffs is now known as kgriffs|afk | 22:49 | |
*** vkmc has quit IRC | 23:04 | |
*** echevemaster has joined #openstack-zaqar | 23:15 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/zaqar: Updated from global requirements https://review.openstack.org/127800 | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!