Wednesday, 2014-07-16

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 jthorne00:04
*** JelleB has quit IRC00:04
*** JelleB has joined #openstack-swift00:04
zaitcevusually memcached is not running, firewalled by accident (including iptables and SElinux), or its host or IP is typoed in proxy-server.conf00:04
jthornethanks 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/ce20b00df2fa3dbfb84600:06
jthornei haven't typoed anything*00:07
jthornewhat'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 all00:08
*** kevinc_ has quit IRC00:18
*** shri has quit IRC00:41
*** mwstorer has quit IRC00:52
zaitcevjthorne: 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
zaitcevassuming, of course, that  telnet 192.168.252.60 11211  connects01:50
*** nosnos has joined #openstack-swift01:58
*** aswadr has joined #openstack-swift02:19
*** haomaiw__ has quit IRC02:43
*** haomaiwang has joined #openstack-swift02:44
*** haomai___ has joined #openstack-swift03:00
*** haomaiwang has quit IRC03:02
*** chandankumar has joined #openstack-swift03:35
*** nosnos has quit IRC03:43
*** jthorne has quit IRC04:03
*** nosnos has joined #openstack-swift04:32
*** kopparam has joined #openstack-swift04:46
*** ppai has joined #openstack-swift04:46
*** denca has quit IRC05:03
*** denca has joined #openstack-swift05:03
*** chandankumar has quit IRC05:16
*** psharma has joined #openstack-swift05:18
*** zaitcev has quit IRC05:20
*** anand_ts has joined #openstack-swift05:29
mattoliverauMorning05:31
*** bkopilov has quit IRC05:35
*** bkopilov has joined #openstack-swift05:52
*** chandankumar has joined #openstack-swift05:58
*** anand_ts has quit IRC06:06
ShivaniHi!!!06:25
ShivaniI am looking to setup swift functional test environment to execute my own test with some data in PUT operation.06:28
ShivaniDoes anyone know anything about this?06:29
*** anand_ts has joined #openstack-swift06:40
psharmaShivani, 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 IRC06:52
madhuriHi.... I have one query here, if some one can help06:54
madhurii 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
madhurii mean, how can i specify my objects path in REST api format?06:56
psharmamadhuri, refer the swift API guide http://docs.openstack.org/api/openstack-object-storage/1.0/content/object_storage_api_overview.html07:01
madhurilets 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
madhuriso can you suggest, how my rest api will look like?07:06
*** d0ugal has quit IRC07:07
*** d0ugal has joined #openstack-swift07:07
*** manish_ has joined #openstack-swift07:08
*** madhuri_ has joined #openstack-swift07:10
*** madhuri has quit IRC07:11
psharmamadhuri , 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 format07:15
*** madhuri_ has quit IRC07:16
*** zslot has joined #openstack-swift07:18
manish_ok..07:20
*** madhuri has joined #openstack-swift07: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
psharmayes , if you are not happy with the idea to use swift client , and upstream functional cases use swift client07:24
psharmaand it is just my opinion, there might be more ways to do this07:25
*** shivani has joined #openstack-swift07:25
manish_ok..thanks alot07:26
shivanipsharma: 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
psharmawhat , are you sure https://github.com/openstack/swift/blob/master/test/functional/tests.py07:30
psharmachk line no 33107:30
psharmafile size=12807:30
psharmacontent lenght 0 is used for containers only as far as i know07:31
*** foexle has joined #openstack-swift07:32
*** bvandenh has quit IRC07:40
shivaniokk07:42
shivaniThanks.07:43
*** bvandenh has joined #openstack-swift07:53
*** mmcardle has joined #openstack-swift07: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-swift08:08
*** mrsnivvel has joined #openstack-swift08:27
*** acoles_away is now known as acoles08:30
*** mrsnivvel has quit IRC08:32
*** zslot1 has joined #openstack-swift08:40
*** mrsnivvel has joined #openstack-swift08:45
*** cpjjl has quit IRC08:53
*** zslot1 has quit IRC08: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-swift09:04
*** mmcardle1 has joined #openstack-swift09:05
*** mmcardle has quit IRC09:05
rameshg87cschwede: request you to take a look at https://review.openstack.org/#/c/102632/09:07
rameshg87cschwede: multiple submittals on ironic project depends on this :-)09:08
*** bvandenh has quit IRC09:18
*** mmcardle1 has quit IRC09:22
pconstantinetorgomatic: just in case, I have rebased https://review.openstack.org/#/c/72157/ it passes all tests now09:23
*** mmcardle has joined #openstack-swift09:27
*** haomai___ has quit IRC09:40
*** haomaiwang has joined #openstack-swift09:41
*** ppai has quit IRC09:46
*** shivani has quit IRC09:55
openstackgerritMatthew Oliver proposed a change to openstack/swift: Add X-Delete-At/After support to FormPost  https://review.openstack.org/10410109:59
*** kopparam has quit IRC10:01
*** ppai has joined #openstack-swift10:02
*** mmcardle has quit IRC10:16
*** mmcardle has joined #openstack-swift10: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 reading10: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.jpeg10:25
msahin_it says Authentication required10:26
msahin_how can ı do10:26
msahin_?10:26
*** nacim has quit IRC10:35
*** mmcardle has quit IRC10:45
*** kopparam has joined #openstack-swift10:46
*** mmcardle has joined #openstack-swift10:49
*** dmsimard has joined #openstack-swift11:20
*** mmcardle has quit IRC11:27
*** rameshg87 has left #openstack-swift11:32
*** nshaikh has joined #openstack-swift11:33
mattoliveraumsahin_: you need to authenticate first, and then pass in the X-Auth-Token in.11:34
*** kopparam has quit IRC11:43
*** kopparam has joined #openstack-swift11:44
*** tatialchueyr has joined #openstack-swift11:52
*** nacim has joined #openstack-swift11:58
*** mmcardle has joined #openstack-swift12:09
anand_tshello 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 IRC12:29
*** kopparam has joined #openstack-swift12:33
*** bvandenh has joined #openstack-swift12: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/tokens12:39
*** ppai has left #openstack-swift12:39
msahin_curl -v -H 'X-Auth-Token: firstcommandProducedlongID' http://127.0.0.1:8080/v1.0/AUTH_918112e49f2a4530a146efcb46d4af8012:40
pconstantinemattoliverau: the question asked about container with public readable acl set, why msahin_ need to authenticate exactly?12:40
msahin_because ı upload objects on container and12:40
pconstantinemsahin_: looking at the source code I don't see any possibility of the behaviour you're describing12:40
msahin_anyone can acces this and download that object12:40
msahin_hmm12:41
msahin_well is  my way right?12:42
pconstantinedid 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
pconstantineX-Container-Read: .r:*,.rlistings12:42
msahin_ı set like this swift post --read-acl ".r:*,.rlistings" container12:43
msahin_      Read ACL: .r:*,.rlistings12:43
pconstantinemsahin_: according to keystoneauth code you will be able to download object when acl set this way12:43
pconstantinemsahin_: probably something else reqjects the request?12:44
*** zslot has left #openstack-swift12:44
pconstantinemsahin_: what's the pipeline you use? in proxy server conf file12:44
msahin_log is12:46
msahin_==> proxy.log <==12:46
msahin_Jul 16 15:45:34 openstack proxy-server: Invalid user token - rejecting request12: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.65732598312:46
msahin_my proxy.con is in http://textuploader.com/kugf12:49
*** nosnos has quit IRC12:49
msahin_ı use auth_token keystone staticweb and list-endpoints12:50
msahin_<pconstantine> is it something wrong ?12:52
*** bszabo_ has joined #openstack-swift12:53
bszabo_hi12:53
bszabo_i have a question, i hope someone is available to help me out a bit12:54
bszabo_i've been here last week with a swift problem, having a lot of timeouts in the node and proxy logs12: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 nodes12:55
bszabo_it's running, but the objects are collected faster than they're being expired. We're using swift 1.8.012:56
bszabo_is there a possibility to tweak the expirer performance? I tried setting the threads higher, without luck12:57
bszabo_any questions/ideas? Thanks!12:57
*** kopparam has quit IRC12:57
pconstantinemsahin_: $ grep -R 'Invalid user token' ../keystone/*12:59
pconstantinemsahin_: $ grep -R 'Invalid user token' ../swift/*12:59
pconstantinemsahin_: no such messages neither in swift nor in keystone12:59
pconstantinemsahin_: but from the error message it looks like you're trying to send a token, while you should not have to do that13:01
pconstantinemsahin_: browser should send normal GET without any strange headers13:01
pconstantinemsahin_: found it13:04
pconstantinemsahin_: you need to set "delay_auth_decision = true" in [filter:authtoken]13:05
pconstantinehttp://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html13:05
msahin_ok ı try that and grep -R Invalid use token only in /var/log/swift/* not in keystone13:06
pconstantinebetter even do like they say above: delay_auth_decision = 1013:06
*** kopparam has joined #openstack-swift13:06
msahin_:/13:09
msahin_pconstantine problem is continue13:09
msahin_ı add delay_auth_decision = 10 in [filter:authtoken]13:10
pconstantinet$ grep -R 'Invalid user token' *13:10
pconstantinekeystoneclient/middleware/auth_token.py:                    'Invalid user token - deferring reject downstream')13:10
pconstantinekeystoneclient/middleware/auth_token.py:                self.LOG.info('Invalid user token - rejecting request')13:10
pconstantinekeystoneclient/middleware/auth_token.py:            self.LOG.warn('Invalid user token. Keystone response: %s', data)13:10
pconstantinemsahin_: it's obviously in auth_token13:10
pconstantineah, I was wrong13:11
pconstantinemsahin_: self.delay_auth_decision = (self._conf_get('delay_auth_decision') in13:11
pconstantine                                    (True, 'true', 't', '1', 'on', 'yes', 'y'))13:11
pconstantineso you need to set it to "true"13:12
pconstantinenot "10"13:12
msahin_absolutely right13:13
msahin_yeap ı see my pic latesly13:13
msahin_:)13:13
msahin_it is right pconstantine delay_auth_decision = true" in [filter:authtoken] is working well13:14
acolesclayg: 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/ObjectSystemMetadata13:15
*** mmcardle has quit IRC13:20
*** mmcardle has joined #openstack-swift13:20
acolesclayg: 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-swift13:24
*** Wimpers has joined #openstack-swift13:24
*** Wimpers has left #openstack-swift13:27
msahin_ı forget thank you pconstantine for help13:37
pconstantinemsahin_: that's ok, I've seen your post yesterday but had no time to respond :)13:38
*** zslot has joined #openstack-swift13:40
*** nshaikh has quit IRC13:42
*** psharma has quit IRC13:46
msahin_No problem :)13:46
*** anand_ts has quit IRC13:54
*** tdasilva has joined #openstack-swift13:54
*** kopparam has quit IRC13:56
*** kopparam has joined #openstack-swift13:56
*** dhellmann has joined #openstack-swift13:56
*** dhellmann has left #openstack-swift13:57
msahin_pconstantine I want to ask last question ı create tempurl with ; swift-temp-url GET 3600 /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg mysecretkey14:02
msahin_and it return /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg?temp_url_sig=4dd9f6972fc55c367f0154844b22a4a2a9af9306&temp_url_expires=140552290814:02
msahin_ı enter http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme/50cuteanimpic6.jpg?temp_url_sig=4dd9f6972fc55c367f0154844b22a4a2a9af9306&temp_url_expires=1405522908 on browser14:02
msahin_it says 401 Unauthorized: Temp URL invalid14:03
msahin_log says : Jul 16 17:03:18 openstack object-auditor: Directory objects-1 does not map to a valid policy14:04
msahin_ı think this is its log14:05
*** zaitcev has joined #openstack-swift14:06
*** ChanServ sets mode: +v zaitcev14:06
msahin_and ı test other one14: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.96154809014:07
msahin_again 40114:07
pconstantinemsahin_:  add "allow_overrides = true" to keystoneauth14:09
pconstantinemsahin_: tempurl is setting swift.authorize_override when it decodes hash successfully, but keystoneauth is further in the pipeline and rejects it14:10
msahin_ı try this14:12
pconstantinemsahin_: btw, I see list_endpoints in the pipeline, if you don;t need it for some strange reason - remove it14:13
pconstantinemsahin_: list_endpoints is designed for internal proxies, not for public facing ones14:14
msahin_problem is continue14:14
msahin_pconstantine ı add14:15
pconstantinemsahin_: post the new proxy-server.conf14:15
msahin_[filter:keystoneauth]14:15
msahin_use = egg:swift#keystoneauth14:15
msahin_operator_roles = admin, swiftoperator, swift14:15
msahin_allow_overrides = true14:15
msahin_ok14:15
msahin_new conf is http://textuploader.com/kuum14:16
*** manish_ has quit IRC14:20
pconstantinemsahin_: you have tempurl in two places14:22
pconstantineremove one of them14:22
*** tongli has joined #openstack-swift14:26
msahin_ problem is continue14:31
msahin_ı remove one of them14:31
msahin_<pconstantine> and show same log14:31
pconstantinemsahin_: 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
pconstantinemsahin_: yep, it's account14:35
pconstantinewill also be good14:35
*** nacim has quit IRC14:35
pconstantinecurl -v -H 'X-Auth-Token: b7e31a6a8b0448908ff09319fe8fd118' http://10.1.36.32:8080/v1/AUTH_45d1b2fe644b4b85a29c1801432af0e214:36
pconstantinecurl -v -H 'X-Auth-Token: b7e31a6a8b0448908ff09319fe8fd118' http://10.1.36.32:8080/v1/AUTH_45d1b2fe644b4b85a29c1801432af0e2/your_container_name14:36
*** kopparam has quit IRC14:38
msahin_return this:14:38
msahin_HTTP/1.1 200 OK14:38
msahin_< X-Container-Object-Count: 1214:38
msahin_< Accept-Ranges: bytes14:38
msahin_< Content-Length: 47314:38
msahin_< X-Storage-Policy: Policy-014:38
msahin_< X-Container-Read: .r:*,.rlistings14:38
msahin_< X-Container-Bytes-Used: 407784814:38
msahin_< X-Timestamp: 1405502114.7931714:38
msahin_< X-Container-Meta-X-Container-Read: .r:*,.rlistings14:38
msahin_< Content-Type: text/plain; charset=utf-814:38
msahin_< X-Trans-Id: tx9ce7b791542c4c02a618d-0053c68e3214:38
msahin_< Date: Wed, 16 Jul 2014 14:37:39 GMT14:38
msahin_<14:38
msahin_50cuteanimpic6.jpg14:38
msahin_Weird-pictures-art-pictures-Igor-Morski.jpg14:38
msahin_Wolf Pictures 033.jpg14: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.png14:38
msahin_hello.txt14:38
msahin_ice-ice-babies-pictures-2.jpg14:38
msahin_images.jpeg14:38
msahin_karalama.zip14:39
msahin_pictures_1400077785.jpg14:39
msahin_powerful-pictures-of-earth-being-destroyed.jpg14:39
msahin_sO0mRdKW.jpeg14:39
msahin_seal-shark-leap_2413378k.jpg14:39
msahin_* Connection #0 to host 127.0.0.1 left intact14:39
msahin_* Closing connection #014:39
msahin_root@openstack:~#14:39
msahin_pconstantine is it wrong here?14:39
pconstantinemsahin_: and what's the output of account HEAD/GET14:45
pconstantine?14:45
msahin_pconstantine all is14:46
msahin_* About to connect() to 127.0.0.1 port 8080 (#0)14:46
msahin_*   Trying 127.0.0.1... connected14:46
msahin_> GET /v1/AUTH_918112e49f2a4530a146efcb46d4af80/deneme HTTP/1.114: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.314:46
msahin_> Host: 127.0.0.1:808014:46
msahin_> Accept: */*14:46
msahin_> X-Auth-Token: MIIGMQYJKoZIhvcNAQcCoIIGIjCCBh4CAQExCTAHBgUrDgMCGjCCBIcGCSqGSIb3DQEHAaCCBHgEggR0eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNy0xNlQxNDozNjozNi42MDAyNzYiLCAiZXhwaXJlcyI6ICIyMDE0LTA3LTE3VDE0OjM2OjM2WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHB14:46
msahin_vaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODA4MC92MS9BVVRIXzkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4MDgwL3YxL0FVVEhfOTE4MTEyZTQ5ZjJhNDUzMGExNDZlZmNiNDZkNGFmODAiLCAiaWQiOiAiMjU2MTVmOTRkYWY2NDEyODgyNjkzNTdhYmNlZjA5YmYiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODA4MC92MS9BVVRIXzkxODExMmU0OWYyYTQ1MzBhMTQ2ZWZjYjQ2ZDRhZjgwIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sIC14:46
msahin_J0eXBlIjogIm9iamVjdC1zdG9yZSIsICJuYW1lIjogInN3aWZ0In0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEyNy4wLjAuMTozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo1MDAwL3YyLjAiLCAiaWQiOiAiMDUxNTUzMmQ0ZTgyNDIwMjlkYzU5MDAyMmQxNzI0NTciLCAicHVibGljVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZ14:46
msahin_SI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiYTc3Y2RmMjM1NDg5NDU0NTgwOWRmZDcxNmIyNDRkOTQiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyIwM2M1YTZiMzIyYTE0ZTcyOWVjOGZmMzhkODUyNWIyZSJdfX19MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY214:46
pconstantinemsahin_: just post it to http://textuploader.com14:47
msahin_ok :)14:47
msahin_ı am sorry ı upload http://textuploader.com/kuuv14:49
pconstantinedo a HEAD for: http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af8014:52
pconstantinecurl -v -H 'X-Auth-Token: <token>' http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80 -X HEAD14:52
*** bvandenh has quit IRC14:53
msahin_http://textuploader.com/kuuw new upload adress14:54
pconstantinemsahin_: you do not have "X-Account-Meta-Temp-URL-Key: secret" header under account14:57
pconstantinemsahin_: you need to set it up with POST, and use the secret you have there to create the URLs14:58
msahin_ok I try this14:58
*** kevinc_ has joined #openstack-swift15:02
msahin_problem is continue15: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 mysecretkey15:03
msahin_link -- > http://127.0.0.1:8080/v1/AUTH_918112e49f2a4530a146efcb46d4af80/new/pictures_1400077785.jpg?temp_url_sig=3b4f1a72162693931aff29125a57decb6b716def&temp_url_expires=140552652915:03
*** tatialchueyr has quit IRC15:16
msahin_ı solve that like15: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=140569663715:19
msahin_and ı access my object15:19
msahin_it is alright15:19
*** pberis has quit IRC15:26
*** denca has quit IRC15:29
*** foexle has quit IRC15:29
*** wer has quit IRC15:30
*** fifieldt has joined #openstack-swift15:32
*** pberis has joined #openstack-swift15:33
*** wer has joined #openstack-swift15:34
*** rando has joined #openstack-swift15:36
*** judd7 has joined #openstack-swift15:38
notmynamegood morning15:39
notmynamedfg: is the SOS repo still updated?15:39
*** mdonohoe has quit IRC15:39
*** CybergeekDK has quit IRC15:40
*** CybergeekDK has joined #openstack-swift15:40
*** pberis has quit IRC15:41
*** pberis has joined #openstack-swift15:42
*** mwstorer has joined #openstack-swift15:49
*** zslot has quit IRC15:50
*** cpen has joined #openstack-swift15:50
*** pberis has quit IRC15:51
*** madhuri has quit IRC15:53
*** pberis has joined #openstack-swift15:53
mattoliveraunotmyname: good morning15:56
*** cpen has quit IRC16:00
*** nacim has joined #openstack-swift16:02
*** fifieldt has quit IRC16:07
mattoliverauWell, 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 IRC16:11
*** chandankumar has quit IRC16:13
*** mmcardle has joined #openstack-swift16:15
*** tatialchueyr has joined #openstack-swift16:16
*** kevinc_ has quit IRC16:20
*** kevinc_ has joined #openstack-swift16:23
openstackgerritJoel Wright proposed a change to openstack/python-swiftclient: Add importable SwiftService incorporating shell.py logic  https://review.openstack.org/8545316:29
dfgnotmyname: ish- its in kinda a weird state right now because of the CORS crap16:30
dfgnotmyname: and this other thing. actually- its kinda a mess :) i need to get it fixed up for the next release. i'll clean it up16:45
*** nacim has quit IRC16:47
*** foexle has joined #openstack-swift16:47
dfgnotmyname: 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-swift17:03
*** foexle has quit IRC17:09
*** openstackgerrit has quit IRC17:16
*** openstackgerrit has joined #openstack-swift17:16
*** acoles is now known as acoles_away17:16
*** mwstorer has quit IRC17:17
pconstantinehmm, guys can anybody explain me what happens if async_update() cannot find nodes to push update to, how will it recover?17:17
pconstantineit looks like it never tries to get_more_nodes()17:17
*** mwstorer has joined #openstack-swift17:20
*** pberis has quit IRC17:24
*** pberis has joined #openstack-swift17:26
*** shakamunyi has joined #openstack-swift17:39
*** shakamunyi has quit IRC17:39
notmynamedfg: thanks :-)17:40
*** shakamunyi has joined #openstack-swift17:40
notmynamedfg: just curious since I heard some comments about CDNs this morning (nothing serious yet, just idle conversation really)17:40
*** shakamunyi has quit IRC17:42
dfgnotmyname: 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 IRC17:46
*** fifieldt has joined #openstack-swift17:51
notmynamereminder 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/Swift17:54
*** tdasilva_ has joined #openstack-swift18:00
*** tdasilva has quit IRC18:00
*** tdasilva_ has quit IRC18:01
*** bvandenh has joined #openstack-swift18:05
*** dmsimard is now known as dmsimard_away18:05
*** mmcardle has quit IRC18:09
*** mahati has joined #openstack-swift18:12
*** bvandenh has quit IRC18:21
*** dmsimard_away is now known as dmsimard18:23
notmynameglange: 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 today18:25
creihtwait... there is a whole "Cloudfunding: Startups and Capital" track for the next summit?18:32
creihtwhat have we become? :(18:33
peluse_big dogs?18:33
*** dmsimard is now known as dmsimard_away18:33
*** gvernik has joined #openstack-swift18:38
*** dmsimard_away is now known as dmsimard18:39
dfgnotmyname: i don't know of anything we have that that would break18:41
notmynamedfg: thanks. I don't know of anything either, but I wanted to check with y'all18:42
dfgcool thx18:42
notmynameI'll bring it up in the meeting18:42
gvernikcan 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 dependency18:43
peluse_gvernik:  my guess would be its not you - just did recheck bug 1334550 for you18:45
notmynameme too :-)18:46
peluse_nice :)18:46
TygerIs this a repeat of the py26 failures from yesterday?18:46
gvernikthanks :) 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
notmynamegvernik: if that kind of thing pops up again (ie the recheck doesn't work), then we should raise it with the -infra team18:48
notmynamecschwede: 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
notmynamehmm...python question. is using floats as dictionary keys sane? seems risky, but maybe there's some internal thing I don't know about18:53
notmynameAlex_Gaynor: (local python expert) ^^18:54
Alex_Gaynornotmyname: it's fine, unless you have nans, then everything goes to hell18:54
Alex_Gaynor(well, only stuff that touches the nan really goes run)18:54
notmynameAlex_Gaynor: so {1.0: 'foo'} is fine and {2./3: 'bar'} is fine?18:55
Alex_Gaynoryes18:55
notmynamewhat could possibly go wrong? ;-)18:55
notmynameAlex_Gaynor: thanks18:56
*** acoles_away is now known as acoles18:57
notmynameok, swift meeting time in #openstack-swift18:59
*** bszabo_ has quit IRC18:59
notmynamebah! I always do that18:59
notmynameok, swift meeting time in #openstack-meeting18:59
*** bszabo_ has joined #openstack-swift18:59
*** tdasilva has joined #openstack-swift19:02
*** bszabo_ has quit IRC19:03
*** kevinc_ has quit IRC19:06
openstackgerritA change was merged to openstack/swift: clean up saio env. after runnning func tests  https://review.openstack.org/10639819:20
*** kevinc_ has joined #openstack-swift19:39
mattoliverauOK I'm going back to the beer garden and celebration for my bday, have a great rest of the day all :)20:01
notmynamemattoliverau: have a good one :-)20:02
*** aswadr has quit IRC20:02
peluse_mattoliverau:  happy bday!20:02
*** dmsimard is now known as dmsimard_away20:02
*** elambert has quit IRC20:03
mattoliverauThanks guys!20:04
acolesmattoliverau: hey, happy beerday :)20:05
mattoliverauLol, just got a litre beer stein (yay Germany), so yeah I will ;)20:07
*** acoles is now known as acoles_away20:07
*** gvernik has quit IRC20:09
*** jthorne has joined #openstack-swift20:22
*** tdasilva has quit IRC20:25
*** pberis has quit IRC20:32
*** foexle has joined #openstack-swift20:32
*** pberis has joined #openstack-swift20:33
openstackgerritA change was merged to openstack/swift: Container PUT requests and max container per account  https://review.openstack.org/9001620:38
claygacoles_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-swift20:40
*** dmsimard_away is now known as dmsimard20: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 hash20:45
peluse_clayg:  because I'm thinking this might be part of the EC archive file naming solution20:46
*** dmsimard is now known as dmsimard_away20:47
claygpeluse_: acoles_away and torgomatic keep talking about fixing fast_post - and it seems the general solution includes fixing object metadata to persist acorss POSTs20:47
claygpeluse_: 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
claygpeluse_: because you know replication isn't already doing *enough*20:48
peluse_ahhh, been sorta following that.  yeah20: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 put20:51
openstackgerritA change was merged to openstack/swift: Object services user-agent string uses full name  https://review.openstack.org/10240121:09
*** pberis has quit IRC21:43
*** pberis has joined #openstack-swift21:46
*** mmcardle has joined #openstack-swift21:49
*** tatialchueyr has quit IRC21:49
*** elambert has joined #openstack-swift21:54
*** jthorne has quit IRC22:03
*** mmcardle has quit IRC22:05
*** pberis has quit IRC22:11
*** pberis has joined #openstack-swift22:12
*** pberis has quit IRC22:21
*** pberis has joined #openstack-swift22:25
*** pberis has quit IRC22:33
*** pberis has joined #openstack-swift22:36
*** mrmoje has joined #openstack-swift22:59
*** pberis has quit IRC23:00
*** mrmoje has quit IRC23:03
*** pberis has joined #openstack-swift23:03
*** mrmoje has joined #openstack-swift23:05
*** mrmoje has quit IRC23:10
*** fifieldt has quit IRC23:21
*** miqui has quit IRC23:47

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