Friday, 2016-09-30

*** sanchitmalhotra1 has joined #openstack-swift00:31
kota_good morning00:31
*** sanchitmalhotra has quit IRC00:31
*** sanchitmalhotra1 is now known as sanchitmalhotra00:31
mattoliveraukota_: morning00:55
*** gyee has quit IRC00:59
kota_mattolivearu01:06
kota_:o/01:06
kota_unexpected pushing to enter key :/01:06
*** sanchitmalhotra1 has joined #openstack-swift01:31
*** sanchitmalhotra has quit IRC01:31
*** sanchitmalhotra1 is now known as sanchitmalhotra01:31
*** dfflanders has joined #openstack-swift01:40
zhengyinkota_,mattoliverau:morning01:40
mattoliverauzhengyin: o/01:41
*** rickyrem has joined #openstack-swift02:04
*** rickyrem has quit IRC02:06
openstackgerritzheng yin proposed openstack/swift: add assert error information  https://review.openstack.org/37942802:19
zhengyinmattoliverau: hi, mattoliverau, are you here ?02:41
mattoliverauzhengyin: yes.. And no, just at lunch. What's up?02:42
zhengyinmattoliverau: Do you have a time to help me review a patch 355858?  :)02:43
patchbothttps://review.openstack.org/#/c/355858/ - swift - simplify code02:43
*** abhitechie has joined #openstack-swift02:44
*** dmorita has quit IRC02:54
*** david-lyle has quit IRC03:04
*** tongli_ has joined #openstack-swift03:08
*** dmorita has joined #openstack-swift03:09
*** tongli has quit IRC03:10
openstackgerritzheng yin proposed openstack/swift: fix word spelling mistake  https://review.openstack.org/37990903:14
*** dmorita has quit IRC03:14
*** aswadr_ has joined #openstack-swift03:24
notmynamehello, world03:31
*** abhitechie has quit IRC03:38
*** links has joined #openstack-swift03:58
*** lhx_ has joined #openstack-swift04:08
jrichlinotmyname: I am reading over all the TC candidacy mails, and re-reading the TC meetings involving the golang decision.04:11
jrichliWhew!  It's a lot to go through.  but I am going to make a very informed decision when making my 6 selections!04:12
notmyname:-)04:14
zaitcevmeaning revenge?04:15
jrichlino, but its a good discussion to look over to get a feel for how people think and what they value in openstack04:15
notmynamethere's a lot of people running. 14 or 1504:16
*** mingyu has joined #openstack-swift04:17
jrichliinteresting.  maybe a sign that people want to get more involved04:17
notmynameI think it's a sign of rising interest in what the TC is doing (and perhaps some discomfort with recent decisions the TC has made)04:18
jrichliwell stated.  i wasn't sure how to say that04:19
jrichliI gotta met this cdent at the summit. I feel like giving him a high five or something04:21
openstackgerritMerged openstack/swift: Add more comment to authtoken sample options  https://review.openstack.org/37257304:21
*** mingyu has quit IRC04:23
*** dmorita has joined #openstack-swift04:27
*** abhitechie has joined #openstack-swift04:30
*** dmorita has quit IRC04:32
*** SkyRocknRoll has joined #openstack-swift04:37
lhx_mattoliverau, hi, could you spare some minutes for review? https://review.openstack.org/#/c/378203/04:41
patchbotpatch 378203 - swift - Use six.moves.urllib.parse instead of urllib04:41
*** tongli has joined #openstack-swift04:52
*** tongli_ has quit IRC04:55
*** psachin has joined #openstack-swift04:57
mattoliveraulhx_: Sure, thanks for pointing me at the other change. That's going in now, so yours now should be good to :)05:02
*** manous has quit IRC05:03
lhx_mattoliverau, :)05:07
*** ppai has joined #openstack-swift05:08
lhx_mattoliverau, haha, looking forward to seeing05:11
*** abhinavtechie has joined #openstack-swift05:13
*** abhitechie has quit IRC05:13
*** mingyu has joined #openstack-swift05:14
*** manous has joined #openstack-swift05:16
*** manous has quit IRC05:23
*** manous has joined #openstack-swift05:35
*** dmorita has joined #openstack-swift05:37
openstackgerritMerged openstack/swift: Py3: Fixes eventlet ImportError: No module named urllib2  https://review.openstack.org/34827205:39
*** dmorita has quit IRC05:42
*** bjolo has joined #openstack-swift05:54
*** rcernin has joined #openstack-swift06:07
*** niknakpaddywak has quit IRC06:21
*** abhinavtechie has quit IRC06:24
*** abhinavtechie has joined #openstack-swift06:25
*** niknakpaddywak has joined #openstack-swift06:28
*** pcaruana has joined #openstack-swift06:39
*** sgundur has joined #openstack-swift06:45
*** hseipp has joined #openstack-swift06:48
*** sgundur has quit IRC06:49
*** klrmn has quit IRC07:00
*** manous has quit IRC07:05
*** abhinavtechie has quit IRC07:15
*** manous has joined #openstack-swift07:17
*** rledisez has joined #openstack-swift07:20
*** geaaru has joined #openstack-swift07:22
*** jamielennox is now known as jamielennox|away07:23
*** abhitechie has joined #openstack-swift07:25
*** sgundur has joined #openstack-swift07:57
*** jordanP has joined #openstack-swift07:58
*** manous has quit IRC07:58
*** sgundur has quit IRC08:02
*** mingyu has quit IRC08:08
*** Jeffrey4l_ has joined #openstack-swift08:09
*** manous has joined #openstack-swift08:10
*** Jeffrey4l has quit IRC08:10
*** mingyu has joined #openstack-swift08:10
openstackgerritMerged openstack/swift: Use six.moves.urllib.parse instead of urllib  https://review.openstack.org/37820308:15
*** acoles_ is now known as acoles08:18
*** mingyu has quit IRC08:22
*** niknakpaddywak has quit IRC08:25
*** niknakpaddywak has joined #openstack-swift08:26
acoleskota_: hi, could you check this out https://review.openstack.org/379649 thanks08:32
patchbotpatch 379649 - swift - Fix failing cross-policy-versioning functional test08:32
acolesnotmyname: I think that will need backporting to the latest release ^^08:32
kota_acoles: sure and good morning for you.08:32
acoleskota_: thanks!08:32
acolesfriday aya08:33
acolesyay* duh08:33
acolesoh so the reconstructor mem leak bug was down to the pyeclib thing that kota already fixed. nice.08:33
*** manous has quit IRC08:34
kota_acoles: If i understand it correctly ;-)08:34
acolesi'm sure you do!08:34
kota_acoles: perhaps, it comes from calling policy.fragment_size which calls get_fragment_info at pyeclib that causes memory leak <- I fixed!08:35
acoleskota_: and that would be consistent with the leak only occurring for sync type reconstructor jobs, the revert jobs don't use pyeclib08:36
kota_acoles: exactly.08:37
acolesof course sync jobs do a bunch of other extra work too, but it is at least a plausible cause08:37
rledisezacoles, kota_: i'll give a try today to this new pyeclib version, on a proxy and an object server08:38
acolesrledisez: great!08:38
*** SkyRocknRoll has quit IRC08:42
*** manous has joined #openstack-swift08:45
openstackgerritzheng yin proposed openstack/swift: fix word spelling mistake  https://review.openstack.org/37990908:46
kota_acoles: gotcha on patch 379649 and looks good catch08:48
patchbothttps://review.openstack.org/#/c/379649/ - swift - Fix failing cross-policy-versioning functional test08:48
kota_acoles: but i have an idea to improve the patch more, will add an comment for that08:49
acoleskota_: are you going to suggest cross policy tests with both modes?08:56
kota_acoles: no, just suggesting to use the variable08:57
kota_to keep consitency08:57
acolesoic. :)08:57
*** SkyRocknRoll has joined #openstack-swift08:57
kota_acoles: but it sounds cool ;-)08:57
acolesIt did occur to me but then I decided to just fix the broken tests quickly and go home ')08:58
acolesadding more tests would be another patch IMO08:58
kota_I'm with :D08:59
*** lhx_ has quit IRC09:02
*** lhx_ has joined #openstack-swift09:03
openstackgerritAlistair Coles proposed openstack/swift: Make tempurl functional tests clean up account keys  https://review.openstack.org/34675209:06
acoleskota_: good idea, I will make wishlist bug to look at making one of the in process functional test run with two policies (if that is possible)09:09
kota_acoles: super cool!09:10
*** b00tcat has left #openstack-swift09:16
*** cbartz has joined #openstack-swift09:18
openstackgerritAlistair Coles proposed openstack/swift: Fix failing cross-policy-versioning functional test  https://review.openstack.org/37964909:20
acoleskota_: ^^09:21
kota_acoles: let me try09:23
acolesnotmyname: ignore my earlier remark about backport, the bug landed after the release09:25
openstackgerritzheng yin proposed openstack/swift: Add test cases in the common/test_db  https://review.openstack.org/36668909:30
*** manous has quit IRC09:32
*** manous has joined #openstack-swift09:45
*** lhx_ has quit IRC09:47
*** kei_yama has quit IRC09:54
*** dmorita has joined #openstack-swift09:55
*** dmorita has quit IRC10:00
*** sgundur has joined #openstack-swift10:00
*** sgundur has quit IRC10:05
*** lhx_ has joined #openstack-swift10:20
*** mvk has quit IRC10:30
*** zhengyin has quit IRC10:34
*** admin6 has left #openstack-swift10:35
*** delattec has quit IRC10:36
openstackgerritThiago da Silva proposed openstack/swift: Symlink implementation.  https://review.openstack.org/23216210:42
*** manous has quit IRC10:46
openstackgerritKazuhiro MIYAHARA proposed openstack/swift: Use __init__() of Daemon class in sub classes  https://review.openstack.org/36561410:50
rledisezacoles, kota_: i tried pyeclib 1.3 on a proxy. it seems there is memory consumption reduction. each worker still grow  to more than a 1GB of RAM each hour but i think it's related to socket leak (we reload proxies every hours to free memory and sockets, more than one hour between each reload does not make it with 256GB of RAM)10:55
rledisezi can't really test for the reconstructor as i wrote a workaround for https://bugs.launchpad.net/swift/+bug/1469815 which mitigate the memleak problem10:55
openstackLaunchpad bug 1469815 in OpenStack Object Storage (swift) "If the fragment needing to be reconstructed already exists, let the handoff node push it to the primary." [Low,In progress] - Assigned to Minwoo Bae (minwoob)10:55
rledisezdewanee, admin6:10:57
rledisezhttp://web.ledisez.net/reconstructor-1.patch10:57
rledisezallows to start a reconstructor process per device, per job type, can put many devices using comma separator10:57
rledisezRevert on first disk: /opt/swift/bin/swift-object-reconstructor /etc/swift/object-server.conf -r -d disk-00-00010:57
rledisezSync on 2nd and 3rd disk: /opt/swift/bin/swift-object-reconstructor /etc/swift/object-server.conf -s -d disk-00-001,disk-00-00210:57
rledisezalso it randomizes partitions order so you don't restart from beggining when restarting process10:57
rledisezthis patch inspired https://review.openstack.org/#/c/340584/, unit test were not passing on the gate because i would had to insert a sleep(0) to trigger a "thread switching" for the logging thread to run as the unit test relies on the log output. i didn't waste time on this10:57
patchbotpatch 340584 - swift - Make handoffs_first per partition in reconstructor10:57
rledisezhttp://web.ledisez.net/reconstructor-2.patch10:57
rledisezit's a fix for https://bugs.launchpad.net/swift/+bug/146981510:57
openstackLaunchpad bug 1469815 in OpenStack Object Storage (swift) "If the fragment needing to be reconstructed already exists, let the handoff node push it to the primary." [Low,In progress] - Assigned to Minwoo Bae (minwoob)10:57
rledisezyou really want it as it will save a lot of IO on your clusters10:57
rledisezand it actually mitigates the memleak problem because there is SYNC only when really needed, not when rebalancing10:57
rledisezfor this patch to work you need to distribute the builder with the ring.gz10:57
*** manous has joined #openstack-swift10:58
*** mvk has joined #openstack-swift11:00
*** admin6 has joined #openstack-swift11:02
admin6c11:02
*** manous has quit IRC11:03
*** kmARC has quit IRC11:10
*** kmARC has joined #openstack-swift11:11
*** manous has joined #openstack-swift11:15
*** tdasilva_ has quit IRC11:18
*** bjolo has quit IRC11:27
*** bjolo has joined #openstack-swift11:27
*** portante has quit IRC11:50
*** ndk_ has quit IRC11:50
*** cdelatte has joined #openstack-swift11:56
*** ndk_ has joined #openstack-swift11:59
*** nikivi has joined #openstack-swift11:59
*** portante has joined #openstack-swift11:59
*** nikivi has quit IRC11:59
*** ndk_ has quit IRC12:03
*** ndk_ has joined #openstack-swift12:04
*** portante has quit IRC12:04
*** portante has joined #openstack-swift12:10
*** amoralej is now known as amoralej|lunch12:14
*** dfflanders has quit IRC12:23
dewaneethanks rledisez12:29
*** geaaru has quit IRC12:39
admin6dewanee: rledisez: I missed the last 3 hours of IRC. rledisez. did you post the patch somewhere?12:42
rledisezadmin6: yes, you can find the logs here: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/12:47
*** Jeffrey4l_ has quit IRC12:47
*** Jeffrey4l_ has joined #openstack-swift12:48
*** psachin has quit IRC12:50
admin6rledisez: thanks, one more thing I learned today :-)12:50
*** geaaru has joined #openstack-swift12:51
*** SkyRocknRoll has quit IRC12:53
*** links has quit IRC12:56
*** david-lyle has joined #openstack-swift12:57
*** mingyu has joined #openstack-swift13:05
*** mingyu has quit IRC13:10
openstackgerritYushiro FURUKAWA proposed openstack/swift: Revises 'url' to 'URL' and 'json' to 'JSON'  https://review.openstack.org/37939013:22
*** amoralej|lunch is now known as amoralej13:22
*** ppai has quit IRC13:40
openstackgerritAlistair Coles proposed openstack/swift: EC - eliminate .durable files  https://review.openstack.org/35595813:49
*** mingyu has joined #openstack-swift13:55
*** abhitechie has quit IRC14:05
*** nikivi has joined #openstack-swift14:06
*** vint_bra has joined #openstack-swift14:09
*** antwash has left #openstack-swift14:13
*** nikivi has quit IRC14:20
*** bjolo has quit IRC14:21
*** Jeffrey4l_ has quit IRC14:22
*** Jeffrey4l_ has joined #openstack-swift14:23
*** nikivi has joined #openstack-swift14:36
*** manous has quit IRC14:36
*** david-lyle has quit IRC14:37
*** david-lyle has joined #openstack-swift14:38
*** nikivi has quit IRC14:39
openstackgerritChangBo Guo(gcb) proposed openstack/swift: Add unit test content  https://review.openstack.org/35344414:51
openstackgerritChangBo Guo(gcb) proposed openstack/swift: Add test_long_names in the test_account and test_container  https://review.openstack.org/36862714:51
*** acoles is now known as acoles_14:51
openstackgerritChangBo Guo(gcb) proposed openstack/swift: simplify code  https://review.openstack.org/35585814:52
*** dmorita has joined #openstack-swift14:55
*** sgundur has joined #openstack-swift14:58
*** jaakkos has quit IRC14:58
*** jaakkos has joined #openstack-swift14:58
*** sgundur has quit IRC14:59
*** dmorita has quit IRC14:59
openstackgerritMerged openstack/swift: Improve functional tests and test client  https://review.openstack.org/37645515:06
*** jordanP has quit IRC15:24
*** ChanServ sets mode: +v tdasilva15:24
*** klrmn has joined #openstack-swift15:24
*** nadeem has joined #openstack-swift15:25
*** sgundur has joined #openstack-swift15:26
*** nadeem has quit IRC15:26
*** nadeem has joined #openstack-swift15:27
*** hseipp has quit IRC15:28
notmynamegood morning15:31
*** acoles_ is now known as acoles15:34
*** chsc has joined #openstack-swift15:35
*** chsc has joined #openstack-swift15:35
*** klrmn has quit IRC15:35
notmynamerledisez: thanks for publishing that patch. I definitely want to associate it with the bug and see what we can get landed upstream15:37
*** silor has joined #openstack-swift15:38
*** mvk has quit IRC15:39
notmynametdasilva: timburke: kota_: saw some scrollback in a different channel about the pyeclib release. not sure what's going on or if there are any problems. but I asked fungi to come in here and help explain15:40
notmynameacoles: did you look at rledisez's patch for EC?15:41
tdasilvanotmyname: was it in #openstack-infra?15:42
notmynameno, one of the meeting channels15:43
*** fungi has joined #openstack-swift15:46
notmynamehi fungi15:46
notmynamethanks for dropping by15:46
fungihowdy! for some reason i realized i hadn't put this on autojoin15:47
notmynamefungi: I wanted to ask you about the pyeclib thing you were talking about. and in here so kota_ timburke and tdasilva could all see it too (despite tz differences)15:47
notmynameso, what's up with pyeclib?15:47
fungiexcellent--i wanted to hunt someone down about it15:47
notmynamethis is the place15:47
notmynameI tagged a release yesterday for it15:48
notmynamebut it didn't get pushed to pypi15:48
fungisdists weren't built properly for their releases, i'm just now getting back to analyzing the log from it15:48
notmynamebut it's on tarbals.o.o15:48
fungimost likely reason is an invalid trove classifier. pypi will reject uploads with metadata it doesn't recognize15:48
notmynamehmm15:48
notmynameI didn't change any of that since the last 1.2.1 release15:49
notmynamewhich is on pypi15:49
fungiaha, no it looks like we have an assumption baked into the signing script that it will be able to parse the package name out of setup.cfg15:50
fungiwe probably just need a fallback in that, and then i can retrigger the job15:50
fungii'm looking real quick to see how we should go about inferring package names (e.g. from the repo name perhaps)15:51
fungifor situations where there's no setup.cfg in the repo15:51
clarkbalso we want to not make a wheel for it I think15:51
clarkbsince it links against liberasurecode15:52
notmynamefungi: FWIW, the history is that pyeclib was written (and used) outside of openstack, used by swift most prominently, original authors don't have a lot of time, so we moved it under openstack/* to allow corps to contribute to it. but it's not "official" because C, and the TC seems hostile to that. so it hasn't been pbr-ified or anything. (same story for liberasurecode)15:52
fungiclarkb: is linking the wheel against liberasurecode an issue?15:53
*** cbartz has left #openstack-swift15:53
fungido we obtain it from somewhere weird or something?15:53
funginot distro packages?15:53
onovydistro packages is here15:53
onovy(debian)15:53
clarkbfungi: it is becuse wheels have no way to specifythat dep15:53
clarkbso when someone installs that whrel.chances are it willbe broken for them15:53
clarkbunless on the same distro as our wheelbuilder15:54
fungiclarkb: well, that's the case for a lot of wheels on pypi though15:54
clarkbwe want to force them to build from an sdist and do linking on their side15:54
fungioh, i get you15:54
fungiwe should avoid building and uploading wheels that aren't pure python15:54
fungiright15:54
clarkbyup15:54
clarkbsdist is fine15:54
fungiunless we get onboard with the rarified linux built set or whatever it is for that pep15:55
fungis/built/build/15:55
clarkbya which liberasure code isnt part of15:55
clarkbthat env is very limited15:55
fungi"manylinux" that's what it was called15:55
fungiright-o15:55
fungiokay, so i believe we do have a job that only builds sdists and no wheels we can swap into the layout for this repo15:56
fungii'll look at that once i get the signing script patched to guess a distname when there's no setup.cfg15:56
notmynameplease let me know what we need to do on the pyeclib side15:57
fungialso, we aren't uploading signatures to pypi (since that feature is going away) so we should be able to make the pypi upload not dependind on the signing job15:58
fungiahh, it's already that way15:58
fungiso the signing job failure shouldn't have prevented the pypi upload. checking the other log now15:58
fungiaha!15:59
fungithe sdist builds a tarball with a mixed-case name16:00
fungiand since there's no setup.cfg, the pypi upload job doesn't know how to find the proper distname so it falls back to trying to base it on the distro name16:00
fungier, base it on the repo name16:00
notmynamedoes that come from https://github.com/openstack/pyeclib/blob/master/setup.py#L174 ?16:00
acolesnotmyname: I haven't had chance to study rledisez's patch yet but I did bookmark it16:00
notmynameacoles: thanks16:00
fungicompare https://tarballs.openstack.org/pyeclib/ with http://git.openstack.org/cgit/openstack/pyeclib/tree/16:01
fungier, with http://logs.openstack.org/c0/c0010b425247fa75a0c69c9201629d8ad8c635c3/release/pyeclib-pypi-both-upload/4914907/console.html16:01
notmynameya, the 404s16:01
fungiwe're looking for https://tarballs.openstack.org/pyeclib/pyeclib-1.3.0.tar.gz and the job doesn't know that pyeclib builds https://tarballs.openstack.org/pyeclib/PyECLib-1.3.0.tar.gz16:01
funginotmyname: yeah, that's the setup(name='PyECLib', in setup.py16:02
notmynamefungi: that's where the mixed case comes from?16:02
acolesnotmyname: I'm OOO Monday but will try to take a look at it next week16:02
funginotmyname: right16:03
fungibasically since the upload node has our project credentials for pypi on it, we can't safely execute setup.py for projects to find out their distro name spelling/case16:03
notmynameok16:04
notmynameanything you'd worry about breaking by changing that name?16:04
funginormally we look it up in setup.cfg, which most of our packages use because of pbr needing it, and then the fallback for non-pbr-using packages is to assume the dist name matches teh repo name16:04
funginotmyname: it shouldn't break anything at all. pypi already normalizes all upper case to lower case and all punctuation to -16:04
notmynameack16:05
fungiso it's a cosmetic change16:05
fungihowever, since it's a change to the repo, it'll need a new release tagged with that merged16:05
fungilooking now at what we need to do to the layout to only build/upload sdists and not wheels16:06
notmynameya. working on that now16:06
notmynameand because it's not using pbr, I can't use the 1 feature of pbr that I like: tag-based versioning :-(16:07
*** rcernin has quit IRC16:08
fungihrm, actually the versions we have are for uploading only wheels (from the old prereleases are wheel-only days) and uploading both sdists and wheels. the tarball job also seems to build both tarballs and wheels. this will probably need a little deeper surgery16:08
funginotmyname: anyway, to test that the tarball will end up lower-case, before you tag it, run `tox -e venv python setup.py sdist` and then look at the tarball it creates16:10
notmynamefungi: does that look right? https://review.openstack.org/38042416:10
patchbotpatch 380424 - pyeclib - Updated name in setup.py to work with release tool...16:10
notmynamehmm...bot didn't report that. is openstackbot ok?16:10
fungipatchbot reported it16:10
notmynamebecause I pasted the URL. normally it reports via openstackbot like normal16:11
notmynameanyway...separate issue16:11
notmynamefungi: pulling up my VM now to build the sdist16:11
fungiyeah, looks right to me16:12
fungiyeah, i don't have liberasurecode on my distro apparently16:12
notmynamefungi: "venv: commands succeeded"16:13
fungiaha, -dev16:14
funginotmyname: look in the new dist/ directory16:14
fungii see pyeclib-1.3.1.tar.gz now16:14
notmyname$ ls16:14
notmynamepyeclib-1.3.1.tar.gz16:14
notmynamesame here16:14
notmynameso that's what's supposed to be there?16:14
fungiwhich looks like how the pypi upload job expected to find the tarball16:14
fungiyep16:15
notmynameanything else to do before tagging, then?16:15
fungiwithout your patch it was creating PyECLib-1.3.0.tar.gz16:15
*** rledisez has quit IRC16:16
notmynametdasilva: you follow? ^16:16
*** sgundur has quit IRC16:16
fungiyou should be safe to tag. clarkb's concern about the wheels should be less urgent since the upload job isn't going to find it anyway with -cp27-cp27mu-linux_x86_64 for the architecture16:16
clarkbthat may cause the job to fail though16:17
fungiclarkb: no, we have lots of projects that don't build wheels at all, so the upload script knows to just skip wheel uploads if it can't find one16:17
notmynameI can hold off on panding that patch and tagging, if needed16:17
tdasilvanotmyname: following, just wondering if we do need 1.3.1?16:18
fungiand it won't find these because they're named with an arch it won't know to look for16:18
tdasilvacan't we just re-tag 1.3.0? is that really bad?16:18
tdasilvaespecially since it didn't make to pypi16:18
fungitdasilva: yeah, deletion/replacement of git tags doesn't propagate except via push16:18
tdasilvanot that it's a big deal16:18
notmynametdasilva: code change upstream means we should bump the rev number16:18
*** mingyu has quit IRC16:18
fungiso people who already pulled the old tag (including our release automation) won't know to pull the replacement tag if it has the same tag name16:19
tdasilvafungi, notmyname : ok16:19
notmynametorgomatic keeps telling me we won't run out of version numbers ;-)16:20
fungiyep, and in general reusing tags in a public git repo is bad hygiene16:20
*** hseipp has joined #openstack-swift16:21
*** sgundur has joined #openstack-swift16:22
fungialso, our signing job already had the same fallback i was talking about adding, i just didn't read down far enough. it reuses the same retrieval logic as the pypi upload job. so the name lower-casing should now cause both of those jobs to work16:23
notmynameclarkb: are you ok with me landing the patch and tagging, or is there other stuff that needs to happen first?16:23
fungi(meaning we'll also see a detached signature for the 1.3.1 sdist appear on tarballs.o.o)16:23
clarkbnotmyname: if fungi is happy then I am too16:23
notmyname:-)16:23
notmynamewords to live by?16:23
clarkbindeed16:24
clarkbbut also I just walkes into an openstackday (seattle) so distracted16:24
fungiclarkb: yeah, i think in the long term we need an sdist-only version of the tarball job, but for now the wheels for this are only "published" to tarballs.o.o (and won't even have a signature with them)16:24
fungiwe're sort of saved by the fact that our jobs assume you either have a pure python wheel or no wheel at all16:25
notmynamefungi: clarkb: thanks for your help this morning16:25
funginotmyname: happy to help! sorry this took you by surprise, and took as much time to track down16:25
notmynameno worries16:26
fungii have a feeling previous releases were manually uploaded, because i don't see any earlier tarballs on tarballs.o.o16:26
openstackgerritMerged openstack/pyeclib: Updated name in setup.py to work with release tooling.  https://review.openstack.org/38042416:26
tdasilvanotmyname: we should get fungi some beer or sangria in barca ;)16:27
fungiwe don't make a habit of removing files from there, and our pypi upload automation (as you've seen) relies on them being there16:27
fungitdasilva: i have a feeling there will be no shortage, but thanks16:27
fungii'm always happy to grab a drink with such awesome colleagues16:28
notmynamedone. patch landed. tag pushed16:28
notmynamepost-tag job should be in zuul now16:29
tdasilvafungi: thanks for your help :)16:29
fungirelease jobs are running for it now16:30
fungiit's on tarballs.o.o now, looks right so far16:31
fungifound the right tarball and is uploading to pypi16:31
notmynameand there it is https://pypi.python.org/pypi/PyECLib16:31
fungiyep16:32
fungialso there's a pyeclib-1.3.1.tar.gz.asc (detached openpgp signature) showing on https://tarballs.openstack.org/pyeclib/ now16:32
fungiso looks like the stuff we expected to work worked this time16:33
fungidon't hesitate to let me or someone in #openstack-infra know if you spot any other issues you think might be related, but i believe you're all set now16:33
notmynametdasilva: we should bump global requirements to have >=1.3.116:34
tdasilvawhy did all the text from the README disappear from https://pypi.python.org/pypi/PyECLib ?16:35
*** sgundur has quit IRC16:36
*** sgundur has joined #openstack-swift16:37
*** dmorita has joined #openstack-swift16:40
tdasilvanotmyname: are you planning on making a new cut for newton?16:44
tdasilvawith the 1.3.1 requirement?16:44
*** sgundur has quit IRC16:44
notmynameno16:58
notmynameand no idea on why the README isn't seen any more16:58
*** klrmn has joined #openstack-swift17:01
*** acoles is now known as acoles_17:05
fungithe readme needs to be included in the metadata at upload17:10
fungii'm familiar with how we configure that in setup.cfg, there's probably some analog in straight setup.py structures17:10
fungiin setup.cfg we set, e.g., metadata.description-file = README.rst17:11
*** nadeem has quit IRC17:11
fungilooks like that's semi-automated by pbr (sucking a file's contents into the description parameter), and the pypa example shows implementing it in setup.py like this: https://github.com/pypa/sampleproject/blob/master/setup.py#L1617:14
fungitdasilva: notmyname: ^17:14
*** nadeem has joined #openstack-swift17:15
fungibasically extract the content from the readme file and then pass it as a string in the long_description parameter to setup()17:15
fungishould be fairly straightforward17:16
*** mingyu has joined #openstack-swift17:19
*** mvk has joined #openstack-swift17:23
*** mingyu has quit IRC17:24
*** amoralej is now known as amoralej|off17:31
*** tqtran has joined #openstack-swift17:32
*** tongli has quit IRC17:47
notmynametdasilva: how can we track updating the README in pyeclib? ie I'm not going to work on that right at this minute, but it's somethat needs to be done? bug in LP? any other dieas?17:50
notmynametdasilva: https://bugs.launchpad.net/pyeclib/+bug/162940717:54
openstackLaunchpad bug 1629407 in PyECLib "fix readme for pypi publishing" [Undecided,New]17:54
*** nadeem has quit IRC17:57
*** lhx_ has quit IRC17:59
notmynamehttps://bugs.launchpad.net/swift/+bug/1629410  <-- update dependency version18:03
openstackLaunchpad bug 1629410 in OpenStack Object Storage (swift) "update pyeclib dependency to >=1.3.1" [Medium,New]18:03
*** geaaru has quit IRC18:04
*** sgundur has joined #openstack-swift18:12
*** nikivi has joined #openstack-swift18:17
*** nikivi has quit IRC18:18
*** hseipp has quit IRC18:18
*** nikivi has joined #openstack-swift18:19
*** hseipp has joined #openstack-swift18:19
*** hseipp has quit IRC18:19
*** nikivi has quit IRC18:19
tdasilvanotmyname: assigned the pyeclib to me18:23
tdasilvanotmyname: i'm also wondering if we should go ahead and create a setup.cfg file? and organize things more like we have in swift18:24
tdasilva?18:24
notmynameit's not a bad idea18:31
* notmyname needs to step about a bit18:32
*** arch-nemesis has joined #openstack-swift18:40
*** MVenesio has joined #openstack-swift18:50
*** aswadr_ has quit IRC18:52
* MooingLemur drops a bit for stepping about.18:58
clayglol19:00
claygam I missing something? this line is duplicated bs right -> https://github.com/openstack/swift/blob/29516db36e2707fe195db5fc13d07e801d92e5b2/swift/common/ring/utils.py#L62719:12
timburkeclayg: seems to be19:13
*** openstackgerrit has quit IRC19:18
*** openstackgerrit has joined #openstack-swift19:19
openstackgerritClay Gerrard proposed openstack/swift: Remove unneeded line from ring.utils.dispersion_report  https://review.openstack.org/38051819:19
*** cdelatte has quit IRC19:22
*** cdelatte has joined #openstack-swift19:32
claygi feel like I've never really been able to install swift on my mac since we added pyeclib - this makes it really annoying if you want to re-use code from swift's utils in other projects - e.g. common.ring :\19:36
claygon one hand it's probably good since we don't really want swift utils to be consideres generally suitable to use as a library - OTOH, something like the builder/ring code is really useful in contexts outside of swift procsses19:37
*** sgundur has quit IRC19:37
tdasilvaclayg: break swift in separate repos ;)19:38
clayge.g. the machine you run `swift-ring-builder` on has no expectation of being "in" the cluster beyond the fact that you can't get it installed anywhere that doesn't already have pyeclib on it19:38
claygI think this is a bit of a mistake/tragedy - un-intended consequence - maybe not the end of the world - but less than ideal19:38
claygtdasilva: your winky makes it seem like that's not the obvious solution19:38
claygtdasilva: another option is to try and make swift the python code "installable" without some dependencies - pyeclib as a depends could be moved into a 'swift-storage-policy-ec' plugin - it's less obvious what's appropriate for libffi/xattrs (some what easier to get installed with brew)19:40
tdasilvaclayg: of course i was just joking, but i do agree that it is unfortunate, although i never realized that until now.19:43
*** sgundur has joined #openstack-swift19:44
*** admin6 has quit IRC19:44
claygmeh, i'm not sure my swift-ring-builder example is really that great - i think i'm mostly just being bitter about living with my own bad life choices - stupid apple.19:51
*** niknakpaddywak has quit IRC19:53
*** tdasilva has quit IRC20:06
*** dmorita has quit IRC20:27
*** dmorita has joined #openstack-swift20:30
*** Jeffrey4l_ has quit IRC20:35
*** sgundur has quit IRC20:36
*** sgundur has joined #openstack-swift20:37
*** silor has quit IRC20:37
*** tdasilva has joined #openstack-swift20:40
*** sgundur has quit IRC20:43
*** sgundur has joined #openstack-swift20:44
*** MVenesio has quit IRC20:45
*** mingyu has joined #openstack-swift20:57
*** mingyu has quit IRC21:02
openstackgerritMerged openstack/swift: Remove unneeded line from ring.utils.dispersion_report  https://review.openstack.org/38051821:03
*** cdelatte has quit IRC21:04
clayghow confused does the ring get if you say r1z1 and r2z1 - those are different zones (1, 1) and (2, 1) a device['zone']'s id is not expected to be unique?21:28
*** admin6 has joined #openstack-swift21:46
*** nadeem has joined #openstack-swift21:53
*** admin6 has quit IRC21:56
*** jamielennox|away is now known as jamielennox21:59
*** geaaru has joined #openstack-swift22:17
*** vint_bra has quit IRC22:24
*** sgundur has quit IRC22:29
torgomaticshouldn't get confused at all; (1, 1) and (2, 1) are different tuples22:34
*** arch-nemesis has quit IRC22:34
torgomaticit's confusing for humans, so you probably shouldn't do it ;) but I believe the ring code will work just fine22:34
*** geaaru has quit IRC22:40
openstackgerritJohn Dickinson proposed openstack/swift: Update test-requirements.txt  https://review.openstack.org/36527122:46
openstackgerritMerged openstack/swift: Use ConfigParser instead of SafeConfigParser  https://review.openstack.org/36861722:52
*** nadeem has quit IRC23:18
*** chsc has quit IRC23:27
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873623:28
*** sgundur has joined #openstack-swift23:44
*** mingyu has joined #openstack-swift23:47
*** furlongm has quit IRC23:50
*** sgundur has quit IRC23:50
*** sgundur has joined #openstack-swift23:51
*** mingyu has quit IRC23:51
*** furlongm has joined #openstack-swift23:52

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