Thursday, 2016-10-06

*** arch-nemesis has quit IRC00:05
*** nadeem has quit IRC00:06
*** tqtran has quit IRC00:07
*** chsc has quit IRC00:22
openstackgerritMerged openstack/swift: Revises 'url' to 'URL' and 'json' to 'JSON'  https://review.openstack.org/37939000:23
*** Vinsh has joined #openstack-swift00:33
openstackgerritMerged openstack/swift: Add functional test for access control (container ACL) with Keystone  https://review.openstack.org/21360800:43
openstackgerritMerged openstack/swift: Add functional test for access control (RBAC INFO) with Keystone  https://review.openstack.org/21281000:43
*** zul has joined #openstack-swift00:55
*** nadeem has joined #openstack-swift00:56
*** m_kazuhiro_ has joined #openstack-swift01:01
m_kazuhiro_good morning01:02
*** zul has quit IRC01:08
*** klrmn has quit IRC01:09
*** takashi has joined #openstack-swift01:11
*** zul has joined #openstack-swift01:12
*** m_kazuhiro_ has quit IRC01:23
*** m_kazuhiro has joined #openstack-swift01:24
*** nadeem has quit IRC02:00
mattoliveraum_kazuhiro: morning (sorry for late response. Been in a meeting).02:11
m_kazuhiromattoliverau: morning!02:23
*** geaaru has quit IRC02:29
*** natarej_ has quit IRC02:30
*** natarej_ has joined #openstack-swift02:31
*** dmorita_ has quit IRC02:33
*** dmorita has joined #openstack-swift02:37
*** dmorita has quit IRC02:37
*** dmorita has joined #openstack-swift02:39
*** tongli has quit IRC02:43
*** Trixboxer has quit IRC02:43
*** dmorita has quit IRC02:44
*** dmorita has joined #openstack-swift03:16
charzm_kazuhiro: mattoliverau morning03:17
mattoliveraucharz: o/03:18
*** dmorita has quit IRC03:22
m_kazuhirocharz: morning!03:29
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873603:33
*** Trixboxer has joined #openstack-swift03:34
*** links has joined #openstack-swift03:47
charzmattoliverau: Do you know the `flags meta` in output of ring is stand for?03:51
mattoliveraucharz: they are 2 columns. flags will mark things that are to be removed on next rebalance (Puts a DEL) and meta is metadata you can attach to a node.03:57
mattoliveraumaybe there are more flags but I'd need to look at the code.. that what I remember seeing in there tho03:57
charzmattoliverau: thx for explain that.03:58
mattoliveraunps03:59
*** dmorita has joined #openstack-swift04:09
*** dmorita has quit IRC04:12
*** dmorita has joined #openstack-swift04:12
*** m_kazuhiro has quit IRC04:17
*** m_kazuhiro has joined #openstack-swift04:18
*** dmorita has quit IRC04:29
*** nadeem has joined #openstack-swift04:33
*** psachin has joined #openstack-swift04:50
*** dmorita has joined #openstack-swift04:53
*** bjolo_ has joined #openstack-swift05:06
*** thebloggu has quit IRC05:10
*** zaitcev has quit IRC05:24
*** SkyRocknRoll has joined #openstack-swift05:28
charzmattoliverau: it seems like community don't use swift-spec to purpose new features, is it correct?05:57
charzmattoliverau: if so, where I can find the discussion or status of new feature?05:59
mattoliveraucharz: that's correct, add an item to the Swift Ideas page, and link to your idea/spec which can be in any format. I used shared googledocs (see container sharding) but you can use anything, a blog, a site, an etherpad. I suspect we'll talk about specs (replacement or how ideas is going) in barcelona05:59
*** dmorita_ has joined #openstack-swift06:00
*** dmorita has quit IRC06:00
charzmattoliverau: cool! It more easy to purpose an idea from end user or someone isn't very familiar with git/review things.06:02
charzmattoliverau: good to know that, thx06:02
*** dmorita_ has quit IRC06:05
*** dmorita has joined #openstack-swift06:05
mattoliveraucharz: nps06:07
*** rcernin has joined #openstack-swift06:15
*** nadeem has quit IRC06:25
*** SkyRocknRoll has quit IRC06:29
*** SkyRocknRoll has joined #openstack-swift06:45
*** admin6_ has joined #openstack-swift06:52
*** dmorita_ has joined #openstack-swift07:00
*** dmorita has quit IRC07:03
*** dmorita_ has quit IRC07:09
*** amoralej|off is now known as amoralej07:10
*** tesseract- has joined #openstack-swift07:11
*** psachin has quit IRC07:12
*** rledisez has joined #openstack-swift07:17
*** psachin has joined #openstack-swift07:17
*** pcaruana has joined #openstack-swift07:26
*** acoles_ is now known as acoles07:36
acolesgood morning07:39
*** bjolo_ has quit IRC07:42
*** geaaru has joined #openstack-swift07:44
*** m_kazuhiro has quit IRC07:48
mattoliverauacoles: morning07:49
*** mvk has quit IRC07:51
acolesmathiasb: thanks for replies on patch 364878. At summit we could discuss best practice for how root secrets are stored in Barbican, password rotation etc, and then document recommended practice.07:53
patchbothttps://review.openstack.org/#/c/364878/ - swift - WIP: Storing encryption root secret in Barbican07:53
acolesmattoliverau: howdy07:53
charzacoles: morning07:56
acolesmattoliverau: charz I think DEL is the only flag, someone patched the usage recently to document the flags07:58
charzacoles: yeah, I saw the comment in https://github.com/openstack/swift/blob/master/swift/cli/ringbuilder.py#L465-L46707:59
acolespatch 35062508:00
patchbothttps://review.openstack.org/#/c/350625/ - swift - Add regions in ring-builder.py (MERGED)08:00
acolescharz: right, you found it :)08:00
*** jordanP has joined #openstack-swift08:00
*** hseipp has joined #openstack-swift08:01
openstackgerritKota Tsuyuzaki proposed openstack/swift: Support Read/Write Affinity Per Policy  https://review.openstack.org/38276608:13
kota_acoles: morning08:13
kota_tdasilva: yey, that one is for a draft for affnity per policy08:14
*** qwertyco_ has joined #openstack-swift08:15
kota_it conflicts with my global EC work thought :'(08:16
kota_probably, it's because I touched test/unit/proxy/test_server.py08:16
kota_:(08:16
acoleskota_: I told you, you gotta stop writing tests! :D08:18
acolesJK08:18
kota_acoles: I cannot write test to me :'(08:19
kota_acoles: I am used to forget my concept on the patch unless I didn't make tests :/08:19
acoleskota_: that's true, tests are documentation08:20
*** qwertyco_ has quit IRC08:21
*** qwertyco has joined #openstack-swift08:21
*** mvk has joined #openstack-swift08:23
*** qwertyco is now known as qwertyco_08:24
*** qwertyco_ has quit IRC08:26
*** qwertyco has joined #openstack-swift08:26
cnfmorning08:32
kota_cnf: morning08:32
cnfso, more openstack today :P08:35
*** SkyRocknRoll has quit IRC08:44
*** nikivi has joined #openstack-swift08:48
*** nikivi has quit IRC08:50
*** cbartz has joined #openstack-swift08:57
*** SkyRocknRoll has joined #openstack-swift08:58
*** qwertyco has quit IRC08:58
*** qwertyco has joined #openstack-swift08:58
*** qwertyco has quit IRC08:58
*** qwertyco has joined #openstack-swift08:59
*** bjolo_ has joined #openstack-swift09:02
*** qwertyco has quit IRC09:14
*** qwertyco has joined #openstack-swift09:14
*** qwertyco has quit IRC09:21
*** qwertyco has joined #openstack-swift09:21
*** mvk has quit IRC09:29
*** qwertyco has quit IRC09:37
*** qwertyco has joined #openstack-swift09:37
*** mvk has joined #openstack-swift09:41
openstackgerritNguyen Phuong An proposed openstack/swift: [api-ref] Remove temporary block in conf.py  https://review.openstack.org/36653809:51
cnfanyone here experience with swift3?09:59
cnfhttp://paste.openstack.org/show/584636/ is all I get from it10:00
openstackgerritKazuhiro MIYAHARA proposed openstack/swift: WIP: Swift Automated Tiering  https://review.openstack.org/28705710:40
mahatic_acoles: morning (guess I'm late)11:01
*** kei_yama has quit IRC11:02
*** d0ugal has quit IRC11:05
*** d0ugal has joined #openstack-swift11:06
*** SkyRocknRoll has quit IRC11:08
*** tries_ has quit IRC11:15
*** tries_ has joined #openstack-swift11:26
*** Jeffrey4l_ has quit IRC12:20
*** Jeffrey4l_ has joined #openstack-swift12:21
*** qwertyco has quit IRC12:24
*** qwertyco has joined #openstack-swift12:24
cnfhmm12:31
cnfI really am in the wrong timezone ^^;12:31
cnfi'd almost thing noone in europe uses openstack :P12:31
*** McMurlock1 has joined #openstack-swift12:37
mahatic_cnf: for swift3, yes you gotta wait until US timezone. I think you just missed kota_12:40
cnfhmm, ok12:44
*** links has quit IRC12:50
*** silor has joined #openstack-swift12:55
*** hseipp has quit IRC13:03
*** links has joined #openstack-swift13:05
*** tongli has joined #openstack-swift13:11
pdardeaucnf: i'm not familiar with swift3, so this is basically guesswork13:18
pdardeaudo you have memcached running?13:18
cnfyes13:21
*** klamath has joined #openstack-swift13:22
pdardeaucnf: configured to use it? memcached_servers13:23
*** klamath has joined #openstack-swift13:23
cnfyep13:26
cnfI don't have that line about memcache anymore13:26
cnfjust the 3 other ones13:27
pdardeaui don't know if it's relevant here, but did you check that your pipeline13:27
pdardeauordering is consistent with docs? (assuming its in docs)13:28
cnfyep, it is13:28
pdardeauout of ideas atm13:28
cnfhow about ServiceCatalogException: Invalid service catalog service: object-store ?13:30
cnfin horizon13:30
*** zul has quit IRC13:30
pdardeauthat sounds like a keystone config thing13:31
cnfhmz13:32
pdardeauis a service named object-store configured in your keystone?13:33
*** zul has joined #openstack-swift13:33
pdardeauhttp://docs.openstack.org/developer/keystone/configuringservices.html13:33
cnfyes13:34
pdardeauhmm... maybe i should be quiet now. not being helpful for you :(13:35
cnfhaha, I do appreciate the intention13:36
cnfi'm a bit short because i'm also trying stuff myself13:37
cnfok, so _removing_ memcached_servers fixed that13:37
cnfo,O13:37
cnfok, at least my swift install works13:39
pdardeau\o/13:40
cnfnow I need to figure out how to make that work externally13:41
cnfie, having both swift and keystone behind a single reverse proxy / hostname13:41
*** ukaynar has joined #openstack-swift13:50
*** admin6__ has joined #openstack-swift13:51
*** admin6_ has quit IRC13:52
timburkecnf: the first two lines are coming from s3_token, the rest sound like auth_token13:54
timburkethe second one in particular is the problem; s3_token basically no-ops early on: https://github.com/openstack/swift3/blob/1.11/swift3/s3_token_middleware.py#L131-L13713:55
cnfhmm, but why?13:55
timburkehow is the request being signed? assuming you're using an sdk of some sort, which one?13:57
cnfi'm using cyberduck atm13:57
cnfbut meh, it won't even connect to swift properly13:58
timburkehrm. unfortunately, i still have to eat breakfast and get my daughter to daycare, so it might be a few hours before i can look real deeply14:00
cnfsure14:00
cnfany suggestions for an S3 client for testing?14:00
*** admin6__ has left #openstack-swift14:08
*** nikivi has joined #openstack-swift14:11
cnfhmm, so I have swift working with the openstack client14:11
cnfbut with _nothing else_14:11
*** nikivi has quit IRC14:15
*** bjolo_ has quit IRC14:18
*** nikivi has joined #openstack-swift14:21
*** nikivi has quit IRC14:21
cnfhmz, I guess I still don't understand how this is supposed to work14:25
*** _JZ_ has joined #openstack-swift14:28
*** hseipp has joined #openstack-swift14:30
*** vint_bra has joined #openstack-swift14:36
*** qwertyco has quit IRC14:41
cnfugh, why won't any client work :(14:42
cnfhmm, because projects and domains etc are really confusing, is why14:44
cnfchrist, this stuff is confusing14:46
*** sgundur has joined #openstack-swift14:49
openstackgerritMerged openstack/swift: Add a configurable URL base to staticweb  https://review.openstack.org/37280914:53
*** kong has quit IRC14:53
*** DuncanT has quit IRC14:55
*** cargonza has quit IRC14:55
*** ediardo has quit IRC14:55
*** AndyWojo has quit IRC14:55
*** chsc has joined #openstack-swift14:56
*** sgundur has quit IRC15:00
*** sgundur has joined #openstack-swift15:00
*** chsc has quit IRC15:01
*** geaaru has quit IRC15:03
*** diogogmt has joined #openstack-swift15:06
*** sgundur has quit IRC15:12
*** sgundur has joined #openstack-swift15:17
*** chsc has joined #openstack-swift15:33
*** kong has joined #openstack-swift15:34
*** DuncanT has joined #openstack-swift15:36
*** Matti_ has joined #openstack-swift15:36
*** chsc has quit IRC15:39
*** cargonza has joined #openstack-swift15:41
*** ediardo has joined #openstack-swift15:43
*** AndyWojo has joined #openstack-swift15:43
*** diogogmt_ has joined #openstack-swift15:53
*** diogogmt has quit IRC15:53
*** diogogmt_ is now known as diogogmt15:53
*** rcernin has quit IRC16:01
*** ukaynar has quit IRC16:05
*** jordanP has quit IRC16:13
*** jistr is now known as jistr|afk16:14
*** cbartz has quit IRC16:15
*** sgundur has quit IRC16:19
*** sgundur has joined #openstack-swift16:24
*** rledisez has quit IRC16:24
*** hseipp has quit IRC16:25
*** mvk has quit IRC16:27
*** chsc has joined #openstack-swift16:28
*** tesseract- has quit IRC16:31
*** silor has quit IRC16:33
notmynamegood morning, world16:35
*** chsc has quit IRC16:35
notmynamelooks like all the bits have been twiddled and newton is in the books16:39
*** McMurlock1 has quit IRC16:39
*** sgundur has quit IRC16:41
*** sgundur has joined #openstack-swift16:43
*** Renich has joined #openstack-swift16:44
*** sgundur has quit IRC16:54
*** klrmn has joined #openstack-swift16:55
*** ukaynar has joined #openstack-swift16:55
*** jistr|afk is now known as jistr16:57
*** jamielennox|away has quit IRC17:02
*** dmorita has joined #openstack-swift17:04
*** sgundur has joined #openstack-swift17:10
*** mvk has joined #openstack-swift17:10
*** zaitcev has joined #openstack-swift17:11
*** ChanServ sets mode: +v zaitcev17:11
zaitcevGuys, I have a silly question: is a container DB on 20 MB large or not?17:12
*** sgundur has quit IRC17:12
zaitcev-rw-------. 1 swift swift 21201920 Oct  6 17:11 73fb8d3bffe1e5e81dc11f5d19c04156.db17:12
*** sgundur has joined #openstack-swift17:12
zaitcevthis is on a rotating disk17:13
notmynameI'd think not17:13
zaitcevYeah, weird. Thanks17:14
notmynameI mean it's not tiny, but certainly still a few orders of magnitude smaller than the extreme end of big that i've seen17:14
zaitcevgnocchi client seems driving a load in a cluster here and it appears that it's hammering this container17:14
zaitcevmaybe just a side effect17:15
*** jamielennox|away has joined #openstack-swift17:16
*** jamielennox|away is now known as jamielennox17:16
notmynamethat sounds familiar17:20
notmynameI think donagh mentioned somethng about that once upon a time17:21
notmynamelike it's trying to use a container as a work queue or it's storing time-series data in swift or some other pathologically bad-for-swift use case17:21
*** sgundur has quit IRC17:21
*** acoles is now known as acoles_17:27
notmynameit seems the news for swift in the newton release is "Swift object/blob store ... [has] now become more scalable"17:27
notmynametrying to figure out why there's no mention on crypto work17:27
*** tqtran has joined #openstack-swift17:27
timburkecnf: fwiw, i typically use boto in an interactive python session. but i'm probably not normal17:32
timburkei also hear good things about s3cmd and s3curl17:32
timburkei'll try to get everything to a point that i can test out cyberduck17:32
cnftimburke:  i'll look at those, s3cmd has been a pain to me so far17:36
cnfmakes too many amazon assumptions17:37
*** psachin has quit IRC17:39
claygwe are missing out not having a json/post/action api - there's so much cool xml looking json you get to write17:39
notmynamewouldn't say I'm missing it, bob17:40
claygcschwede: ping17:40
*** Vinsh has quit IRC17:41
*** Vinsh has joined #openstack-swift17:41
timburkecnf: i thought it just needed a ~/.s3cfg file like https://gist.github.com/tipabu/16ef00a0f293fffbcc5228408699b3dc but it's been a while since i tried it17:55
cnfuhm, the one I have has way more entries in it17:56
cnfmaybe I didn't read the docs very well17:56
*** Matti_ has quit IRC17:57
*** sgundur has joined #openstack-swift17:57
*** chsc has joined #openstack-swift18:00
*** ChanServ sets mode: +v tdasilva18:07
pdardeaunotmyname: thanks a lot. now i can't get the movie out of my head18:12
openstackgerritNicolas Helgeson proposed openstack/swift: Update pyeclib dependency to = 1.3.1  https://review.openstack.org/38318518:12
*** nadeem has joined #openstack-swift18:15
timburkecnf: bah, my example was off; updated. with that, i've got client <-> swift via s3cmd, now working on swift <-> keystone (so it doesn't just 403 all the time)18:16
cnf so you use https://gist.github.com/tipabu/16ef00a0f293fffbcc5228408699b3dc ?18:17
timburkecnf: yep; my host is "saio:8080", and use_https is turned off18:19
cnfhmm, it doesn't like the ssl18:19
timburkeis it a self-signed cert or something? there's probably some way of plumbing in a CA bundle...18:20
cnfno, it's a proper letsencrypt cert18:21
cnfERROR: SSL certificate verification failure: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)18:21
cnfand if I set it to https = false, it just craps out18:22
*** amoralej is now known as amoralej|off18:22
openstackgerritNicolas Helgeson proposed openstack/swift: Update pyeclib dependency to 1.3.1  https://review.openstack.org/38318518:22
cnfok, using the right port might help18:23
timburkecnf: alternatively, it kinda sounds like the client is using a too-old SSL protocol? not entirely sure, though18:24
cnfyeah, it is18:25
cnfright, how do I show my ec2 creds again18:25
cnfopenstack ec2 credentials show <access key> doesn't seem to work18:27
cnfok, so now i'm at18:28
cnfERROR: S3 error: 403 (SignatureDoesNotMatch): The request signature we calculated does not match the signature you provided. Check your key and signing method.18:28
*** dmorita_ has joined #openstack-swift18:28
*** dmorita has quit IRC18:32
timburkewhat's the proxy log say? we should be able to trace through swift3 seeing that it's an S3 request and s3token contacting keystone, then i think authtoken is probably where things went off the rails18:33
claygpdardeau: oh, it's such a classic "pc load letter?"18:34
cnfhmm, it's not finding keystone, i think18:35
cnfmaybe18:35
cnfhttp://paste.openstack.org/show/584720/18:35
timburkecnf: seems likely. what's the s3token section of proxy-server.conf look like?18:36
cnfi don't even have 35357 defined anywhere18:37
cnfit all points to 500018:37
timburkehmm. "host='None'" that doesn't seem right...18:37
cnfhttp://paste.openstack.org/show/584721/18:37
cnfyeah, idno where it gets that from18:38
timburketry auth_uri instead of auth_url. that's an "eye" instead of an "ell"18:40
cnfyeah, tried both18:41
openstackgerritShashirekha Gundur proposed openstack/swift: Invalidate cached tokens api  https://review.openstack.org/37031918:42
timburkei may have asked already, but if so i've forgotten the answer: what version of keystonemiddleware is this? i think the auth_uri option may have been a somewhat-recent addition18:43
cnfuhm, not the newest18:44
cnftimburke:  Version: 4.4.1-0ubuntu118:46
timburkecnf: looks like it was introduced in 4.5.0 (back in May); before that you had to specify separate auth_host, auth_port, auth_protocol params18:46
cnfhmm18:46
cnf>,<18:46
cnflet me try that18:46
cnfprotocol is http or https?18:47
timburkeyep. it'll default to https if you don't specify it. port will default to 35357, which is where that came from18:48
cnfhmm, now it says proxy-server: Keystone reply error: status=404 reason=Not Found18:49
cnfand keystone just gives 2016-10-06 18:49:24.064 26 INFO eventlet.wsgi.server [req-6e83a763-48e2-45cc-9e60-ee8522e72d60 - - - - -] 172.17.0.1,172.17.0.1 - - [06/Oct/2016 18:49:24] "POST /v2.0/s3tokens HTTP/1.1" 404 318 0.00389418:49
timburkehost apparently defaulted to None which was then interpolated into the url, making it "None" :-(18:49
cnfdo i need to tell keystone about s3tokens, or something?18:51
timburkei think you might need to enable the s3_extension in keystone (i think that's what they call it)18:52
cnfhmm18:52
cnfwhy is that not in the documentation?18:52
timburkekeystone's or swift3's? for the former, i think they try to forget about it, and for the latter, because i'm bad at documenting18:54
timburkei should go write that patch18:54
cnf^^;18:55
cnfoh, silly me18:55
cnfwipe your keystone database, why don't you18:56
cnfright!18:59
cnftimburke:  I wiped my testing keystone database18:59
cnfi'm gonna pick this up tomorrow18:59
timburkeseems like a fine time to go to bed ;-)19:01
cnfi'll have to rebuild everything ^^;19:01
timburkesorry19:01
cnfyeah, watch some TV, and go to bed early19:01
cnfi'll get back to it tomorrow19:01
cnfmaybe i'll just upgrade my keystone docker image to newton this weekend while i'm rebuilding, anyway19:02
*** jamielennox has quit IRC19:03
cnftimburke:  anway, thanks for the help so far:P19:04
cnfare you around during the WE at all?19:04
*** jamielennox|away has joined #openstack-swift19:05
*** jamielennox|away is now known as jamielennox19:06
timburkecnf: not so much, sorry19:06
*** sgundur has quit IRC19:06
cnf:P19:06
timburkei'll definitely be around tomorrow, though19:06
cnfi do a lot of my breaking and ficing things during the WE :P19:06
cnfk, k19:06
*** Matti_ has joined #openstack-swift19:07
*** sileht has quit IRC19:31
*** sileht has joined #openstack-swift19:32
*** sgundur has joined #openstack-swift19:34
*** sgundur has quit IRC19:47
*** sgundur has joined #openstack-swift19:47
*** Renich_ has joined #openstack-swift19:49
*** Renich has quit IRC19:53
*** dmorita has joined #openstack-swift19:54
*** Renich_ has quit IRC19:55
*** Renich has joined #openstack-swift19:55
openstackgerritJohn Dickinson proposed openstack/swift: adding reno sphinx tree  https://review.openstack.org/38138219:57
notmynametimburke: done ^19:58
*** dmorita_ has quit IRC19:58
*** Renich_ has joined #openstack-swift20:01
*** Renich has quit IRC20:01
*** nadeem has quit IRC20:02
*** nadeem has joined #openstack-swift20:03
*** Renich_ has quit IRC20:14
*** sgundur has quit IRC20:23
mattoliverauMorning20:44
*** dmorita has quit IRC21:10
*** dmorita has joined #openstack-swift21:10
*** dmorita_ has joined #openstack-swift21:17
*** tongli has quit IRC21:20
*** dmorita has quit IRC21:20
*** dmorita_ has quit IRC21:21
*** dmorita has joined #openstack-swift21:21
*** dmorita_ has joined #openstack-swift21:23
*** dmorita has quit IRC21:27
*** nadeem has quit IRC21:33
*** nadeem has joined #openstack-swift21:33
*** rcernin has joined #openstack-swift21:47
*** rcernin has quit IRC21:59
*** rcernin has joined #openstack-swift21:59
*** rhall has joined #openstack-swift22:08
rhallHi All, I'm kind of stuck on a python swiftclient issue and hoping someone might have some ideas22:08
notmynamerhall: this is a great place to ask :-)22:09
rhallcool!22:09
rhallI'm trying to use --os-storage-url in a swiftclient connection to access a container22:10
rhallfor instance from command line, this works swift --os-storage-url https://dal05.objectstorage.softlayer.net/v1/AUTH_<removed auth>  stat ca4d1a51-1406-4954-afb4-7e313105adc5 -v22:10
rhallmy container is that uuid starting with ca4d1...22:11
rhallI've got ST_USER, ST_KEY, ST_AUTH setup according to standard settings22:11
rhallas I say swift command line is working great just as I'd expect22:11
rhallso I'm trying to do the same thing in python22:11
rhallthis is what I've worked out from the doc:    conn=swiftclient.Connection(user=user_data['instance_storage_username'], key=user_data['instance_apikey'],authurl='https://dal05.objectstorage.softlayer.net/auth/v1.0/',os_options={'--os-storage-url':user_data['instance_storage_url']})22:12
rhallsorry, really ugly formatting22:12
notmynamefeel free to use paste.openstack.org or any other pastebin you like22:13
rhallok... doing that now22:13
timburkei tihnk you'll want 'os_storage_url' in your os_options dict22:14
timburkepossibly even just storage_url; it's been a bit since i looked at that...22:14
rhallhttp://paste.openstack.org/show/584736/22:14
rhallok, tried without the "--" that didn't seem to work but will try storage_url22:15
notmynameos_options.get('object_storage_url')22:15
notmyname    N.B. if the optional os_options paramater includes an non-empty22:15
notmyname    'object_storage_url' key it will override the the default storage url22:15
notmyname    returned by the auth service.22:15
notmynamehmm...that's in client.py. timburke, should be the same in the service right?22:16
rhallah, so underscores instead of the dashes22:16
timburkenotmyname: service uses os_storage_url, similar to the cli. https://github.com/openstack/python-swiftclient/blob/3.1.0/swiftclient/service.py#L130 does the translation22:17
timburke...and that explains my confusion22:17
notmynameyeah. so "conn=swiftclient.Connection(user=user_data['instance_storage_username'],key=user_data['instance_apikey'],authurl='https://dal05.objectstorage.softlayer.net/auth/v1.0/',os_options={'object_storage_url': <whatever>})22:18
patchbotError: No closing quotation22:18
notmyname"22:18
patchbotError: No closing quotation22:18
timburkewe really ought to fix patchbot :-(22:18
notmynametimburke: no, we should rewrite patchbot22:18
notmynameI want something much simpler with some of the features I can't get with supybot22:18
rhallNice, that did the trick! Thanks @timburke and @notmyname!22:22
notmynamerhall: yay22:22
notmynamerhall: just curious, but what are you using swift for? (looks like you're using softlayer)22:22
rhalltrue22:23
notmynamewhat kind of data are you storing?22:23
rhalltrying to get around the lack of granular access controls in softlayer22:23
rhallin this particular case it's system debugging data22:23
notmynamecool22:23
rhallbut the general issue is that I need to restrict access to individual usernames such that the usernames can't see each other's data22:24
rhallso I set up cross account read/write acls on individual containers22:24
rhallSL's implementation is pretty much all or nothing22:25
rhallin terms of access22:25
*** ukaynar has quit IRC22:34
notmynametorgomatic: looking in to the xfs on a gate image22:45
notmynameinitial simple things aren't likely possible. eg it currently does "sudo sed -i 's/ext3/ext4/g' /etc/fstab"22:46
notmynameso I don't think I can simply replace that with xfs and get away with it :-)22:46
*** klamath has quit IRC22:50
*** _JZ_ has quit IRC22:50
*** vint_bra has quit IRC22:56
notmynameso every time I talk to someone in openstack who isn't involved with contributing to or running swift and say that I want xfs as a requirement for unittests to pass, I get the response of "you're doing it wrong, and you can't require that"23:24
*** nadeem has quit IRC23:26
*** kei_yama has joined #openstack-swift23:32
*** rcernin has quit IRC23:36
*** chsc has quit IRC23:38
*** nikivi has joined #openstack-swift23:46
*** nikivi has quit IRC23:49
*** pcaruana has quit IRC23:55

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