Thursday, 2018-12-20

*** mikecmpbll has quit IRC00:07
mattoliveraunotmyname: so we had a quick discussion about this weeks ago. But what shall we do with p 620440. The way the code is now is clearly wrong. As we pass the partition in as the account. But turns out we don't use those values because we overload with _datadir. So doesn't cause us issues.00:19
patchbothttps://review.openstack.org/#/c/620440/ - swift - Fix a potential bug - 1 patch set00:19
mattoliverauWithout creating a fictional diskfile class that needs the _datadir, partition and account we cant really test this.00:20
timburkecould we have mem_diskfile do ... something ... with it?00:21
mattoliverauBut I'm of the opinion, clearly what we have now is an error not a bug. We're just lucky we don't use all the parameters we pass in. So I think it should land without a test.00:21
mattoliverauoh yeah, I guess that's an option.00:21
notmynamemattoliverau: kinda reminds me of the patch for sharding. the code was just wrong, so testing it initially seemed to be something silly like "make sure we know how to call a function"00:22
mattoliveraubut we don't write tests for any typo's or copy and paste errors we've made.. we just fix em00:22
notmynameright00:22
notmynamein a lot of ways, this is "just " a typo. but if we can test it by making a stub mem diskfile or something, just to ensure the interface contract is valid, that seems ok00:22
notmynameso I'm ok with landing it as-is. but a test that checks the interface contract seems reasonable too00:23
mattoliverauI'm about to go to lunch with csmart. I think some more afterwards. I can be convinced to create a test using stub mem diskfile, but I'm also lazy :P00:24
csmart👍👌00:25
*** itlinux has quit IRC01:02
*** gyee has quit IRC02:00
*** rcernin has quit IRC02:31
*** psachin has joined #openstack-swift02:43
*** rcernin has joined #openstack-swift02:55
*** rcernin has quit IRC04:05
*** rcernin has joined #openstack-swift04:12
openstackgerritMerged openstack/swift master: Add a comment about the module list for py3 in tox.ini  https://review.openstack.org/62607705:03
zaitcevGood heavens, what a struggle that was :-)05:10
mattoliveraulol05:19
*** mgagne has quit IRC06:33
*** mgagne has joined #openstack-swift06:40
*** ccamacho has quit IRC06:47
*** rcernin has quit IRC06:56
*** pcaruana has joined #openstack-swift07:25
*** hseipp has joined #openstack-swift07:42
*** hseipp has quit IRC07:47
*** gkadam has joined #openstack-swift07:49
*** ccamacho has joined #openstack-swift08:03
*** ccamacho has quit IRC08:13
*** ccamacho has joined #openstack-swift08:13
*** ccamacho has quit IRC08:49
*** mikecmpbll has joined #openstack-swift09:09
*** ccamacho has joined #openstack-swift09:13
*** hseipp has joined #openstack-swift09:47
*** e0ne has joined #openstack-swift09:53
*** e0ne has quit IRC10:29
*** e0ne has joined #openstack-swift10:30
*** mikecmpb_ has joined #openstack-swift10:33
*** mikecmpbll has quit IRC10:34
*** mpasserini has joined #openstack-swift11:16
mpasseriniHi, we upgraded our main OpenStack to Queens, but Swift is still at Pike, we see this error in the logs when trying to access Swift:11:17
mpasseriniproxy-server: Identity response: {"error": {"message": "(http://172.16.12.21:5000/v2.0/tokens): The resource could not be found.", "code": 404, "title": "Not Found"}}11:17
mpasseriniI guess we need to force Swift to use v3 tokens?11:17
*** mikecmpb_ has quit IRC11:17
mpasseriniwhat's the right config for that, I tried adding auth_uri = http://172.16.12.21:5000/v3​ but it didn't help11:18
*** mikecmpbll has joined #openstack-swift11:18
*** mvkr has quit IRC11:28
*** mpasserini has quit IRC11:31
*** mvkr has joined #openstack-swift11:54
*** ccamacho has quit IRC12:14
*** mpasserini has joined #openstack-swift12:22
mpasserini(sorry I lost connection, did I get some reply in the meanwhile?)12:22
mpasserinisolved, nevermind12:51
*** ccamacho has joined #openstack-swift12:58
*** ccamacho has quit IRC12:58
*** ccamacho has joined #openstack-swift12:58
*** ccamacho has quit IRC13:06
*** ccamacho has joined #openstack-swift13:12
*** e0ne has quit IRC13:19
*** gkadam has quit IRC13:25
*** psachin has quit IRC13:27
*** e0ne has joined #openstack-swift13:33
*** mvkr has quit IRC14:10
*** mvkr has joined #openstack-swift14:10
*** e0ne has quit IRC14:11
*** e0ne_ has joined #openstack-swift14:11
*** mpasserini has quit IRC14:13
*** baojg has quit IRC14:15
*** baojg has joined #openstack-swift14:16
*** hseipp has quit IRC16:23
*** ccamacho has quit IRC16:24
*** mvkr has quit IRC16:29
*** gyee has joined #openstack-swift16:36
*** e0ne_ has quit IRC16:59
*** ccamacho has joined #openstack-swift17:09
*** SkyRocknRoll has joined #openstack-swift17:25
*** mikecmpbll has quit IRC17:37
*** mvkr has joined #openstack-swift17:39
*** SkyRocknRoll has quit IRC18:16
*** mikecmpbll has joined #openstack-swift18:19
*** ianychoi has quit IRC18:22
*** guimaluf has joined #openstack-swift18:27
*** e0ne has joined #openstack-swift18:49
*** e0ne_ has joined #openstack-swift19:25
*** e0ne has quit IRC19:25
openstackgerritThiago da Silva proposed openstack/swift master: WIP: add rolling upgrade tests  https://review.openstack.org/62666319:44
*** pcaruana has quit IRC19:57
openstackgerritThiago da Silva proposed openstack/swift master: WIP: add rolling upgrade tests  https://review.openstack.org/62666320:46
notmynametdasilva: cool. looks like the main benefit there is testing against data that has persisted across an upgrade?20:52
openstackgerritAndreas Jaeger proposed openstack/python-swiftclient master: Use template for lower-constraints  https://review.openstack.org/62674220:52
tdasilvanotmyname: yes, that's the idea. right now it's just the framework, but we could add more tests that exercise, slos, dlos, versioning, etc...20:53
notmynameyeah testing those "special" types of objects would be really good20:53
tdasilvanotmyname: was also thinking about modifying the rolling nodes a bit to have 2 object server nodes and 1 account/container as opposed to the current 1 object, 1 account, 1 container.20:54
tdasilvanotmyname: that way we could just upgrade one of the object servers20:55
tdasilvai'm thinking of cases like losf for example20:56
notmynameyeah. sounds like a great (additive?) change20:57
*** e0ne_ has quit IRC21:21
*** itlinux has joined #openstack-swift22:04
openstackgerritThiago da Silva proposed openstack/swift master: Add rolling upgrade tests  https://review.openstack.org/62666322:19
mattoliverautdasilva: great idea22:20
mattoliveraumorning22:20
tdasilvajust realized our experiemental tests were not running against those defined versions due to a typo that ansible never got to tell us about because it just used a default value instead :/22:22
tdasilvamattoliverau: thanks22:22
tdasilvahttps://review.openstack.org/#/c/626663/3/tools/playbooks/multinode_setup/make_rings.yaml@2422:23
patchbotpatch 626663 - swift - Add rolling upgrade tests - 3 patch sets22:23
*** rcernin has joined #openstack-swift22:50
*** itlinux has quit IRC23:11
openstackgerritThiago da Silva proposed openstack/swift master: Add rolling upgrade tests  https://review.openstack.org/62666323:24
openstackgerritMerged openstack/python-swiftclient master: Use template for lower-constraints  https://review.openstack.org/62674223:51

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