Thursday, 2016-01-28

*** haomaiwa_ has quit IRC00:01
*** asettle-afk has quit IRC00:01
*** haomaiwang has joined #openstack-swift00:01
*** lcurtis has quit IRC00:02
*** arch-nemesis has quit IRC00:13
*** diogogmt has quit IRC00:17
*** sasha2 has joined #openstack-swift00:20
sasha2Hi all00:20
sasha2 I wonder why I can run "swift post <cont name>" from cli, but not from bash script (which includes sourcing the keystone creds)00:21
sasha2 I have no issues with keystone,cinder, glance, nova, neutron  - only swift00:21
*** dmorita has quit IRC00:21
openstackgerritMerged openstack/python-swiftclient: Error with uploading large object includes unicode path  https://review.openstack.org/26554400:22
*** dmorita has joined #openstack-swift00:22
*** daemontool has quit IRC00:26
sasha2could somebody help me?00:26
*** mgarza_ has quit IRC00:33
claygahale: I'm not going to be able to digest on https://gist.github.com/ahale/b91fc9bc745e710e070a anymore today - I think we need to open a lp bug00:34
claygsasha2: what's the error/output00:35
sasha2clayg: the script gets stuck00:35
sasha2clayg: I reproduce it everywhere00:35
sasha2clayg: it seems like some loop happens there00:36
sasha2clayg: only when ran as part of script.00:36
clayga loop or maybe it hangs in a prompt?00:37
sasha2clayg: to reproduce, create a bash script that sources the keystone credentials and tries to "swift post c1; swift upload <filename>"00:37
claygsure, hang tight - but if it's that easy to reproduce you could probably just file a bug?00:38
sasha2clayg: I (was) am sure that this is me doing something wrong?00:38
claygsasha2: wfm00:42
sasha2clayg: what is the version of openstack you use?00:44
sasha2clayg: I use 7.x00:44
claygsasha2: maybe you have something in your env in the cli that's not coming from the keystone creds?  can you set #!/bin/bash -ex00:44
claygopenstack has versions?00:45
claygvagrant@saio:~$ swift --version00:45
claygpython-swiftclient 2.7.1.dev2600:45
claygvagrant@saio:~$ swift info | grep version version: 2.6.1.dev300:45
sasha2clayg: yep, 7 = Liberty00:45
claygI used master00:45
clayg:P00:45
clayg... but it works from the cli ... so I don't know what that really means?00:46
sasha2clayg: it takes one to use one ;)00:46
claygi gotta go00:46
sasha2clayg: so you tried it in a bash script, right?00:46
sasha2clayg: thanks00:46
claygsasha2: yeah it worked in a bash script00:48
*** m_kazuhiro has joined #openstack-swift00:49
claygi'd try the -x to the bash script and get more info - i'm having a hard time accepting it's stuck in a loop - seems way more likely it's just expecting some kind of input - idk00:49
sasha2clayg: I get + swift post c100:49
sasha2+ swift post c100:49
sasha2clayg: loop of ^^00:49
claygWAT?00:49
claygstupid gist is down - i *guess* i'll use stupid paste.openstack00:50
claygsasha2: so this is all my script does -> http://paste.openstack.org/show/485214/00:50
sasha2clayg: http://fpaste.org/315568/42241145/00:50
claygdoes something like that work for you?00:50
claygsasha2: do you think it matters that your fucntion name shadows the command swift?00:51
clayg:P00:51
claygi gotta go00:51
sasha2clayg: absolutely00:51
sasha2clayg: need to change my nick to dumb200:52
sasha2clayg: thanks a lot :)00:52
*** xiangxinyong has joined #openstack-swift00:55
*** bill_az has quit IRC00:55
*** sasha2 has left #openstack-swift00:55
*** haomaiwang has quit IRC01:01
*** haomaiwang has joined #openstack-swift01:01
*** kaleta has quit IRC01:12
*** kaleta has joined #openstack-swift01:12
*** ho_away has joined #openstack-swift01:13
*** asettle-afk has joined #openstack-swift01:13
*** diogogmt has joined #openstack-swift01:14
*** asettle-afk is now known as asettle01:15
*** zhill has quit IRC01:16
*** ho_away has quit IRC01:17
kota_back to online01:20
*** garthb has quit IRC01:23
*** haomaiwang has quit IRC01:28
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925001:31
*** shakamunyi has joined #openstack-swift01:48
*** asettle has quit IRC01:49
*** asettle has joined #openstack-swift01:51
*** shakamunyi has quit IRC02:10
*** shakamunyi has joined #openstack-swift02:10
*** klrmn has quit IRC02:15
kota_hew, github in maintenance02:16
*** 77CAACWEE has joined #openstack-swift02:19
openstackgerritMerged openstack/swift: Remove unnecessary code from test_account.py  https://review.openstack.org/27297902:24
kota_i thought it looked curious why could we merge patches though github in maintenance but it seems just web UI (?) because local git command successfully clone swift repo.02:29
kota_oh no. just github is getting back to normal.02:31
openstackgerritMerged openstack/swift: Remove a print statement from tests  https://review.openstack.org/27311302:37
*** dmorita has quit IRC02:40
*** dmorita has joined #openstack-swift02:47
*** asettle has quit IRC02:47
*** xiangxinyong has quit IRC02:48
*** marcusvrn_ has joined #openstack-swift02:50
*** asettle has joined #openstack-swift02:57
*** Jeffrey4l has joined #openstack-swift03:00
*** 77CAACWEE has quit IRC03:01
*** haomaiwang has joined #openstack-swift03:01
*** sanchitmalhotra has joined #openstack-swift03:02
*** forcebanana has quit IRC03:05
*** ho_away has joined #openstack-swift03:07
*** ho_away has quit IRC03:07
*** mragupat has joined #openstack-swift03:10
*** zarric has quit IRC03:11
*** mragupat has quit IRC03:11
*** mragupat has joined #openstack-swift03:12
*** baojg has joined #openstack-swift03:15
*** baojg has quit IRC03:16
openstackgerritBing Hu proposed openstack/swift: Bad error reporting on config permissions error  https://review.openstack.org/27332503:23
mingdang1https://bugs.launchpad.net/swift/+bug/153883403:26
openstackLaunchpad bug 1538834 in OpenStack Object Storage (swift) "max_large_object_get_time is not used" [Undecided,New] - Assigned to dangming (743759846-7)03:26
*** klrmn has joined #openstack-swift03:26
mingdang1https://bugs.launchpad.net/swift/+bug/153883303:27
openstackLaunchpad bug 1538833 in OpenStack Object Storage (swift) "swift-ring-builder device name wrong" [Undecided,New] - Assigned to dangming (743759846-7)03:27
*** mrmoje has quit IRC03:27
*** asettle has quit IRC03:32
*** asettle has joined #openstack-swift03:40
*** yarkot has joined #openstack-swift03:45
*** asettle has quit IRC03:46
*** haomaiwang has quit IRC04:01
*** trifon has joined #openstack-swift04:01
*** haomaiwang has joined #openstack-swift04:01
*** gyee has joined #openstack-swift04:03
*** gyee has quit IRC04:03
*** kei_yama has quit IRC04:04
*** kei_yama has joined #openstack-swift04:06
*** ho_ has joined #openstack-swift04:08
ho_hello, i got good sleep after the meeting :-)04:11
*** silor has joined #openstack-swift04:15
*** ho_away has joined #openstack-swift04:25
*** ho_away has quit IRC04:28
*** JoshuaKim has joined #openstack-swift04:35
kota_ho_: hehe, i was working after meetting. and then go back home early to sleep well :P04:38
*** JoshuaKim has quit IRC04:38
*** trifon has quit IRC04:44
*** mragupat has quit IRC04:55
*** mragupat has joined #openstack-swift04:56
*** SkyRocknRoll has joined #openstack-swift05:00
*** tongli has quit IRC05:00
*** haomaiwang has quit IRC05:01
*** haomaiwang has joined #openstack-swift05:01
*** jamielennox is now known as jamielennox|away05:05
*** daemontool has joined #openstack-swift05:05
ho_kota_: hehehe.05:11
*** zul has joined #openstack-swift05:11
*** zul has quit IRC05:21
*** ppai has joined #openstack-swift05:28
*** baojg has joined #openstack-swift05:37
*** Microwise has joined #openstack-swift05:49
*** Microwise has quit IRC05:57
*** asettle has joined #openstack-swift05:58
*** bkumar has joined #openstack-swift06:00
*** haomaiwang has quit IRC06:01
*** trifon has joined #openstack-swift06:01
*** haomaiwa_ has joined #openstack-swift06:01
*** SkyRocknRoll_ has joined #openstack-swift06:07
*** klrmn has quit IRC06:08
*** ppai has quit IRC06:11
*** dmorita has quit IRC06:13
*** ChubYann has quit IRC06:13
*** trifon has quit IRC06:20
*** trifon has joined #openstack-swift06:21
*** ppai has joined #openstack-swift06:24
*** janonymous has quit IRC06:26
*** zul has joined #openstack-swift06:29
*** zul has quit IRC06:42
*** dmorita has joined #openstack-swift06:43
*** dmorita has quit IRC06:54
*** haomaiwa_ has quit IRC07:01
*** haomaiwang has joined #openstack-swift07:01
*** zul has joined #openstack-swift07:03
*** zul has quit IRC07:09
*** zul has joined #openstack-swift07:09
*** cbartz has joined #openstack-swift07:13
*** SkyRocknRoll has quit IRC07:14
*** mragupat has quit IRC07:14
*** mragupat has joined #openstack-swift07:15
*** mragupat has quit IRC07:19
*** ppai has quit IRC07:25
*** ppai has joined #openstack-swift07:38
*** asettle has quit IRC07:39
*** xiangxinyong has joined #openstack-swift07:44
*** dmorita has joined #openstack-swift07:55
*** kei_yama has quit IRC07:59
*** dmorita has quit IRC08:00
*** haomaiwang has quit IRC08:01
*** haomaiwa_ has joined #openstack-swift08:01
*** kei_yama has joined #openstack-swift08:03
*** arnox has joined #openstack-swift08:05
ahaleclayg: hehe, thanks for taking some time to check it out - you agree its not looking right08:05
*** rledisez has joined #openstack-swift08:13
*** barra204 has joined #openstack-swift08:16
*** xiangxinyong has quit IRC08:17
*** marcusvrn_ has quit IRC08:17
*** shakamunyi has quit IRC08:19
*** permalac has joined #openstack-swift08:19
*** ppai has quit IRC08:32
openstackgerritReedip proposed openstack/swift-bench: Put py34 first in the env order of tox  https://review.openstack.org/26052708:40
*** geaaru has joined #openstack-swift08:41
*** bkumar has quit IRC08:42
*** ppai has joined #openstack-swift08:45
openstackgerritReedip proposed openstack/swift-bench: TrivialFix of Import JSON  https://review.openstack.org/27339608:47
*** xiangxinyong has joined #openstack-swift08:48
*** acoles_ is now known as acoles08:53
*** zul has quit IRC08:54
*** zul has joined #openstack-swift08:55
*** haomaiwa_ has quit IRC09:01
*** haomaiwang has joined #openstack-swift09:01
acolesgood  morning09:03
acoleseranrom: maybe you could answer this one https://answers.launchpad.net/swift/+question/28383309:03
*** eranrom has joined #openstack-swift09:07
*** zaitcev has quit IRC09:08
*** jordanP has joined #openstack-swift09:08
*** admin0 has joined #openstack-swift09:16
*** jistr has joined #openstack-swift09:16
openstackgerritThomas Goirand proposed openstack/swift: Fix a few English mistakes in man  https://review.openstack.org/27340709:17
*** zul has quit IRC09:19
*** zul has joined #openstack-swift09:20
*** baojg has quit IRC09:23
*** remix_tj has quit IRC09:28
*** remix_tj has joined #openstack-swift09:28
admin0good morning09:29
*** silor has quit IRC09:35
*** baojg has joined #openstack-swift09:40
*** jistr is now known as jistr|biab09:43
*** wanghua has quit IRC09:44
*** ntt has quit IRC09:49
*** haomaiwang has quit IRC10:01
*** haomaiwa_ has joined #openstack-swift10:01
*** eranrom has quit IRC10:04
*** rcernin has joined #openstack-swift10:18
*** bkumar has joined #openstack-swift10:24
*** aix has joined #openstack-swift10:42
*** takashi has quit IRC10:42
*** jordanP has quit IRC10:42
*** jordanP has joined #openstack-swift10:43
*** asettle has joined #openstack-swift10:45
*** asettle has quit IRC10:49
*** admin0 has quit IRC10:52
openstackgerritChristopher Bartz proposed openstack/swift-specs: tempurls with a prefix-based scope  https://review.openstack.org/19960710:55
*** jistr|biab is now known as jistr10:57
*** permalac has quit IRC10:57
*** ppai has quit IRC10:59
*** eranrom has joined #openstack-swift11:00
*** haomaiwa_ has quit IRC11:01
*** haomaiwang has joined #openstack-swift11:01
*** admin0 has joined #openstack-swift11:05
*** asettle has joined #openstack-swift11:07
*** Microwise has joined #openstack-swift11:08
*** ppai has joined #openstack-swift11:10
*** asettle has quit IRC11:12
*** m_kazuhiro has quit IRC11:14
*** jmccarthy has joined #openstack-swift11:26
*** marcusvrn_ has joined #openstack-swift11:26
*** admin0 has quit IRC11:27
*** sanchitmalhotra has quit IRC11:29
ho_clayg: thanks for providing the PR. I tested and PR back to the original repo to sync the repos :-)11:34
*** mingdang1 has quit IRC11:38
*** baojg has quit IRC11:39
*** aix has quit IRC11:46
*** asettle has joined #openstack-swift11:57
*** dmorita has joined #openstack-swift11:57
*** haomaiwang has quit IRC12:01
*** haomaiwang has joined #openstack-swift12:01
*** asettle has quit IRC12:01
*** zul has quit IRC12:02
*** dmorita has quit IRC12:03
*** ho_ has quit IRC12:05
*** ppai has quit IRC12:07
*** km has quit IRC12:10
natarejis there any significant performance degradation as disks become full in swift?12:13
natarejwithout actually nearing capacity of course, talking <90%12:14
*** aix has joined #openstack-swift12:17
*** ppai has joined #openstack-swift12:18
*** SkyRocknRoll_ has quit IRC12:24
*** bkumar has quit IRC12:24
*** daemontool_ has joined #openstack-swift12:27
*** daemontool has quit IRC12:28
*** admin0 has joined #openstack-swift12:29
*** mingdang1 has joined #openstack-swift12:36
*** SkyRocknRoll_ has joined #openstack-swift12:40
*** ChanServ sets mode: +v tdasilva12:40
*** ppai has quit IRC12:46
openstackgerritMerged openstack/swift: add test for zero weight region get_more_nodes  https://review.openstack.org/26830512:50
*** bill_az has joined #openstack-swift12:52
*** daemontool_ has quit IRC12:53
*** asettle has joined #openstack-swift12:55
*** ppai has joined #openstack-swift12:59
*** asettle has quit IRC13:00
*** haomaiwang has quit IRC13:01
*** 77CAAC1M5 has joined #openstack-swift13:01
*** ppai has quit IRC13:09
*** Microwise has quit IRC13:11
*** SkyRocknRoll_ has quit IRC13:22
*** ppai has joined #openstack-swift13:23
*** kei_yama has quit IRC13:25
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873613:25
*** admin6 has joined #openstack-swift13:27
*** mrmoje has joined #openstack-swift13:32
*** jordanP has quit IRC13:33
*** zul has joined #openstack-swift13:33
*** asettle has joined #openstack-swift13:35
*** asettle has quit IRC13:39
*** 77CAAC1M5 has quit IRC13:44
*** [1]eranrom has joined #openstack-swift14:03
*** eranrom has quit IRC14:03
*** [1]eranrom is now known as eranrom14:03
*** proteusguy has quit IRC14:05
*** ppai has quit IRC14:15
admin6Hi there, is there a way to question a ring and check if the min_part_hours is over without performing a « swift-ring-builder rebalance » ?14:17
*** proteusguy has joined #openstack-swift14:17
acolesadmin6: patch 257577 was recently merged, to give you time remaining before min_part_hours has passed14:22
patchbotacoles: https://review.openstack.org/#/c/257577/ - swift - Print min_part_hours lockout time remaining (MERGED)14:22
*** haomaiwang has joined #openstack-swift14:23
*** mrmoje has quit IRC14:23
*** jordanP has joined #openstack-swift14:24
admin6Thanks guys, you’re awsome14:24
*** mrmoje has joined #openstack-swift14:25
*** mingdang1 has quit IRC14:27
*** diogogmt has quit IRC14:28
*** permalac has joined #openstack-swift14:29
*** diogogmt has joined #openstack-swift14:32
*** eranrom has quit IRC14:41
*** eranrom has joined #openstack-swift14:42
*** sanchitmalhotra has joined #openstack-swift14:44
*** sanchitmalhotra has quit IRC14:44
*** blmartin has joined #openstack-swift14:44
*** admin0 has quit IRC14:46
*** diogogmt has quit IRC14:49
*** mrmoje has quit IRC14:55
*** mrmoje has joined #openstack-swift14:57
*** haomaiwang has quit IRC15:01
*** vinsh has quit IRC15:01
*** haomaiwa_ has joined #openstack-swift15:01
*** vinsh has joined #openstack-swift15:02
*** admin0 has joined #openstack-swift15:08
*** fthiagogv has quit IRC15:10
*** admin0 has quit IRC15:12
*** bill_az_ has joined #openstack-swift15:18
*** diogogmt has joined #openstack-swift15:21
*** admin0 has joined #openstack-swift15:22
*** diogogmt has quit IRC15:23
*** diazjf has joined #openstack-swift15:27
pdardeaugood morning15:36
*** mragupat has joined #openstack-swift15:37
glangehow many admin's are there?  we've seen admin0 and admin6 so far15:40
admin6glange: I’m not a number, I’m a free admin ;-)15:41
glangesays admin6 <-- number right at end of nick :)15:42
admin0i am zero15:42
glangesay you are the first, that is better :)15:44
glangesounds better15:44
*** eranrom has quit IRC15:45
*** mgarza_ has joined #openstack-swift15:45
*** Jeffrey4l has quit IRC15:52
*** admin0 has quit IRC15:58
*** admin0 has joined #openstack-swift15:59
*** dmorita has joined #openstack-swift16:00
*** haomaiwa_ has quit IRC16:01
*** haomaiwang has joined #openstack-swift16:01
*** diogogmt has joined #openstack-swift16:02
*** dmorita has quit IRC16:04
*** Jeffrey4l has joined #openstack-swift16:06
*** aix has quit IRC16:08
*** admin0 has quit IRC16:08
*** garthb has joined #openstack-swift16:23
*** trifon has quit IRC16:30
*** bjkeller has joined #openstack-swift16:32
*** Jeffrey4l has quit IRC16:33
*** Jeffrey4l has joined #openstack-swift16:34
*** mrmoje has quit IRC16:37
*** arch-nemesis has joined #openstack-swift16:40
*** Microwise has joined #openstack-swift16:42
*** SkyRocknRoll has joined #openstack-swift16:44
*** admin6 has left #openstack-swift16:49
*** bill_az_ has quit IRC16:54
*** haomaiwang has quit IRC17:01
*** haomaiwang has joined #openstack-swift17:01
*** vinsh_ has joined #openstack-swift17:01
*** vinsh has quit IRC17:05
*** diazjf1 has joined #openstack-swift17:05
*** diogogmt has quit IRC17:06
*** diazjf has quit IRC17:09
openstackgerritJanie Richling proposed openstack/swift: Change POST-as-COPY to preserve the DLO manifest contents  https://review.openstack.org/25279117:09
*** cbartz has quit IRC17:09
*** SkyRocknRoll has quit IRC17:13
*** nadeem has joined #openstack-swift17:13
*** bill_az_ has joined #openstack-swift17:14
*** zul has quit IRC17:14
*** diazjf1 has left #openstack-swift17:17
*** diogogmt has joined #openstack-swift17:24
openstackgerritAlistair Coles proposed openstack/swift: Let equal Timestamps not be unequal  https://review.openstack.org/27367717:24
acolesclayg: timburke ^^ tell me if I am insane17:25
*** permalac has quit IRC17:25
jrichlilove the title!17:25
*** geaaru has quit IRC17:26
*** rledisez has quit IRC17:26
acoleswell "Let equal Timestamps be equal" would be inappropriate because they are equal, its just that they are *also* unequal17:26
acolesthink i need a drink now17:27
jrichlilol.  well, the complexity in swift keeps things from being boring17:29
*** jistr has quit IRC17:38
timburkeacoles: yes, that patch makes me want to drink as well :( thanks for finding/fixing it!17:39
acolestimburke: it found me :)17:44
hurricanerixclayg: as far as testr stuff goes, i barely know enough to get that patch through.  and i mainly did the patch because i figured nobody else would want to do it (but then i ended up getting a lot of help with it).17:44
hurricanerixbut it seemed like our options were to use testr, or duplicate our tests in tempest.  the testr option seemed better since then we still kept our tests in the swift code base.17:45
*** arnox has quit IRC17:47
*** bill_az_ has quit IRC17:47
*** Jeffrey4l has quit IRC18:00
*** haomaiwang has quit IRC18:01
*** haomaiwang has joined #openstack-swift18:01
*** klrmn has joined #openstack-swift18:06
openstackgerritMerged openstack/swift: go: fix requests with X-If-Delete-At for objects without X-Delete-At header  https://review.openstack.org/25523318:08
openstackgerritClay Gerrard proposed openstack/swift: Let equal Timestamps not be unequal  https://review.openstack.org/27367718:09
*** jordanP has quit IRC18:10
acolesclayg: yeah that's a good addition18:12
*** eranrom has joined #openstack-swift18:17
*** trifon has joined #openstack-swift18:17
*** Microwise has quit IRC18:19
*** blmartin has quit IRC18:56
*** blmartin has joined #openstack-swift18:58
*** haomaiwang has quit IRC19:01
*** haomaiwang has joined #openstack-swift19:01
*** ChubYann has joined #openstack-swift19:03
*** zaitcev has joined #openstack-swift19:07
*** ChanServ sets mode: +v zaitcev19:07
*** mgarza_ has quit IRC19:09
*** mgarza_ has joined #openstack-swift19:10
*** mrmoje has joined #openstack-swift19:12
*** rickyrem has joined #openstack-swift19:13
*** rickyrem has quit IRC19:20
*** acoles is now known as acoles_19:24
jrichliclayg: thanks for your input on bug 1487791 :-)19:30
openstackbug 1487791 in OpenStack Object Storage (swift) "POST to DLO squashes data without fast-POST" [Undecided,Confirmed] https://launchpad.net/bugs/148779119:30
jrichliIt would be good to have some opinions on bug 153130219:31
openstackbug 1531302 in OpenStack Object Storage (swift) "account/container server DBs aren't readable if disks are full and there are pending updates" [Undecided,New] https://launchpad.net/bugs/1531302 - Assigned to Janie Richling (jrichli)19:31
*** eranrom has quit IRC19:40
*** bill_az_ has joined #openstack-swift19:47
MooingLemurLarge object manifests and referer auth don't seem to interact as expected and don't allow downloads from referer-auth sources  unless the ACL is .r:*.  Is this a known limitation?19:50
MooingLemurI've tried both SLO and DLO, separate container and also in the same container.19:50
MooingLemurdoing a HEAD on the manifest if it's DLO gives a 401, and with SLO, gives a size of 0.   doing a GET on a DLO gives 401, and SLO gives 409.19:52
MooingLemurperhaps it's a pipeline ordering issue?19:52
*** haomaiwang has quit IRC20:01
*** haomaiwang has joined #openstack-swift20:01
*** dmorita has joined #openstack-swift20:03
ZyricGood morning20:03
*** dmorita has quit IRC20:07
*** trifon has quit IRC20:11
*** zhill has joined #openstack-swift20:20
zaitcevI seem to recall dimly that I reviewed a patch that made Referrer forwarded or propagated for some kind of similar problem in the past.20:20
MooingLemuryeah, checked master, it injects x-auth-token but not referer20:24
MooingLemurthere's no reason I can think of for it not to20:24
MooingLemuror those are for submanifests in slo, or simply getting the listing in dlo20:26
*** trifon has joined #openstack-swift20:26
*** dmorita has joined #openstack-swift20:51
*** haomaiwang has quit IRC21:01
*** haomaiwang has joined #openstack-swift21:01
*** rcernin has quit IRC21:02
*** dmsimard_ has joined #openstack-swift21:02
*** dmsimard_ has quit IRC21:02
timburkepatch 258280? looks like bug 1526575 should be fixed in 2.6.021:09
openstackbug 1526575 in OpenStack Object Storage (swift) "*LO subrequests don't pass on the referer or req.acl on" [Medium,Fix released] https://launchpad.net/bugs/1526575 - Assigned to Matthew Oliver (matt-0)21:10
patchbottimburke: https://review.openstack.org/#/c/258280/ - swift - Pass HTTP_REFERER down to subrequests (MERGED)21:10
blmartinmattoliverau: another split_range PR with some bugfixes is up21:12
*** proteusguy_ has joined #openstack-swift21:14
*** proteusguy has quit IRC21:16
*** nadeem has quit IRC21:26
*** nadeem has joined #openstack-swift21:26
*** rcernin has joined #openstack-swift21:27
mattoliveraublmartin: \o/ thanks man21:31
mattoliverauoh and morning21:31
*** admin0 has joined #openstack-swift21:50
*** admin0 has quit IRC21:51
*** admin0 has joined #openstack-swift21:53
claygacoles_: is it=f how brits spell iff ?21:55
onovyhi, is there any way to just add new user metadata to object without removing other user metadata?21:58
onovyYou can use COPY as an alternate to the POST operation by copying to the same object. With the POST operation you must specify all metadata items, whereas with the COPY operation, you need to specify only changed or additional items. // this way i think?22:00
*** haomaiwang has quit IRC22:01
*** haomaiwang has joined #openstack-swift22:01
*** rickyrem has joined #openstack-swift22:06
*** admin0 has quit IRC22:09
*** blmartin has quit IRC22:16
*** asettle has joined #openstack-swift22:17
rickyremI destroyed all of my swift cluster and recreated it. Now users that were using swift before the destroy aren't being tracked in ceilometer.22:21
rickyremIs that something I should ask about here or in the ceilometer chat?22:22
mattoliveraurickyrem: I'm not sure how ceilometer tracks swift users, so maybe there.. but if they give you some swift stuff you need to do, then come back here if you need help to do what ever it is :)22:28
rickyremmattoliverau: okay! thanks22:29
*** rvasilets__ has joined #openstack-swift22:37
openstackgerritOndřej Nový proposed openstack/python-swiftclient: Allow higher delta in unit tests  https://review.openstack.org/27380122:39
claygonovy: ^ why does it need a delta at all - isn't getmtime the change time of the file?  who's changing it between L#879 and the time whoever reads it to add to user-meta?!22:42
onovyreally? i don't know22:43
claygonovy: nice22:43
onovyhttps://tests.reproducible-builds.org/rb-pkg/unstable/armhf/python-swiftclient.html22:43
onovyit just failing on armf22:43
onovymaybe is armf slower?22:43
claygonovy: that's not my point - a unittests should be so strictly dependent on how fast the test runs22:44
onovyi agree22:44
claygonovy: so making its assertion weaker doesn't really answer the qeustion of why can't it make an exact assertion22:44
onovyyep :)22:45
claygso what are doing!?  ;)22:45
onovyexactly i think unit test should use os.mtime at all22:45
claygs/are/are you/g22:45
onovy*should not22:45
claygwait - why not - isn't that how swiftclient get's the file change time in order to add it to the usermetadata?22:46
onovyno, you should mock it22:47
onovyyou are not testing mtime, but your code22:48
onovyso mtime should be mocked22:48
claygonovy: it is on some other tests in server fwiw22:48
claygs/server/service/g22:49
claygbut i still don't get why the test's call to getmtime and swiftclients getmtime can't just both acctually have the same answer - that's a weird ass file system behavior down there - maybe it's pointing to something that would get papered over in a mock - maybe not22:50
onovyput_headers = {'x-object-meta-mtime': "%f" % round(time())}22:51
onovyi think problem is here22:51
onovyi returns time(), not mtime of that file22:51
claygwat!?22:51
onovyswiftclient/service.py:158322:51
onovyi think - i'm not sure :)22:51
onovysry :176322:52
onovybut same line :)22:52
claygbut that's if path is None22:53
claygin the test there was a file - there was path - there was a getmtime call22:53
timburkeclayg: onovy: that makes sense for test_upload_object_job_stream; the fix should be to mock out time in that test22:53
onovyif hasattr(source, 'read'):22:53
claygon the tests where there's no file, no path, no getmtime - we should *definately* mock time - or else the test is going to be racy/stupid/broken22:53
onovy            stream = source22:53
onovy            path = None22:53
onovymaybe this?22:53
claygtimburke: is correct22:53
claygWA;ojahsdfjklhaskj@@@22:54
claygthat doesn't look right22:54
claygwell idk22:54
claygbut yeah apparently not fixing the test is not helping us22:54
claygyou want me to -1 that change?22:54
onovyyep, -122:54
clayglol22:54
claygonovy: nice work :)22:54
claygyou do it22:54
claygafk22:54
*** lpabon has joined #openstack-swift22:56
onovyfixing22:57
*** zhill has quit IRC23:00
*** haomaiwang has quit IRC23:01
*** haomaiwang has joined #openstack-swift23:01
*** km has joined #openstack-swift23:01
*** trifon has quit IRC23:06
*** bjkeller has left #openstack-swift23:08
*** nadeem has quit IRC23:10
*** mingdang1 has joined #openstack-swift23:12
*** mingdang1 has quit IRC23:14
*** rickyrem has quit IRC23:18
openstackgerritOndřej Nový proposed openstack/python-swiftclient: mock time in unit test  https://review.openstack.org/27380123:19
onovytimburke: clayg: ^^ tadaaa :)23:19
*** lpabon has quit IRC23:20
onovygn23:21
*** chlong has quit IRC23:32
*** kei_yama has joined #openstack-swift23:34
*** mgarza_ has quit IRC23:56

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