jthorne_ | anyone ever run into an issue with Swift authing against Keystone throwing "401 Unauthorized" when using the swift command even though that user has the admin or swiftoperator role (using Swift through the Horizon Dashboard is working fine) | 00:01 |
---|---|---|
*** jthorne_ is now known as jthorne | 00:04 | |
*** JelleB has quit IRC | 00:04 | |
*** JelleB has joined #openstack-swift | 00:04 | |
zaitcev | usually memcached is not running, firewalled by accident (including iptables and SElinux), or its host or IP is typoed in proxy-server.conf | 00:04 |
jthorne | thanks for the reply zaitcev. no firewalls to speak of, memcached is running on the proxy server, and i'm fairly certain i haven't typoed everything. here's an overview of my setup if you have sometime: https://gist.github.com/jameswthorne/ce20b00df2fa3dbfb846 | 00:06 |
jthorne | i haven't typoed anything* | 00:07 |
jthorne | what's adding to my confusion is i did the same exact setup in a real environment (on bare-metal) and did not run into this problem at all | 00:08 |
*** kevinc_ has quit IRC | 00:18 | |
*** shri has quit IRC | 00:41 | |
*** mwstorer has quit IRC | 00:52 | |
zaitcev | jthorne: since your Keystone is not using SSL (assuming the configuration of the client in proxy-server.conf matches the reality), then you should be able to run tcpdump or wireshark and capture the interactions. | 01:48 |
zaitcev | assuming, of course, that telnet 192.168.252.60 11211 connects | 01:50 |
*** nosnos has joined #openstack-swift | 01:58 | |
*** aswadr has joined #openstack-swift | 02:19 | |
*** haomaiw__ has quit IRC | 02:43 | |
*** haomaiwang has joined #openstack-swift | 02:44 | |
*** haomai___ has joined #openstack-swift | 03:00 | |
*** haomaiwang has quit IRC | 03:02 | |
*** chandankumar has joined #openstack-swift | 03:35 | |
*** nosnos has quit IRC | 03:43 | |
*** jthorne has quit IRC | 04:03 | |
*** nosnos has joined #openstack-swift | 04:32 | |
*** kopparam has joined #openstack-swift | 04:46 | |
*** ppai has joined #openstack-swift | 04:46 | |
*** denca has quit IRC | 05:03 | |
*** denca has joined #openstack-swift | 05:03 | |
*** chandankumar has quit IRC | 05:16 | |
*** psharma has joined #openstack-swift | 05:18 | |
*** zaitcev has quit IRC | 05:20 | |
*** anand_ts has joined #openstack-swift | 05:29 | |
mattoliverau | Morning | 05:31 |
*** bkopilov has quit IRC | 05:35 | |
*** bkopilov has joined #openstack-swift | 05:52 | |
*** chandankumar has joined #openstack-swift | 05:58 | |
*** anand_ts has quit IRC | 06:06 | |
Shivani | Hi!!! | 06:25 |
Shivani | I am looking to setup swift functional test environment to execute my own test with some data in PUT operation. | 06:28 |
Shivani | Does anyone know anything about this? | 06:29 |
*** anand_ts has joined #openstack-swift | 06:40 | |
psharma | Shivani, didn't get your point, do you mean you dont trust functional test written upstream and want something of your own and that too as trivial as a PUT operation ? | 06:41 |
*** Shivani has quit IRC | 06:52 | |
madhuri | Hi.... I have one query here, if some one can help | 06:54 |
madhuri | i was wondering that if i have to upload an object(a jpeg image file) from my local machine to remote swift server and i do not want to use CURL, then what would be my PUT object rest api format? | 06:55 |
madhuri | i mean, how can i specify my objects path in REST api format? | 06:56 |
psharma | madhuri, refer the swift API guide http://docs.openstack.org/api/openstack-object-storage/1.0/content/object_storage_api_overview.html | 07:01 |
madhuri | lets say, i have object in my local machine, c:\Users\images\abc.jpeg and i want this to upload on swift server at location /{account}/pics/ | 07:06 |
madhuri | so can you suggest, how my rest api will look like? | 07:06 |
*** d0ugal has quit IRC | 07:07 | |
*** d0ugal has joined #openstack-swift | 07:07 | |
*** manish_ has joined #openstack-swift | 07:08 | |
*** madhuri_ has joined #openstack-swift | 07:10 | |
*** madhuri has quit IRC | 07:11 | |
psharma | madhuri , c:\Users\images\abc.jpeg is more of a OS specific path, as far as i understand you have to process this path in your code first and then send the request in more generic API format | 07:15 |
*** madhuri_ has quit IRC | 07:16 | |
*** zslot has joined #openstack-swift | 07:18 | |
manish_ | ok.. | 07:20 |
*** madhuri has joined #openstack-swift | 07:21 | |
manish_ | Hi psharma.. | 07:21 |
manish_ | so basically it should be in my client's code, to read the source object in to bytes and send that to target SWIFT server.. | 07:22 |
manish_ | if i need to test SWIFT object upload feature, my test case should be able to pick the source path, raed the object file and generate the REST format for put object..right? | 07:22 |
psharma | yes , if you are not happy with the idea to use swift client , and upstream functional cases use swift client | 07:24 |
psharma | and it is just my opinion, there might be more ways to do this | 07:25 |
*** shivani has joined #openstack-swift | 07:25 | |
manish_ | ok..thanks alot | 07:26 |
shivani | psharma: I want to make a PUT request wit some content length>0. I have checked in Swif FT, content length is 0 for all cases. Is there a way to do the same. | 07:27 |
psharma | what , are you sure https://github.com/openstack/swift/blob/master/test/functional/tests.py | 07:30 |
psharma | chk line no 331 | 07:30 |
psharma | file size=128 | 07:30 |
psharma | content lenght 0 is used for containers only as far as i know | 07:31 |
*** foexle has joined #openstack-swift | 07:32 | |
*** bvandenh has quit IRC | 07:40 | |
shivani | okk | 07:42 |
shivani | Thanks. | 07:43 |
*** bvandenh has joined #openstack-swift | 07:53 | |
*** mmcardle has joined #openstack-swift | 07:54 | |
*** ChanServ changes topic to "Swift 2.0 https://launchpad.net/swift/juno/2.0.0 | Swift Review Dashboard: http://bit.ly/1iVBigF" | 07:55 | |
*** nacim has joined #openstack-swift | 08:08 | |
*** mrsnivvel has joined #openstack-swift | 08:27 | |
*** acoles_away is now known as acoles | 08:30 | |
*** mrsnivvel has quit IRC | 08:32 | |
*** zslot1 has joined #openstack-swift | 08:40 | |
*** mrsnivvel has joined #openstack-swift | 08:45 | |
*** cpjjl has quit IRC | 08:53 | |
*** zslot1 has quit IRC | 08:53 | |
manish_ | Hi... does any one knows, that to get the SWIFT related data, ceilometer uses which REST API? ( if not using the Notification mechanism, but using pollster) | 09:03 |
manish_ | is it HEAD method on Account level? | 09:03 |
*** rameshg87 has joined #openstack-swift | 09:04 | |
*** mmcardle1 has joined #openstack-swift | 09:05 | |
*** mmcardle has quit IRC | 09:05 | |
rameshg87 | cschwede: request you to take a look at https://review.openstack.org/#/c/102632/ | 09:07 |
rameshg87 | cschwede: multiple submittals on ironic project depends on this :-) | 09:08 |
*** bvandenh has quit IRC | 09:18 | |
*** mmcardle1 has quit IRC | 09:22 | |
pconstantine | torgomatic: just in case, I have rebased https://review.openstack.org/#/c/72157/ it passes all tests now | 09:23 |
*** mmcardle has joined #openstack-swift | 09:27 | |
*** haomai___ has quit IRC | 09:40 | |
*** haomaiwang has joined #openstack-swift | 09:41 | |
*** ppai has quit IRC | 09:46 | |
*** shivani has quit IRC | 09:55 | |
openstackgerrit | Matthew Oliver proposed a change to openstack/swift: Add X-Delete-At/After support to FormPost https://review.openstack.org/104101 | 09:59 |
*** kopparam has quit IRC | 10:01 | |
*** ppai has joined #openstack-swift | 10:02 | |
*** mmcardle has quit IRC | 10:16 | |
*** mmcardle has joined #openstack-swift | 10:20 | |
msahin_ | hi I asked a question yesterday but ı dont solve yet. how can ı see my object on browser anywhere? | 10:24 |
msahin_ | I set the Container's ACL (Access Control List) or permissions to allow reading | 10:25 |
msahin_ | deneme1 permission: Read ACL: .r:*,.rlistings (My container) | 10:25 |
msahin_ | images.jpeg picture in deneme1 container (My object) | 10:25 |
msahin_ | but I dont access images.jpeg picture in deneme1 container (My object) | 10:25 |
msahin_ | ı dont access this link: http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme1/images.jpeg | 10:25 |
msahin_ | it says Authentication required | 10:26 |
msahin_ | how can ı do | 10:26 |
msahin_ | ? | 10:26 |
*** nacim has quit IRC | 10:35 | |
*** mmcardle has quit IRC | 10:45 | |
*** kopparam has joined #openstack-swift | 10:46 | |
*** mmcardle has joined #openstack-swift | 10:49 | |
*** dmsimard has joined #openstack-swift | 11:20 | |
*** mmcardle has quit IRC | 11:27 | |
*** rameshg87 has left #openstack-swift | 11:32 | |
*** nshaikh has joined #openstack-swift | 11:33 | |
mattoliverau | msahin_: you need to authenticate first, and then pass in the X-Auth-Token in. | 11:34 |
*** kopparam has quit IRC | 11:43 | |
*** kopparam has joined #openstack-swift | 11:44 | |
*** tatialchueyr has joined #openstack-swift | 11:52 | |
*** nacim has joined #openstack-swift | 11:58 | |
*** mmcardle has joined #openstack-swift | 12:09 | |
anand_ts | hello all I am getting strange issue while deleting one particular container. All other containers gets deleted without error. please see here http://paste.openstack.org/show/86716/ | 12:24 |
*** kopparam has quit IRC | 12:29 | |
*** kopparam has joined #openstack-swift | 12:33 | |
*** bvandenh has joined #openstack-swift | 12:34 | |
msahin_ | <mattoliverau ı try this : | 12:38 |
msahin_ | curl -s -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "adminpass"}}}' -H 'Content-type: application/json' http://127.0.0.1:5000/v2.0/tokens | 12:39 |
*** ppai has left #openstack-swift | 12:39 | |
msahin_ | curl -v -H 'X-Auth-Token: firstcommandProducedlongID' http://127.0.0.1:8080/v1.0/AUTH_918112e49f2a4530a146efcb46d4af80 | 12:40 |
pconstantine | mattoliverau: the question asked about container with public readable acl set, why msahin_ need to authenticate exactly? | 12:40 |
msahin_ | because ı upload objects on container and | 12:40 |
pconstantine | msahin_: looking at the source code I don't see any possibility of the behaviour you're describing | 12:40 |
msahin_ | anyone can acces this and download that object | 12:40 |
msahin_ | hmm | 12:41 |
msahin_ | well is my way right? | 12:42 |
pconstantine | did you set 'X-Container-Read' exactly as stated? maybe there is a typo somewhere? | 12:42 |
msahin_ | ı must apply this two command and can ı acces on browser my object anywhere ? | 12:42 |
pconstantine | X-Container-Read: .r:*,.rlistings | 12:42 |
msahin_ | ı set like this swift post --read-acl ".r:*,.rlistings" container | 12:43 |
msahin_ | Read ACL: .r:*,.rlistings | 12:43 |
pconstantine | msahin_: according to keystoneauth code you will be able to download object when acl set this way | 12:43 |
pconstantine | msahin_: probably something else reqjects the request? | 12:44 |
*** zslot has left #openstack-swift | 12:44 | |
pconstantine | msahin_: what's the pipeline you use? in proxy server conf file | 12:44 |
msahin_ | log is | 12:46 |
msahin_ | ==> proxy.log <== | 12:46 |
msahin_ | Jul 16 15:45:34 openstack proxy-server: Invalid user token - rejecting request | 12:46 |
msahin_ | Jul 16 15:45:34 openstack proxy-server: 127.0.0.1 127.0.0.1 16/Jul/2014/12/45/34 GET /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg HTTP/1.0 401 - Mozilla/5.0%20%28X11%3B%20Ubuntu%3B%20Linux%20x86_64%3B%20rv:30.0%29%20Gecko/20100101%20Firefox/30.0 - - 23 - tx67985b3c7452442fb9948-0053c673ee - 0.0010 - - 1405514734.656364918 1405514734.657325983 | 12:46 |
msahin_ | my proxy.con is in http://textuploader.com/kugf | 12:49 |
*** nosnos has quit IRC | 12:49 | |
msahin_ | ı use auth_token keystone staticweb and list-endpoints | 12:50 |
msahin_ | <pconstantine> is it something wrong ? | 12:52 |
*** bszabo_ has joined #openstack-swift | 12:53 | |
bszabo_ | hi | 12:53 |
bszabo_ | i have a question, i hope someone is available to help me out a bit | 12:54 |
bszabo_ | i've been here last week with a swift problem, having a lot of timeouts in the node and proxy logs | 12:55 |
bszabo_ | but basically this is not my main problem, the biggest problem is that the object-expirer is deleting the objects too slowly, and we're starting to run out of disk space on our storage nodes | 12:55 |
bszabo_ | it's running, but the objects are collected faster than they're being expired. We're using swift 1.8.0 | 12:56 |
bszabo_ | is there a possibility to tweak the expirer performance? I tried setting the threads higher, without luck | 12:57 |
bszabo_ | any questions/ideas? Thanks! | 12:57 |
*** kopparam has quit IRC | 12:57 | |
pconstantine | msahin_: $ grep -R 'Invalid user token' ../keystone/* | 12:59 |
pconstantine | msahin_: $ grep -R 'Invalid user token' ../swift/* | 12:59 |
pconstantine | msahin_: no such messages neither in swift nor in keystone | 12:59 |
pconstantine | msahin_: but from the error message it looks like you're trying to send a token, while you should not have to do that | 13:01 |
pconstantine | msahin_: browser should send normal GET without any strange headers | 13:01 |
pconstantine | msahin_: found it | 13:04 |
pconstantine | msahin_: you need to set "delay_auth_decision = true" in [filter:authtoken] | 13:05 |
pconstantine | http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html | 13:05 |
msahin_ | ok ı try that and grep -R Invalid use token only in /var/log/swift/* not in keystone | 13:06 |
pconstantine | better even do like they say above: delay_auth_decision = 10 | 13:06 |
*** kopparam has joined #openstack-swift | 13:06 | |
msahin_ | :/ | 13:09 |
msahin_ | pconstantine problem is continue | 13:09 |
msahin_ | ı add delay_auth_decision = 10 in [filter:authtoken] | 13:10 |
pconstantine | t$ grep -R 'Invalid user token' * | 13:10 |
pconstantine | keystoneclient/middleware/auth_token.py: 'Invalid user token - deferring reject downstream') | 13:10 |
pconstantine | keystoneclient/middleware/auth_token.py: self.LOG.info('Invalid user token - rejecting request') | 13:10 |
pconstantine | keystoneclient/middleware/auth_token.py: self.LOG.warn('Invalid user token. Keystone response: %s', data) | 13:10 |
pconstantine | msahin_: it's obviously in auth_token | 13:10 |
pconstantine | ah, I was wrong | 13:11 |
pconstantine | msahin_: self.delay_auth_decision = (self._conf_get('delay_auth_decision') in | 13:11 |
pconstantine | (True, 'true', 't', '1', 'on', 'yes', 'y')) | 13:11 |
pconstantine | so you need to set it to "true" | 13:12 |
pconstantine | not "10" | 13:12 |
msahin_ | absolutely right | 13:13 |
msahin_ | yeap ı see my pic latesly | 13:13 |
msahin_ | :) | 13:13 |
msahin_ | it is right pconstantine delay_auth_decision = true" in [filter:authtoken] is working well | 13:14 |
acoles | clayg: torgomatic: rollup of .meta files in hash_cleanup_listdir was what i had in mind when i wrote this https://wiki.openstack.org/wiki/Swift/ObjectSystemMetadata | 13:15 |
*** mmcardle has quit IRC | 13:20 | |
*** mmcardle has joined #openstack-swift | 13:20 | |
acoles | clayg: during POST handling i can pass hint to hash_cleanup_listdir to avoid reading the .meta's again, but after replication they'd have to be read in order to merge, or left to accumulate :( plus i'm sure torgomatic has thought of something i haven't! | 13:21 |
*** dmorita has joined #openstack-swift | 13:24 | |
*** Wimpers has joined #openstack-swift | 13:24 | |
*** Wimpers has left #openstack-swift | 13:27 | |
msahin_ | ı forget thank you pconstantine for help | 13:37 |
pconstantine | msahin_: that's ok, I've seen your post yesterday but had no time to respond :) | 13:38 |
*** zslot has joined #openstack-swift | 13:40 | |
*** nshaikh has quit IRC | 13:42 | |
*** psharma has quit IRC | 13:46 | |
msahin_ | No problem :) | 13:46 |
*** anand_ts has quit IRC | 13:54 | |
*** tdasilva has joined #openstack-swift | 13:54 | |
*** kopparam has quit IRC | 13:56 | |
*** kopparam has joined #openstack-swift | 13:56 | |
*** dhellmann has joined #openstack-swift | 13:56 | |
*** dhellmann has left #openstack-swift | 13:57 | |
msahin_ | pconstantine I want to ask last question ı create tempurl with ; swift-temp-url GET 3600 /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg mysecretkey | 14:02 |
msahin_ | and it return /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg?temp_url_sig=4dd9f6972fc55c367f0154844b22a4a2a9af9306&temp_url_expires=1405522908 | 14:02 |
msahin_ | ı enter http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg?temp_url_sig=4dd9f6972fc55c367f0154844b22a4a2a9af9306&temp_url_expires=1405522908 on browser | 14:02 |
msahin_ | it says 401 Unauthorized: Temp URL invalid | 14:03 |
msahin_ | log says : Jul 16 17:03:18 openstack object-auditor: Directory objects-1 does not map to a valid policy | 14:04 |
msahin_ | ı think this is its log | 14:05 |
*** zaitcev has joined #openstack-swift | 14:06 | |
*** ChanServ sets mode: +v zaitcev | 14:06 | |
msahin_ | and ı test other one | 14:07 |
msahin_ | ==> proxy.log <== | 14:07 |
msahin_ | Jul 16 17:06:42 openstack proxy-server: 127.0.0.1 127.0.0.1 16/Jul/2014/14/06/42 GET /v1/AUTH_918112e49f2a4530a146efcb46d4af80/new/images.jpeg%3Ftemp_url_sig%3D4a77871e3017f829e5bc98534fb9f5ba36133d0dAMP%3Btemp_url_expires%3D1405521378 HTTP/1.0 401 - Mozilla/5.0%20%28X11%3B%20Ubuntu%3B%20Linux%20x86_64%3B%20rv:30.0%29%20Gecko/20100101%20Firefox/30.0 - - 35 - txd27762700c1e4557a92b8-0053c686f2 - 0.0006 - - 1405519602.960984945 1405519602.961548090 | 14:07 |
msahin_ | again 401 | 14:07 |
pconstantine | msahin_: add "allow_overrides = true" to keystoneauth | 14:09 |
pconstantine | msahin_: tempurl is setting swift.authorize_override when it decodes hash successfully, but keystoneauth is further in the pipeline and rejects it | 14:10 |
msahin_ | ı try this | 14:12 |
pconstantine | msahin_: btw, I see list_endpoints in the pipeline, if you don;t need it for some strange reason - remove it | 14:13 |
pconstantine | msahin_: list_endpoints is designed for internal proxies, not for public facing ones | 14:14 |
msahin_ | problem is continue | 14:14 |
msahin_ | pconstantine ı add | 14:15 |
pconstantine | msahin_: post the new proxy-server.conf | 14:15 |
msahin_ | [filter:keystoneauth] | 14:15 |
msahin_ | use = egg:swift#keystoneauth | 14:15 |
msahin_ | operator_roles = admin, swiftoperator, swift | 14:15 |
msahin_ | allow_overrides = true | 14:15 |
msahin_ | ok | 14:15 |
msahin_ | new conf is http://textuploader.com/kuum | 14:16 |
*** manish_ has quit IRC | 14:20 | |
pconstantine | msahin_: you have tempurl in two places | 14:22 |
pconstantine | remove one of them | 14:22 |
*** tongli has joined #openstack-swift | 14:26 | |
msahin_ | problem is continue | 14:31 |
msahin_ | ı remove one of them | 14:31 |
msahin_ | <pconstantine> and show same log | 14:31 |
pconstantine | msahin_: do a HEAD to the container, with authenticated user, what do you get back? | 14:33 |
msahin_ | <pconstantine> curl -v -H 'X-Auth-Token: b7e31a6a8b0448908ff09319fe8fd118' http://10.1.36.32:8080/v1.0/AUTH_45d1b2fe644b4b85a29c1801432af0e2 like this ? | 14:35 |
pconstantine | msahin_: yep, it's account | 14:35 |
pconstantine | will also be good | 14:35 |
*** nacim has quit IRC | 14:35 | |
pconstantine | curl -v -H 'X-Auth-Token: b7e31a6a8b0448908ff09319fe8fd118' http://10.1.36.32:8080/v1/AUTH_45d1b2fe644b4b85a29c1801432af0e2 | 14:36 |
pconstantine | curl -v -H 'X-Auth-Token: b7e31a6a8b0448908ff09319fe8fd118' http://10.1.36.32:8080/v1/AUTH_45d1b2fe644b4b85a29c1801432af0e2/your_container_name | 14:36 |
*** kopparam has quit IRC | 14:38 | |
msahin_ | return this: | 14:38 |
msahin_ | HTTP/1.1 200 OK | 14:38 |
msahin_ | < X-Container-Object-Count: 12 | 14:38 |
msahin_ | < Accept-Ranges: bytes | 14:38 |
msahin_ | < Content-Length: 473 | 14:38 |
msahin_ | < X-Storage-Policy: Policy-0 | 14:38 |
msahin_ | < X-Container-Read: .r:*,.rlistings | 14:38 |
msahin_ | < X-Container-Bytes-Used: 4077848 | 14:38 |
msahin_ | < X-Timestamp: 1405502114.79317 | 14:38 |
msahin_ | < X-Container-Meta-X-Container-Read: .r:*,.rlistings | 14:38 |
msahin_ | < Content-Type: text/plain; charset=utf-8 | 14:38 |
msahin_ | < X-Trans-Id: tx9ce7b791542c4c02a618d-0053c68e32 | 14:38 |
msahin_ | < Date: Wed, 16 Jul 2014 14:37:39 GMT | 14:38 |
msahin_ | < | 14:38 |
msahin_ | 50cuteanimpic6.jpg | 14:38 |
msahin_ | Weird-pictures-art-pictures-Igor-Morski.jpg | 14:38 |
msahin_ | Wolf Pictures 033.jpg | 14:38 |
msahin_ | british-photographer-tim-flach-created-a-series-called-more-than-human-which-captures-the-emotions-of-wild-creatures-through-intensely-close-shots-including-this-stunning-picture-of-a-tiger-drying-off.jpg.png | 14:38 |
msahin_ | hello.txt | 14:38 |
msahin_ | ice-ice-babies-pictures-2.jpg | 14:38 |
msahin_ | images.jpeg | 14:38 |
msahin_ | karalama.zip | 14:39 |
msahin_ | pictures_1400077785.jpg | 14:39 |
msahin_ | powerful-pictures-of-earth-being-destroyed.jpg | 14:39 |
msahin_ | sO0mRdKW.jpeg | 14:39 |
msahin_ | seal-shark-leap_2413378k.jpg | 14:39 |
msahin_ | * Connection #0 to host 127.0.0.1 left intact | 14:39 |
msahin_ | * Closing connection #0 | 14:39 |
msahin_ | root@openstack:~# | 14:39 |
msahin_ | pconstantine is it wrong here? | 14:39 |
pconstantine | msahin_: and what's the output of account HEAD/GET | 14:45 |
pconstantine | ? | 14:45 |
msahin_ | pconstantine all is | 14:46 |
msahin_ | * About to connect() to 127.0.0.1 port 8080 (#0) | 14:46 |
msahin_ | * Trying 127.0.0.1... connected | 14:46 |
msahin_ | > GET /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme HTTP/1.1 | 14:46 |
msahin_ | > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 | 14:46 |
msahin_ | > Host: 127.0.0.1:8080 | 14:46 |
msahin_ | > Accept: */* | 14:46 |
msahin_ | > X-Auth-Token: MIIGMQYJKoZIhvcNAQcCoIIGIjCCBh4CAQExCTAHBgUrDgMCGjCCBIcGCSqGSIb3DQEHAaCCBHgEggR0eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNy0xNlQxNDozNjozNi42MDAyNzYiLCAiZXhwaXJlcyI6ICIyMDE0LTA3LTE3VDE0OjM2OjM2WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHB | 14:46 |
msahin_ | vaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODA4MC92MS9BVVRIXzkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4MDgwL3YxL0FVVEhfOTE4MTEyZTQ5ZjJhNDUzMGExNDZlZmNiNDZkNGFmODAiLCAiaWQiOiAiMjU2MTVmOTRkYWY2NDEyODgyNjkzNTdhYmNlZjA5YmYiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODA4MC92MS9BVVRIXzkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sIC | 14:46 |
msahin_ | J0eXBlIjogIm9iamVjdC1zdG9yZSIsICJuYW1lIjogInN3aWZ0In0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMDUxNTUzMmQ0ZTgyNDIwMjlkYzU5MDAyMmQxNzI0NTciLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZ | 14:46 |
msahin_ | SI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiYTc3Y2RmMjM1NDg5NDU0NTgwOWRmZDcxNmIyNDRkOTQiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIwM2M1YTZiMzIyYTE0ZTcyOWVjOGZmMzhkODUyNWIyZSJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY2 | 14:46 |
pconstantine | msahin_: just post it to http://textuploader.com | 14:47 |
msahin_ | ok :) | 14:47 |
msahin_ | ı am sorry ı upload http://textuploader.com/kuuv | 14:49 |
pconstantine | do a HEAD for: http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80 | 14:52 |
pconstantine | curl -v -H 'X-Auth-Token: <token>' http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80 -X HEAD | 14:52 |
*** bvandenh has quit IRC | 14:53 | |
msahin_ | http://textuploader.com/kuuw new upload adress | 14:54 |
pconstantine | msahin_: you do not have "X-Account-Meta-Temp-URL-Key: secret" header under account | 14:57 |
pconstantine | msahin_: you need to set it up with POST, and use the secret you have there to create the URLs | 14:58 |
msahin_ | ok I try this | 14:58 |
*** kevinc_ has joined #openstack-swift | 15:02 | |
msahin_ | problem is continue | 15:03 |
msahin_ | root@openstack:~# swift post -m "X-Account-Meta-Temp-URL-Key: mysecretkey" | 15:03 |
msahin_ | root@openstack:~# swift-temp-url GET 3600 /v1/AUTH_918112e49f2a4530a146efcb46d4af80/new/pictures_1400077785.jpg mysecretkey | 15:03 |
msahin_ | link -- > http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/new/pictures_1400077785.jpg?temp_url_sig=3b4f1a72162693931aff29125a57decb6b716def&temp_url_expires=1405526529 | 15:03 |
*** tatialchueyr has quit IRC | 15:16 | |
msahin_ | ı solve that like | 15:18 |
msahin_ | swift post -m "Temp-URL-Key:testkeyhere" | 15:18 |
msahin_ | echo http://127.0.0.1:8080`swift-temp-url GET 172800 /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg testkeyhere` | 15:18 |
msahin_ | return link : http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg?temp_url_sig=c98dd137c01e1726260563f9b45c7e25e9ed79b3&temp_url_expires=1405696637 | 15:19 |
msahin_ | and ı access my object | 15:19 |
msahin_ | it is alright | 15:19 |
*** pberis has quit IRC | 15:26 | |
*** denca has quit IRC | 15:29 | |
*** foexle has quit IRC | 15:29 | |
*** wer has quit IRC | 15:30 | |
*** fifieldt has joined #openstack-swift | 15:32 | |
*** pberis has joined #openstack-swift | 15:33 | |
*** wer has joined #openstack-swift | 15:34 | |
*** rando has joined #openstack-swift | 15:36 | |
*** judd7 has joined #openstack-swift | 15:38 | |
notmyname | good morning | 15:39 |
notmyname | dfg: is the SOS repo still updated? | 15:39 |
*** mdonohoe has quit IRC | 15:39 | |
*** CybergeekDK has quit IRC | 15:40 | |
*** CybergeekDK has joined #openstack-swift | 15:40 | |
*** pberis has quit IRC | 15:41 | |
*** pberis has joined #openstack-swift | 15:42 | |
*** mwstorer has joined #openstack-swift | 15:49 | |
*** zslot has quit IRC | 15:50 | |
*** cpen has joined #openstack-swift | 15:50 | |
*** pberis has quit IRC | 15:51 | |
*** madhuri has quit IRC | 15:53 | |
*** pberis has joined #openstack-swift | 15:53 | |
mattoliverau | notmyname: good morning | 15:56 |
*** cpen has quit IRC | 16:00 | |
*** nacim has joined #openstack-swift | 16:02 | |
*** fifieldt has quit IRC | 16:07 | |
mattoliverau | Well, I'm calling it a day, its hot here and am really in need of a birthday beer!! Have a good day all. I'll try and be back online tonight for the swift meeting :) | 16:08 |
*** mmcardle has quit IRC | 16:11 | |
*** chandankumar has quit IRC | 16:13 | |
*** mmcardle has joined #openstack-swift | 16:15 | |
*** tatialchueyr has joined #openstack-swift | 16:16 | |
*** kevinc_ has quit IRC | 16:20 | |
*** kevinc_ has joined #openstack-swift | 16:23 | |
openstackgerrit | Joel Wright proposed a change to openstack/python-swiftclient: Add importable SwiftService incorporating shell.py logic https://review.openstack.org/85453 | 16:29 |
dfg | notmyname: ish- its in kinda a weird state right now because of the CORS crap | 16:30 |
dfg | notmyname: and this other thing. actually- its kinda a mess :) i need to get it fixed up for the next release. i'll clean it up | 16:45 |
*** nacim has quit IRC | 16:47 | |
*** foexle has joined #openstack-swift | 16:47 | |
dfg | notmyname: actually- SOS master seems fine- i added this stuff that can be ignored that i'll probably get rid of soon. i had to do some stuff on our release because of CORS but i never put that into master. | 16:51 |
*** shri has joined #openstack-swift | 17:03 | |
*** foexle has quit IRC | 17:09 | |
*** openstackgerrit has quit IRC | 17:16 | |
*** openstackgerrit has joined #openstack-swift | 17:16 | |
*** acoles is now known as acoles_away | 17:16 | |
*** mwstorer has quit IRC | 17:17 | |
pconstantine | hmm, guys can anybody explain me what happens if async_update() cannot find nodes to push update to, how will it recover? | 17:17 |
pconstantine | it looks like it never tries to get_more_nodes() | 17:17 |
*** mwstorer has joined #openstack-swift | 17:20 | |
*** pberis has quit IRC | 17:24 | |
*** pberis has joined #openstack-swift | 17:26 | |
*** shakamunyi has joined #openstack-swift | 17:39 | |
*** shakamunyi has quit IRC | 17:39 | |
notmyname | dfg: thanks :-) | 17:40 |
*** shakamunyi has joined #openstack-swift | 17:40 | |
notmyname | dfg: just curious since I heard some comments about CDNs this morning (nothing serious yet, just idle conversation really) | 17:40 |
*** shakamunyi has quit IRC | 17:42 | |
dfg | notmyname: it got a little weird with the whole slo/auth pipeline reordering crap that was never needed to begin with stuff... | 17:43 |
*** tongli has quit IRC | 17:46 | |
*** fifieldt has joined #openstack-swift | 17:51 | |
notmyname | reminder to all that there is a swift team meeting in #openstack-meeting in a little over an hour. current agenda: https://wiki.openstack.org/wiki/Meetings/Swift | 17:54 |
*** tdasilva_ has joined #openstack-swift | 18:00 | |
*** tdasilva has quit IRC | 18:00 | |
*** tdasilva_ has quit IRC | 18:01 | |
*** bvandenh has joined #openstack-swift | 18:05 | |
*** dmsimard is now known as dmsimard_away | 18:05 | |
*** mmcardle has quit IRC | 18:09 | |
*** mahati has joined #openstack-swift | 18:12 | |
*** bvandenh has quit IRC | 18:21 | |
*** dmsimard_away is now known as dmsimard | 18:23 | |
notmyname | glange: dfg: do you have any tools that rely on the logged user-agent string? https://review.openstack.org/#/c/102401/ If not, I'd like to merge it today | 18:25 |
creiht | wait... there is a whole "Cloudfunding: Startups and Capital" track for the next summit? | 18:32 |
creiht | what have we become? :( | 18:33 |
peluse_ | big dogs? | 18:33 |
*** dmsimard is now known as dmsimard_away | 18:33 | |
*** gvernik has joined #openstack-swift | 18:38 | |
*** dmsimard_away is now known as dmsimard | 18:39 | |
dfg | notmyname: i don't know of anything we have that that would break | 18:41 |
notmyname | dfg: thanks. I don't know of anything either, but I wanted to check with y'all | 18:42 |
dfg | cool thx | 18:42 |
notmyname | I'll bring it up in the meeting | 18:42 |
gvernik | can someone explain me what is wrong with pep8 gate of jenkins? it gave me -2 on my patch https://review.openstack.org/#/c/90016/ with error that jenkins cound't install pep8 dependency | 18:43 |
peluse_ | gvernik: my guess would be its not you - just did recheck bug 1334550 for you | 18:45 |
notmyname | me too :-) | 18:46 |
peluse_ | nice :) | 18:46 |
Tyger | Is this a repeat of the py26 failures from yesterday? | 18:46 |
gvernik | thanks :) both of you... and this suppose to solve errors i am getting in gate jobs? ( on build i am getting +1 , only on gate jobs it fails ) | 18:47 |
notmyname | gvernik: if that kind of thing pops up again (ie the recheck doesn't work), then we should raise it with the -infra team | 18:48 |
notmyname | cschwede: around? you left a +1 on https://review.openstack.org/#/c/93780/ because you said you hadn't tested it yet. that was a week ago. have you had any chance to test it? | 18:52 |
notmyname | hmm...python question. is using floats as dictionary keys sane? seems risky, but maybe there's some internal thing I don't know about | 18:53 |
notmyname | Alex_Gaynor: (local python expert) ^^ | 18:54 |
Alex_Gaynor | notmyname: it's fine, unless you have nans, then everything goes to hell | 18:54 |
Alex_Gaynor | (well, only stuff that touches the nan really goes run) | 18:54 |
notmyname | Alex_Gaynor: so {1.0: 'foo'} is fine and {2./3: 'bar'} is fine? | 18:55 |
Alex_Gaynor | yes | 18:55 |
notmyname | what could possibly go wrong? ;-) | 18:55 |
notmyname | Alex_Gaynor: thanks | 18:56 |
*** acoles_away is now known as acoles | 18:57 | |
notmyname | ok, swift meeting time in #openstack-swift | 18:59 |
*** bszabo_ has quit IRC | 18:59 | |
notmyname | bah! I always do that | 18:59 |
notmyname | ok, swift meeting time in #openstack-meeting | 18:59 |
*** bszabo_ has joined #openstack-swift | 18:59 | |
*** tdasilva has joined #openstack-swift | 19:02 | |
*** bszabo_ has quit IRC | 19:03 | |
*** kevinc_ has quit IRC | 19:06 | |
openstackgerrit | A change was merged to openstack/swift: clean up saio env. after runnning func tests https://review.openstack.org/106398 | 19:20 |
*** kevinc_ has joined #openstack-swift | 19:39 | |
mattoliverau | OK I'm going back to the beer garden and celebration for my bday, have a great rest of the day all :) | 20:01 |
notmyname | mattoliverau: have a good one :-) | 20:02 |
*** aswadr has quit IRC | 20:02 | |
peluse_ | mattoliverau: happy bday! | 20:02 |
*** dmsimard is now known as dmsimard_away | 20:02 | |
*** elambert has quit IRC | 20:03 | |
mattoliverau | Thanks guys! | 20:04 |
acoles | mattoliverau: hey, happy beerday :) | 20:05 |
mattoliverau | Lol, just got a litre beer stein (yay Germany), so yeah I will ;) | 20:07 |
*** acoles is now known as acoles_away | 20:07 | |
*** gvernik has quit IRC | 20:09 | |
*** jthorne has joined #openstack-swift | 20:22 | |
*** tdasilva has quit IRC | 20:25 | |
*** pberis has quit IRC | 20:32 | |
*** foexle has joined #openstack-swift | 20:32 | |
*** pberis has joined #openstack-swift | 20:33 | |
openstackgerrit | A change was merged to openstack/swift: Container PUT requests and max container per account https://review.openstack.org/90016 | 20:38 |
clayg | acoles_away: doesn't the obj-replicator send a REPLICATE verb to the object server after sending it bits, doesn't that have to hash dir cleanup inorder to get the bits right in the hashes.pkl? | 20:38 |
*** scotticus has left #openstack-swift | 20:40 | |
*** dmsimard_away is now known as dmsimard | 20:45 | |
peluse_ | clayg: curious why you ask? Been in that area a lot myself and from what I can tell you are correct except for the last part, finalize_put invalidtes the hash | 20:45 |
peluse_ | clayg: because I'm thinking this might be part of the EC archive file naming solution | 20:46 |
*** dmsimard is now known as dmsimard_away | 20:47 | |
clayg | peluse_: acoles_away and torgomatic keep talking about fixing fast_post - and it seems the general solution includes fixing object metadata to persist acorss POSTs | 20:47 |
clayg | peluse_: i was just suggesting that in addition to the PUT path there's an oppertunity in replication to merge .meta files (pretty sure) | 20:47 |
clayg | peluse_: because you know replication isn't already doing *enough* | 20:48 |
peluse_ | ahhh, been sorta following that. yeah | 20:48 |
peluse_ | and I guess for the replication path its get_hashes that does the hashes.pkl recalc, what I said earlier was for a put | 20:51 |
openstackgerrit | A change was merged to openstack/swift: Object services user-agent string uses full name https://review.openstack.org/102401 | 21:09 |
*** pberis has quit IRC | 21:43 | |
*** pberis has joined #openstack-swift | 21:46 | |
*** mmcardle has joined #openstack-swift | 21:49 | |
*** tatialchueyr has quit IRC | 21:49 | |
*** elambert has joined #openstack-swift | 21:54 | |
*** jthorne has quit IRC | 22:03 | |
*** mmcardle has quit IRC | 22:05 | |
*** pberis has quit IRC | 22:11 | |
*** pberis has joined #openstack-swift | 22:12 | |
*** pberis has quit IRC | 22:21 | |
*** pberis has joined #openstack-swift | 22:25 | |
*** pberis has quit IRC | 22:33 | |
*** pberis has joined #openstack-swift | 22:36 | |
*** mrmoje has joined #openstack-swift | 22:59 | |
*** pberis has quit IRC | 23:00 | |
*** mrmoje has quit IRC | 23:03 | |
*** pberis has joined #openstack-swift | 23:03 | |
*** mrmoje has joined #openstack-swift | 23:05 | |
*** mrmoje has quit IRC | 23:10 | |
*** fifieldt has quit IRC | 23:21 | |
*** miqui has quit IRC | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!