Tuesday, 2017-04-25

*** tonanhngo has quit IRC00:00
*** spotz_ has joined #openstack-swift00:00
*** spotz_ has quit IRC00:04
*** spotz_ has joined #openstack-swift00:05
*** gyee has quit IRC00:30
*** zhugaoxiao has quit IRC00:47
*** zhugaoxiao has joined #openstack-swift00:47
*** m_kazuhiro has joined #openstack-swift01:10
*** klrmn has quit IRC01:12
m_kazuhirogood morning01:14
kota_good morning01:27
kota_mattoliverau: nice holiday01:27
kota_timburke: thx for reviewing the composite ring patch, I'll look at the comments today01:27
*** JimCheung has quit IRC01:43
*** zhurong has joined #openstack-swift01:51
*** bkopilov has quit IRC02:09
*** spotz is now known as spotz_zzz02:17
*** winggundamth has joined #openstack-swift02:23
*** klrmn has joined #openstack-swift02:25
* kota_ maintains his review list02:29
*** spotz_zzz has quit IRC02:33
*** winggundamth has quit IRC02:42
mahaticgood morning03:03
mahaticacoles: notmyname: yup! glad to be able to make it03:04
*** zhurong has quit IRC03:21
*** psachin has joined #openstack-swift03:25
*** bkopilov has joined #openstack-swift03:37
*** klrmn has quit IRC03:56
*** m_kazuhiro has quit IRC04:09
*** _JZ_ has quit IRC04:22
*** Sukhdev has quit IRC04:47
*** Sukhdev has joined #openstack-swift04:49
*** gkadam has joined #openstack-swift05:00
*** Sukhdev has quit IRC05:01
*** ivru has joined #openstack-swift05:24
*** cshastri has joined #openstack-swift05:43
*** arunman has joined #openstack-swift05:48
zaitcevhttp://lists.openstack.org/pipermail/openstack-operators/2017-April/013214.html05:49
zaitcevesoteric, but...05:49
*** zhurong has joined #openstack-swift05:52
*** zhurong has quit IRC06:01
*** jaosorior_away is now known as jaosorior06:16
*** ChubYann has quit IRC06:19
*** hseipp has joined #openstack-swift07:04
*** PavelK has joined #openstack-swift07:09
openstackgerritRomain LE DISEZ proposed openstack/swift master: Fix domain_remap when obj starts/ends with slash  https://review.openstack.org/45885007:11
openstackgerritRomain LE DISEZ proposed openstack/swift master: Rewrite redirection in cname_lookup & domain_remap  https://review.openstack.org/43577107:15
*** _JZ_ has joined #openstack-swift07:17
*** Administrator_ has joined #openstack-swift07:18
*** zhugaoxiao has quit IRC07:21
*** pcaruana has joined #openstack-swift07:32
*** jeblair_ has joined #openstack-swift07:41
*** sputnik13 has quit IRC07:41
*** ivru has quit IRC07:41
*** jeblair has quit IRC07:41
*** ivru has joined #openstack-swift07:41
acolesgood morning07:41
*** bkopilov_ has joined #openstack-swift07:45
acolesclayg_: clayg: I looked at irccloud couple of months back and it's very appealing but like notmyname I'm waiting for other client support07:46
kota_good morning acoles07:59
acoleskota_: o/08:00
kota_acoles: short notice for you, I'm now trying to read/address for timburke's comment on patch 44192108:00
patchbothttps://review.openstack.org/#/c/441921/ - swift - Add Composite Ring Functionality08:00
kota_comments08:00
acoleskota_: great, I will look today too08:01
openstackgerritM V P Nitesh proposed openstack/swift master: Add 'rm -f .testrepository/times.dbm' command in testenv  https://review.openstack.org/45957508:12
openstackgerritM V P Nitesh proposed openstack/python-swiftclient master: Add 'rm -f .testrepository/times.dbm' command in testenv  https://review.openstack.org/45957708:14
*** hseipp has quit IRC08:33
*** hseipp has joined #openstack-swift08:36
kota_acoles: can i push a small changes for path 441921? mainly for addressing minor (but good) comment from timburke08:41
acoleskota_: yes, of course08:41
* kota_ drops 's' today :/08:42
kota_acoles: thx08:42
openstackgerritKota Tsuyuzaki proposed openstack/swift master: Add Composite Ring Functionality  https://review.openstack.org/44192108:42
acoleskota_: if you have time please leave your thoughts on patch 45858508:43
patchbothttps://review.openstack.org/#/c/458585/ - swift - Make composite_metadata an attribute of RingData08:43
*** cbartz has joined #openstack-swift08:43
acoleskota_: ^^ that was intended to address one of clayg's earlier comments08:43
*** iMe has joined #openstack-swift08:43
kota_acoles: sure! that's my next ;-)08:44
PavelKacoles: when you use `composite_metadata` property for old pickled classes, shouldn't you return old attribute `metadata` if instance has not `_composite_metadata`?08:57
PavelKacoles: ref. patch 45858508:58
patchbothttps://review.openstack.org/#/c/458585/ - swift - Make composite_metadata an attribute of RingData08:58
acolesPavelK: the 'metadata' attribute was added by the parent patch which has not merged - there's never been a ring pickled with 'metadata' attribute - so here we're considering the right new attribute to introduce when the parent lands - generic 'metadata' or specific 'composite_metadata'09:09
acolesPavelK: thank you for looking at it :)09:10
acolesPavelK: so the intent is that patch 458585 is either squashed with 441921 or abandoned09:11
patchbothttps://review.openstack.org/#/c/458585/ - swift - Make composite_metadata an attribute of RingData09:11
PavelKacoles: thanks09:11
kota_acoles: I added my thought on patch 458585, probably I need to look up the parent patch too.09:20
patchbothttps://review.openstack.org/#/c/458585/ - swift - Make composite_metadata an attribute of RingData09:20
*** mvk has quit IRC09:22
openstackgerritMerged openstack/swift master: Update reno for stable/ocata  https://review.openstack.org/43478509:24
acoleskota_: thanks, have a good evening09:26
kota_acoles: :D09:26
openstackgerritKazuhiro MIYAHARA proposed openstack/swift master: [Don't Merge]: Automated Tiering Discssion Organization Patch  https://review.openstack.org/45961109:28
*** iMe has quit IRC09:49
openstackgerritMerged openstack/swift master: Update version in controller-install-debian  https://review.openstack.org/45679909:54
openstackgerritMerged openstack/swift master: Update version in controller-install-ubuntu  https://review.openstack.org/45680009:54
*** Administrator_ has quit IRC09:55
*** Administrator_ has joined #openstack-swift09:55
*** psachin has quit IRC09:57
*** mvk has joined #openstack-swift09:58
*** psachin has joined #openstack-swift10:00
acolesrledisez: I left a small diff for patch 456921 to address Clay's failing probe test. If you are ok with it then I can push a new version of the patch to gerrit? and then fix clayg's probe test maybe as a follow on10:20
patchbothttps://review.openstack.org/#/c/456921/ - swift - Fix SSYNC failing to replicate unexpired object10:20
*** cguadall has joined #openstack-swift10:21
*** cguadall has quit IRC10:26
*** cguadall has joined #openstack-swift10:28
*** cguadall has left #openstack-swift10:28
*** jordanP has quit IRC10:29
*** cguadall has joined #openstack-swift10:29
*** cguadall has left #openstack-swift10:29
*** silor has joined #openstack-swift10:41
*** jordanP has joined #openstack-swift10:42
*** bkopilov has quit IRC11:03
*** bkopilov_ has quit IRC11:03
*** silor1 has joined #openstack-swift11:22
*** silor has quit IRC11:24
*** silor1 is now known as silor11:24
*** kei_yama has quit IRC11:24
*** flwang has quit IRC11:37
*** catintheroof has joined #openstack-swift11:48
*** arunman has quit IRC11:50
*** flwang has joined #openstack-swift11:50
*** pcaruana has quit IRC11:51
*** pcaruana has joined #openstack-swift11:56
*** jordanP has quit IRC11:56
*** klamath has joined #openstack-swift11:58
*** catintheroof has quit IRC12:08
*** klamath has quit IRC12:10
*** chlong has quit IRC12:20
*** pcaruana has quit IRC12:50
*** mwheckmann has left #openstack-swift12:51
*** pcaruana has joined #openstack-swift12:53
*** arunman has joined #openstack-swift13:01
*** catintheroof has joined #openstack-swift13:01
openstackgerritjunboli proposed openstack/swift master: Update version from newton to pika  https://review.openstack.org/45346713:01
*** JimCheung has joined #openstack-swift13:07
*** JimCheung has quit IRC13:11
*** bkopilov has joined #openstack-swift13:13
*** bkopilov_ has joined #openstack-swift13:14
*** chlong has joined #openstack-swift13:39
*** jordanP has joined #openstack-swift13:40
tdasilvajungleboyj: good morning, did you find out if there was any interest in Swift for the Sunday class?13:41
*** pcaruana has quit IRC13:43
*** pcaruana has joined #openstack-swift13:55
jungleboyjtdasilva:  Ildiko just had the interest grouped as cinder/manila/swift.  There were more than 5 people in that category and we have reps for Cinder and Manila.13:58
jungleboyjtdasilva: So, I would say if you are able to be there it would be good.13:58
tdasilvajungleboyj: ok, no problem, I can be there13:59
*** ivru has quit IRC14:02
openstackgerritjunboli proposed openstack/swift master: Update version from Newton to Ocata  https://review.openstack.org/45346714:04
*** jeblair_ is now known as jeblair14:15
jungleboyjOk.  Thank you.  Just needs to be on Sunday.14:41
*** mvk has quit IRC14:46
tdasilvajungleboyj: ok, from what I was able to gather, it runs from 9am-6pm and location, is the Sheraton??14:53
jungleboyjtdasilva:  Yes, 9 am to 6 pm.  Sheraton, 2nd Floor - Republic Ballroom A/B .14:58
*** thurloat[m] has quit IRC14:59
*** csmart has quit IRC14:59
tdasilvajungleboyj: ack14:59
jungleboyjtdasilva: Thank you!14:59
tdasilvajungleboyj: yw :)14:59
*** psachin has quit IRC15:03
*** gkadam has quit IRC15:10
*** csmart has joined #openstack-swift15:12
*** tonanhngo has joined #openstack-swift15:22
*** thurloat[m] has joined #openstack-swift15:30
*** cshastri has quit IRC15:46
notmynamegood morning15:46
notmynameis it just me, or does anyone else feel like it's been a long time since we got the translation update bot patches?15:53
notmynamepatch 45954615:53
patchbothttps://review.openstack.org/#/c/459546/ - swift (stable/ocata) - Imported Translations from Zanata15:53
*** _JZ_ has quit IRC16:03
notmynamehas anyone seen/used http://www.mactech.com/2017/04/25/cloudmounter-20-adds-openstack-swift-storage-system-support?utm_source=dlvr.it&utm_medium=twitter before?16:08
openstackgerritJoel Wright proposed openstack/swift master: Add Preamble and Postamble to SLO and SegmentedIterable  https://review.openstack.org/36537116:09
*** chlong has quit IRC16:10
*** hseipp has quit IRC16:22
*** chlong has joined #openstack-swift16:23
*** mvk has joined #openstack-swift16:31
*** JimCheung has joined #openstack-swift16:35
*** pcaruana has quit IRC16:39
*** SkyRocknRoll has joined #openstack-swift16:45
*** arunman has quit IRC16:46
*** gyee has joined #openstack-swift16:50
*** arunman has joined #openstack-swift16:52
*** chsc has joined #openstack-swift16:58
*** chsc has joined #openstack-swift16:58
acolesnotmyname: are we still getting translations? thought I read otherwise (that patch was for a stable branch)17:01
notmynameacoles: I guess?17:02
notmynamewe have a patch. I clicked +2+A17:02
*** tdasilva has quit IRC17:08
timburkegood morning17:15
*** cbartz has quit IRC17:16
*** tdasilva has joined #openstack-swift17:19
*** jaosorior is now known as jaosorior_away17:19
*** klrmn has joined #openstack-swift17:26
*** arunman has quit IRC17:31
*** xinli has quit IRC17:34
*** chlong has quit IRC17:37
*** chlong has joined #openstack-swift17:53
*** zul has quit IRC18:02
clayg_we still get translations for un-translated messages - we're supposed to translate less messages - basically none18:03
*** zul has joined #openstack-swift18:05
*** zul has quit IRC18:05
*** zul has joined #openstack-swift18:06
*** zul has quit IRC18:06
*** zul has joined #openstack-swift18:07
*** zul has quit IRC18:07
*** zul has joined #openstack-swift18:08
*** zul has quit IRC18:09
*** zul has joined #openstack-swift18:09
*** zul has quit IRC18:10
*** zul has joined #openstack-swift18:13
clayg_rledisez: so the ssync x-delete at fix *does* work if the remote is missing the meta *and* the data?18:16
*** Sukhdev has joined #openstack-swift18:17
*** ChubYann has joined #openstack-swift18:19
*** vint_bra has joined #openstack-swift18:29
*** cbartz has joined #openstack-swift18:49
*** cbartz has quit IRC18:54
*** chsc has quit IRC19:03
*** zul has quit IRC19:07
*** chsc has joined #openstack-swift19:11
*** chsc has joined #openstack-swift19:11
*** SkyRocknRoll has quit IRC19:13
*** zul has joined #openstack-swift19:20
*** catinthe_ has joined #openstack-swift19:28
*** catintheroof has quit IRC19:30
*** chlong has quit IRC19:46
zaitcevI was wrong about the readiness of the PUT+POST thing. I forgot to get Proxy working with it :-)19:51
timburkehuh. that's a curious failure: http://logs.openstack.org/76/457776/2/gate/gate-swift-tox-xfs-tmp-py35-ubuntu-xenial/0b61612/_zuul_ansible/ansible_log.txt19:56
*** chlong has joined #openstack-swift19:56
*** Sukhdev has quit IRC20:00
*** chsc has quit IRC20:04
robcresswello/ Anyone configured devstack + swift + CORS before? Can't get my head around it. All the docs seem to be around how to make the requests, but not how to tell swift to accept them :)20:05
rledisezclayg: yes, this is the bug i'm trying to fix (both missing, eg: partition moved after a rebalance). I didn't think of the case you mentioned (eg: meta file got handoff'ed)20:09
*** chsc has joined #openstack-swift20:10
*** chsc has joined #openstack-swift20:10
*** zul has quit IRC20:10
*** silor has quit IRC20:12
clayg_rledisez: i guess it didn't occur to me they would behave differently - but since you only get one ssync missing_check negotiation I see now how totally missing could have worked - but I didn't test that20:14
notmynamerobcresswell: I might be able to help (but IMO CORS are scary and confusing ;)20:14
clayg_rledisez: i only spotted it by luck - side effect of "trying it out" from an uninformed posistion20:14
robcresswellnotmyname: I agree on both :) I'm just trying to figure out how to tell swift to set the appropriate headers20:15
*** zul has joined #openstack-swift20:16
notmynamerobcresswell: what docs have you been looking at? (or have you found the docs?)20:16
rledisezclayg: seems acoles have a fix for that. acoles: of course if you have the fix, feel free to push it :)20:16
robcresswellWith the other core services its been a simple <service>.conf and restart change, but swift is not playing ball20:16
robcresswellOr my expectations are wrong20:16
notmynamehave you looked at https://docs.openstack.org/developer/swift/cors.html20:17
clayg_slry acoles20:17
clayg_holding out20:17
robcresswellnotmyname: Yup, that was one of the docs I looked at. The bit that trips me up is "Needless to say the Swift cluster hosting this container should have CORS support"20:18
robcresswellWhich left me with a big "...??"20:18
notmynameah. sorry20:18
notmynamethat's just saying it's gotta be running swift that has that feature. ie written at the time when there'd be clusters old enough that don't support it20:19
notmynamelet me see when it was added...20:19
clayg_it'd be sometime *before* you started seeing strict_cors_mode returned in /info20:21
clayg_swift info --json | jq .swift.strict_cors_mode20:21
clayg_also... "ages ago"20:21
robcresswellnotmyname: Ah, okay. So if I wanted to list containers for example... wheres the config for that?20:21
notmynamerobcresswell: first CIRS support was added in 1.7.5 in 201220:21
notmyname*CORS20:21
robcresswellCool, thats not problem then; this is just a devstack test env for some research work20:21
clayg_list containers... an account GET ... may not be supported20:22
robcresswellclayg_: Well. Thats a spanner in the works :)20:28
robcresswellclayg_: So its just the containers & objects themselves but not the top level service that has CORS?20:31
clayg_the documentation sure talks a lot about a project can configure *one of their containers* to allow cross site requests from their hosted application - so that doesn't bode well20:32
robcresswellclayg_: Yup, thats what I was struggling with :)20:33
clayg_it's possible the use-case has never been explored20:33
clayg_you're trying to do like a file browser or something?  But you want to make the client application hit swift directly instead of proxying requests.20:34
openstackgerritRomain LE DISEZ proposed openstack/swift master: Rewrite redirection in cname_lookup & domain_remap  https://review.openstack.org/43577120:34
robcresswellclayg_: Most of the other services use the oslo cors middleware and the config just sits in the service conf like so https://github.com/openstack/keystone/blob/master/etc/keystone.conf.sample#L60220:34
robcresswellclayg_: And, yeah, looking into UI work with CORS.20:35
clayg_robcresswell: it'd be interesting to see where https://github.com/openstack/oslo.middleware/blob/master/oslo_middleware/cors.py breaks down trying to insert it into the pipeline20:37
clayg_swift's cors support pre-dates oslo's by... 4 years?  and supports per-project configuration instead of system wide, but global deployment wide operator configured cors allowed_host option would probably work fine - but to my knowledge noone has attempted such20:39
rledisezrobcresswell: i may have miss something, but did you look at proxy config? https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L72-L7720:39
rledisezclayg: i can confirm the "global CORS" mode works fine for us20:40
clayg_nice20:40
rledisezsome small improvment could be made, but nothing big (eg: accepting glob in allow_origin like https://*.example.com/)20:41
rledisezi have request for that internally so I might take a look at it20:41
notmynameyeah, that global config was what I was going to look for. thanks rledisez20:42
*** catinthe_ has quit IRC20:42
robcresswellrledisez, notmyname: Ah great, thanks!20:43
robcresswellrledisez: What does the strict mode bool do?20:44
notmynameIIRC "strict" mode does the right thing20:45
notmynamefixes a bug in a previous implementation, but needed to ensure some compat20:46
rledisezrobcresswell: if i remember well, setting to false allow requests with invalid allow-origin20:47
rledisezi'm not sure it's documented, but it's what i remember from the code20:48
rledisezbut i might be wrong, try by yourself to be sure )::20:48
robcresswellrledisez: Yeah, just poking at the config now.20:49
clayg_notmyname: rledisez: robcresswell: lp bug #168620520:50
openstackLaunchpad bug 1686205 in OpenStack Object Storage (swift) "proxy config options for CORS lacking documentation" [Undecided,New] https://launchpad.net/bugs/168620520:50
clayg_robcresswell: thanks for jumping in here and asking questions - hope you're able to get it working!20:50
robcresswellclayg_: Not at all, thanks so much for the quick answers!20:51
rlediseztime to go for me. i'm kinda off this week, not checking irc during the days, but i'll be here tomorrow for the meeting. bye20:54
*** notmyname is now known as notright20:59
timburkenotright: you know that propagates to other rooms, right? ;-)21:00
notrightyeah :-)21:00
*** notright is now known as notmyname21:01
*** clayg has left #openstack-swift21:01
*** clayg has joined #openstack-swift21:01
*** ChanServ sets mode: +v clayg21:01
*** flwang1 has quit IRC21:01
*** Sukhdev has joined #openstack-swift21:21
*** chlong has quit IRC21:28
*** gyee has quit IRC21:55
*** flwang1 has joined #openstack-swift22:08
*** klamath has joined #openstack-swift22:14
*** klamath has quit IRC22:18
mattoliverauMorning22:34
*** adriant has joined #openstack-swift22:42
claygmattoliverau: good morning22:59
claygwow, pach 441921 got bigger than I imagined it would - is all of the follow up squashed into it?  there's no doc tree updates23:00
notmynamehey mattoliverau23:00
claygpatch 451500 probably has the docs ;)23:01
patchbothttps://review.openstack.org/#/c/451500/ - swift - Add composite ring doc23:01
clayghrm.... maybe it's *not* all squished in23:01
zaitcevor squashed23:04
clayg_squaysihed?23:05
*** openstack has joined #openstack-swift23:29
*** tdasilva has quit IRC23:34
*** chsc has quit IRC23:42
*** kei_yama has joined #openstack-swift23:42
*** tdasilva has joined #openstack-swift23:48

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