Friday, 2014-02-14

*** kragniz has quit IRC00:02
notmynamejeblair: doesn't look like it got re-enqueued to the gate queue00:02
notmynamejeblair: https://review.openstack.org/#/c/69187/00:02
notmynamejeblair: a re-approval should kick it in now, right?00:03
*** kragniz has joined #openstack-swift00:03
jeblairnotmyname: yep, that's the bug.  another approval should get it.00:03
notmynamejeblair: thanks. got it00:04
openstackgerritSamuel Merritt proposed a change to openstack/swift: Fix GETs of SLOs and DLOs with If-Modified-Since  https://review.openstack.org/7344800:05
*** mkollaro has joined #openstack-swift00:14
*** booi has joined #openstack-swift00:21
*** mdonohoe has joined #openstack-swift00:35
*** markd has quit IRC00:38
openstackgerritA change was merged to openstack/swift: Don't create bin/* files magically  https://review.openstack.org/7303700:41
openstackgerritA change was merged to openstack/python-swiftclient: Port to python-requests  https://review.openstack.org/6918700:41
torgomaticnotmyname: looks like it's time to tag swiftclient?00:42
notmynametag time00:42
notmynameyup doing it now. and I'll send an email either tonight or tomorrow00:42
torgomaticcool00:42
notmyname0c7264c21d06d37de5db0beee677c4e026dc8f45 is 1.900:43
notmyname19d7e1812a99d73785146667ae2f3a7156f06898 is 2.000:43
notmynametorgomatic: can you confirm that those commit SHAs look right?00:46
notmynameas the tag locations00:46
notmynamejeblair: still around?00:49
torgomaticnotmyname: yeah, those look right00:50
notmynametorgomatic: thanks00:50
notmynamejeblair: clarkb: FYI I'll be pushing tags for python-swiftclient momentarily for versions 1.9 and 2.0. We do not anticipate than any other project depending on python-swiftclient will be affected (ie I don't think they are relying on any feature that changed), but I will check in the morning to see if anything got flagged00:51
notmynametags pushed. waiting for zuul to pick it up and do the pypi push00:53
notmynamemordred: FYI too ^^00:53
notmynamethere it is https://pypi.python.org/pypi/python-swiftclient/1.9.0 and https://pypi.python.org/pypi/python-swiftclient/2.000:54
torgomaticjust in time for web 3.100:55
*** mkollaro has quit IRC01:00
*** shri has quit IRC01:12
openstackgerritSamuel Merritt proposed a change to openstack/swift: Merge remote-tracking branch 'upstream/master' into feature/ec  https://review.openstack.org/7347101:39
torgomaticmerge ahoy!01:39
*** nosnos has joined #openstack-swift01:39
torgomaticThis one was actually quite easy, which was nice. Still a few conflicts, but they were all pretty simple to resolve.01:40
*** jergerber has quit IRC01:42
*** csd has quit IRC02:06
*** zul has quit IRC02:12
*** rongze has joined #openstack-swift02:28
luisbgtorgomatic, hi. why do you have to ask Jenkins if the commit was approved?02:35
torgomaticluisbg: that commit *should* have gone in the gate queue on its own, but it didn't, so I hit +1 Approved on it in hopes of moving it along02:35
torgomaticthe text was just to let folks know that I was poking at Jenkins02:36
luisbgtorgomatic, ahhh, it's going to miss the tag time by very little :P02:36
torgomaticluisbg: well, that was a python-swiftclient tag anyway, not swift, so it doesn't matter for this02:36
luisbgtorgomatic, oh, got it02:36
luisbgtorgomatic, thanks for the +1 approve to push it again02:37
torgomaticno problem02:37
*** rongze has quit IRC02:52
*** hurrican_ has joined #openstack-swift02:57
*** hurricanerix has quit IRC03:00
*** hurrican_ has quit IRC03:01
*** csd has joined #openstack-swift03:06
luisbgtorgomatic, now the jenkins build failed? weird03:09
*** vkdrao has joined #openstack-swift03:17
*** csd has quit IRC03:17
*** gyee has quit IRC03:26
*** csd has joined #openstack-swift03:42
*** CrackerJackMack has quit IRC03:49
*** CrackerJackMack has joined #openstack-swift03:50
*** vkdrao has quit IRC03:51
*** chandan_kumar has joined #openstack-swift04:11
*** lpabon has quit IRC04:31
*** saju_m has joined #openstack-swift04:39
*** dmorita has joined #openstack-swift04:41
*** chandan_kumar has quit IRC04:52
*** chandan_kumar has joined #openstack-swift05:14
*** basha has joined #openstack-swift05:14
bashazaitcev: there?05:15
zaitcevbasha: somewhat05:15
*** yuan has joined #openstack-swift05:16
*** csd has quit IRC05:23
*** csd has joined #openstack-swift05:24
*** csd_ has joined #openstack-swift05:25
*** nshaikh has joined #openstack-swift05:28
*** csd_ has quit IRC05:29
*** csd has quit IRC05:29
*** csd_ has joined #openstack-swift05:29
*** csd_ has quit IRC05:36
*** zackf has quit IRC05:39
notmynamehmm..how do you feel about a python-swiftclient 2.0.105:49
*** chandankumar_ has joined #openstack-swift05:54
*** saju_m has quit IRC05:58
*** chandankumar_ has quit IRC06:00
torgomaticnotmyname: what broke?06:01
notmynametorgomatic: glad you're up. looks like the cert validation for v1 auth doesn't plumb through the insecure parameter. my mistake for not catching that earlier06:01
notmynamehttps://gist.github.com/notmyname/b249a2a4dd9dd39b68f2  <-- current WIP patch. working on the test case now (that's not passing)06:02
torgomaticwell, that should be a straightforward fix at leeast06:02
notmynametorgomatic: ya, but it seems we don't have a "fake v1.0 endpoint" for testing at all06:07
*** basha has quit IRC06:09
*** basha has joined #openstack-swift06:10
notmyname...progress...maybe...06:14
*** chandan_kumar has quit IRC06:15
torgomaticnotmyname: you might consider something like this https://gist.github.com/smerritt/899661306:25
torgomaticsame code you have, but a test that seems to pass/fail depending on if the code is there or not06:25
notmynameya, but it just tests that "insecure" was passed, right? it doesn't test if that actually works. see the v2 tests06:26
notmynamehttps://gist.github.com/notmyname/e6b422b230072091ef06 <<-- almost there, I think. but this also adds some better faking of a v1 endpoint06:27
notmynamethe only thing I'm missing right now is when to raise the client exception. the v2 stub does that based on auth_url.endswith06:28
torgomaticeh, those just look at kwargs['insecure'] and the path component of the auth URL06:28
torgomaticsix of one, half dozen of the other IMO06:28
torgomaticbut then, I haven't been in the client code much at all lately06:28
notmynameswifterdarrell: FYI current options for tests ^^06:30
*** chandan_kumar has joined #openstack-swift06:32
openstackgerritSamuel Merritt proposed a change to openstack/python-swiftclient: Only run flake8 on swiftclient code  https://review.openstack.org/7350706:36
notmynametorgomatic: I'm currently looking for the place to put in auth_url path detection in the v1 auth connection06:36
swifterdarrellnotmyname: the question is how to get those ClientExceptions in the right places?06:36
notmynameya, exactly06:37
notmynamewe have a fake conneciton object. and get_auth_v1 calls .request() on it. but I don't see where that goes yet06:37
notmynameah, i think I know where it goes06:39
swifterdarrellnotmyname: maybe stub out get_auth_1_0 a la the way get_keystoneclient_2_0 is stubbed out for testing?06:43
swifterdarrellnotmyname: that'll get you plumbing coverage, at least, but not the bits inside get_auth_1_0 i guess06:44
swifterdarrellnotmyname: but even there, you just need plumbing to prove the insecure flag is passed into http_connection06:45
swifterdarrellnotmyname: while you're in there, can you update Connection.__init__'s docstring for "insecure"?06:47
swifterdarrellnotmyname: it only mentions Keystone, which is no longer fully accurate06:47
notmynamek06:47
notmynamecurrent rev https://gist.github.com/notmyname/fa0822ef9558f112446206:47
zaitcevI missed that part about v1 either, but honestly I was somewhat demoralized and note reviewing anything properly for days06:48
zaitcevs/ note / not /06:48
notmynameswifterdarrell: done06:49
zaitcevthat gist looks reasonable at first look06:49
notmynamehttps://gist.github.com/notmyname/d3f07ab9f39c30421f1506:49
zaitcevI'm going to go cry myself to sleep now06:49
notmynamezaitcev: tests don't pass yet :-)06:49
swifterdarrellnotmyname: thx06:50
notmynameswifterdarrell: good catch06:50
swifterdarrellzaitcev: lol06:50
notmynamelast test still fails. not raising the exception06:51
swifterdarrellnotmyname: isn't the logic backward on line 117?06:53
swifterdarrellif insecure_ok, why raise exception?06:53
notmynamewhat fine?06:53
notmynamethanks06:54
swifterdarrellnotmyname: OTOH, wouldn't it be    "self.insecure_ok = insecure" in the __init__?06:55
notmynameI think I see where my problem is06:56
notmynamehttps://gist.github.com/notmyname/a849babc2fe8a1dd1acb but self.insecure_ok is always None07:02
notmynamechmouel: I see you doing LP stuff (emails gave you away). are you here?07:04
chmouelnotmyname: hey there07:04
notmynamechmouel: read traceback please07:04
notmyname*playback07:04
chmouelauthurl detection?07:05
notmynamechmouel: insecure isn't honored for v1 auth07:05
chmouellet me test07:07
*** chandan_kumar has quit IRC07:18
chmouelok i can reproduce and i think the fix should be easy07:18
openstackgerritChmouel Boudjnah proposed a change to openstack/python-swiftclient: Fix insecure  https://review.openstack.org/7351207:19
chmouelnotmyname: any chance to test if that works for you ^07:20
*** chandan_kumar has joined #openstack-swift07:21
openstackgerritYuan Zhou proposed a change to openstack/python-swiftclient: Fixes segmented uploading to non-default storage policy container  https://review.openstack.org/7351307:21
notmynamechmouel: I think that's different from what I saw. I wasn't messing with cacert bundles at all07:25
notmynamebut no tests ;-)07:25
*** saju_m has joined #openstack-swift07:25
chmouelyeah was just up for testing :)07:26
chmouelnotmyname: works for me with my patch and your patch07:30
notmynameI think I got it07:32
notmynametook too long because it's too late ;-)07:32
chmouelheh and me it's too early ;-)07:32
openstackgerritJohn Dickinson proposed a change to openstack/python-swiftclient: Fix --insecure option on auth v1  https://review.openstack.org/7351707:33
notmynameswifterdarrell: torgomatic: chmouel: can you take a look?07:33
notmynamechmouel: I didn't add your cacert one07:33
chmouelnotmyname: the cacert fix with 2.0 8-)07:34
notmynamechmouel: ah, is there something broken there too?07:34
notmyname?!?!07:34
chmouelnotmyname: with the CLI yeah07:34
notmynameugh07:34
chmouelthat slipped in during the review iterations :(07:35
chmouelwe need some functional tests for https i think07:35
chmouelwonder if we can use portante self serving test for that07:36
notmynameswifterdarrell: torgomatic: chmouel: I'll add in the cacert to my patch too07:36
chmouelcool tks will abandon the other one07:36
torgomaticnotmyname: seems to work as expected for v107:36
openstackgerritJohn Dickinson proposed a change to openstack/python-swiftclient: Fix --insecure option on auth  https://review.openstack.org/7351707:37
chmouelnotmyname: is that needed https://review.openstack.org/#/c/73517/1/tests/utils.py ?07:39
notmynamechmouel: a drive-by to check more than "auth didn't blow up"07:40
notmynamechmouel: but no, not technically needed for this patch. I didn't like the assertEquals(url, None) lines though07:40
notmynameespecially when v2 is actually testing a dummy return (as is right, IMO)07:41
chmouelcool make sense07:41
torgomaticalright, sleep time07:41
notmynametorgomatic: thanks :-)07:42
notmynameswifterdarrell: thanks07:42
notmynamechmouel: thanks :-)07:42
notmynamechmouel: go ahead and merge07:43
notmynamethen I'll tag07:43
notmyname2.0.107:43
chmouelnotmyname: thanks to you sorry that slipped in will see how we can do functional tests for SSL07:43
chmouelnotmyname: done07:43
notmynamethanks07:44
notmynameya. we've got to not let this happen07:44
notmynameI'll fully accept responsibility for the rush tonight on it, since I'm the one who merged the requests port this afternoon07:44
chmoueli am the one who was pressing you :)07:45
chmouelpresurring07:45
chmouelanyway coffee now :)07:45
openstackgerritA change was merged to openstack/python-swiftclient: Fix --insecure option on auth  https://review.openstack.org/7351707:57
*** mkollaro has joined #openstack-swift08:04
*** bvandenh has joined #openstack-swift08:22
*** xga has joined #openstack-swift08:23
*** mmcardle has joined #openstack-swift08:53
*** basha_ has joined #openstack-swift08:53
*** basha has quit IRC08:56
*** basha_ is now known as basha08:56
*** nacim has joined #openstack-swift08:57
*** xga_ has joined #openstack-swift09:07
*** xga has quit IRC09:07
tristanCsorry guys about that swift authentication that wasn't covered. Many thanks for the fix!09:08
*** joeljwri1 has joined #openstack-swift09:26
*** joeljwri1 has quit IRC09:29
*** joeljwright has joined #openstack-swift09:29
*** ppai has joined #openstack-swift09:31
tristanCAbout SSL functional tests, do you know where does belong ? I'm not sure how to reconfigure proxy-server with different certs and run tests against it...09:33
*** nshaikh has quit IRC09:38
*** fbo_away is now known as fbo09:38
*** foexle has joined #openstack-swift09:38
*** kris_ha has joined #openstack-swift09:43
*** xga_ has quit IRC09:44
*** xga has joined #openstack-swift09:44
*** dmorita has quit IRC09:46
*** saju_m has quit IRC09:51
*** kris_ha is now known as kris_h09:52
saurabh_I have a question---> how does swift monitor it's services?09:52
*** nshaikh has joined #openstack-swift10:04
*** Midnightmyth has joined #openstack-swift10:06
*** nacim has quit IRC10:07
*** mmcardle has quit IRC10:14
*** mmcardle has joined #openstack-swift10:16
*** nosnos has quit IRC10:21
*** nacim has joined #openstack-swift10:22
*** ccorrigan has joined #openstack-swift10:26
*** kragniz has quit IRC10:33
*** basha has quit IRC10:35
*** kragniz has joined #openstack-swift10:40
*** joeljwright has quit IRC10:41
*** joeljwright has joined #openstack-swift10:41
*** joeljwright has joined #openstack-swift10:41
*** joeljwright has quit IRC10:42
*** joeljwright has joined #openstack-swift10:42
*** joeljwright has quit IRC10:42
*** joeljwright has joined #openstack-swift10:43
*** joeljwright has quit IRC10:43
*** joeljwright has joined #openstack-swift10:43
*** joshwambua has joined #openstack-swift10:44
*** joeljwright has quit IRC10:45
*** joeljwright has joined #openstack-swift10:45
*** joeljwri1 has joined #openstack-swift10:51
*** joeljwri1 has quit IRC10:51
*** joeljwri1 has joined #openstack-swift10:51
*** joeljwright has quit IRC10:54
*** joeljwri1 has quit IRC10:56
*** joeljwright has joined #openstack-swift10:56
*** joeljwright has quit IRC10:59
*** joshwambua has quit IRC11:09
*** joeljwright has joined #openstack-swift11:11
*** xga has quit IRC11:13
*** joeljwright has left #openstack-swift11:16
*** joeljwright has joined #openstack-swift11:16
tristanChouston, we got a problem... swiftclient download is not right, it add data around the object11:21
*** xga has joined #openstack-swift11:22
*** nacim has quit IRC11:24
tristanCthe port to requests added --[hash]   Content-Disposition: form-data; name="file"; filename="file"11:25
tristanCaround the actual data :(11:25
*** mkollaro has quit IRC11:31
*** nshaikh has quit IRC11:43
*** chandan_kumar has quit IRC11:58
*** dmsimard has joined #openstack-swift12:01
openstackgerritTristan Cacqueray proposed a change to openstack/python-swiftclient: Remove multipart/form-data file upload  https://review.openstack.org/7358512:02
*** a1|away is now known as JelleB12:02
tristanCthe bug is referenced there: https://bugs.launchpad.net/openstack-ci/+bug/128007212:20
*** nacim has joined #openstack-swift12:39
*** derekh has joined #openstack-swift12:40
derekhhi, looks like python-swiftclinet is using up a lot more memory then it used to https://bugs.launchpad.net/tripleo/+bug/128027512:41
derekhanybody else seeing this?12:42
*** ppai has quit IRC12:43
tristanCderekh: there is also a corruption bug for swift upload12:44
derekhtristanC: thanks, I see there is a patch up for it, I'll try it out12:49
derekhtristanC: didn't seem to work for me, added comment to the review, I applied the patch on top of the swiftclient glance is using13:03
derekhtristanC: gotta pop out for an hour but if you want me to try anything when I come back let me know13:04
tristanCderekh: Thanks you very much13:04
tristanCI'm still looking for a workaround...13:06
*** mkollaro has joined #openstack-swift13:08
*** tdasilva has left #openstack-swift13:11
*** mmcardle has quit IRC13:20
*** Midnightmyth has quit IRC13:25
*** joeljwright has quit IRC13:30
*** annegentle has quit IRC13:32
*** joeljwright has joined #openstack-swift13:34
*** hurricanerix has joined #openstack-swift13:34
*** mmcardle has joined #openstack-swift13:54
*** bvandenh has quit IRC14:00
*** xga has quit IRC14:05
*** Midnightmyth has joined #openstack-swift14:09
*** annegentle has joined #openstack-swift14:14
*** xga has joined #openstack-swift14:28
*** xga has quit IRC14:36
notmynameI'm awake. what' going on?14:36
tristanChello14:37
tristanCnotmyname: the port to requests that have been merge add extra data to content, which appear as a corruption14:38
notmynamewhat extra data?14:38
tristanCContent-Disposition: form-data; name="file"; filename="test"14:38
tristanCwrapped around "--hash"14:38
tristanCthis I have fixed in https://review.openstack.org/7358514:39
tristanCbut now, there is another trouble, somewhere along the glance code path, "Transfer-Encoding: chunked" is being added to bulk upload14:39
tristanCso swift server try to decode the chunk length but there is only data there14:39
tristanCand now, we just found the root cause. https://github.com/kennethreitz/requests/blob/master/requests/models.py#L430   there you can see requests add the chunked encoding14:41
tristanCthe super_len method used is not able to find the length of a glance.common.utils.CooperativeReader14:42
notmynameis glance using chunked transfer encoding?14:43
tristanCno, it set content_length to put_object, so it assume swift will do a raw encoding14:43
*** xga has joined #openstack-swift14:45
*** byeager has joined #openstack-swift14:49
*** Trixboxer has joined #openstack-swift14:50
notmynametristanC: ok https://review.openstack.org/73585 works, in that I can run the CLI and see the change. but what about any tests?14:57
notmynameat this point I'm wondering about any sort of "undo", but I don't know if that's possible now14:57
openstackgerritTristan Cacqueray proposed a change to openstack/python-swiftclient: Remove multipart/form-data file upload  https://review.openstack.org/7358514:58
tristanCnotmyname: what do you mean ?15:02
*** xga has quit IRC15:02
notmynamehold that. I'm looking at the chunked thing now15:04
*** tdasilva has joined #openstack-swift15:05
openstackgerritTristan Cacqueray proposed a change to openstack/python-swiftclient: Remove multipart/form-data file upload  https://review.openstack.org/7358515:05
tristanCfor what it worth, that last patch fixes the gate.15:12
tristanCI guess it is now time for either revert the port or push this fix15:13
notmynameya, that's what I meant earlier15:14
*** tdasilva has quit IRC15:15
notmynamealso it seems that we have no (effective) tests for swiftclient right now. eg without your patch all tests pass. additionally, your patch doesn't add any tests to ensure that it doesn't get broken again15:16
notmynameeg that's what I had to do on on the auth thing last night15:16
*** krtaylor has quit IRC15:16
tristanCnotmyname: I understand, it have been a rough day for me seing the gate all broken and I worked hard to find a solution.15:17
*** krtaylor has joined #openstack-swift15:17
*** mtreinish has joined #openstack-swift15:19
notmynameI'm not trying to blame anyone (other than myself). just stating the state of things15:19
tristanCI now understand there wasn't any functional test on swiftclient and sadly there was an un-expected interaction with out glance used it15:19
notmynameya, and that lack of symmetric tests. which mtreinish has proposed15:19
notmynameso that issue is resolved15:19
notmyname*being resolved15:20
*** therve has joined #openstack-swift15:20
notmynameI'm not sure how realistic reverting the requests port is. or rather, we've already got the 2.X series public, so it's kinda hard to erase that from the internet15:21
tristanCit's a tough called, either we revert the port to requests, makes it more tested and merged with the symmetric tests, but then loosing certificate verification15:21
*** nshaikh has joined #openstack-swift15:21
notmynamethe symmetric tests are orthogonal15:22
tristanCoh yes, and that 2.x release15:22
notmyname(I thought fungi was coming in here--been waiting for him to be here to say stuff)15:22
* mordred is already here15:22
*** apevec has joined #openstack-swift15:22
notmynamek15:22
*** fungi has joined #openstack-swift15:23
mordredand there's fungi15:23
fungisorry, just catching up... so the current thinking is that 69187 is causing file corruption for glance's swift backing store in tempest tests (at least), and 73585 is the current proposed solution?15:23
notmynamefungi: mordred: one option is to freeze the openstack swiftclient version at 1.9 now15:23
notmynamewhile we get stuff sorted for 2.x15:24
mordredthat does not seem unreasonable to me15:24
notmynameI'm not sure how realistic "undoing" the 2.x release is15:24
notmynameie removing the tag and pulling off of pypi15:25
thervenotmyname, The gate seems to be using master in some places at least15:25
fungii believe we integration test with the master branches of all the official clients to (normally) prevent them from being able to release breaking changes (which 70378 would hopefully have ensured)15:25
notmynamebecause anyone who already got it won't be able to upgrate15:25
luisbgany core reviewers have one minute for a gerrit/jenkins question?15:25
notmynameluisbg: not now. in the middle of other stuff15:25
notmynameluisbg: try -dev or -101 for the time being15:26
luisbgnotmyname, no worries :) asking here to see if any other has time15:26
mordredhrm. well, (thinking out loud here)15:26
notmynametherve: should be what the requirements file is, right?15:26
mordredwe could push a 2.1 tag that's effectively the same as 1.915:26
mordrednotmyname: no - devstack uses master15:26
notmynamemordred: but that fully burns the entire 2.x series15:26
mordrednotmyname: you could still work on master and release a 2.215:27
fungido we think it was the 2.0 release which broke it, or the merging of 69187 to master?15:27
notmynamewell except that the change from 2.1 (non-requests) to 2.2 (requests redux) would have breaking CLI changes again, needing to bump the rev number15:28
mordrednotmyname: also, re therve, the devstack gate uses master15:28
mordrednotmyname: nod15:28
thervefungi, "It depends"? I think the merge broke devstack, but the release broke the gate15:29
notmynamefungi: if devstack is just using master, then it was that patch and not the 2.x release15:29
therveOr something like that15:29
zaitcevyeah, don't oscillate, please. So it's a zero-day bug in a x.0 release, big deal. You know how it was a rule in some shops never use Red Hat Linux x.0 anything, always wait for x.2. :-)15:29
mordredzaitcev: :)15:29
notmynamezaitcev: no. I don't want to do that15:29
notmynamemordred: fungi: so no way to use the "lastest stable" ie what's in requirements?15:30
mordrednot without patching devstack15:31
*** vkmc has joined #openstack-swift15:31
funginotmyname: we avoid that intentionally, so that clients don't release broken versions. the problem here, depending on how you look at it, is either that tempest was using swiftclient or that we weren't gating swiftclient changes on tempest15:31
*** vkmc has left #openstack-swift15:31
notmynamefungi: mordred: also, mtreinish's patch to make gates symmetrical, if that looks good, should probably go ahead and land. but only if we'll then be able to jump to the head of the queue for tristanC's patch15:31
fungii would also be okay entertaining a revert of the changes to tempest which started using swiftclient15:31
mordreddoes tristanC's patch fix the bug?15:32
notmynamefungi: that seems...significant15:32
notmynamemordred: I'm told so. but it has zero tests15:32
funginotmyname: it does, but no more significant than you reverting your release train15:32
tristanCmordred: it have been coocked in a hurry, it does fixes the upload corruption and glance failure, but it is dirty and have no tests15:32
mordrednod15:32
notmyname"lgtm" but I'm also the one who merged the requests port to start with :-/15:33
fungiso, we could land the change to symmetricify the gating, and then recheck 7358515:33
mtreinishfungi: that tempest revert wouldn't be so simple because of glance.15:33
notmynamefungi: ya, that's what I'm thinking too15:33
mordredas much as I don't normally think that solving a missing-tests related issue with another patch with no tests ... in this case it doesn't seem likely to make things worse15:33
fungimtreinish: oh, i didn't say i thought it would be trivial15:33
mtreinishfungi: it be more to change devstack to switch the glance backend15:34
notmynamemordred: just tests missing in a different place15:34
notmyname;-)15:34
fungimtreinish: got it15:34
mordredand just pushing forward with that seems like less outbound pain than the various revert strategies15:34
mtreinishthere is only one scenario test that uses swiftclient15:34
mtreinishI don't think its anywhere else in tempest15:34
* fungi approves 70378 since we can always rip it back out if it leaves us with no good path forward15:35
cschwedeI'm wondering why this wasn't catched in "check-swift-dsvm-functional" - looks like glance didn't use the patch during tests?15:35
notmynamefungi: when that lands, can you recheck https://review.openstack.org/#/c/73585/ with it?15:35
fungiyep. i'm hovering on it now15:36
notmynamecschwede: because swift doesn't use swiftclient any more. and the functests don't use glance AFAIK15:36
fungicschwede: right, the place we would catch this is in the jobs being added by 7037815:36
cschwedefungi: ah, ok, now i understand. thanks15:37
notmynamefungi: and then when/if that passes, we can land tristanC's patch to get the rest of the projects going again15:37
notmynamethen it's "just" our problem again for the tests15:37
notmynameie the tests of swiftclient15:37
cschwedenotmyname: well swiftclient is used in the tests: http://logs.openstack.org/85/73585/3/check/check-swift-dsvm-functional/3f5cbfe/logs/pip-freeze.txt.gz thats why i was wondering15:38
fungicschwede: it's installed, but may not actually be invoked for anything15:38
notmynamecschwede: probably just was in the requirements file somewhere? just not excercised?15:38
notmynameok, I see that it landed15:39
fungiyep, rechecking15:39
fungionce i confirm zuul got the reload15:39
notmynameso 45 minutes? ;-)15:40
notmynameto do the recheck15:40
fungiwell, we should see pretty quickly whether it's helping... i think the jobs were failing way more quickly than that15:40
fungii'm going to speed up zuul getting that updated layout.yaml15:40
notmynameok15:40
fungiLast reconfigured: Fri Feb 14 2014 15:42:18 GMT+0000 (UTC)15:42
fungirechecking now15:42
notmynameok, I see it going (and some queued jobs)15:43
fungiyeah, waiting for it to get devstack nodes assigned for the tempest jobs15:43
notmynameso that leaves 2 issues, in my mind:15:44
notmyname1) mordred: fungi: why can we only test master in the clients?15:44
funginotmyname: we need to test both master and most recent release15:44
notmyname2) tristanC: can you prioritize working on tests for swiftclient?15:44
funginotmyname: but we started out making sure we at least caught breaking changes before they got released this way15:45
tristanCnotmyname: absolutely yes15:45
mordrednotmyname: the gate is designed to test master of the projects against master of the other projects15:45
notmynametristanC: thanks.15:45
funginotmyname: we want to add most recent release version to a set of tests as well so we confirm that we don't release software which depends on other unreleased software, but that was a lower-priotity problem to solve15:45
notmynamefungi: ah, k15:45
mordredyah, what fungi said15:46
notmynamein a clear and eloquent manner :-)15:46
mordredhe's better with the wordface15:46
fungialso, if/when we get to the point of being able to gerrit review tags themselves, we can potentially run tests before allowing a tag to merge and trigger release machinery15:46
notmynameah, yes15:47
fungibut that depends on some additional gerriting we lack (probably more features we'd need to upstream)15:47
derekhwhile ye are deciding what todo is the extra memory usage I've seen related/important https://bugs.launchpad.net/tripleo/+bug/128027515:47
cschwedederekh: it's fixed with that patch also (at least in my tests)15:48
notmynamecschwede: do you have details? why is it fixed?15:48
derekhcschwede: ok, cool, thanks just wanted to double check15:49
tristanCnotmyname: the 'files' requests parameter was a bad move as it causes the file to be read in memory before being sent15:50
cschwedenotmyname: because if you use 'files={"file": contents}' as arg for requests it iterates over all files, building the data in memory15:50
notmynameoh, that's bad15:50
notmynamefungi: if tristanC updates the commit message to include a reference to the memory bug, then what happens to gate jobs?15:51
funginotmyname: tristanC: they'll get restarted15:51
funginotmyname: tristanC: but we can update the commit message prior to approving15:51
notmynameok. don't do that. we can add the reference manually in LP15:51
fungifor those following along, https://jenkins02.openstack.org/job/check-tempest-dsvm-full/9145/console15:56
notmynameok, while those check jobs are running, I'm going upstairs to get a cup of coffee15:56
* tristanC crosses fingers15:58
notmynameback15:59
notmynameat least I have good coffee. so I've got that going for me16:01
tristanCnotmyname: so, to be clear on swiftclient tests, should I mimic what is done on the swift server (ie: python-swiftclient/tests/functionnal) ?16:04
notmynametristanC: the existing unit tests seem to simply see that something was returned. not that the right thing was returned. we'll need functional tests too, but I'd like to see accurate unit tests first16:04
tristanCnotmyname: alright!16:06
*** ChanServ changes topic to "Current Swift Release: 1.12.0 | Priority Reviews: https://wiki.openstack.org/wiki/Swift/PriorityReviews | Channel Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/"16:07
notmynamefungi: networking issue on the check gate? https://jenkins02.openstack.org/job/gate-python-swiftclient-python26/326/console16:09
*** dhellmann has joined #openstack-swift16:09
*** Diddi has joined #openstack-swift16:10
fungiyarg16:11
fungiwe've been seeing dns resolution problems in rackspace of late. i think we want to install a caching resolver on our servers and prime it at the start of tests with a bunch of openstack.org subdomain records16:11
notmynamewell, that's not a confounding issue (yet). the py26 checks weren't in the question16:11
notmynameok16:12
notmynamefungi: it seems that one of the jobs I see failing is the -cells one. but that's not added to the swiftclient gate16:13
notmynameis that functionality covered in the others (from the swiftclient perspective)?16:13
funginotmyname: i think they're failing in the same way though. mtreinish should we gate swiftclient on cells jobs too? i think we set those voting after your initial change was proposed16:13
notmynameI'm not a fan of testing twice when it's just the same test (ie no new info), so if it's not needed that's fine16:14
mtreinishfungi: I'm not sure it adds anything here, it's nonvoting still I think16:15
fungimtreinish: no, it's voting on other projects now, but i think that happened just in the past week or so16:15
*** xga has joined #openstack-swift16:16
mtreinishoh if it's voting I guess we should add it then16:16
*** russellb is now known as rustlebee16:16
fungibut anyway, it's tangential to the current situation16:16
fungiso in positive news, the -full run is at this point well past where we were seeing errors on the failing runs, i believe16:20
notmynameya, and -neutron and -grenade seem to be nearly done too16:20
notmynameabout 10 minutes left on the run (that timer is great)16:21
*** tdasilva has joined #openstack-swift16:23
fungiif only it could be more accurate, but clouds vary too much for any real precision timing16:23
*** xga_ has joined #openstack-swift16:25
*** xga has quit IRC16:25
fungiall tempest/grenade runs successful except the two which are still going16:26
notmynameyay16:29
*** xga_ has quit IRC16:30
notmynamefungi: ugh. I just realized because of the py26 dns issue these are going to all have to run again before it gets to the gate. right?16:30
*** xga has joined #openstack-swift16:31
tristanCnotmyname: that would be the good time to update the commit message too16:31
funginotmyname: we reverted the change yesterday to require successful check jobs because we still seem to have either a logic error in the config or a bug we need to fix in it16:31
notmynamefungi: ok. so approving the patch won't require the check jobs to be rerun?16:31
funginotmyname: nope. it should be safe to approve when you're comfortable16:32
notmynameok16:32
notmynametristanC: ok, so don't update the commit message. I'll comment on the other bug manually16:32
notmynametristanC: oh, wait. scratch that16:32
fungiand if/when you approve it, i'll go ahead and promote it to the front of the gate pipeline so we don't have to let the other changes already in there suffer the same bug16:32
notmynametristanC: yes, when the check jobs finish (successfully), add another reference to https://bugs.launchpad.net/tripleo/+bug/1280275 in the commit message16:33
notmynametristanC: then I'll approve it16:33
tristanCshould be good in a couple of minute16:33
*** mrsnivvel has quit IRC16:34
*** zackf has joined #openstack-swift16:35
*** nshaikh has quit IRC16:35
*** csd has joined #openstack-swift16:36
notmynamefungi: this is like waiting for the windows progress bar... ;-)16:37
*** kris_h has quit IRC16:37
funginotmyname: i vaguely remember what that was like... so very, very long ago now16:37
notmynamelikewise16:37
openstackgerritTristan Cacqueray proposed a change to openstack/python-swiftclient: Remove multipart/form-data file upload  https://review.openstack.org/7358516:38
fungicheck-tempest-dsvm-postgres-full succeeded and was uploading when it got aborted. check-tempest-dsvm-full was on its way to succeeding as well--since the jobs had been failing on the same bug i think it's safe to say it would have passed16:39
notmynameaborted because of tristanC new patch set?16:40
fungiyep16:40
tristanCarf, no!16:40
fungianyway, i'm all set to bump it to the front once it's approved, but it looks like it will probably have the gate to itself anyway16:41
notmynamefungi: done16:42
notmynamehttps://review.openstack.org/#/c/73585/16:42
notmynamefungi: once that lands, will there be a way to recheck all the stuff that's failed since last night?16:43
fungii've pushed it in front of the failing nova change, so at least it's granted a stay16:43
notmynamethanks16:43
funginotmyname: working with qa to get a signature for the failure into elastic-recheck would allow it to comment on the failures with the bug number i think? or that might only be of it had been classified before they failed. at any rate, probably just a message to the -dev ml would suffice16:44
notmynameya, I'll send out a post-mortem when this lands16:44
fungithough jog0 or sdague or mtreinish might be able to cook up a logstash query to get a list of changes which failed on it16:45
apevectristanC, btw, I tried to assign 1280072 to you but LP says  No items matched "tristan-cacqueray". ?16:45
apevectristanC, can you just grab it?16:45
notmynameok, while the gate is running, I'm going to take a shower16:46
notmynamewhen it lands I'll tag a 2.0.2 release for swiftclient (and send announce emails) and also write up and send out the post mortem of this issue16:46
notmynamefungi: ^16:46
notmynamemordred: ^16:47
mordrednotmyname: awesome16:47
tristanCnotmyname: Great! thanks!!16:47
tristanCapevec: ok, I did it16:47
funginotmyname: tristanC: thanks!16:47
apevectristanC, notmyname - thanks guys!16:48
fungii need to step out and take my gf to lunch in celebration of st. hallmark's day. can't really ditch her this time, i don't think16:48
fungibut things seem on track at this point16:49
mtreinishfungi: if you add a query after all the fails it won't mark them, but it's used for the recheck page. You can push it as resolved query16:53
*** otherjon_ has joined #openstack-swift16:53
*** saju_m has joined #openstack-swift16:54
*** jog0 has joined #openstack-swift17:06
jog0whats the ETA until the gate bug is fixed?17:21
notmynamejog0: zuul says "0 minutes"17:21
notmynamejog0: it's the top of the gate queue now17:22
jog0notmyname: thanks so the follow up question: how did this get past the gate?17:22
notmynamejog0: post mortem coming later17:22
jog0notmyname: when things are working can you send a email out to the ML17:22
jog0notmyname: excellent thanks!17:22
notmynamemordred: should I be worried that the last 2 jobs haven't finished yet?17:27
notmynamemordred: https://jenkins06.openstack.org/job/gate-tempest-dsvm-full/885/console and https://jenkins05.openstack.org/job/gate-tempest-dsvm-postgres-full/770/console17:27
notmynameah. maybe not. looks like just a slow test17:28
* mordred blames postgres17:29
notmynamewell the good news is all the stuff in the queue after it seems to be working17:31
*** byeager has quit IRC17:31
notmynamemordred: looks like errors just got reported17:32
tristanCnotmyname: hopefully false alarm...17:33
notmynameor not? /me doesn't know17:33
mtreinishnotmyname: that's just the log messages17:33
notmynamehmm -full reported success17:34
mtreinishall the tests pass17:34
openstackgerritA change was merged to openstack/python-swiftclient: Remove multipart/form-data file upload  https://review.openstack.org/7358517:34
notmynameso the log error thing isn't a thing yet?17:34
mtreinishthere is a script that runs after tempest that looks for errors/tracebacks in the logs17:34
notmynameyay, landed17:34
mtreinishnotmyname: we used to gate on the log messages but some bugs slipped through and it got too flaky17:34
mtreinishthe fail message is because we've never changed the script to not print it17:35
notmynameok, got to take care of a couple of normal morning things now that disaster seems averted. I'll write up my post-mortem later todoay17:35
jog0notmyname: can you respond to the ML thread saying gate is working17:35
notmynamejog0: what thread? I didn't see anything about that this morning17:36
jog0[openstack-dev] [Nova][Gate] qemu: linux kernel too old to load a ram disk17:36
jog0someone marked it as nova which was downright wrong17:36
jog0but yeah17:36
jog0or maybe just a new thread or something17:36
notmynameno, I'll start a new thread17:37
notmynameafk for a bit17:37
jog0thanks17:37
tristanCnotmyname: thank you for following this, I leave now for today and the rest of the week end17:38
tristanChave a good day folks!17:38
*** xga_ has joined #openstack-swift17:39
*** xga has quit IRC17:39
*** fbo is now known as fbo_away17:48
*** xga_ has quit IRC17:52
*** byeager has joined #openstack-swift18:02
*** derekh has quit IRC18:04
*** apevec has left #openstack-swift18:05
*** shri has joined #openstack-swift18:05
*** nacim has quit IRC18:06
*** mkollaro has quit IRC18:10
*** markd has joined #openstack-swift18:10
*** byeager has quit IRC18:10
*** basha has joined #openstack-swift18:15
*** tongli has joined #openstack-swift18:16
*** mmcardle has quit IRC18:31
*** basha has quit IRC18:36
*** basha has joined #openstack-swift18:36
*** basha has quit IRC18:41
*** gyee has joined #openstack-swift18:48
anticw_zaitcev: got your email18:51
anticw_zaitcev: i will check it out, the thing is once i uninstalled wads of cruft the issue went away ... so i have to get in the hosed state again to check your fix(es)18:52
zaitcevanticw_: As you can see, we're still ironing issues with the "new-new" swiftclient, so I thought I'd just make you an interim version that addresses your immediate concerns. I need to know how it performs, in particular if any tracebacks with EBADF occur.18:52
zaitcevanticw_: oh, okay.18:53
zaitcevanticw_: But your symptom description was a good match for the known issues: #1 wildcard matching, #2 EBADF18:54
*** kris_h has joined #openstack-swift19:01
*** Kim-Chi-San has joined #openstack-swift19:05
*** Kim-Chi-San is now known as tburnes19:05
*** byeager has joined #openstack-swift19:07
*** byeager has quit IRC19:11
*** saju_m has quit IRC19:11
*** byeager has joined #openstack-swift19:20
*** zul has joined #openstack-swift19:20
*** marcusvrn has quit IRC19:21
*** zul has quit IRC19:22
*** marcusvrn has joined #openstack-swift19:23
notmynamewell...that was fun(*)19:26
notmyname *"fun" void where prohibited19:26
torgomaticvoid* where C19:26
notmynamechmouel: FYI, I do not want to see any py3 changes merged into swiftclient until we get the testing sorted out19:35
markdhey there swift folks, I have a question: if the swift write  has been changed to 1 copy, and there is only one storage node/swift server and the disk goes bad.  Do I lose my data?19:38
notmynamemarkd: yes, probably19:38
markdOK, so my next question then: if there is only one node like above and a second disk is added to the swift store.  Does swift automatically try to balance the image store across the two disks?19:39
notmynamemarkd: yes19:41
markdgreat, thanks for the quck replies.19:41
*** xga has joined #openstack-swift19:49
*** joeljwright has quit IRC19:52
*** gvernik has joined #openstack-swift19:53
*** xga has quit IRC19:54
cschwedenotmyname: do you know if anyone else is working on swiftclient tests? maybe we should put a note somewhere who is working on it (to avoid duplicate work)19:55
*** mjseger has joined #openstack-swift20:02
notmynamecschwede: I actually think that's the problem ;-)20:14
notmynamecschwede: I don't know of anyone working on swiftclient tests20:15
notmyname(you could probably leave out "tests" and still be accurate) ;-)20:15
*** joeljwright has joined #openstack-swift20:23
*** joeljwright1 has joined #openstack-swift20:24
mjsegernotmyname: I just installed the new swiftclient with the hopes of seeing if nagel is disabled and that 1K puts are faster, but...  I get I get errors when running the swift command, no doubt because I didn't do everything I needed to20:27
mjsegeris it worth documenting exactly what needs to be done for those of us who only occasionally install this stuff via a tarball?20:27
*** joeljwright has quit IRC20:28
mjsegerI'm certainly wiling to play the newbie in this exercise ;)20:28
*** gvernik has quit IRC20:29
mjsegerhmm, seems to be working correctly now so I'm not sure what happened.  sorry about that...20:34
*** joeljwright1 has quit IRC20:35
notmynamemjseger: no worries. glad you got it working, and thanks for looking at that20:38
mjsegernotmyname: so here's the deal now, wrt nagel - it's NOT disabled20:42
mjsegeraccording to one of my colleagues, there are apparently a number of pieces of various versions and if you get the right combination., nagel WILL be, but as for the way I installed this it isn't20:43
mjsegerI think he had said you needed the latest request library and somethign about having to install at least some things with pip20:44
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Add tests for bin/swift  https://review.openstack.org/7371020:47
cschwedenotmyname: ok, thanks - I think tristanC will work on tests, and I'm working also on some tests20:51
*** joeljwright has joined #openstack-swift20:52
*** tongli has quit IRC20:55
*** joeljwright has quit IRC20:56
*** csd has quit IRC20:57
*** gyee has quit IRC21:04
*** byeager has quit IRC21:04
*** byeager has joined #openstack-swift21:05
*** krtaylor has quit IRC21:08
*** byeager has quit IRC21:09
mjsegernotmyname: eureka!  I dug through my notes and here's the deal.  you need to download requests-2.2.1.tar.gz and install it with pip.  I did that and my 1K object put IOPS doubled!!!21:13
*** dhellmann has left #openstack-swift21:17
portantenice21:26
*** csd has joined #openstack-swift21:30
*** byeager has joined #openstack-swift21:34
*** byeager has quit IRC21:38
notmynamemjseger: great to hear!21:45
notmynamecschwede: thanks :-)21:45
* notmyname is back from lunch, as you can see21:45
*** dmsimard has quit IRC21:50
*** joeljwright has joined #openstack-swift21:53
pelusemjseger:  so coming in on the tail end of this... what did you do/use to double your 1K PUTs and why/how does it work?21:55
*** joeljwright has quit IRC21:59
creihtnotmyname: not sure if anyone has started project ipa yet, but I have it in progress22:06
notmynamecreiht: not AFAIK. thanks!22:07
*** hurrican_ has joined #openstack-swift22:07
* torgomatic is about ready to go start an IPA project, but that's something else entirely22:08
notmynametorgomatic: did you finally get your brewing parts cleaned up again?22:09
torgomaticnotmyname: one of these weekends I'll have to give it a go... but my current goal is to reduce the amount of beer in the world :)22:09
*** zackf has quit IRC22:10
luisbgtorgomatic, IPA!22:10
*** hurricanerix has quit IRC22:10
luisbgstart by reducing those22:10
*** hurrican_ has quit IRC22:11
*** krtaylor has joined #openstack-swift22:14
*** tdasilva has left #openstack-swift22:17
notmynamenow time to go screw drives into drive trays...22:23
*** joeljwright has joined #openstack-swift22:55
*** joeljwright has quit IRC23:02
notmyname12 drives done. 36 to go23:07
creihtnotmyname: sounds like you need an ops team :)23:08
notmynameheh :-)23:08
glangesounds like you got screwed23:08
creihthaha23:08
notmynameI did bring my power drill to the office today23:08
notmynamepeluse: around?23:11
creihtnotmyname: ok so for ipa, how do you want to do the versioning?23:17
creihtjust drop pbr.version all together, and update the versions?23:17
creihtor check if pbr is availabe, if so use pbr23:17
*** krtaylor has quit IRC23:24
creihtI'll start with the later23:25
notmynamecreiht: ok23:25
notmynamecreiht: while I still23:25
notmynameugh. typing23:25
notmynamecreiht: while I still _really_ like the concept of version numbers in VCS, the implementation, especially with milestone-proposed, actually makes it both complex and somewhat inaccurate23:26
creihtnotmyname: so what would you like?23:26
creihtfor version23:27
notmynamecreiht: so I want to do one thing, not either thing. you should have the same version in /info no matter what you have installed on your build box23:27
creihtk23:27
notmynamecreiht: so let's move back to the version in the file. it means there will always be a patch dance at release time (which will be especially painful in the face of gate issues), it keeps think simple23:27
notmynamecreiht: thoughts?23:27
creihtthat's fine with me23:28
creihtI was just a little worried that might break something with the ci stuff23:28
creihtif it was looking for the git commit hash tag in the version23:28
notmynameshouldn't as long as we keep version numbers going up23:28
creihtk23:28
notmynamecreiht: we'll probably also have to burn a version number on this so we have the incrementing versions23:28
creihtso what should the current version be?23:28
notmynameassuming it landed today, the hard-coded version would be 1.13-dev (we're currently 1.12.foo.pbr.stuff)23:29
creihtk23:29
notmynamehmm...so that would still make the next release 1.13, which doesn't use up a version number23:30
notmynameugh. it also means we (I) need to know the next version number at the current release time. ie minor vers increment or rev number increment. oh well.23:30
clarkbyou can contineu to do post versioning23:31
notmynameclarkb: tell me more :-)23:31
clarkbnotmyname: pbr says current version is 1.12.stuff. stuff comes from the number of commits since 1.12 and a git sha23:31
clarkbso do 1.12.1-dev23:32
clarkbas the current version23:32
creihtnotmyname: even if we label it 1.13-dev, and you decide later to release as 1.14, acn't you just go ahead and do that?23:32
clarkb(or similar would actually need to check the pypi version number rules before settling on someting)23:32
notmynamecreiht: yes, but I couldn't do 1.12.123:32
creihtahh23:32
creihtyeah then we do what clarkb says23:32
creiht:)23:32
notmynameright. that's what we were doing pre-pbr. at least I think we finally settled on that23:33
notmynameclarkb: well, in the special case of this patch, we'll still need to move to 1.13. since we're already past 1.12.123:33
creiht'1.12.0.55'23:33
creihtthat's what it is right now23:33
notmynameah23:33
creihtwell .somerev23:33
notmynameso 1.12.1-dev works, then. do that :-)23:33
creihtk23:33
notmynameok, back to screwing23:34
notmynamecreiht: unless you have something else?23:34
creihtdon't think so23:34
notmynamek23:34
creihtshould have the merge prop up shortly23:34
notmynamecool. we should beat on it, then I want to make sure that -infra is aware and can work with it23:35
creihtyeah23:35
notmynameclarkb: so no need to go -1 it right after creiht submits is ;-)23:35
creihtlol23:35
creihtI've kept setup.cfg and read the values from that in setup.py23:36
clarkbnotmyname: it will work fine as long as python setup.py stuff uses the old pbr version23:36
creihtso if you have to use a pbr based setup.py, you can still23:36
creihtclarkb: I'll send it up to see what you think23:37
* mordred raises his hand - curious as to what the approach is intended to be and whether or not it's duplicative (or could be) of work discussed for pbr23:37
creihtmordred: if a single list comprehension is deplicative, then I'm not worried about it :)23:38
mordredI'm not worries - I'm just curious23:38
mordredworried23:38
creihtsure23:38
creihtit will be up shortly23:38
mordredcool23:39
mordredI look forward to reading it23:39
openstackgerritChuck Thier proposed a change to openstack/swift: Make PBR based setup completely optional  https://review.openstack.org/7373823:39
creihtthere you go23:40
creihtmordred: we still use setup.cfg, so if you throw the generated setup.py to use pbr, it should still work23:40
creihtbut pbr isn't used by default23:40
creihtclarkb, mordred -^23:41
creihtlet me know your thoughts23:41
mordredok. just fyi - the thing I was looking at doing next with pbr was generating a pure python setup.py that didn't consume pbr if you were consuming from the source tarball. not sure if you'll care or not when that lands23:41
*** kris_h has quit IRC23:41
clarkbcreiht: it should be used by default23:42
creihtclarkb: why23:42
clarkbotehrwise all of the CI tooling will need to be changed23:42
creihtso here's the thing23:42
creihtthe standard way to install stuff with python is23:43
mordredbroken23:43
creihtsudo pyton setup.py install23:43
creihtwhich all deployers are going to do23:43
creihtI want to optimize for not causing deployers issues23:43
creihteven if that requires a little work on the ci side23:43
mordredsudo pip install . is what all deployers shoudl do23:43
mordredbecause it doesn't break due to easy_isntall being broken23:43
creihtmordred: not at all23:43
mordredeasy_install is insecure. you should never touch it any more for installation, unless you want to get p0wned23:44
creihtif you drop in the autogenerated setup.py everything should still work23:44
* creiht sighs23:44
creihtthis has nothing to do with that23:44
mordredjust saying23:44
mordredit does23:44
mordredbecause you're putting things into install_requires23:44
mordredand then suggesting that python setup.py install should be used23:44
mordredthat causes easy_install to get triggered for dependency resolution23:45
mordredwhich is insecure23:45
mordredthat said - I do not believe your patch will break the gate23:47
creihtif you are worried about the security, I can remove the requires= like it was a long time ago23:47
creihtI've never been a fan of the auto install dependencies stuff anyways23:47
clarkbmordred: I am more concered about the tarball and pypi jobs instead of the gate23:48
creihtclarkb: so what do we need to make sure the tarball and pypi jobs don't have issues23:48
mordredwell, it'll certainly make that work even more different23:48
clarkbcreiht: consistency in versioning23:51
clarkbcreiht: so that the intermediate tarballs don't generate cruft23:51
clarkband are upgradable as expected and so on23:51
clarkbthe version question is actualy a fun one23:52
creihtwhen are tarballs generated?23:53
creihtclarkb: -^23:55
clarkbafter every commit23:55
creihtok23:56
clarkb* every merge23:56
creihtand what do you mean by they have to be upgradeable?23:56
creihtif you run setup.py of the same version it still installs that version23:56
*** joeljwright has joined #openstack-swift23:57
clarkbI am thinking from the perspective of pip, but pip will require an override in either case now that I think about it so that may not be an issue23:57
*** Midnightmyth has quit IRC23:57
creihtmordred, clarkb -> I will also be happy to migrate this to distutils2 once it gets in to a stable state (if that helps any)23:59

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