Friday, 2016-09-23

*** Jeffrey4l has joined #openstack-swift00:03
*** ppai has quit IRC00:05
claygomg how have i not seen mat the woliver before!?  what is a wolly-ver you ask?  apparently a burly australian beast that's good at code.00:22
clayganyone else use vsaio that would like to help beta xenail support -> https://github.com/swiftstack/vagrant-swift-all-in-one/pull/5000:24
claygtdasilva: there is a *tiny* little green link "Mark as duplicate" in one of the grey blocks on the RHS of the lp layout00:32
claygtdasilva: i didn't know about it till notmyname poitned it out to me00:32
claygtdasilva: but I used to to mark lp bug #1314799 as a duplicate of lp bug #156057400:32
openstackLaunchpad bug 1560574 in OpenStack Object Storage (swift) "duplicate for #1314799 GET/HEAD should stop continuing to search more nodes if a tombstone is reached" [Medium,In progress] https://launchpad.net/bugs/1560574 - Assigned to Thiago da Silva (thiagodasilva)00:32
openstackLaunchpad bug 1560574 in OpenStack Object Storage (swift) "GET/HEAD should stop continuing to search more nodes if a tombstone is reached" [Medium,In progress] https://launchpad.net/bugs/1560574 - Assigned to Thiago da Silva (thiagodasilva)00:32
claygi guess technically it should go the other way around - but know you're working on that00:33
claygi don't know why your it didn't link your review to the bug?00:33
mattoliverauclayg: can't trust those woliver's00:36
*** klamath has quit IRC00:37
*** nexusz99 has joined #openstack-swift00:37
kota_good morning00:45
kota_it looks like we got great progress while I was in holiday yesterday.00:45
mattoliveraukota_: o/00:47
kota_mattoliverau: o/00:47
*** gyee has quit IRC01:01
*** jamielennox is now known as jamielennox|away01:03
*** manous has joined #openstack-swift01:03
*** nexusz99 has quit IRC01:11
*** nexusz99 has joined #openstack-swift01:12
claygtimburke: playing with proxy protocol change it *does* feel like a general solution to https is in there somewhere?01:12
timburkeclayg: right? like, this seems to be *exactly* the sort of thing this was designed for01:16
*** nexusz99 has quit IRC01:16
claygsomething in the wsgi environ probably - the proxy protcol is sorta weird in that it's protocol agnostic - we can't have stud "insert a header"01:19
*** abhitechie has quit IRC01:19
claygbut in our protocol hander we could update the wsgi envrion... but I'm not 100% sure what's appropriet?01:19
*** jamielennox|away is now known as jamielennox01:22
*** tqtran has quit IRC01:34
claygtimburke: i don't know about *designed* -> https://gist.github.com/clayg/0864f5a18be7995acc85cd03814dcedd01:37
clayglooks like kludge to me01:37
claygi agree it's out of scope - but i have to admit it's interesting01:37
zhengyingood morning01:58
zhengyinkota_, mattoliverau:morning01:58
kota_zhengyin: o/01:58
kota_oh, patch 373537 has been landed02:03
patchbothttps://review.openstack.org/#/c/373537/ - swift - Use separate headers for versioned_writes' stack a... (MERGED)02:03
kota_timburke: does that mean I have to rewrite patch 360933?02:03
patchbothttps://review.openstack.org/#/c/360933/ - swift - Add functional tests for new versioned_write mode02:03
kota_timburke: the commit message in patch 373537 says, "x-versions-mode is now ignored". Hmm, my functional will probably be ignored :/02:04
patchbothttps://review.openstack.org/#/c/373537/ - swift - Use separate headers for versioned_writes' stack a... (MERGED)02:04
claygswifterdarrell: got a traceback with the PROXY protocol probably worth fixing -> https://gist.github.com/clayg/80368d1aed6a512e962bc6ea07d54e0b02:08
claygtimburke: tdasilva: holy crap you guys merged the versioned writes thing!02:08
claygkota_: man that sucks!  we need to get some functional tests on that bad boy!02:10
claygtimburke: tdasilva: ^^^ patch 36093302:10
patchbothttps://review.openstack.org/#/c/360933/ - swift - Add functional tests for new versioned_write mode02:10
claygoh tim already +2'd it - nice work timburke02:10
kota_calyg: never mind, I'll try to rework on that today.02:12
kota_clayg: thanks adding "recheck no bug" ;-) if i understand correctly, it will fail :P02:13
*** abhitechie has joined #openstack-swift02:30
*** jamielennox is now known as jamielennox|away02:37
openstackgerritKota Tsuyuzaki proposed openstack/swift: EC Fragment Duplication - Foundational Global EC Cluster Support  https://review.openstack.org/21916502:43
kota_rebased.02:44
*** jamielennox|away is now known as jamielennox02:51
*** vinsh has joined #openstack-swift02:58
*** vinsh has quit IRC03:03
*** david-lyle has quit IRC03:04
*** _JZ_ has quit IRC03:05
kota_curious, my functional tests for versioned_writes passed even if i don't care about the new name spacce03:29
*** chsc has joined #openstack-swift03:48
mattoliveraukota_: that's strange. The new x-history-header functionality existed previously, you just had to pass in X-Versions-Mode to select stack or history.. so I guess it depends on how your setting the new mode.03:56
mattoliverau*x-history-location i mean03:57
kota_mattolivearu: i have an idea for that, my funcitonal may be skipped if something changed in /info04:06
*** chsc has quit IRC04:06
kota_mattoliverau: that func test handle the allowed_versions_mode to know if the test should run or not04:07
kota_will figure out if my assumption was true or not.04:08
*** klrmn has quit IRC04:11
*** nadeem has joined #openstack-swift04:12
kota_mattolivearu: my thought is true, http://logs.openstack.org/33/360933/3/check/gate-swift-dsvm-functional-ubuntu-xenial/ea464b2/console.html#_2016-09-23_02_32_00_78675704:29
kota_ok, let's make sure how we can find the availability of history mode from the newest master.04:30
*** vinsh has joined #openstack-swift04:30
*** tqtran has joined #openstack-swift04:32
kota_ah, that was changed as "allowed_flags" to describes the location headers04:36
kota_flags???? Is that correct word? not sure because I'm not a native Engish guy.04:36
*** tqtran has quit IRC04:37
kota_anyway, probably I can track the new change for a short time.04:37
*** abhinavtechie has joined #openstack-swift04:37
*** aagrawal has joined #openstack-swift04:39
*** abhitechie has quit IRC04:40
*** vinsh has quit IRC04:40
*** abhinavtechie has quit IRC04:43
openstackgerritJohn Dickinson proposed openstack/swift: authors/changelog updates for 2.10.0  https://review.openstack.org/37523504:43
notmynameI'll let that sit overnight, but I need to land it asap in the morning to get the final SHA for 2.10.0 (all times my local tz) ^04:44
notmynameplease look it over and let me know if/where I goofed04:44
*** abhitechie has joined #openstack-swift04:51
*** aagrawal has quit IRC04:55
kota_notmyname: thanks for working on the release05:07
kota_notmyname: right now, I have a concern for the new versioned_write changes recently released05:07
kota_notmyname: with the change, it seems we have a regression on the response header from versioned container05:08
kota_notmyname: I'm now working on that to figure out it, hopefully, I'd like to add it before new release.05:08
zaitcevhttps://wiki.openstack.org/wiki/Swift/PriorityReviews looks pretty okay05:09
kota_zaitcev: yeah, all items in "should land" have been closed.05:13
kota_ah, it might be not a regression actually, just a bug in functests???05:15
kota_X-History-Location is in the response header from history versioning container05:16
kota_it's time to loop back to look at the test client in functional test how it handels the container metadata.05:16
*** zaitcev has quit IRC05:33
*** manous has quit IRC05:33
*** manous has joined #openstack-swift05:46
*** SkyRocknRoll has joined #openstack-swift05:55
*** hosanai has quit IRC05:55
*** dmorita has quit IRC05:59
openstackgerritgecong proposed openstack/swift: Use ConfigParser instead of SafeConfigParser in Python 3  https://review.openstack.org/37526006:11
openstackgerritKota Tsuyuzaki proposed openstack/swift: Add functional tests for new versioned_write mode  https://review.openstack.org/36093306:12
kota_tdasilva, timburke, clayg: I fixed and rebased the versioned_writes history mode functional tests addressed on the api change.06:13
*** rcernin has joined #openstack-swift06:15
*** aswadr_ has joined #openstack-swift06:25
*** hseipp has joined #openstack-swift06:40
*** abhitechie has quit IRC06:54
*** nexusz99 has joined #openstack-swift07:01
*** rledisez has joined #openstack-swift07:22
openstackgerritKota Tsuyuzaki proposed openstack/swift: Add functional tests for new versioned_write mode  https://review.openstack.org/36093307:27
*** geaaru has joined #openstack-swift07:30
*** nexusz99 has quit IRC07:33
*** nexusz99 has joined #openstack-swift07:33
*** nexusz99 has quit IRC07:34
*** nexusz99 has joined #openstack-swift07:34
*** amoralej|off is now known as amoralej07:36
*** nexusz99 has quit IRC07:36
*** abhitechie has joined #openstack-swift07:49
*** mariusv has joined #openstack-swift07:56
*** dmorita has joined #openstack-swift07:59
*** tqtran has joined #openstack-swift08:01
*** abhinavtechie has joined #openstack-swift08:01
*** sams-gleb has joined #openstack-swift08:02
*** asettle has joined #openstack-swift08:02
*** dmorita has quit IRC08:04
*** abhitechie has quit IRC08:05
*** tqtran has quit IRC08:05
*** asettle has quit IRC08:07
*** asettle has joined #openstack-swift08:09
*** asettle has quit IRC08:09
*** asettle has joined #openstack-swift08:09
*** abhitechie has joined #openstack-swift08:25
*** abhinavtechie has quit IRC08:27
*** nadeem has quit IRC08:29
*** admin6 has left #openstack-swift08:34
*** acoles_ is now known as acoles08:35
*** jordanP has joined #openstack-swift08:38
*** abhinavtechie has joined #openstack-swift08:44
*** abhitechie has quit IRC08:47
*** asettle has quit IRC08:49
*** asettle has joined #openstack-swift08:53
*** asettle has quit IRC08:54
*** asettle has joined #openstack-swift08:54
acoleskota_: hi, is there anything i need to work on for the release while the rest of you sleep? i just saw you mention something in scrollback about a regression??08:58
kota_hi acoles08:58
kota_actually, it dosn't regression but an api changed in the versioned writes08:59
acolesit tickles me that notmyname is landing patches from a plane, looking down upon us minions :D08:59
acoleskota_: ok08:59
kota_acoles: older than the recent versioned write change, both stack mode and history mode return x-verions-location in the response08:59
kota_acoles: due to the change x-versions-location to x-history-location on the history-mode, now history-mode versioned container doesn't return "x-versions-location" anymore09:00
kota_and I hit a bug on the my written functional test which assuming "if the response includes x-versions-location, the versioning is available"09:01
acolesclayg: timburke notmyname thanks for getting patch 346865 landed, I completely agree with your decisions. I went for the ALL process rather than ZBF process because I thought ALL was the only one guranteed to run in all configs, maybe I am wrong but from staring at code I thought I could see a way in which there might not be a ZBF process forked.09:02
patchbothttps://review.openstack.org/#/c/346865/ - swift - Delete old tombstones (MERGED)09:02
kota_acoles: actually, it was changed to x-history-location on the master.09:02
kota_ah but, if you could take a look to patch 360933, that is perfectly great, anyway ;-)09:03
patchbothttps://review.openstack.org/#/c/360933/ - swift - Add functional tests for new versioned_write mode09:03
*** openstackgerrit has quit IRC09:03
kota_acoles:^^09:03
*** openstackgerrit has joined #openstack-swift09:04
acoleskota_: OIC. so do you think we should try to include that patch ^^ in the release?09:04
kota_acoles: I'd like to do that because it helps users to work for making sure the new capability on the new swift release.09:05
kota_i mean, it gives the way to test versioned write history mode api via functional test tools09:06
acolesclayg: also, once I was home with a glass of wine in my hand, I realised exactly what you said, that the rate of the two processes would be so different IRL that the dup's might not even occur (ZBF invalidates hash, replicator cleans up, ALL auditor never finds the tomb)09:06
acoleskota_: yeah, ok I will take a look today09:06
kota_acoles: thanks!09:07
*** Shadow_aok has joined #openstack-swift09:07
Shadow_aokhi09:07
acolesmahatic: nice work on patch 34686509:07
patchbothttps://review.openstack.org/#/c/346865/ - swift - Delete old tombstones (MERGED)09:07
Shadow_aokcould someone tell me which configuration files swift-proxy needs to run, except for proxy-server.conf ?09:08
Shadow_aoki found some others files in my swift folder, looks like they belongs to a storage server and have be put there by mistake (account-server.conf, object-server.conf, proxy-server.conf).09:09
acolesShadow_aok: proxy server (and other servers) also needs swift.conf09:11
acolesthe other files are config for swift account/container/object servers and other daemons like the replicators and auditor09:12
openstackgerritTuan Luong-Anh proposed openstack/swift: Replace six iteration methods with standard ones  https://review.openstack.org/37534409:19
Shadow_aok+acoles> thanks, so they are not needed on a server working exclusively as a proxy for swift ?09:20
*** nexusz99 has joined #openstack-swift09:20
acolesShadow_aok: correct09:21
*** nexusz99 has quit IRC09:22
*** nexusz99 has joined #openstack-swift09:23
Shadow_aokthanks09:23
acolesShadow_aok: you *may* also have a container-sync-realms.conf file which is needed on the proxy, but that is for the optional container sync feature09:24
Shadow_aokwhat does this optional feature does ? Never heard of it.09:26
Shadow_aokwe're runing kilo by the way09:26
Shadow_aokhttp://docs.openstack.org/developer/swift/overview_container_sync.html09:26
Shadow_aoklooks interesting09:26
Shadow_aokit's only used for mirroring a container on the same storage server or for replication between the storage servers ?09:27
*** nexusz99 has quit IRC09:27
*** kei_yama has quit IRC09:30
*** aagrawal has joined #openstack-swift09:32
*** abhinavtechie has quit IRC09:35
*** abhitechie has joined #openstack-swift09:36
mahaticacoles: clayg: thank you for seeing the patch 346865 through! it got in!09:37
patchbothttps://review.openstack.org/#/c/346865/ - swift - Delete old tombstones (MERGED)09:37
*** aagrawal has quit IRC09:38
mahaticnotmyname: I'm wondering if that ^ fix should be called out in changelog or does it come under one of those things which should obviously be working (and some of the users been thinking it was) but hadn't been? ;)09:40
* mahatic notes to catch up on irc discussions sometime over the weekend09:43
mahaticI'm here only briefly. Have a nice weekend everyone!09:43
acolesmahatic: i just left a comment on changelog patch to include your fix, notmyname probably authored the changelog before your patch landed09:46
acolesmahatic: have a good weekend09:46
acolesShadow_aok: container sync can be used between clusters09:48
acolesas well as within a cluster09:48
*** abhitechie has quit IRC09:48
mahaticacoles: thanks! you're on top of the things, as usual :)09:48
acolesShadow_aok: there's some more info here re container sync http://docs.openstack.org/developer/swift/admin_guide.html#geographically-distributed-swift-considerations09:49
* acoles afk09:50
openstackgerritzheng yin proposed openstack/swift: Add test_PUT/DELETE_bad_timestamp in obj/test_server  https://review.openstack.org/37537710:17
*** abhitechie has joined #openstack-swift10:32
*** abhitechie has quit IRC10:41
Shadow_aokthanks10:50
*** nexusz99 has joined #openstack-swift11:00
kota_while thinkg the versioning write via new api, I'm realizing to doubt if the consistency model could be safe (or not).11:18
kota_because we have 2 ways to set the versioning container (location and mode) but the setting will be merged into a header. does it break container metadata semantics?11:19
kota_I'm not sure right now, not yet deep dive into it but if i understand correctly, a request with x-versions-location to a container which keeps x-history-location will success and the x-history-location setting will be removed11:21
kota_because, in previous version, we can overwrite the x-versions-mode via a POST request.11:21
*** aswadr_ has quit IRC11:22
kota_and I'm now wondering what's happen when a request with x-remove-versions-container to a container which keeps x-history-location.11:22
kota_it could delete the history location?11:22
acoleskota_: i'm still coming up to speed on the change but was wondering similar about consistency11:24
kota_and more, if we request a PUT container with x-versions-container and x-remove-history-location, what's happen actually? 400 BadRequest? Intuitively, that's a way to change the versions location setting  though.11:24
kota_acoles: yeah, imho, we should discuss *BEFORE* the previous patch landed to the master, though.11:25
kota_acoles: mine is just functional tests following the newest master.11:25
kota_at least, imho, it break container semantics if we can delete the x-versions-location via a PUT/POST request with x-history-location.11:27
kota_ah, it looks like sort of  "a PUT container with x-versions-container and x-remove-history-location" scenario is cared.11:33
kota_https://github.com/openstack/swift/blob/master/swift/common/middleware/versioned_writes.py#L680-L69311:35
kota_interesting, looking at https://github.com/openstack/swift/blob/master/swift/common/middleware/versioned_writes.py#L727-L73211:40
kota_it think, it means, a PUT container with x-versions-container and x-remove-history-location can work as if setting x-versions-container. ok. sounds cool11:41
kota_However, from https://github.com/openstack/swift/blob/master/swift/common/middleware/versioned_writes.py#L734-L743, maybe we can delete x-versions-location via a request with x-remove-history-location11:43
kota_i need timburke (or tests) for sure.11:43
* kota_ is thinking probably i cannot decide what is a better way to improve this by notmyname tag the release.11:46
* kota_ is also thinking i need clean thought/eyes for this becuase it's getting late so it means...11:48
kota_it looks like, dev_stack is using older versions write, https://github.com/openstack-dev/devstack/blob/master/lib/swift#L492-L493 :/ probaly that's why my func test ware skipped12:06
*** Shadow_aok has quit IRC12:06
kota_on the other hand, vagrant-swift-all-in-one seems to follow the versioned_write change https://github.com/swiftstack/vagrant-swift-all-in-one/commit/23379d753d2f5778abfdf3caf3b86bcd3350f06512:06
*** zul has quit IRC12:07
kota_nice, clayg. so i can wait the result from swiftstack gate. I think we can run the functests in the swiftstack environment.12:07
kota_thank you swiftstack.12:07
*** catintheroof has quit IRC12:08
*** asettle has quit IRC12:13
kota_ok, wrote down some notes for reviewers. finish up today.12:15
kota_i may be online tomorrow morning to follow if something progress on versioned_writes.12:16
kota_see you guys.12:16
*** zul has joined #openstack-swift12:32
*** amoralej is now known as amoralej|lunch12:33
*** SkyRocknRoll has quit IRC12:38
*** rcernin has quit IRC12:38
*** daemontool has joined #openstack-swift12:40
*** nexusz99 has quit IRC12:42
*** nexusz99 has joined #openstack-swift12:42
*** asettle has joined #openstack-swift12:43
*** pcaruana|afk| has joined #openstack-swift12:44
*** nexusz99 has quit IRC12:47
tdasilvagood morning12:48
*** zhengyin has quit IRC12:52
*** StraubTW has joined #openstack-swift12:54
*** ChanServ sets mode: +v tdasilva12:55
*** StraubTW_ has joined #openstack-swift12:55
tdasilvaacoles: i just caught up with the scroll back and noticed you found a bug with versioned writes and DLO manifests12:55
*** nikivi has joined #openstack-swift12:55
*** david-lyle has joined #openstack-swift12:56
tdasilvaacoles: in terms of the consistency model, I also had some questions about that, but I think it is ok. Basically x-history-location and x-version-location are mutually exclusive and they get written down with the same sysmeta12:56
*** StraubTW has quit IRC12:59
*** nikivi has quit IRC12:59
*** pcaruana|afk| has quit IRC13:00
*** pcaruana has quit IRC13:01
*** pcaruana has joined #openstack-swift13:02
*** rcernin has joined #openstack-swift13:06
acolestdasilva: ok, good to know. TBH I'm just catching up with history mode.13:08
acolestdasilva: re DLOs, not sure if I'd call it a bug or a continuation of the anomaly with DLOs. Creating delete markers for something that was never versioned seems weird though.13:12
tdasilvaacoles: agree13:13
tdasilvaacoles: would you have a min. to help me understand something the consistency engine13:14
tdasilvaacoles: i'm looking at https://github.com/openstack/swift/blob/master/test/probe/test_container_failures.py#L4513:15
acolestdasilva: sure, back in a few mins13:15
*** vint_bra has joined #openstack-swift13:15
*** nikivi has joined #openstack-swift13:19
*** rcernin has quit IRC13:26
*** zhengyin has joined #openstack-swift13:29
*** amoralej|lunch is now known as amoralej13:30
*** acoles has quit IRC13:30
*** acoles_ has joined #openstack-swift13:32
*** ChanServ sets mode: +v acoles_13:32
acoles_tdasilva: back (bouncer problem)13:34
*** nikivi has quit IRC13:34
*** tongli has joined #openstack-swift13:36
*** vint_bra1 has joined #openstack-swift13:36
*** ekarlso_ has joined #openstack-swift13:37
*** vint_bra has quit IRC13:39
*** vinsh has joined #openstack-swift13:39
*** takashi has joined #openstack-swift13:40
*** kragniz has quit IRC13:48
*** kragniz has joined #openstack-swift13:48
*** rcernin has joined #openstack-swift13:53
tdasilvaacoles_: sorry, just saw your msg now13:58
*** vinsh has quit IRC14:00
tdasilvaacoles_: i'm trying to make sense of that test I mentioned earlier, and i guess i don't understand why after sending a delete to two primary nodes (one primary was killed), when replication runs the container is still around14:00
tdasilvaso is the expectation that because a PUT went in before replication caught up, that sort of invalidates the DELETE?14:01
tdasilvai mean, a PUT for an object14:02
acoles_tdasilva: i was just reading the test, and guessed that might be your question. I had never studied that behavior before, but I believe the answer is that a container is not considered deleted if it has objects14:02
acoles_tdasilva: yes, so the object PUT increments the container object counts (even on "deleted" container servers), and then the container is no longer deleted. I just reproduced this myself.14:03
tdasilvaacoles_: hmm..very interesting. this sort of throws a wrench at my fix for bug 156057414:04
openstackbug 1560574 in OpenStack Object Storage (swift) "GET/HEAD should stop continuing to search more nodes if a tombstone is reached" [Medium,In progress] https://launchpad.net/bugs/1560574 - Assigned to Thiago da Silva (thiagodasilva)14:04
acoles_tdasilva: but the containers do retain their deleted timestamps, so when the object count drops to zero the container does disappear.14:04
tdasilvaheh, even more interesting14:04
tdasilvaso in my bug fix, the code change is happening in a very generic place in the proxy. patch 37115014:05
patchbothttps://review.openstack.org/#/c/371150/ - swift - Return 404 on a GET if tombstone is newer14:05
tdasilvaso i guess it will need to specialize for objects only14:06
*** nexusz99 has joined #openstack-swift14:07
*** nexusz99 has quit IRC14:07
*** daemontool has quit IRC14:12
*** daemontool_ has joined #openstack-swift14:12
*** daemontool__ has joined #openstack-swift14:13
acoles_tdasilva: hmmm, looks that way14:14
*** daemontool_ has quit IRC14:17
acoles_tdasilva: I'm wondering if somewhere around here https://github.com/openstack/swift/blob/44a861787a60346aded8be2a54ef4e16accccbb6/swift/proxy/controllers/base.py#L1203-L1203 you could change the sort to use the source_headers which AFAICT includes the good and bad sources, so sort on timestamp in headers would put tombstones ahead of "good sources" ?? just a thought14:19
*** sams-gleb has quit IRC14:20
*** silor has joined #openstack-swift14:20
tdasilvaacoles_: reading...14:21
openstackgerritDonagh McCabe proposed openstack/swift: Document access control lists (ACLs)  https://review.openstack.org/37421514:26
tdasilvaacoles_: was your suggestion for fixing this issue with containers or just a better way of figuring out what the correct response should be, it doesn't solve the issue of making a specialized fix for objects right?14:29
*** vinsh has joined #openstack-swift14:29
tdasilvaacoles_: i guess i'm not following your thinking14:29
*** vinsh_ has joined #openstack-swift14:30
*** vinsh has quit IRC14:30
acoles_tdasilva: i only looked quickly so could be wrong :) but that piece of code is specific to object GETs, so could be a better place to implement an object specific fix for the bug without messing with account/container GETs14:36
acoles_tdasilva: currently it chooses a good source if there is one, but it looks like it could be made to check for a 404 response that is newer than any good source14:37
tdasilvaacoles_: i'm not seeing how that code is specific to object GETs. I'm following the code flow: GETorHEAD_base > get_working_response > _get_source_and_node()14:42
tdasilvaacoles_: I could try to make use of server_type like in L118614:44
*** acoles- has joined #openstack-swift14:45
*** acoles- is now known as acoles14:45
*** ChanServ sets mode: +v acoles14:45
*** asettle has quit IRC14:46
acolestdasilva: yes, my mistake, I saw it was in ResumingGetter and some comments about objects so associated it with object GETs14:49
tdasilvaacoles: no worries, i'm still looking through...14:49
acolestdasilva: so yes you could use the server type to switch to some conditional behaviour14:50
acolesor write some server type specific source sorting functions14:50
*** acoles_ has left #openstack-swift14:51
*** dmorita has joined #openstack-swift15:00
*** abhitechie has joined #openstack-swift15:01
*** nexusz99 has joined #openstack-swift15:01
acolestdasilva: the EC case might need more thought too - there we have multiple ResumingGetters so you may need to hunt for a newer tombstone across the collection of getters15:01
*** jistr is now known as jistr|call15:03
tdasilvaacoles: thanks for the heads up. I had not given much thought to EC yet15:04
*** dmorita has quit IRC15:05
acolestdasilva: np. I get easily confused by those code paths because we end up with parallel getters each of which may perform a sequential search through the nodes until reaching a successful response.15:05
acolesso some unsuccessfuls responses get buried in the getters with just the successful one being exposed to the EC handler15:06
*** rvasilets___ has joined #openstack-swift15:07
tdasilvaacoles: by parallel getters, do you mean one for each node thou?15:09
tdasilvai guess not15:10
openstackgerritClark Boylan proposed openstack/swift: DNM testing functional testing against ssl  https://review.openstack.org/37556315:11
clarkbclayg: notmyname if ^ works would be good to talk about how you think we should be selecting the protocol in that job. Maybe we can have it look at keystone via openstack's openrc?15:12
acolestdasilva: one for each fragment. each starts with a unique node from the node iter, but may progress to another node until finding a success response just like replica policy.15:12
tdasilvaoh i see15:12
tdasilvaright15:13
acolesso each getter may have a good source plus may have seen a 404 along the way15:13
tdasilvaacoles: true, but even in that case we want the 404 to bubble up (if it's newer)15:13
*** tuan_luong has joined #openstack-swift15:14
tdasilvaso it shouldn't change much in the code...15:14
tdasilvasounds like a EC probe test would be helpful15:14
tdasilva:)15:14
acolesif you change the getter to favor the 404 if it is newer, then the EC object controller may also need some changes so that the 404 from that one getter is favored over success from all the other frag getters. IDK right now if the EC controller would just try to fetch another frag in case of the 404 bubbling up.15:16
acolestdasilva: fortunately I don't think it would be huge churn because the EC controller groups all responses into buckets, so the 404 would end up in bad_bucket which could be inspected for newest 404 timestamp and compared to time of the good_bucket15:18
*** rledisez has quit IRC15:18
acoless/good_bucket/best_bucket/ if you are reading the code15:19
*** tuan_luong has quit IRC15:19
*** rcernin has quit IRC15:19
tdasilvaacoles: yeah, the question i now have is if you only have let's say a minimun number of frags that are 404 and other frags that are OK and enough to build the object (but are older) should the client get a 404?15:19
tdasilvadoes the fact that there's any one single fragment with a newer 404 make it so that the entire object should 404?15:21
*** tuan_luong has joined #openstack-swift15:22
*** klrmn has joined #openstack-swift15:22
*** _JZ_ has joined #openstack-swift15:23
acolesas I understand the discussion on the bug report, that would be the desired outcome, i.e. newer tombstone trumps older object15:24
*** nexusz99 has quit IRC15:25
tdasilvabut how does quorum come into play? or primary over handoff nodes? sorry...just thinking out loud15:25
acolesthe tombstone is going to eventually replace the frags after reconstructor15:26
*** jistr|call is now known as jistr15:26
acolesso the object is destined to be a tombstone15:27
*** jistr is now known as jistr|biab15:28
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873615:31
*** klrmn has quit IRC15:31
*** jistr|biab is now known as jistr15:36
*** zhengyin has quit IRC15:38
*** chsc has joined #openstack-swift15:47
*** hseipp has quit IRC15:55
*** nexusz99 has joined #openstack-swift15:58
*** nikivi has joined #openstack-swift16:01
*** tqtran has joined #openstack-swift16:04
*** tqtran has quit IRC16:08
*** bkopilov has quit IRC16:14
*** jistr is now known as jistr|afk16:18
*** nexusz99 has quit IRC16:21
*** dmorita has joined #openstack-swift16:27
*** dmorita has quit IRC16:29
*** dmorita has joined #openstack-swift16:29
*** manous has quit IRC16:32
*** jordanP has quit IRC16:36
notmynamegood morning16:37
*** Suyi_ has joined #openstack-swift16:38
notmynameacoles: thanks for the comments. I'll get on that first thing. it shows that I finished writing that up when I was at home, late, and tired ;-)16:39
notmynamesorry for the egregious typos16:39
acolesnotmyname: actually I envisioned you typing it while enjoying the in flight beverages ;)16:40
notmynamelol16:40
notmynamebut I was stuck back in the cattle car. no nice beverages there ;-)16:40
acolesnotmyname: oh yeah, domestic. I'm used to being in cattle, but for longer, so they try to make you numb to it16:43
claygheyoh!16:49
*** nikivi has quit IRC16:49
notmynameFWIW (since someone asked via pm), no I'm not planning on using reno release notes for this release. tackle that next time16:50
claygclarkb: auth endpoint is currently all configurable piecemeal swift/test/sample.conf16:52
clarkbclayg: ya just thinking th catalog has that info for us in devstack land. though my test change failed so I may misunderstand how that job is running16:53
claygclarkb: i'm guessing when that test suite started the options were host and port - then it grew auth protocol and ssl prefix options over the years without anyone ever making it just take a blasted url ;)16:53
claygclarkb: yeah, i'm curious too - the swift functional tests wouldn't know about keystone endpoint to pull the catalog from without being configured to know about it?16:54
claygwhich job are you testing?16:54
clarkbthe dsvm functional test16:54
*** nexusz99 has joined #openstack-swift16:54
claygand those acctually run *our* functest?  not... tempest?16:55
clarkbyup16:55
clarkbat least I thought it did. It is running something in swiftnot tempest16:55
notmynameclayg: IIRC those run the in-process functests16:55
* notmyname could be wrong16:56
claygnotmyname: i'm staring at logs - i think it's telling me it's running `.functests`16:56
acolesgate-swift-dsvm-functional-ubuntu-xenial runs swift func tests16:57
acolesagainst devstack16:57
claygclarkb: I think trying to trick this file into saying ssl = yes would be the most likely thing to work -> http://logs.openstack.org/63/375563/1/check/gate-swift-dsvm-functional-ubuntu-xenial/82ed5ea/logs/etc/swift/test.conf.txt.gz16:58
claygalthough it's weird that it's returning 400 Bad Request?16:58
*** jistr|afk is now known as jistr16:59
claygidk, i guess the code change would mostly have the same effect16:59
claygas it turns out I'm currently working on spinning some ssl in my saio - i'll double check functest configuration16:59
clarkbclayg: that would be great. thanks17:00
*** zaitcev has joined #openstack-swift17:02
*** ChanServ sets mode: +v zaitcev17:02
*** vint_bra1 has quit IRC17:03
*** klrmn has joined #openstack-swift17:05
*** vint_bra has joined #openstack-swift17:05
*** tuan_luong has quit IRC17:08
*** vint_bra1 has joined #openstack-swift17:08
*** vint_bra has quit IRC17:08
*** vint_bra has joined #openstack-swift17:09
*** catintheroof has joined #openstack-swift17:09
*** adu has joined #openstack-swift17:12
*** vint_bra1 has quit IRC17:13
*** nexusz99 has quit IRC17:17
*** geaaru has quit IRC17:17
openstackgerritAlistair Coles proposed openstack/swift: Make in-process mode not skip history versions functional tests  https://review.openstack.org/37563317:18
openstackgerritJohn Dickinson proposed openstack/swift: authors/changelog updates for 2.10.0  https://review.openstack.org/37523517:21
notmynameacoles: ^17:21
*** daemontool__ has quit IRC17:21
acolesnotmyname: got it17:22
acolestimburke: why does history mode versioning write delete markers for deletes that 404?17:23
acolesnotmyname: timburke I just reviewed Kota's patch 360933 which he was keen to have in the release, but the new tests are skipped in jenkins jobs. patch 375633 fixes the skips in at least one voting job.17:24
patchbothttps://review.openstack.org/#/c/360933/ - swift - Add functional tests for new versioned_write mode17:24
patchbothttps://review.openstack.org/#/c/375633/ - swift - Make in-process mode not skip history versions fun...17:24
acolesyour call as to whether this gets in or not, needs more +2's of course17:25
timburkeacoles: thanks; i'll take a look at them today17:25
acolestimburke: thanks, and it goes without saying that patch 375633 could just be squashed into kota_'s17:27
patchbothttps://review.openstack.org/#/c/375633/ - swift - Make in-process mode not skip history versions fun...17:27
*** rvasilets___ has quit IRC17:28
acoleshehe ^^ nice truncation, who'd want to skip the fun?17:31
timburkere: deletes that 404 -- seemed like the most-sane thing was to go ahead and record the delete. fwiw, i still don't understand why we let a delete 404 at all (when the container exists)... it's led to https://bugs.launchpad.net/python-swiftclient/+bug/1213179 and https://twitter.com/wolever/status/697234620966895616 and https://review.openstack.org/#/c/368264/17:33
openstackLaunchpad bug 1213179 in python-swiftclient "swiftclient logs all ClientException (404) at ERROR (with traceback)" [Critical,Confirmed] - Assigned to Bartek Żurawski (bartekzurawski1)17:33
patchbotpatch 368264 - swift3 - Fix the deletion of non-existent keys17:33
timburkealso, it'll simplify my patch to add versioning support to swift3 :-)17:34
acolestimburke: but if nothing got deleted (and copied to versions) what is the delete marker used for - feels like we're using an inode to log a request?17:45
acoleswhether the status code of delete is 404 or not is orthogonal, or am I missing something?17:46
timburkei feel like that's rather the point of history mode -- to have an accurate history of the requests made. and i feel like this combined with symlink-based versioning will ultimately help us Do The Right Thing during failures17:48
*** nexusz99 has joined #openstack-swift17:50
*** tqtran has joined #openstack-swift17:50
*** amoralej is now known as amoralej|off17:52
notmynamemy gut reaction is that we don't need to rush to have "just" tests added into a release17:53
notmynameyes, they're important, and yes they should pass, and yes we should land them asap17:53
notmynameacoles: timburke: kota_: ^17:53
notmynamebut I'm not sure that means they need to land now. the reason for getting them in a release would be to use them to test backports that may be developed in the future17:54
*** silor has quit IRC17:54
*** nexusz99 has quit IRC17:55
*** psachin has joined #openstack-swift17:55
timburkenotmyname: and i'm not sure this is a good candidate for back-ports. particularly as the feature is already spread across multiple commits17:59
notmynametimburke: no, I wasn't meaning to backport this (although we could). I mean that the only reason to land the tests *right now* to be in the release is so that in 6 months when we do have asome other backport to newton, these tests are run18:00
notmynameand TBH I'm not sure how much value that is18:01
timburkeah, gotcha18:01
claygtimburke: I don't think the bugs about swiftclient's bad logging behavior have anything to do with the API difference between S3 and Swift WRT DELETE requests for keys that don't exist18:01
notmynamepoint is, I don't think we need to rush to get this (or these) test-only patches in to this release18:01
*** abhitechie has quit IRC18:01
claygnotmyname: is this the *release* release - or just the rc?18:01
*** arch-nemesis has joined #openstack-swift18:02
notmynameclayg: very very likely to be the real, actual release18:02
timburkeclayg: it makes it decidedly worse when a user is coming from a system where a DELETE should always 204 (like S3)18:02
notmynameif there's something major, we might be able to land it next week, but I think that could have ripple effects for other projects18:02
claygnotmyname: interesting... because lp bug #1624088 doesn't seem to be going anywhere :\18:03
openstackLaunchpad bug 1624088 in OpenStack Object Storage (swift) "EC missing durable can prevent reconstruction" [Critical,Confirmed] https://launchpad.net/bugs/162408818:03
notmynameclayg: ...yeah... :-(18:04
*** mariusv has quit IRC18:04
notmynameclayg: that would be a good candidate for a backport18:04
claygnotmyname: yup18:04
*** mariusv has joined #openstack-swift18:04
notmynameclayg: if this were any other swift release than the one to be included in a time-based openstack integrated release, then I'd hold off on the swift release to include that18:05
claygnotmyname: but idk, we stink at backports -> https://review.openstack.org/#/c/363855/18:05
patchbotpatch 363855 - swift (stable/mitaka) - Stop complaining about auditor_status files18:05
claygtimburke: you have another one too right?18:05
acolestimburke: hmmm, I'm going to have to ponder that some more (delete history) to grok it18:05
tdasilvanotmyname: is the deadline for this week just for an RC or for the offical release?18:05
acolesnotmyname: agree re tests18:05
claygtdasilva: notmyname says it's probably the real deal18:06
tdasilvaclayg: i mean, the deadline from the "openstack release schedule"18:06
claygtdasilva: i'm sure notmyname could explain it better than me18:07
tdasilvahttps://releases.openstack.org/newton/schedule.html18:07
notmynamethe final final openstack release is next thursday18:07
timburkeclayg: do i? i guess https://review.openstack.org/#/c/347538/ would be nice, but it's certainly not critical18:07
patchbotpatch 347538 - swift - Store SLO Etag and size in sysmeta18:07
*** raba has quit IRC18:08
tdasilvanotmyname: not the week after?18:08
claygtimburke: i ment backports18:08
acolesgood night18:08
notmynametdasilva: our deadline is thursday. I think the overall release is the next week18:08
*** acoles is now known as acoles_18:09
notmynameso the question is do we want to hold of on tagging to get a patch for bug 1624088 to land before thursday, or do we tag now and backport when that bugfix is available18:10
openstackbug 1624088 in OpenStack Object Storage (swift) "EC missing durable can prevent reconstruction" [Critical,Confirmed] https://launchpad.net/bugs/162408818:10
notmynameI'd vote for tag now and backport18:11
*** psachin has quit IRC18:11
notmynameI suppose a third option is tag now and also tag next week if a patch lands18:11
notmynametimburke: clayg: tdasilva: what do you think?18:12
*** silor has joined #openstack-swift18:12
tdasilvanotmyname: can we tag rc now and if it lands by next thu then issue a new RC18:12
timburkeclayg: oh yeah, those. patch 363855 and patch 362514. it *would* probably be nice to do them while we're still within 6 mos of stable/mitaka being cut -- not sure they really count as "critical" per http://docs.openstack.org/project-team-guide/stable-branches.html18:12
patchbothttps://review.openstack.org/#/c/363855/ - swift (stable/mitaka) - Stop complaining about auditor_status files18:12
tdasilvaif not, call the current RC *the* release18:12
patchbothttps://review.openstack.org/#/c/362514/ - swift (stable/mitaka) - Ignore auditor status files to prevent replicator ...18:12
notmynametdasilva: yes18:13
tdasilvanotmyname: what's your concern with that plan thou? what's the drawback... you've had it set for a while now that you wanted to release today, so you probably have more info on how the whole schedule works than I might realize...18:15
claygtimburke: I don't think I'd read those guidelines before - thanks!18:17
*** nikivi has joined #openstack-swift18:18
*** silor1 has joined #openstack-swift18:18
notmynametdasilva: ah, I got some clarification18:19
timburkeso, notmyname, since i think you're the only one with the right bits in gerrit, you might want to look at them real quick ;-)18:19
notmynameI'd been pushing for today as a deadline because (1) it's a deadline that we can work towards and gives us a tiny bit of room on the other side and (2) I kept getting bugged about "when will swift release be. other people have already tagged"18:20
notmynamehowever, it doesn't seem like there will be any cross-project impact if we tag today and next week18:20
notmynametimburke: the stable guidelines?18:20
*** silor has quit IRC18:22
*** silor1 is now known as silor18:22
*** nikivi has quit IRC18:23
*** adu has quit IRC18:25
notmynameclayg: what are your thoughts on tagging vs getting patch for bug 1624088 in the next few days?18:25
openstackbug 1624088 in OpenStack Object Storage (swift) "EC missing durable can prevent reconstruction" [Critical,Confirmed] https://launchpad.net/bugs/162408818:25
*** adu has joined #openstack-swift18:26
*** silor has quit IRC18:26
*** nikivi has joined #openstack-swift18:27
timburkenotmyname: the (my) two outstanding patches for mitaka18:29
notmynametimburke: right. on my list :-)18:29
*** nikivi has quit IRC18:33
*** silor has joined #openstack-swift18:33
*** dmsimard has left #openstack-swift18:33
openstackgerritThiago da Silva proposed openstack/swift: Return 404 on a GET if tombstone is newer  https://review.openstack.org/37115018:45
*** arch-nemesis has quit IRC18:50
claygnotmyname: i don't know - we could just update the reconstrcutor to send "x-backend-frag-prefs: '[]'" or some bs like that and the probetest will pass19:00
claygnotmyname: I guess I *sorta* think it'd be better to land that than ship with the known critical bug - but I also sorta think there's like some other (maybe less bad?) bug hiding in ust doing that19:01
claygor at least acoles seemed to convince me at one time that just always returns non-durable data isn't the best solution either19:01
claygsomething like you can have more than parity but less than data non-durable frags and then no one is happy19:02
claygbut I don't know if I've ever seen non-durable data in the cluster that wasn't reconstructable (i haven't proved that it's even possible; but I think it could happen - it's just a really specific packet has to fail to a bunch of nodes)19:04
claygidk19:04
claygidk19:04
claygidk19:04
*** arch-nemesis has joined #openstack-swift19:06
*** david-lyle_ has joined #openstack-swift19:10
*** david-lyle has quit IRC19:13
*** catintheroof has quit IRC19:17
*** silor has quit IRC19:28
*** nexusz99 has joined #openstack-swift19:38
timburkeclayg: oh sure, could totally happen. could be that the proxy just keels over for unrelated reasons between sending out all the frags and sending the commit19:40
timburkewhat i'm wondering though, is what the .durable really *tells* us. it means that on an isolated node, we know that there are (should be, i suppose) enough fragments on other nodes to reconstruct the original object19:42
*** nexusz99 has quit IRC19:43
timburkebut if we're contacting the other nodes anyway...why don't we just trust what they tell us? i think you're right that there'd be a bug in *just* sending the extra header and trying to reconstruct whatever comes back, though. i think the reconstructor will need the same sort of "well, ok, what *can* i return?" smarts that the proxy got19:43
claygwow, running functests with insecure = true is tons of fun (where fun ~= warnings about insecure ssl certs - because there's tons of them!)19:45
*** McMurlock1 has joined #openstack-swift19:46
*** nadeem has joined #openstack-swift19:47
claygtimburke: nope, if the proxy keels over at just the right moment - you could end up with a bunch of .data files that aren't durable - it's really hard to end up with half your nodes having .data files the other half not and no durable - it requires a transmission failure on just the right packet to more than parity nodes - then the proxy would timeout waiting on the 100-continue to send the durable19:54
claygI'm mainly thinking that scenario is less likely than failure to rebuild because not enough durables encountering missing frags enough to trap the durable - but i suppose that's acctually pretty unlikely too19:56
claygi don't really like the x-backend-frags-prefs api - it's too much!  the matrix of what could possibly be sent and what could possibly be responded with is too huge.19:57
claygI don't even think it represents the data model all that well - while the storage model can represent lots of different timestamps and frag indexes of various durability the system doesn't really exercise that much richness in practice19:58
*** McMurlock1 has quit IRC19:58
claygit's mostly just the one primary frag index and either the current timestamp and durable or also another timestamp on top (that is probably totally reconstructable)19:58
claygso I'm not sure how much "copy what the proxy does into the reconstructor" is really going to buy us :'(19:59
*** nadeem has quit IRC20:03
*** nadeem has joined #openstack-swift20:04
*** david-lyle_ is now known as david-lyle20:06
notmynametimburke: I just discovered a new trick!20:08
openstackgerritJohn Dickinson proposed openstack/python-swiftclient: add pypy to the bindep "test" profile  https://review.openstack.org/37569720:09
notmynametimburke: that ^20:09
notmynameclayg: timburke: so I'm thinking that I should go ahead and tag, then, and if there's a patch to fix that next week we can land it and have 2.10.1. otherwise, backport it as it's available20:12
clayghow many headers do we allow?  1024?20:21
openstackgerritJohn Dickinson proposed openstack/python-swiftclient: add pypy to the bindep "test" profile  https://review.openstack.org/37569720:22
notmynameclayg: 9020:22
notmynameclayg: oh, headers, not metadata keys20:22
notmynameummm..20:22
notmynamedunno20:23
tdasilvaisn't it like 13something?20:26
claygtdasilva: 90 + 30 + extra_headers20:27
claygno... 90 + 36 + extra_headers20:28
mattoliverauSo we need to do that releasenotes/notes yaml thing in the swift repo like we did for the swiftclient repo to get release notes/change log on that OS website?20:29
claygnotmyname: I bumped down the severity of lp bug #162408820:29
openstackLaunchpad bug 1624088 in OpenStack Object Storage (swift) "EC missing durable can prevent reconstruction" [High,Confirmed] https://launchpad.net/bugs/162408820:29
notmynamemattoliverau: yeah, someone else asked about that. are we using reno for this one? my initial reaction is to wait, but it's likely not too hard to push it in20:30
notmynameclayg: ack. thanks20:30
mattoliverauKk20:30
notmynameclayg: keeping our perfect record of not releasing with an open critical bug ;-)20:30
tdasilvathat we know of20:31
tdasilva;)20:31
claygnotmyname: it's more about admiting truthfully that we have a bug - it's bad - but it's not worth a) dopping everythig we're doing until it's fixed or b) blocking the release20:32
notmynameclayg: right. I'm just joking :-)20:32
claygso... it's by defintion not critical - but it's high - so hopefully we can figure out either a) who's thinking about it looking at it or b) if it should be medium20:33
notmynameat this rate, we'll get it down to "wishlist" pretty soon20:33
*** Jeffrey4l_ has joined #openstack-swift20:35
*** Jeffrey4l has quit IRC20:35
*** adu has quit IRC20:36
*** tongli has quit IRC20:37
claygdoes anyone know how to call .functests and get failfast behavior?  ostestr says --until-failure but that gives some other bs error20:39
openstackgerritJohn Dickinson proposed openstack/swift: authors/changelog updates for 2.10.0  https://review.openstack.org/37523520:43
notmynamemattoliverau: tdasilva: reno-ified ^20:43
claygwhoa reno!20:49
timburkenotmyname: oh, one question on https://review.openstack.org/#/c/375697/ -- do we know which profile infra is using for the gate? is that documented somewhere?20:50
patchbotpatch 375697 - python-swiftclient - add pypy to the bindep "test" profile20:50
timburkeor do they just use the tox env (assuming one exists) / default profile (if it doesn't)?20:51
notmynametimburke: clarkb told me it would work (in -infra) and no it doesn't use the tox env in the gate. but I couldn't find the definition of the job that is calling bindep in the project-config repo20:52
notmynametimburke: yes! I found it20:54
notmynameopenstack_project_config/jenkins/scripts/install-distro-packages.sh:4820:54
notmynameI think. let me linkify that for you20:54
notmynamehttps://github.com/openstack-infra/project-config/blob/master/jenkins/scripts/install-distro-packages.sh#L44-L5220:55
timburkeyep, got it. although really, the bit we're interested in is up at https://github.com/openstack-infra/project-config/blob/master/jenkins/scripts/install-distro-packages.sh#L3320:56
*** nikivi has joined #openstack-swift21:12
claygclarkb: k, i got functests passing against ssl omm - the only annoything was using the insecure self signed cert21:12
clarkbclayg: ok, any thoughts on how we should be able to selectively do that depending on whether or not the env has ssl configured? (thinking with devstack we have the catalog which may be useful)21:13
claygwell that's not 100% the *other* annoying part was configuring haproxy to not be so pedantic about http headers21:15
claygclarkb: well isn't access to the devstack catalog (in keystone right?) also conditional on the ssl'd ness?21:16
claygclarkb: I mean *really* the functests are going to use what ever protocol is returned from as the storage url in the catalog - the "configuration" of the swift func test suite is "how do you want me to talk to auth to get your storage url"21:17
clarkbgotcha21:17
claygclarkb: presumably it'd be tons easier if you could give the func tests test.conf a url instead of half a dozen different params for host port ssl insecure etc21:17
clarkbya21:18
clarkband maybe a CA cert to use for trusting things21:18
claygyah, some of tests use httplib - we'd have to look at how urllib3 does it's thing where it creates the ssl context and somehow plubms thought that cert option from requests21:18
claygclarkb: anyway - let me know if you have something you need me to look at21:22
*** StraubTW_ has quit IRC21:22
clarkbclayg: I don't really have anything specific. Am just trying to make a push towards more ssl by default in our testing21:22
clarkbclayg: so if you end up making those changes to swift I can circle back around and teach the job to use them21:23
clarkbotherwise its probably a matter of me teaching it to use the existing set of flags21:23
claygwell - i have a diff going on supression the warnings when you turn on insecure - and to make insecure work with newer ssl's - i'll add the url thing - but I'm not that hot-to-trot figuring out how to plumb the cacert thing - dunno if it'll help you in your endeavours or not (you'll still have to detect ssl auth endpoint and change the test.conf)21:25
clarkbthat will help a bit, just have to set insecure potentially.21:26
clarkbthen maybe later switch to setting the cert to trust21:26
*** nexusz99 has joined #openstack-swift21:26
clarkbthis is likely not the most important place to be testing ssl, but ideally we would have it enabled in devstack by default so if the jobs that used devstack just worked with that would be great21:27
clarkbbut its looking like we will have to do this piecemeal regardless so likely not a rush21:28
claygclarkb: what would be the url you'd normally put in?  http://keystone:35357/auth/v3.0 or something?  do you have an e.g.21:29
clarkbclayg: looks like https://127.0.0.1/identity21:30
claygmainly questioning if you prefix or version are normally included in the url - yah k21:30
clarkband then for admin things https://127.0.0.1/identity_v2_admin21:31
clarkb(I do not know why admin uses v2 explicitly)21:31
*** thumpba has joined #openstack-swift21:31
*** dmorita has quit IRC21:36
*** dmorita has joined #openstack-swift21:36
*** natarej has joined #openstack-swift21:43
*** nadeem has quit IRC21:45
*** thumpba has quit IRC21:46
*** nexusz99 has quit IRC21:50
*** vint_bra has quit IRC22:06
*** nadeem has joined #openstack-swift22:07
claygawhat on *earth* could this comment mean?   https://github.com/openstack/swift/blob/cb33660848e8576ff46334e7976fedd5fca972db/test/sample.conf#L922:10
clayghow does swift work with keystone if allow account managemnet is not true?22:10
claygand why would you phrase it as a should not?22:10
claygso lp bug #1530254 makes it sound like allow_account_management should be false - but I'm guessing that only works because the account was already created (like tests ran twice?)22:13
openstackLaunchpad bug 1530254 in OpenStack Object Storage (swift) "test.functional.tests.TestAccount testPUT fails when using keystone auth" [Undecided,Fix released] https://launchpad.net/bugs/1530254 - Assigned to Charles Hsu (charles0126)22:13
claygi would imagine on a clean cluster w/o allow_account_management the proxy app would reject the autocreate PUT account with 405 and no tests would fail unless the account was already created22:14
clayg... meanwhile I'm guessing the user being used for the test was a reselleradmin?  so instead of 403 on PUT account they were getting the 202?22:14
claygsigh, i gotta finish getting my devstack box up to snuff :'(22:15
openstackgerritMerged openstack/swift: authors/changelog updates for 2.10.0  https://review.openstack.org/37523522:30
notmynameyay. submitting that to be tagged at 2.10.022:30
zaitcevGuys, who is running swift3  in OpenStack nowadays? I see timburke and kota_ were committing recently. My problem is that we don't have any tarballs in https://tarballs.openstack.org/swift3/ .22:30
notmynameFYI https://review.openstack.org/#/c/375755/22:32
patchbotpatch 375755 - releases - swift 2.10.0 release (newton)22:32
claygzaitcev: a lot of our deploymens turn on swift3 for some app or another - timburke is definately the point man from our side when issues come up there?22:33
claygzaitcev: when i talk with cschwede he seems to also have folks doing swift3?22:33
zaitcevclayg: I meant the OpenStack infrastructure, sorry. You know, who do I ask to make tarballs cut and uploaded.22:36
clarkbzaitcev: you need to make sure the job is on the project then it happens automagically22:36
timburkei'm not even clear on how kota_ adds a tag right now :-/ the closest thing i'm familiar with is how notmyname now has to push patches to openstack/releases now for swift & swiftclient22:38
kota_good morning22:39
openstackgerritClay Gerrard proposed openstack/swift: Better SSL support in functests  https://review.openstack.org/37575922:41
kota_zaitcev, timburke: i'm following http://docs.openstack.org/infra/manual/drivers.html22:42
kota_for swift3 release, it might be older than the newest way for official project22:43
*** cdelatte has joined #openstack-swift22:43
zaitcevSo, all we have is "After a tag is created the release build will generate a source code tarball and may publish it to a repository such as PyPI"22:44
timburkekota_: oh, nice! then yeah, we should totally go put the tarball thing in some yaml file22:44
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873622:46
timburkezaitcev: i'd expect that if we had openstack-publish-jobs in https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/projects.yaml then it *should* Just Work for new tags22:46
kota_timburke: in project config? yeah, i saw similar thing in pyeclib but didn't on swift3 yet22:46
timburkekota_: http://tarballs.openstack.org/pyeclib/ still just has master, though. pypi-jobs might still be nice to have, though -- once https://pypi.python.org/pypi/swift3 actually exists22:48
zaitcevSomehow '{name}-tarball' job is missing from swift proper, yet tarballs get created.22:49
kota_ok, that's different from tarball, do you know which job is for tarball site?22:49
zaitcevmaybe openstack-publish-jobs is what's needed22:51
kota_it seems 'opensstack-server-release' or 'openstack-publish'22:51
kota_zaitcev: yeah, thanks22:52
kota_let me make sure the script22:52
*** _JZ_ has quit IRC22:58
kota_zaitcev, timburke: it looks like openstack-server-release-jobs is what we're looking for? https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/python-jobs.yaml#L693-L69723:00
*** nikivi has quit IRC23:01
kota_zaitcev: that includes {name}-tarball job23:01
kota_i think, the reason why the tarball site keeps only master branch is python-jobs has only {name}-branch-tarball job, https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/python-jobs.yaml#L63723:02
zaitcevYou're in a maze of little jobs, all alike.23:04
kota_exactly, complicated23:05
*** nadeem has quit IRC23:05
*** chsc has quit IRC23:05
*** dmorita has quit IRC23:07
*** dmorita has joined #openstack-swift23:08
*** dmorita has quit IRC23:12
*** _JZ_ has joined #openstack-swift23:15
kota_ah, wait, swift3 has {name}-tarball job???23:16
*** nexusz99 has joined #openstack-swift23:16
clayglol23:17
*** dmorita has joined #openstack-swift23:18
*** nexusz99 has quit IRC23:21
*** _JZ_ has quit IRC23:26
kota_hmm... I need more deep dive or asking for openstack infrat team later, no idea right now.23:32
kota_looking at scroll back, notmyname seems to like tag now and if something happens in the next week, it may tag again, anyway, the functests for versioned writes is now not rushed.23:44
kota_no time in this morning, will look at this night or early in the next week.23:44
kota_acoles: thanks for reviewing and the follow-up for in-process testing looks awesome!23:45
*** dmorita has quit IRC23:54

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