Friday, 2016-08-26

kota_good morning00:05
*** tqtran_ has quit IRC00:11
*** furlongm_ has quit IRC00:19
*** Suyi_ has quit IRC00:19
*** tqtran has joined #openstack-swift00:24
*** jistr has quit IRC00:27
*** gyee has quit IRC00:28
*** jistr has joined #openstack-swift00:30
openstackgerritTim Burke proposed openstack/swift: Expose encryption status in GET/HEAD/PUT/POST responses  https://review.openstack.org/34860300:47
openstackgerritTim Burke proposed openstack/swift: Expose encryption status to client  https://review.openstack.org/34860400:47
openstackgerritTim Burke proposed openstack/swift: Tighten header checks for object PUT/POST paths  https://review.openstack.org/35755800:47
openstackgerritTim Burke proposed openstack/swift: Include metadata in PUT/POST responses  https://review.openstack.org/35755900:47
*** _JZ_ has quit IRC00:54
*** tqtran has quit IRC00:57
*** m_kazuhiro has joined #openstack-swift01:01
*** Jeffrey4l__ has joined #openstack-swift01:04
openstackgerritKota Tsuyuzaki proposed openstack/swift: Support last modified on listing containers  https://review.openstack.org/19863401:04
kota_just rebased01:04
*** tqtran has joined #openstack-swift01:08
mattoliveraukota_: morning o/ - sorry was in a meeting when you arrived :)01:10
kota_mattolivearu: morning!01:10
*** chlong has joined #openstack-swift01:18
kota_mattoliverau: btw, any chance to look at https://review.openstack.org/#/c/268993/?01:25
kota_that got +2 from zaitcev so that I think it can land if no big issue exists.01:26
zaitcevthat was a month ago01:26
zaitcevMan we move slowly...01:27
zaitcevBTW, anyone knows if ho-san gave up on structured RBAC tests?01:27
kota_zaitcev: yeah01:27
kota_zaitcev: ah, idk about how RBAC tests progress sorry01:28
timburkezaitcev: i think he's still hopeful. at the very least, i know he was at the Austin summit; there was even a dart game wherein i promised to do some reviews for it...01:29
kota_zaitcev: he was in San Antonio hackathon in the last mounth so that it looks like he is still working on that.01:29
kota_timburke: I have to... :/01:29
timburkekota_: where all do we use self._rtime? is it going to bite us that we already updated it before running the validation hook?01:30
kota_timburke: no01:31
kota_self._rtime is desiable time when the ring should be checked if the ring file was updated for the next time.01:32
mattoliveraukota_: I'll take a look today :)01:32
kota_mattoliverau: thanks!01:32
mattoliverauunless timburke (the man that doesn't sleep) gets in first :P01:32
kota_timburke: it's safe to update self._rtime at first before validation_hook01:33
kota_if we don't do that, everytime the ring validation failed without interval :/01:33
timburkemakes sense01:35
*** tqtran has quit IRC01:39
zhengyingood morning01:46
kota_zhengyin: morning01:47
zhengyinkota_,mattoliverau:morning01:47
*** jamielennox is now known as jamielennox|away01:50
mattoliverauzhengyin: morning01:50
*** _JZ_ has joined #openstack-swift01:52
charzkota_: mattoliverau zhengyin morning01:55
mattoliveraucharz: o/01:55
kota_charz!01:55
zhengyincharz: morning :)01:55
*** jamielennox|away is now known as jamielennox02:00
*** trananhkma has joined #openstack-swift02:26
*** klrmn has quit IRC02:29
*** dmorita has quit IRC02:39
*** bigdogstl has joined #openstack-swift02:46
*** StevenK has quit IRC02:48
*** onovy has quit IRC02:48
*** onovy has joined #openstack-swift02:48
*** StevenK has joined #openstack-swift02:49
*** bigdogstl has quit IRC02:51
*** vint_bra has quit IRC02:55
*** briancline has quit IRC02:55
*** bigdogstl has joined #openstack-swift02:56
*** jamielennox is now known as jamielennox|away02:56
*** briancline has joined #openstack-swift02:57
*** vint_bra has joined #openstack-swift03:00
*** bigdogstl has quit IRC03:01
openstackgerritzheng yin proposed openstack/swift: simplify code  https://review.openstack.org/35585803:07
*** jamielennox|away is now known as jamielennox03:10
*** adu has joined #openstack-swift03:14
*** zhangyi has joined #openstack-swift03:28
*** adu has quit IRC03:32
*** chlong has quit IRC03:37
*** adu has joined #openstack-swift03:39
*** links has joined #openstack-swift04:07
*** chlong has joined #openstack-swift04:09
*** sheel has joined #openstack-swift04:20
*** dmorita has joined #openstack-swift04:40
*** dmorita has quit IRC04:44
*** psachin has joined #openstack-swift04:49
*** kei_yama has quit IRC05:02
*** kei_yama has joined #openstack-swift05:03
*** nadeem has joined #openstack-swift05:03
*** gabor_antal has quit IRC05:08
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925005:14
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873605:15
*** _JZ_ has quit IRC05:20
*** chlong has quit IRC05:21
*** manous has joined #openstack-swift05:26
*** manous has quit IRC05:33
*** SkyRocknRoll has joined #openstack-swift05:37
*** manous has joined #openstack-swift05:46
*** zaitcev has quit IRC05:51
openstackgerritgengchc2 proposed openstack/swift: Correct swift reraising of exception  https://review.openstack.org/36090605:52
*** manous has quit IRC05:52
*** manous has joined #openstack-swift05:55
*** adu has quit IRC05:57
*** manous has quit IRC06:00
*** sanchitmalhotra has joined #openstack-swift06:02
*** manous has joined #openstack-swift06:03
*** manous has quit IRC06:07
*** manous has joined #openstack-swift06:12
openstackgerritzheng yin proposed openstack/swift: Validate the error strings  https://review.openstack.org/36091406:15
*** manous has quit IRC06:17
*** manous has joined #openstack-swift06:18
*** saltsa_ has quit IRC06:19
*** saltsa has joined #openstack-swift06:20
*** manous has quit IRC06:22
*** manous has joined #openstack-swift06:25
*** rcernin has joined #openstack-swift06:26
*** kei_yama has quit IRC06:26
*** kei_yama has joined #openstack-swift06:27
*** silor has joined #openstack-swift06:29
*** manous has quit IRC06:30
*** SkyRocknRoll has quit IRC06:32
*** manous has joined #openstack-swift06:33
*** ppai has joined #openstack-swift06:36
*** manous has quit IRC06:38
*** silor1 has joined #openstack-swift06:39
*** manous has joined #openstack-swift06:40
*** silor has quit IRC06:41
*** silor1 is now known as silor06:41
ahalenotmyname: re. ' patches that they either don't propose upstream' - i just did that this week ;(06:43
*** tesseract- has joined #openstack-swift06:44
*** schizo has quit IRC06:44
*** manous has quit IRC06:45
openstackgerritzheng yin proposed openstack/swift: Validate the error strings  https://review.openstack.org/36091406:45
*** schizo has joined #openstack-swift06:47
mattoliveraukota_: looks like timburke is looking at the review, so I'll leave it to him (he wants to check it in the morning and I'm running out of time) if he fails I'll do it first thing monday :)06:47
kota_mattolverau: ok, thanks!06:47
*** manous has joined #openstack-swift06:48
*** SkyRocknRoll has joined #openstack-swift06:52
mattoliverauk, I'm off for the night. My bro is visiting from the UK and so going out to dinner. Have a great weekend all o/06:52
*** manous has quit IRC06:53
kota_mattoliverau: enjoy106:53
kota_!06:53
*** manous has joined #openstack-swift06:56
*** manous has quit IRC07:01
*** manous has joined #openstack-swift07:04
*** tdasilva has quit IRC07:04
*** manous has quit IRC07:09
*** manous has joined #openstack-swift07:10
*** nadeem has quit IRC07:10
*** manous has quit IRC07:15
*** manous has joined #openstack-swift07:16
openstackgerritKota Tsuyuzaki proposed openstack/swift: Add functional tests for new versioned_write mode  https://review.openstack.org/36093307:21
*** manous has quit IRC07:21
*** asettle has joined #openstack-swift07:23
*** geaaru has joined #openstack-swift07:23
*** manous has joined #openstack-swift07:24
*** asettle has quit IRC07:28
*** manous has quit IRC07:29
*** manous has joined #openstack-swift07:34
kota_timburke: Adding my +2 +A for patch 214922. Thanks for the awesome work on history mode!07:35
kota_hello, patch bot?07:38
kota_https://review.openstack.org/#/c/214922/07:38
kota_patch bot seems to take a rest :/07:38
*** manous has quit IRC07:40
*** manous has joined #openstack-swift07:42
*** tdasilva has joined #openstack-swift07:42
*** manous has quit IRC07:47
*** joeljwright has joined #openstack-swift07:49
*** ChanServ sets mode: +v joeljwright07:49
openstackgerritKota Tsuyuzaki proposed openstack/swift: Enable object server to return non-durable data  https://review.openstack.org/21527607:49
kota_merge conflict resolved07:49
*** manous has joined #openstack-swift07:50
*** manous has quit IRC07:55
*** joeljwright has quit IRC07:55
*** manous has joined #openstack-swift07:57
*** zhangyi has quit IRC08:06
*** zhangyi has joined #openstack-swift08:07
openstackgerritDavanum Srinivas (dims) proposed openstack/swift: [WIP] Testing latest u-c  https://review.openstack.org/31844108:10
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #openstack-swift08:19
*** joeljwright has joined #openstack-swift08:20
*** ChanServ sets mode: +v joeljwright08:20
openstackgerritMerged openstack/swift: Add "history" mode to versioned_writes middleware  https://review.openstack.org/21492208:33
*** silor has quit IRC08:37
*** asettle has joined #openstack-swift08:38
*** asettle has quit IRC08:38
*** asettle has joined #openstack-swift08:39
*** tqtran has joined #openstack-swift08:39
*** tqtran has quit IRC08:43
kota_yey, versioned_writes history mode landed successfully :-)08:44
joeljwright:)08:44
openstackgerritzheng yin proposed openstack/python-swiftclient: Add swift tempurl and swift auth command docstring  https://review.openstack.org/36021208:54
openstackgerritKota Tsuyuzaki proposed openstack/swift: EC Fragment Duplication - Foundational Global EC Cluster Support  https://review.openstack.org/21916509:04
*** mcarden has quit IRC09:06
*** darrenc has quit IRC09:06
*** mattoliverau has quit IRC09:06
*** matt6434 has joined #openstack-swift09:06
*** darrenc has joined #openstack-swift09:06
*** mcarden has joined #openstack-swift09:07
openstackgerritzheng yin proposed openstack/swift: Validate the error strings  https://review.openstack.org/36091409:08
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873609:18
*** kei_yama has quit IRC09:24
*** manous has quit IRC09:31
*** trananhkma has quit IRC10:05
openstackgerritDavanum Srinivas (dims) proposed openstack/swift: [WIP] Testing latest u-c  https://review.openstack.org/31844110:10
*** vint_bra1 has joined #openstack-swift10:21
*** vint_bra has quit IRC10:25
*** matt6434 is now known as mattoliverau10:26
*** ChanServ sets mode: +v mattoliverau10:26
*** vint_bra1 has quit IRC10:26
*** McMurlock1 has joined #openstack-swift10:26
*** vint_bra has joined #openstack-swift10:26
*** nikivi has joined #openstack-swift10:41
*** nikivi has quit IRC10:42
*** m_kazuhiro has quit IRC10:59
*** StraubTW has joined #openstack-swift11:01
*** maestropandy has joined #openstack-swift11:01
*** McMurlock1 has quit IRC11:01
*** StraubTW has quit IRC11:05
*** silor has joined #openstack-swift11:25
*** silor has quit IRC11:30
*** silor1 has joined #openstack-swift11:30
*** asettle has quit IRC11:32
*** silor1 is now known as silor11:32
*** silor has quit IRC11:42
*** joeljwright1 has joined #openstack-swift11:57
*** asettle has joined #openstack-swift12:10
*** maestropandy has quit IRC12:22
*** joeljwright1 has quit IRC12:23
*** StraubTW has joined #openstack-swift12:25
*** StraubTW_ has joined #openstack-swift12:27
*** StraubTW_ has quit IRC12:30
*** StraubTW has quit IRC12:30
*** StraubTW has joined #openstack-swift12:30
*** zhangyi has quit IRC12:34
*** _JZ_ has joined #openstack-swift12:38
*** tqtran has joined #openstack-swift12:41
*** tqtran has quit IRC12:45
*** Vinsh has quit IRC12:50
notmynamegood morning12:56
notmynameahale: what patches are you holding back on? give us the goods! ;-)12:56
ahalenotmyname:  well, just one - and only one line! L268 of ratelimit.py - "req.environ['swift.ratelimit.sleep_duration'] = need_to_sleep"13:03
notmynameahale: that seems simple enough. what does it fix?13:04
ahaleit lets informant use it to disregard any rate limiting in first-byte timers (or proxy-logging , if we used it for statsd)13:05
*** zul has joined #openstack-swift13:07
ahalelike https://wiki.openstack.org/wiki/Swift/ideas/ratelimiting_metrics13:09
notmynameahale: ah, ok. I get it13:10
ahaledidnt push upstream as , havent really looked into whats needed in native statsd, and im awful at unit tests13:10
notmynameahale: if you figure out the changes in functionality, I'll be happy to help you with the unit tests13:11
ahaleok that sounds good... if im still involved in swift next week ;)13:12
notmyname?13:12
notmynameyeah, looks public now http://ir.rackspace.com/phoenix.zhtml?c=221673&p=irol-newsArticle&ID=219768613:19
ahale:)13:21
*** ppai has quit IRC13:22
*** SkyRocknRoll has quit IRC13:27
*** aswadr_ has joined #openstack-swift13:28
*** links has quit IRC13:45
*** nadeem has joined #openstack-swift13:49
*** klamath has joined #openstack-swift13:55
*** klamath has quit IRC13:56
notmynamecurrent discussion at the ops meetup is on logging/monitoring https://etherpad.openstack.org/p/NYC-ops-Logging-and-monitoring13:56
*** klamath has joined #openstack-swift13:56
*** nadeem has quit IRC14:00
*** nadeem has joined #openstack-swift14:01
*** Vinsh has joined #openstack-swift14:14
*** Vinsh has quit IRC14:20
*** Vinsh has joined #openstack-swift14:23
*** chlong has joined #openstack-swift14:32
*** _JZ_ has quit IRC14:36
*** dmorita has joined #openstack-swift14:41
*** nadeem has quit IRC14:42
*** zul has quit IRC14:42
*** dmorita has quit IRC14:45
*** ellen has quit IRC14:46
*** Renich has joined #openstack-swift14:50
RenichGood day o/14:51
*** early has quit IRC14:55
*** HenryG has quit IRC14:56
*** Renich has quit IRC14:57
*** Renich has joined #openstack-swift14:59
*** jistr is now known as jistr|call15:01
*** HenryG has joined #openstack-swift15:01
*** early has joined #openstack-swift15:02
RenichI need help with a swiftclient.service script: https://paste.fedoraproject.org/414388/23690147/15:02
RenichThe requirement is that the script auths itself without the use of environment variables15:02
Renichthat is just the list example, btw15:02
Renichit works fine with env vars, but I can't make them work without them15:02
RenichI appreciate any help15:02
*** rcernin has quit IRC15:04
notmynamejoeljwright: ^15:05
Renichnotmyname: o/15:06
notmynameRenich: yeah, at a glance that looks like it should work, but I'd have to look at the swiftclient code...15:08
Renichnotmyname: yeah, no other choice. The docs suck, with all due respect.15:08
Renichnotmyname: ... in the sense that they don't cover it all yet15:09
notmynametry s/os_auth_version/auth_version/15:10
notmynameall the other ones look right15:10
Renichnotmyname: ok15:10
Renichah... the networking dude went paranoid and blocked my access to the server... I'll try it in a while... I hope15:12
*** jistr|call is now known as jistr15:12
notmynamewow15:12
*** _JZ_ has joined #openstack-swift15:13
*** Renich has quit IRC15:21
*** Renich has joined #openstack-swift15:23
*** asettle has quit IRC15:33
*** pcaruana has quit IRC15:33
*** tesseract- has quit IRC15:38
*** zul has joined #openstack-swift15:42
openstackgerritThiago da Silva proposed openstack/swift: Authorise versioned write PUTs before copy  https://review.openstack.org/35762815:44
*** sheel has quit IRC15:46
*** zul has quit IRC15:56
openstackgerritThiago da Silva proposed openstack/swift: Symlink implementation.  https://review.openstack.org/23216215:57
notmynameopps meetup: "anyone have concerns about upgrades in swift?" "no, it just works"15:59
notmyname"You can upgrade it while cycling along the beach without worr"16:00
notmyname*"You can upgrade it while cycling along the beach without worry"16:00
pdardeaunotmyname: i'll bet mattoliverau does exactly that ;-)16:00
notmynamenova dev in the room: "sounds like a lot of people are just now about to upgrade to liberty, which is going to be EOL'd in just a couple of months. why wait so long"16:04
joeljwrightnotmyname: just spotted my name mentioned16:05
joeljwrightRenich: I'll just take a quick look16:05
tdasilvanotmyname: do ops ask for more time before releases are EOL'd?16:05
*** tqtran has joined #openstack-swift16:07
*** chlong has quit IRC16:07
notmynameinterestingly, doesn't seem like it16:07
*** tqtran has quit IRC16:11
openstackgerritchen.xing proposed openstack/swift: [install] Use one command to create endpoint  https://review.openstack.org/36134016:12
joeljwrightRenich: I think notmyname's suggestion of s/os_auth_version/auth_version is liekly the solution16:13
notmynametdasilva: well, they sorta did16:15
notmynamebut then someone else in the room (a dev, not ops) said, "this keeps coming up, but we don't have enough people to handle it. so no we can't have a longer time until EOL"16:16
tdasilvanotmyname: I would not be surprised. I think for many enterprise customers, upgrading every 12 months is a lot16:16
notmynameand it seems one of the biggest reasons people wait to upgrade is because there are a lot of patches people carry locally (that can get rejected upstream because it's for a too-old version of a project)16:17
joeljwrighttdasilva: notmyname: it's not just patches, we've had issues with middleware orders and custom middleware breaking due to innocuous looking upgrades16:18
*** chlong has joined #openstack-swift16:19
joeljwrightthey were easy enough to fix, but it makes people reluctant :(16:19
notmynamelunchtime16:20
joeljwrightnotmyname: enjoy16:21
*** psachin has quit IRC16:25
*** zul has joined #openstack-swift16:30
openstackgerritchen.xing proposed openstack/swift: [install] Use one command to create endpoint  https://review.openstack.org/36134016:34
*** psachin has joined #openstack-swift16:35
*** david-lyle has joined #openstack-swift16:36
*** psachin has quit IRC16:44
*** rcernin has joined #openstack-swift16:44
*** links has joined #openstack-swift16:44
*** dmorita has joined #openstack-swift16:53
*** klrmn has joined #openstack-swift16:53
*** Suyi_ has joined #openstack-swift16:56
*** StraubTW has quit IRC16:56
*** chlong has quit IRC17:02
*** nadeem has joined #openstack-swift17:03
openstackgerritGábor Antal proposed openstack/swift: Use more specific asserts in test/unit/common/middleware  https://review.openstack.org/34277017:07
*** Renich has quit IRC17:14
*** Renich has joined #openstack-swift17:15
*** zaitcev has joined #openstack-swift17:21
*** ChanServ sets mode: +v zaitcev17:21
*** rcernin has quit IRC17:22
*** StraubTW_ has joined #openstack-swift17:22
notmynamejoeljwright: hmm...I don't like hearing that an upgrade breaks your custom middleware. I know that's not something that we can really guarantee (ie not breaking anyone's 3rd party stuff)17:24
notmynamejoeljwright: but it shouldn't be common17:24
notmynameand yeah. middleware ordering is hard. someone should write a solver for that17:24
*** DericHorn-HP has joined #openstack-swift17:26
*** aswadr_ has quit IRC17:31
openstackgerritMerged openstack/python-swiftclient: client: renew token on 401 even if retries is 0  https://review.openstack.org/32647517:37
*** npf has joined #openstack-swift17:56
claygupgrades take lots of testing - the longer you put it off the more broken stuff builds up :D17:56
*** adu has joined #openstack-swift17:57
timur_is that like the upgrade uncertainty principle? If you don't test it, is it really broken? :p17:57
claygwe try to be pretty reactive to issues people discover trying to upgrade - it may be hard in general to get *new* stuff landed - but if something is broke and we have the fix - we need to be pretty good about getting that in the merge pipe w/i that same day17:58
claygtimur_: yes, yes it is17:58
timburkethanks kota_!17:59
*** vint_bra has quit IRC18:03
*** tqtran has joined #openstack-swift18:04
*** vint_bra has joined #openstack-swift18:05
*** nadeem has quit IRC18:08
*** geaaru has quit IRC18:15
*** vint_bra has quit IRC18:22
*** Renich has quit IRC18:30
*** Renich has joined #openstack-swift18:32
*** baojg has joined #openstack-swift18:35
*** asettle has joined #openstack-swift18:36
*** rvasilets___ has joined #openstack-swift18:37
*** ntt_ has joined #openstack-swift18:44
*** asettle has quit IRC18:45
ntt_Hi, I need to add 3 new disks to swift. Actually I have 3 zone with replica 3. Should I add disks before in zone one, and when finished I add to zone 2 and 3? In this way the total weight of zone 1 being > of total weight of zone 2 and 3. So, for a period, I save more datas in zone 1 than others. Is this right? is there some better way to add disks?18:46
*** baojg has quit IRC18:49
*** zul has quit IRC18:51
*** npf has quit IRC18:52
*** baojg has joined #openstack-swift18:53
*** tqtran has quit IRC18:56
*** tqtran has joined #openstack-swift18:57
openstackgerritTim Burke proposed openstack/swift: Expose encryption status in GET/HEAD/PUT/POST responses  https://review.openstack.org/34860318:57
openstackgerritTim Burke proposed openstack/swift: Expose encryption status to client  https://review.openstack.org/34860418:57
openstackgerritTim Burke proposed openstack/swift: Include metadata in PUT/POST responses  https://review.openstack.org/35755918:57
*** baojg has quit IRC18:58
*** joeljwright1 has joined #openstack-swift18:58
*** baojg has joined #openstack-swift19:00
*** baojg has quit IRC19:00
*** baojg has joined #openstack-swift19:01
Renichnottrobin: joeljwright1: guys, I am still getting the rror19:05
RenichI'll post it19:05
openstackgerritPete Zaitcev proposed openstack/swift: Fix the removal of temporary files of tests  https://review.openstack.org/33424719:07
Renichnotmyname: joeljwright1: hah! eureka! This works: https://paste.fedoraproject.org/414646/14722386/19:11
Renichit seems I needed to ad os_identity_api_version and st_auth_version to the mix19:12
Renichphew! 2 days on this!19:12
*** baojg has quit IRC19:13
*** baojg has joined #openstack-swift19:15
*** joeljwright1 has quit IRC19:17
*** baojg has quit IRC19:19
*** Renich has quit IRC19:20
*** Renich has joined #openstack-swift19:21
timburkeRenich: i'm a little surprised that it would need *both*, though i suppose it also shouldn't hurt. does it work with just os_identity_api_version? looks like i need to go update the top of http://docs.openstack.org/developer/python-swiftclient/service-api.html ...19:27
*** links has quit IRC19:33
*** vint_bra has joined #openstack-swift19:38
*** tqtran has quit IRC19:42
*** tqtran has joined #openstack-swift19:42
*** Renich has quit IRC19:43
openstackgerritThiago da Silva proposed openstack/swift: Add option to set default version mode  https://review.openstack.org/36143919:47
*** klamath has quit IRC19:48
*** asettle has joined #openstack-swift19:59
*** asettle has quit IRC19:59
ntt_Hi, I need to add disks to a 3 zone (3 replica) swift cluster. I have to add one disk to z1 and when finished I add a new disk in z2 and z3. But this procedure creates an unbalanced zone with total_weight_z1 > total_weight_z2 .... is this correct ?20:00
*** nottrobin has quit IRC20:01
*** zhiyan has quit IRC20:03
*** rvasilets___ has quit IRC20:04
*** serverascode has quit IRC20:04
ntataclayg, generally looking for where the /etc/swift gets set in the code and I found it in manager.py and my impression was that it gets propogated to the rest of the code from there; but in common/utils.py, i see the SWIFT_CONF_FILE being set again and used for looking for HASH_PATH_PREFIX and HASH_PATH_SUFFIX.. I'm wondering if there's a reason for not using the SWIFT_CONF_FILE path that's set in the beginning in manager.py20:05
claygntata: I had a branch a *long* time ago where I tried to pull it all apart20:09
claygntata: I would *love* if it if you could set SWIFT_CONFIG=/etc/not_swift/swift.conf and as long as it's [DEFAULT] and everyone else had `swift_dir = /etc/not_swift` everything would work20:10
claygntata: to my knowledge there was no good *reason* - there was just a) no working code b) no one advocating for the use-case outside of *maybe* dev20:12
claygin the dev case I think folks just use seperate vms20:13
timburkehrm... or not. https://github.com/openstack/python-swiftclient/blob/master/swiftclient/service.py never mentions os_identity_api_version nor os_auth_version; only ever auth_version20:17
timburkethen i thought that we were detecting v3 from the presence of a domain-related option, got confused by why the *first* version didn't work, then remembered that we haven't had a release since https://github.com/openstack/python-swiftclient/commit/67f629c merged20:17
timburkeRenich: can you confirm that it actually authed with the v3 endpoint, rather than v2.0? i think swiftclient may have instantiated a v2 keystoneclient, which got the unversioned endpoint and sorted out that it needed to add a /v2.0. Mind trying again with just 'auth_version': '3' (no 'os_') and the /v3 endpoint?20:17
timburkebah, i think Renich left20:17
ntataclayg, Thanks! I'm actually trying to see if I can extract the path to conf files (/etc/swift) from "swift_dir" and SWIFT_CONF_FILE will be formed by appending swift.conf to it in the utils.py20:29
ntataThis way, we don't have to set the path to swift conf files(/etc/swift) at multiple places in the scenario we're using /etc/not_swift20:31
claygntata: I think that would be more difficult because of the import time requirement in utils - but if that's more easy to split up now because of some seperation of hash path validation - knock yourself out20:31
ntataOh I see20:32
claygyeah sorry, I don't really recall the current web of dependencies20:32
ntataI remember running into one of these import problems during my ipv6 validations code move..20:33
ntataI'll give it a try20:33
claygI don't think there's a strong requirement other than "it would be nice if I could run swift out of /etc/not_swift" - if that requires setting swift_dir in all of the configs that's fine - if it requires setting SWIFT_ROOT environment variable and deprecating swift_dir thats probably not terrible either20:33
*** Jeffrey4l_ has joined #openstack-swift20:34
ntataOkay20:35
*** Jeffrey4l__ has quit IRC20:35
claygntata: the hard part is undoubtly making it all work - you might consider trying to parameterize /etc/swift in vagrant-swift-all-in-one in a branch so when you *do* push up a patch you can say "if you really want to try this out check out my vsaio branch and you can build a swift-all-in-one and run functional tests w/o a /etc/swift dir"20:35
claygidk, maybe `mv /etc/swift /etc/not_swift` is about the same thing20:37
claygso maybe hold off on trying to automate it20:38
ntataYes, sounds good! You might have guessed the use case I'm trying to solve - Multi Swift. I'm trying to see what are the minumum number of code changes I need to make to run 2 swift clusters side by side (i.e. /etc/swift1 /etc/swift2)20:39
claygntata: yup, sounds awesome!20:39
claygntata: can't wait to see what you cook up!20:39
ntataclayg, Thanks! Hope it'll serve *some* purpose :)20:40
*** nottrobin has joined #openstack-swift20:40
*** serverascode has joined #openstack-swift20:43
*** zhiyan has joined #openstack-swift20:45
*** rvasilets___ has joined #openstack-swift20:50
openstackgerritTim Burke proposed openstack/python-swiftclient: Change Examples from headings to topics  https://review.openstack.org/36146520:51
*** adu has quit IRC20:53
timur_I've been reading the code for the ResumingGetter in swift/proxy/controllers/base.py because I noticed the following behavior: if a client does a GET request and then looks at the Content-Length in the response and reads exactly that many bytes, a "Client disconnected on read" error will be raised. It seems like the iterator should stop after retrieving the entirety of the content or at least not21:03
timur_generate this exception. I may be misunderstanding the intent there though :\21:03
timur_err, it doesn't raise it, but logs a warning21:04
*** timur_ is now known as timur21:12
*** geaaru has joined #openstack-swift21:14
*** tqtran has quit IRC21:14
claygtimur: you're saying every request logs "client disconnected on read" in your environment?21:25
*** tqtran has joined #openstack-swift21:26
*** StraubTW_ has quit IRC21:29
*** _JZ_ has quit IRC21:37
*** ntt_ has quit IRC21:39
clayglol @ the maytag man > https://twitter.com/openmfisch/status/76926208033989836821:39
timurclayg: right, if I don't read at least 1 byte more than the content-length. It sort of makes sense if imagine reading a file until EOF, but on the other hand, I'm reading exactly Content-Length bytes, which should be enough21:44
claygtimur: i'm not sure... what about the last newline?21:49
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925022:13
*** tqtran has quit IRC22:30
*** tqtran has joined #openstack-swift22:34
*** Vinsh has quit IRC22:40
*** vint_bra has quit IRC22:50
timurSam looked at it with me and I think I know how to fix it. Hopefully, will be able to submit a patch today or this weekend22:52
*** serverascode has quit IRC23:01
*** zhiyan has quit IRC23:02
*** nottrobin has quit IRC23:02
*** rvasilets___ has quit IRC23:04
*** bapalm_ has quit IRC23:06
*** bapalm has joined #openstack-swift23:11
*** DericHorn-HP has quit IRC23:17
*** serverascode has joined #openstack-swift23:20
*** DericHorn-HP has joined #openstack-swift23:25
*** zhiyan has joined #openstack-swift23:28
*** rvasilets___ has joined #openstack-swift23:28
*** nottrobin has joined #openstack-swift23:33
*** amit213 has quit IRC23:37
*** amit213 has joined #openstack-swift23:40
*** zhiyan has quit IRC23:46
*** rvasilets___ has quit IRC23:46
*** nottrobin has quit IRC23:46
*** serverascode has quit IRC23:46
*** urth has quit IRC23:55
*** dmorita has quit IRC23:57
*** urth has joined #openstack-swift23:58
*** DericHorn-HP has quit IRC23:58

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