Thursday, 2017-06-01

claygcomparing to the gate to see how it's *supposed* to work was a protip - thanks00:01
*** links has joined #openstack-swift00:06
openstackgerritTim Burke proposed openstack/swift master: Make probe tests work when policy-0 is EC  https://review.openstack.org/46968800:09
timburkenotmyname: thoughts on https://review.openstack.org/#/c/464982/ ? given the reactions of clayg and acoles in the meeting, maybe it's best to abandon, given the the alternatives of either (1) majorly reworking the unit test, (2) having the unit test diverge pretty far from what's actually possible in newton, or (3) also backporting https://review.openstack.org/#/c/425493/00:17
patchbotpatch 464982 - swift (stable/newton) - Do not sync suffixes when remote rejects reconstru...00:17
patchbotpatch 425493 - swift - Deprecate broken handoffs_first in favor of handof... (MERGED)00:17
notmynameI think you summed it up nicely :-)00:17
*** alenavolk has joined #openstack-swift00:34
*** alenavolk has quit IRC00:38
*** tonanhngo has quit IRC00:47
*** zhengyin has joined #openstack-swift00:49
*** alenavolk has joined #openstack-swift00:50
*** tonanhngo has joined #openstack-swift00:54
*** gyee has quit IRC00:54
*** tonanhngo has quit IRC00:58
*** tovin07_ has joined #openstack-swift01:02
*** Sukhdev has quit IRC01:04
*** j_king_ has quit IRC01:10
timburkethanks kota_! i've been running with ec as default on my vagrant saio, and always scratched my head about why some probetests wouldn't work01:12
timburkenow i just need to get it to stop failing with "[Errno 24] Too many open files" when i run all of them :-/01:12
*** klrmn has quit IRC01:12
*** links has quit IRC01:14
zhongjunnotmyname: thanks, yes, the time was really more convenient for me.  Nice to see you too :)01:36
*** jeffl has joined #openstack-swift01:37
*** lan has joined #openstack-swift01:52
*** lan1 has joined #openstack-swift02:00
*** lan has quit IRC02:01
*** lan2 has joined #openstack-swift02:03
*** lan1 has quit IRC02:06
*** klrmn has joined #openstack-swift02:14
*** alenavolk has quit IRC02:32
*** links has joined #openstack-swift02:53
*** alenavolk has joined #openstack-swift02:53
openstackgerritMerged openstack/swift master: Trivial fix typos  https://review.openstack.org/46900903:09
*** Sukhdev has joined #openstack-swift03:11
*** Sukhdev has quit IRC03:20
*** Sukhdev has joined #openstack-swift03:22
*** chsc has joined #openstack-swift03:25
*** zhurong has joined #openstack-swift03:27
clarkbclayg: fyi I pushed https://review.openstack.org/469732 to hopefully make that better for you in the future03:30
patchbotpatch 469732 - openstack-dev/devstack - Run devstack CA and cert setup early03:30
*** psachin has joined #openstack-swift03:31
*** cshastri has joined #openstack-swift03:32
*** kei_yama has quit IRC03:45
*** chsc has quit IRC03:45
*** lan2 has quit IRC03:49
*** kei_yama has joined #openstack-swift04:00
*** klrmn has quit IRC04:06
*** Sukhdev has quit IRC04:08
*** alenavolk has quit IRC04:10
*** tovin07_ has quit IRC04:22
*** zhurong has quit IRC04:27
mahatictdasilva: great to see you already pushed an update to https://review.openstack.org/#/c/371150 :)04:28
patchbotpatch 371150 - swift - Return 404 on a GET if tombstone is newer04:28
*** zhurong has joined #openstack-swift04:36
*** pcaruana has joined #openstack-swift04:43
*** zhengyin has quit IRC05:04
*** alenavolk has joined #openstack-swift05:13
*** zhengyin has joined #openstack-swift05:16
*** zhurong has quit IRC05:16
*** zhurong has joined #openstack-swift05:17
*** jaosorior_away is now known as jaosorior05:24
*** pcaruana has quit IRC05:49
*** aselius has quit IRC05:53
*** mingyu has joined #openstack-swift05:53
*** chsc has joined #openstack-swift05:54
*** mingyu has quit IRC05:55
*** rcernin has joined #openstack-swift05:58
*** pcaruana has joined #openstack-swift06:02
*** chsc has quit IRC06:15
*** Dinesh_Bhor has quit IRC06:23
*** hseipp has joined #openstack-swift06:44
*** tesseract has joined #openstack-swift06:51
*** ChubYann has quit IRC06:55
*** tovin07_ has joined #openstack-swift06:59
*** cschwede_ has quit IRC07:05
*** cschwede has joined #openstack-swift07:09
*** aselius has joined #openstack-swift07:20
*** cshastri has quit IRC07:23
*** silor has joined #openstack-swift07:23
*** cshastri has joined #openstack-swift07:24
*** zhengyin has quit IRC07:27
*** zhengyin has joined #openstack-swift07:27
*** oshritf has joined #openstack-swift07:29
*** geaaru has joined #openstack-swift07:44
*** silor has quit IRC08:01
*** silor has joined #openstack-swift08:01
*** geaaru has quit IRC08:05
*** hseipp has quit IRC08:08
acolesgood morning08:17
*** geaaru has joined #openstack-swift08:19
*** silor has quit IRC08:19
*** silor has joined #openstack-swift08:20
*** zhurong has quit IRC08:29
*** alenavolk has quit IRC08:40
*** alenavolk has joined #openstack-swift08:42
*** alenavolk has joined #openstack-swift08:43
*** alenavolk has joined #openstack-swift08:43
*** alenavolk has quit IRC08:44
*** alenavolk has joined #openstack-swift08:45
*** alenavolk has quit IRC08:46
*** alenavolk has joined #openstack-swift08:47
*** alenavolk has quit IRC08:56
*** alenavolk has joined #openstack-swift08:56
*** alenavolk has quit IRC08:57
*** alenavolk has joined #openstack-swift08:57
*** alenavolk has quit IRC08:57
*** skudlik has quit IRC08:59
*** f0o has quit IRC09:03
*** f0o has joined #openstack-swift09:04
openstackgerritVan Hung Pham proposed openstack/swift master: Replace assertRaisesRegexp with assertRaisesRegex  https://review.openstack.org/46981109:06
*** f0o has quit IRC09:09
*** f0o has joined #openstack-swift09:09
mahaticacoles: good morning09:10
*** silor1 has joined #openstack-swift09:13
*** silor has quit IRC09:15
*** silor1 is now known as silor09:15
acolesmahatic: o/09:16
rledisezhey, do you know cbartz? what timezone he's in?09:16
openstackgerritRomain LE DISEZ proposed openstack/swift master: Preserve query params in tempurl  https://review.openstack.org/33333109:17
rledisezi'm looking at his patch ^, i want it in swift :)09:17
acolesrledisez: no but I recognise the nick, they're not in channel at the moment though09:19
acolesrledisez: email address suggests in EU09:20
rledisezacoles: yeah. he'll get notified by gerrit, eventually he'll join09:20
*** hseipp has joined #openstack-swift09:25
*** aselius has quit IRC09:30
*** openstackstatus has quit IRC09:36
*** openstackstatus has joined #openstack-swift09:39
*** ChanServ sets mode: +v openstackstatus09:39
-openstackstatus- NOTICE: There is a known issue with setuptools 36.0.0 and errors about the "six" package. For current details see https://github.com/pypa/setuptools/issues/1042 and monitor #openstack-infra09:45
*** geaaru has quit IRC09:47
kota_acoles, rledisez, mahatic: morning09:56
kota_and just preparing to go home. I finished https://review.openstack.org/#/c/302494 :)09:57
patchbotpatch 302494 - swift - Sync metadata in 'rsync_then_merge' in db_replicator09:57
*** tovin07_ has quit IRC09:57
*** geaaru has joined #openstack-swift10:00
*** ujjain has quit IRC10:11
*** zhurong has joined #openstack-swift10:35
*** Dinesh_Bhor has joined #openstack-swift10:49
*** zhengyin has quit IRC10:54
*** mat128 has joined #openstack-swift11:12
openstackgerritAlistair Coles proposed openstack/swift master: Ring doc cleanups  https://review.openstack.org/46518411:20
*** cbartz has joined #openstack-swift11:20
*** mat128 has quit IRC11:33
*** cshastri has quit IRC11:33
*** mat128 has joined #openstack-swift11:33
*** psachin has quit IRC11:34
*** links has quit IRC11:37
*** skudlik has joined #openstack-swift11:38
*** kei_yama has quit IRC11:41
*** silor has quit IRC11:43
*** silor has joined #openstack-swift11:43
*** mat128 has quit IRC11:45
acolesnotmyname: re pike wsgi goal -> https://review.openstack.org/46984711:47
patchbotpatch 469847 - governance - Add swift artifacts for deploy-api-in-wsgi goal11:47
acolesnotmyname: It is set to WIP pending you taking a look11:47
*** MVenesio has joined #openstack-swift11:56
*** psachin has joined #openstack-swift11:58
*** cshastri has joined #openstack-swift12:05
*** NM has joined #openstack-swift12:13
*** jeffl has quit IRC12:14
tdasilvagood morning12:15
*** zhurong has quit IRC12:16
psachinGood Morning tdasilva12:21
acolestdasilva: o/12:23
tdasilvapsachin, acoles: o/12:24
acolestimburke: I revisited patch 466952 and also noticed patch 469269 both of which have the sorting method validation change - had you intended to remove it from 466952?12:25
patchbothttps://review.openstack.org/#/c/466952/ - swift - Follow-up for per-policy proxy configs12:25
patchbothttps://review.openstack.org/#/c/469269/ - swift - Add validation for sorting_method values12:25
*** remixtj is now known as remix_tj12:25
acolestimburke: IIRC it was the only real blocker for me on 466952 so if that was updated we could maybe get it merged??12:26
*** Dinesh_Bhor has quit IRC12:45
*** Dinesh_Bhor has joined #openstack-swift12:46
*** Dinesh_Bhor has quit IRC12:49
*** Dinesh_Bhor has joined #openstack-swift12:49
*** Dinesh_Bhor has quit IRC12:49
*** Dinesh_Bhor has joined #openstack-swift12:50
*** cshastri has quit IRC12:58
*** mingyu has joined #openstack-swift12:58
*** mingyu has quit IRC13:00
*** mdrabe has joined #openstack-swift13:08
*** lucasxu has joined #openstack-swift13:08
*** klamath has joined #openstack-swift13:09
*** klamath has quit IRC13:09
*** klamath has joined #openstack-swift13:09
*** psachin has quit IRC13:10
*** skudlik has quit IRC13:41
mahatickota_: thanks for your comments on patch 43957213:41
patchbothttps://review.openstack.org/#/c/439572/ - swift - Limit number of revert tombstone SSYNC requests13:41
mahaticclayg: you may want to jump in on that discussion (i.e. should we push tombstone to 'quorum nodes' or not)13:42
rledisezusing python logger in swift is sometimes tricky, is there any tip to avoid that?13:43
rledisezobject-server: STDERR: error: cannot switch to a different thread13:43
acolesmahatic: did you start reviewing any of the patches mentioned in the 0700 meeting? I was about to start on patch 43577113:43
patchbothttps://review.openstack.org/#/c/435771/ - swift - Rewrite redirection in cname_lookup & domain_remap13:43
mahaticacoles: sounds good. I'm looking into patch 43576813:44
patchbothttps://review.openstack.org/#/c/435768/ - swift - Allow to configure the nameservers in cname_lookup13:44
acolesmahatic: excellent, so no overlap13:45
mahaticnope13:45
acolesrledisez: do you see that error when you try to add a log call in a thread?13:46
rledisezacoles: alecuyer will answer you as he is having this issue :)13:48
acolesok, sadly I don't have an answer :/ but I do recall seeing similar13:49
rledisezacoles: i want to fix https://bugs.launchpad.net/swift/+bug/165232313:49
openstackLaunchpad bug 1652323 in OpenStack Object Storage (swift) "ssync syncs an expired object as a tombstone, probe test_object_expirer fails" [Medium,Confirmed]13:49
rledisezi'm thinking of sending all objects/fragments, expired or not. i think it should be doable now with the open_expired param added last night. what do you think about that? it would be transfering data thazt would be deleted eventually, but it's a fix, better than nothing13:49
alecuyeracoles: hello !  for example within the create() function of the BaseDiskFile  - in the patched version, this uses a module to get a file like object from a "vfile" module. If I try log use a python logger there, I get the message that rledisez just posted13:50
acolesrledisez: the remaining problem I see is when needing to reconstruct an EC frag that has expired - the GETs for other frags will fail13:51
alecuyerso far I've been using my own dumb logger instead but I'm trying to figure out how to use the regular logging module without hanging the object server :) (I'm guessing this has something to do with eventlet but haven't figuret out how to fix it)13:52
*** hseipp has quit IRC13:56
acolesalecuyer: hi! I don't see anything obvious in the create() method to explain the error, but it is a context manager, so is it while using the writer class? e.g. the put ends up executes finalize_put in a thread?14:02
acolesrledisez: we could send a special header with those GETs to force object servers to return expired frags, or... we could just do nothing i.e. not sync with a tombstone (that is wrong) but also not send data - and just accept the inconsistent state until the object expires. IDK what is best.14:03
acolesI know I do no tlike have .ts in one place and .data in another with same timestamps!14:04
alecuyerYes, this happens while using the writer class, which eventually does tpool_reraise(self._finalize_put .... )14:04
acolesalecuyer: possibly related to this https://bitbucket.org/eventlet/eventlet/pull-requests/29/fix-use-of-semaphore-with-tpool-issue-137/diff14:06
rledisezacoles: there is already the "replication" header14:07
rledisezx-backend-replication if i remember well14:08
rledisezhum, maybe it's not sent when GET'ing a fragment14:09
rledisezthis case looks a lot like dark data, each node think it's the only fragment available in the cluster14:10
rledisez*it has14:10
alecuyeracoles: thanks for the pointer ! reading that thread (hum.. :) )14:10
acolesalecuyer: sorry I can't help more than to confirm that I think i have seem similar, maybe ask back later - perhaps clayg or torgomatic know of a workaround14:11
acolesrledisez: yeah, I don't think we send replication header with thos GETs. There is user-agent:obj-reconstructor header which is a clue but i think if we took this approach I would prefer to see a distinct header used (it could be 'x-backend-replication') and not overload an existing header14:13
*** openstackgerrit has quit IRC14:34
-openstackstatus- NOTICE: python-setuptools 36.0.1 has been released and now making its way into jobs. Feel free to 'recheck' your failures. If you have any problems, please join #openstack-infra14:34
*** jaosorior has quit IRC14:36
claygrledisez: alecuyer: you've seen where utils has to monkey patch stdlib longings thread module to use green locking?  Maybe avoid stdlib logging ... following existing patterns may have less resistance.14:38
*** foutatoro has joined #openstack-swift14:42
alecuyerclayg: I hadn't ! I'll try that14:43
acolesclayg: the existing pattern being to use utils.get_logger() ??14:47
*** openstackgerrit has joined #openstack-swift14:52
openstackgerritDoug Hellmann proposed openstack/swift master: remove remote qualifier from release notes branch scanning  https://review.openstack.org/46988014:52
foutatorohi all I'm deploying openstack prod install using openstack-ansible project and I would like to know is there a way to backup switf object in order to retrieve data in case of switf node failure ?14:58
clayg:)15:00
*** chsc has joined #openstack-swift15:08
*** aselius has joined #openstack-swift15:12
*** alenavolk has joined #openstack-swift15:12
openstackgerritDoug Hellmann proposed openstack/swift master: remove remote qualifier from release notes branch scanning  https://review.openstack.org/46988015:16
*** dhellmann has joined #openstack-swift15:17
*** chsc has quit IRC15:18
*** gyee has joined #openstack-swift15:19
*** skudlik has joined #openstack-swift15:24
*** trevormc has joined #openstack-swift15:25
*** hseipp has joined #openstack-swift15:25
timburkeacoles: sorry, yeah, i split out the validation but didn't get around to pushing up a new patchset for patch 466952 -- part of me is still debating about whether it's worth renaming a whole bunch of things15:30
patchbothttps://review.openstack.org/#/c/466952/ - swift - Follow-up for per-policy proxy configs15:30
*** chsc has joined #openstack-swift15:32
*** chsc has joined #openstack-swift15:32
trevormchey swift noob here, I'm having trouble getting the auth to work for swift... is there anything I'm missing? http://paste.openstack.org/show/611218/ I think the devstack logs show v1 auth is being used, is this correct?15:33
*** openstackgerrit has quit IRC15:33
acolestimburke: let's do it (rename) where it gets us consistency, e.g. get rid of conf = get_options etc ...now is the time, in future it will just be noise15:34
trevormc.. maybe #openstack is better fit.15:34
*** oshritf has quit IRC15:35
acolestrevormc: looks like you have keystone style vars in the env (OS_*) so its looking for a keystone service at http://192.168.122.150/identity15:36
timburkeacoles: but do we have a better name for OverrideConf? i kinda wanted proxy in there somewhere, with the expectation that there would later be object-* overrides as well... but idk if it's worth it?15:37
trevormcacoles, yeah thats normal right?15:37
acolestrevormc: https://docs.openstack.org/developer/python-swiftclient/cli.html#authentication has examples - v1 is equivalent to 'Legacy'15:38
trevormcacoles, thanks I think I'll find my answer there. sorry to interrupt :)15:39
acolestrevormc: also, add a --debug flag to the 'swift list' and you may get some more clues, but it looks like you are failing to get a token from keystone so client is not even talking to swift yet15:39
trevormcacoles, that sounds about right. I was trying to debug yesterday and saw similar signs.15:40
claygfoutatoro: you don't have to backup data you stored in swift if you have multiple disks/replicas it's very durable. If you have multiple nodes it's very available. I'm not aware of a good way to replicate the internals of a storage node - it's very "cattle" vs "pet". You could upload objects you store in your private cloud to an offsite cloud?15:40
*** mdrabe has quit IRC15:41
acolestrevormc: you can cross-check reaching identity service using the 'openstack' CLI (python-openstackclient)15:41
acolesIIRC something like 'openstack token issue'15:41
trevormcacoles, this is good info, I appreciate it. thanks. I think I got enough to start digging now.15:42
acolestrevormc: np. good luck15:42
acolestimburke: did you not already change the class name ... ProxyOverride or ProxyOverrideOptions?? ok, I need to go look at what was in the patch !)15:44
timburkeacoles: i did -- i thought you weren't entirely happy with it though?15:44
acolestimburke: but that was last week ;)15:45
acolestimburke: OIC I had a rant, but there was smiley at the end15:45
*** mingyu has joined #openstack-swift15:46
timburkelol15:46
*** MVenesio has quit IRC15:46
acolestimburke: if we're going with s/conf/options/ or s/conf/opts/ then it makes sense to rename the class [Proxy]OverrideOptions . consistency wins IMHO. ... sorry if my comment stalled you15:48
acolestimburke: get_policy_options was the thin end of the wedge - in original patch I just left it there to avoid many line of change in the final review phase15:48
acoless/left it there/stopped there/15:48
*** mingyu has quit IRC15:50
acolestimburke: but... it's a naming decision... so I may feel differently next week :P15:50
acolestimburke: there's other good cleanup in that patch so worth keeping it alive IMO15:53
*** skudlik has quit IRC15:53
timburkeyep -- i'll get another patchset up today16:00
*** mingyu has joined #openstack-swift16:01
*** catintheroof has joined #openstack-swift16:02
*** rcernin has quit IRC16:04
*** mingyu has quit IRC16:05
*** alenavolk has quit IRC16:07
*** alenavolk has joined #openstack-swift16:08
*** chsc has quit IRC16:09
*** lucasxu has quit IRC16:10
*** alenavolk has quit IRC16:13
*** silor has quit IRC16:16
*** mdrabe has joined #openstack-swift16:18
*** alenavolk has joined #openstack-swift16:20
*** alenavolk has quit IRC16:21
*** cbartz has quit IRC16:21
*** alenavolk has joined #openstack-swift16:23
*** alenavolk has quit IRC16:24
*** hseipp has quit IRC16:25
*** catintheroof has quit IRC16:27
*** oshritf has joined #openstack-swift16:27
*** lucasxu has joined #openstack-swift16:29
*** lucasxu has quit IRC16:30
*** trevormc has left #openstack-swift16:31
*** oshritf has quit IRC16:31
*** silor has joined #openstack-swift16:32
*** foutatoro has quit IRC16:32
*** tonanhngo has joined #openstack-swift16:33
*** alenavolk has joined #openstack-swift16:39
*** silor has quit IRC16:43
*** NM has quit IRC16:47
*** NM has joined #openstack-swift16:50
acolestimburke: here's another patch I revisited today - in this case it's close to squashing but I had one query https://review.openstack.org/#/c/450491/13/swift/container/sharder.py@a47116:52
patchbotpatch 450491 - swift - fixup! Add container sharding to Swift containers16:52
acolestimburke: tbh, if you say 'trust me' then that's fine16:52
*** tesseract has quit IRC16:54
timburkei have no idea anymore. apparently i did it in patchset 6... no, wait, *mattoliverau* did it in ps6... hmm...17:01
acolestimburke: ok let's ping mattoliverau on it17:01
acolesmattoliverau: can you shed any light on this change https://review.openstack.org/#/c/450491/13/swift/container/sharder.py@a471 i.e. does it make sense? thanks17:02
patchbotpatch 450491 - swift - fixup! Add container sharding to Swift containers17:02
*** klamath has quit IRC17:06
*** chsc has joined #openstack-swift17:07
*** chsc has joined #openstack-swift17:07
*** klamath has joined #openstack-swift17:07
*** alenavolk has quit IRC17:08
*** alenavolk has joined #openstack-swift17:09
*** alenavolk has quit IRC17:09
*** lucasxu has joined #openstack-swift17:12
*** alenavolk has joined #openstack-swift17:15
*** alenavolk has quit IRC17:17
*** alenavolk has joined #openstack-swift17:19
*** alenavolk has quit IRC17:19
clarkbre liberasurecode being older on xenial, I checked the ocata UCA package and it is version 1.4.0-2~cloud0 so enabling uca in your jobs is one potential way to work around that if necessary17:22
timburkeah, cool! thanks clarkb17:22
timburke...how does one do that?17:22
clarkbtimburke: let me find an example17:22
clarkbhttps://git.openstack.org/cgit/openstack-dev/devstack/tree/tools/fixup_stuff.sh#n70 is what devstack does. Things like doc build jobs and unittests are different because they use fairly static job templates. I think they have a hook point where you can run something like what devstack runs though. Let me find out17:24
*** openstackgerrit has joined #openstack-swift17:26
openstackgerritMerged openstack/swift master: Make probe tests work when policy-0 is EC  https://review.openstack.org/46968817:26
clarkbhrm the hook only exists for unittests not docs or pep8 though we can likely change that. if your repo has a tools/test-setup.sh file we run that before executing tox17:26
clarkbtimburke: so you can possibly use ^ that script to pull in liberasurecode out of UCA17:26
*** oshritf has joined #openstack-swift17:26
timburkecool, thanks again clarkb! i'll give that a try later17:27
*** klrmn has joined #openstack-swift17:28
*** oshritf has quit IRC17:33
*** mat128 has joined #openstack-swift17:34
*** mat128 has quit IRC17:35
*** alenavolk has joined #openstack-swift17:35
*** MVenesio has joined #openstack-swift17:35
*** alenavolk has quit IRC17:40
*** oshritf has joined #openstack-swift17:41
*** alenavolk has joined #openstack-swift17:42
*** mat128 has joined #openstack-swift17:46
*** mat128 has quit IRC17:47
*** oshritf has quit IRC17:47
*** mvk has quit IRC17:52
*** oshritf has joined #openstack-swift17:55
*** oshritf has quit IRC18:00
openstackgerritOpenStack Proposal Bot proposed openstack/swift master: Updated from global requirements  https://review.openstack.org/8873618:02
*** oshritf has joined #openstack-swift18:04
*** chsc has quit IRC18:04
openstackgerritTim Burke proposed openstack/swift master: Make Sphinx treat warnings as errors (again)  https://review.openstack.org/46931518:04
*** rcernin has joined #openstack-swift18:14
*** chsc has joined #openstack-swift18:15
*** chsc has joined #openstack-swift18:15
openstackgerritTim Burke proposed openstack/swift master: README: dedent the numbered list  https://review.openstack.org/46996718:15
*** ChubYann has joined #openstack-swift18:17
*** oshritf has quit IRC18:25
*** gyee has quit IRC18:27
*** mat128 has joined #openstack-swift18:37
*** NM has quit IRC18:53
*** geaaru has quit IRC18:54
*** vint_bra1 has quit IRC18:55
*** NM has joined #openstack-swift18:58
*** vint_bra has joined #openstack-swift18:59
*** oshritf has joined #openstack-swift19:04
*** vint_bra has quit IRC19:05
*** NM has quit IRC19:06
*** oshritf has quit IRC19:20
*** chsc has quit IRC19:24
*** MVenesio has quit IRC19:30
mattoliverauacoles, timburke: the meta timestamp is used to track the updates to the stats (bytes used and objectives count).. that method grabs the current pivot range but is also updating the stats from container info, so updates the timestamp. We could try and store the old versions and then only update on a change rather then sending new stats on each pass.. which might be a smart move... Though we'd be storing more19:32
mattoliveraumetadata19:32
timburkeah, right... that get_info call...19:33
timburkethanks mattoliverau! and good morning :-)19:33
openstackgerritClay Gerrard proposed openstack/swift master: Prefer auth_uri in functests configs  https://review.openstack.org/46998419:33
clayg^ I'm going to double check that example config on my saio - it works a treat on devstack!19:33
timburke(a very early morning, no?)19:33
claygwell... i guess well see what the gate dsvm job says about that - I don't want to sound too confident19:34
timburkeclayg: i think we might also still need https://review.openstack.org/#/c/456791/ ? maybe19:34
patchbotpatch 456791 - python-swiftclient - Allow swift functional tests to use keystone auth uri19:34
notmynamehello, world19:35
claygnot in my testing?  Unless when I reverted back to master it didn't take some how...19:35
claygoh... i mean we probably need that *for* swiftclient functests - just not for swift functests I don't think?19:35
notmynametimburke: help me catch up. are the sphinx errors fixed now? we can land stuff again?19:35
timburkenotmyname: yup19:36
notmynametimburke: ack. thanks19:36
*** chsc has joined #openstack-swift19:36
notmynametimburke: oh my. CRITICAL PATCH!!111!!eleventy!!!11! https://review.openstack.org/#/c/46996719:37
patchbotpatch 469967 - swift - README: dedent the numbered list19:37
timburkemergeitmergeitmergeitmergeit19:37
mattoliveraumorning :)19:41
*** mat128 has quit IRC19:54
*** mat128 has joined #openstack-swift19:56
*** mat128 has quit IRC20:01
*** oshritf has joined #openstack-swift20:02
*** mat128 has joined #openstack-swift20:04
mattoliverautimburke: yeah, it's very early. Lucy decided 5am was a good time to wake up, for I'm up too :) soz late reply playing with Lucy is busy work ;)20:10
mattoliveraus/for/so/20:10
*** mat128 has quit IRC20:21
*** oshritf has quit IRC20:26
*** alenavolk has quit IRC20:32
*** oshritf has joined #openstack-swift20:37
openstackgerritTim Burke proposed openstack/swift master: Follow-up for per-policy proxy configs  https://review.openstack.org/46695220:39
*** alenavolk has joined #openstack-swift20:42
openstackgerritMerged openstack/swift master: Rewrite redirection in cname_lookup & domain_remap  https://review.openstack.org/43577120:49
openstackgerritMerged openstack/swift master: README: dedent the numbered list  https://review.openstack.org/46996720:54
openstackgerritTim Burke proposed openstack/swift master: domain_remap: stop mangling client-provided paths  https://review.openstack.org/46421720:58
openstackgerritTim Burke proposed openstack/swift master: domain_remap: be more careful about client-path mangling  https://review.openstack.org/46421620:58
*** oshritf has quit IRC21:02
openstackgerritTim Burke proposed openstack/swift master: Allow to configure the nameservers in cname_lookup  https://review.openstack.org/43576821:03
*** lucasxu has quit IRC21:06
openstackgerritTim Burke proposed openstack/swift master: Remove threads_per_disk from object-server.conf manpages  https://review.openstack.org/47001321:08
openstackgerritClay Gerrard proposed openstack/swift master: Prefer auth_uri in functests configs  https://review.openstack.org/46998421:10
clarkbclayg: is ^ related to http://logs.openstack.org/74/372374/26/check/gate-swift-dsvm-functional-ubuntu-xenial-nv/a49cbe9/logs/etc/swift/test.conf.txt.gz having both the auth_uri and auth_prefix overlap?21:13
clarkbclayg: I can add a depends on to your change to see how that does21:14
*** mvk has joined #openstack-swift21:14
clarkbclayg: https://review.openstack.org/#/c/372374/ will now run the swift functests using your change and the apache header size change you pointed out as well21:14
patchbotpatch 372374 - openstack-dev/devstack - Turn on tls proxy by default for testing21:14
claygclarkb: not sure I follow?  my second patch was because the code I wrote in the first one was wrong when I tested it on a swift-all-in-one configuration without keystone ... I think it is still correct for devstack - and it will ignore/won't matter that the prefix crap overlaps21:15
clarkbclayg: got it21:15
claygclarkb: oh, yes, patch 372374 should definitely depend on the auth uri fix - good work there21:16
patchbothttps://review.openstack.org/#/c/372374/ - openstack-dev/devstack - Turn on tls proxy by default for testing21:16
*** gyee has joined #openstack-swift21:16
claygclarkb: has there been any consideration to renaming devstack to gatestack?  everytime I try to use a devstack environment for development I'm left with the impression that one does not simply "use" a devstack vm - you build them and throw them away - constantly21:17
claygright now my keystone uwsgi won't start?21:18
clayghttp://paste.openstack.org/show/611253/21:18
* clayg shrugs21:18
clarkbrenaming devstack would be a painful transition, we also want to move int to openstack/ instaed of openstack/21:21
clarkber instaed of openstack-dev/21:21
clarkbclayg: I think most people you dev with devstack run it once then start and stop services more manually from then on rather than start stop start stop21:22
clarkbI personally do the throwaway setup...21:22
clarkbboot VM locally, run devstack, $whatever, delete21:22
claygi wouldn't mind that *so* much - except that for me personally it takes a non-trivial wall time to *build* a devstack vm?  I think it encourages "throw it at the gate" sort of workflows - which encourage "passes test; ship it" sort of workflows - which encourage "did you even run this?" sort of bugs :'(21:24
claygdoes any of that ring true to you?21:24
clarkbclayg: I think we have a lot of throw it at the gate for various reasons, that is definitely part of it21:28
clayg`time vagrant up` - well see how it goes21:28
clarkbclayg: in theory the systemd changes should make it better to have a long lived devstack. But it is still early days on that21:29
claygoh sorry, I meant to post this -> http://paste.openstack.org/show/611253/21:30
claygi got distracted looking for anything more interesting in /opt/stack/logs/* - but didn't find anything21:30
claygdecided to give up and rebuild from scratch tho21:31
clarkbclayg: with systemd/journald you want to do journalctl -u devstack@keystone.service21:31
claygoh i did post that, sigh - i'm multitasking to much :'(21:31
claygoic, I'll try that next time - thanks!21:31
clarkbwhich should dump the whole set of keystone service logs for you. Its new :) but should be better overall once people get into it21:32
openstackgerritThiago da Silva proposed openstack/swift master: Return 404 on a GET if tombstone is newer  https://review.openstack.org/37115021:33
openstackgerritOpenStack Proposal Bot proposed openstack/swift master: Updated from global requirements  https://review.openstack.org/8873621:41
*** rcernin has quit IRC22:10
clarkbclayg: progress now it fails on verifying the certificate. Looks like you can either tell swift to do insecure ssl (should be last resort) or we can somehow pass in the ca_cert path for swiftclient to trust that?22:12
claygok, didn't notice that when testing originally22:14
clarkbclayg: https://git.openstack.org/cgit/openstack-dev/devstack/tree/lib/swift#n466 swift3 alraedy seems to do that22:15
claygohai!  real41m27.501s22:15
clarkbclayg: soshouldn't be too bad to get that into the test.conf?22:15
* clayg shrugs22:15
*** mdrabe has quit IRC22:16
clarkbclayg: actually I think I might be able to fix this in devstack. It has a step where it trusts the self made CA globally, but it only does that after starting services22:17
clarkbif I move it up to before service start the services should just trust the ca22:18
claygmaybe?  i'm not sure where I see it failing on certs really...22:20
claygwith the devstack headers fix, and the auth_uri fix in swift my functests on my freshy-freshy devstack vm are doing pretty well...22:20
clarkbclayg: http://logs.openstack.org/74/372374/27/check/gate-swift-dsvm-functional-ubuntu-xenial-nv/360b584/console.html#_2017-06-01_21_44_52_77483222:21
clarkbin your case probably beacuse you've run it multiple times so the CA is already trusted. I just pushed edit to https://review.openstack.org/469732 which I think may work22:22
patchbotpatch 469732 - openstack-dev/devstack - Run devstack CA and cert setup early22:22
claygah, I was looking at results from the wrong patch set maybe22:23
claygwell - i bet this is going to go great - it's working great on my machine anyway :D22:23
*** alenavolk has quit IRC22:26
*** mvk_ has joined #openstack-swift22:41
*** alenavolk has joined #openstack-swift22:42
*** alenavolk has quit IRC22:51
*** mvk_ has quit IRC22:52
clarkbclayg: ok my initial thoguht was wrong. The problem there is we run the swift tests out of a virtualenv (via tox) so the global cert fixing doesn't affect it22:55
clarkbclayg: we will need to pass in the cafile path22:56
claygoh neat - that probably explains why running the tests directly with nose wasn't hitting the issue for me - well spotted!22:56
clarkbclayg: in your change it is reading in the "real" swift config that devstack writes out, then emitting a new config for the functtests right?22:59
claygI admit^Wemit nothing22:59
claygclarkb: devstack wort out a config that had all the right bits of info - but in the wrong places - but it seemed sane to me the way devstack wrote it out - so I just fixed swift to expect that format and still work with the old23:00
claygbut i'm not aware if any plumbing exists for cacert into swiftclient currently23:00
claygi'm kinda looking...23:00
clarkbclayg: right but is it reading test.conf or swift.conf?23:00
claygoh - /etc/swift/test.conf yeah for sure23:01
clarkbclayg: get_auth_keystone() in swiftclient seems to accept a ca bundle to trust23:01
clarkbnot sure if swift config plumbs that through though23:02
timburkeclayg: and certainly the cli accepts a --os-cacert arg (or OS_CACERT env var)23:02
* clayg shrugs23:02
claygyeah I was saying specifically dunno if functional/__init__.py has brains to take bits from .ini to swiftclient - less so that if swiftclient works and shit23:03
timburkeservice should pick up the env var for free...23:03
claygtimburke: are you sure that plumbing is for programatic access vs cli?  maybe that'd be cool i guess...23:04
clarkbI will write the devstack side change to put it in test.conf23:04
clarkband then let you sort out the swift side23:04
claygcould work23:04
clarkbclayg: something like https://review.openstack.org/470056 (I used cafile because that is what appears to be used elsewhere but not sure if that is an option already in swift with a possibly different name)23:09
patchbotpatch 470056 - openstack-dev/devstack - Set the cafile in swift test.conf if tls enabled23:09
clarkbclayg: also left a comment on https://review.openstack.org/#/c/469984/2 I think a couple vars may be misnamed with the move to a function there23:11
patchbotpatch 469984 - swift - Prefer auth_uri in functests configs23:11
claygand oddly since it's a global it still works - thanks clarkb I'll try to clear that up23:12
*** alenavolk has joined #openstack-swift23:13
*** alenavolk has quit IRC23:17
*** alenavolk has joined #openstack-swift23:17
*** alenavolk has quit IRC23:17
*** kei_yama has joined #openstack-swift23:21
*** chsc has quit IRC23:41
claygo23:50
*** tonanhngo has quit IRC23:52
*** tonanhngo has joined #openstack-swift23:58
*** jamielennox|away is now known as jamielennox23:59

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