Friday, 2014-01-31

*** zackf1 has quit IRC00:00
openstackgerritA change was merged to openstack/swift: Make swift-recon usable on hosts without IPv6  https://review.openstack.org/6777600:07
*** _bluev has quit IRC00:09
*** Midnightmyth has quit IRC00:17
*** matsuhashi has joined #openstack-swift00:24
openstackgerritpaul luse proposed a change to openstack/swift: Replace Policy Index with Policy Name in Response Headers  https://review.openstack.org/7026500:25
*** _bluev has joined #openstack-swift00:28
*** _bluev has quit IRC00:28
*** tnewsome has quit IRC00:40
*** pheadron1 has joined #openstack-swift00:51
*** pheadron has quit IRC00:54
*** shri has quit IRC01:21
*** shri has joined #openstack-swift01:22
*** shri has quit IRC01:22
*** haomaiwang has joined #openstack-swift01:30
*** haomaiwa_ has quit IRC01:34
*** nosnos has joined #openstack-swift01:41
*** pheadron1 has quit IRC01:56
openstackgerritA change was merged to openstack/swift: Add Storage Policy Support to the Updater  https://review.openstack.org/6473702:17
*** matsuhashi has quit IRC02:34
*** matsuhas_ has joined #openstack-swift02:37
openstackgerritA change was merged to openstack/swift: Container Sync: Simple HTTP Proxy load balancing  https://review.openstack.org/6698902:38
*** csd has quit IRC02:40
*** Diddi has quit IRC02:54
*** Diddi has joined #openstack-swift02:55
*** markd has quit IRC03:06
*** matsuhashi has joined #openstack-swift03:07
*** matsuhas_ has quit IRC03:08
*** matsuhashi has quit IRC03:08
*** matsuhashi has joined #openstack-swift03:20
*** shri has joined #openstack-swift03:21
*** byeager has joined #openstack-swift03:33
*** matsuhashi has quit IRC03:34
*** matsuhashi has joined #openstack-swift03:35
*** matsuhashi has quit IRC03:43
*** matsuhashi has joined #openstack-swift03:50
*** gyee has quit IRC04:04
openstackgerritA change was merged to openstack/swift: Add Storage Policy Support to the Auditor  https://review.openstack.org/6446104:07
notmynameportante: something going on with grenade that we need to look at?04:12
*** gvernik has quit IRC04:16
*** Anju has quit IRC04:23
portantenotmyname: when a HUP signal is sent to the havana codebase all the WSGI server's get their shorts in a bunch04:24
portanteI had looked into that in the past, and I think we solved it by happenstance on master, but have to refresh my memory (doing that now)04:25
madhuriportante: Hi, could you please tell me what does fast POST method means?04:26
portantemadhuri:04:26
portanteby default04:26
portantePOST means COPY+new headers04:27
madhurimast sunna diya mene chilke ko, bola k me ab presentation nahi dungi. kisi ko interst hi nahi h. already 6 7 bar cancel ho chuka h04:27
portantefast POST means just add new headers over old04:27
portantenot abla04:27
*** judd7 has quit IRC04:28
madhuriportante: does it save metadata in .meta file04:28
madhuriportante: what is the need of .meta file?04:30
notmynamemadhuri: fast POST uses a .meta file on disk04:31
*** Anju has joined #openstack-swift04:32
madhuriit means when we add any custom metadata, it stores the metadata in .meta file rather than setting xattr to .data file?04:35
portantemadhuri: yes04:40
portanteso to construct an object's meta data, the xattrs from the .data a read, then the xattrs from the .meta are read, and merge together where the user settable xattrs are taken from the .meta (content-length, etag, content-type, name are taken only from the .data, I believe)04:41
*** tongli has quit IRC04:49
portantenotmyname: regarding that grenade thing04:54
notmynameyes?04:54
portanteremember the infinite loop logging errors when the /dev/log file get yanked?04:55
notmynameyup04:55
portantethe proxy server would spin in certain cases04:55
portantethat is what this appears to be04:55
notmynameso an ordering issue then04:56
portanteif you look at that stack trace, emit() is calling self.handleError(), which just calls into the same code path04:57
portanteI don't think this is an ordering issue, though04:58
portanteI don't think we construct our logging handler correctly04:58
notmynameportante: thanks for looking into that. FWIW (as I'm sure you confirmed too), this doesn't happen on my SAIO with `swift-init proxy restart --graceful` or `kill -HUP proxypid`04:58
notmynamewhat should we change?04:58
portanteyes, because no error occurs writing to the socket the logger has04:59
portanteI think swift/common/utils.py line 582, the write() method of that class05:00
portanteutils installs a default logger,and the stdlib traceback.py ends up invoking it05:01
notmynamenot on master05:01
*** byeager has quit IRC05:01
notmynameerr...that line number isn't right for master05:01
*** byeager has joined #openstack-swift05:02
portante732 in master05:03
*** ppai has joined #openstack-swift05:05
madhuriportante: why swift does so? why doesn't it go to set xattr to the .data file?05:06
*** haomaiwang has quit IRC05:09
*** haomaiwang has joined #openstack-swift05:10
portantemadhuri: because it needs to read the original metadata and merge it with the new metadata and that operation is not atomic (at least, that is how I understand it)05:10
portantenotmyname: the reason why this loop happens is because we install a utils.py LoggerFileObject instance in sys.stderr (see capture_stdio())05:11
notmynameportante: madhuri: also because the actual name of the .data and .meta files matter for conflict resolution05:11
madhuriportante: but it can be set to .data file also05:12
portantemadhuri: what do you mean?05:12
portantewhat is the "it" you refer to above? the original metadata of the file?05:13
madhuriwhy swift write custom metadata to .meta file? The custom metadata can be set to .data file also05:13
madhuriportante: yes05:13
*** byeager has quit IRC05:14
portantethe metadata is stored as a python dictionary, pickled and then broken up into 254 byte chunks so that they will opportunistically fit into XFS's short-form xattrs within an inode05:15
portanteat least, that was the originally intent as I understand it05:15
notmynamemadhuri: you can't coordinate overwrites of the .data files (ie fsyncs) across the multiple replicas in the cluster. so you can't guarantee that the data is written the same way when there are multiple concurrent writers. so you have to write new metadata into a new file. slow POST (the default) does this via a copy to a new .data file. the fast POST option writes to a new .meta file05:16
portantehowever, today, we no longer recommend 1024 byte inodes, the default 256 byte inodes are now recommended05:16
portantenotmyname: regarding the logging ...05:17
notmynameportante: ya, trying to trace through that code. I like it, but it's somewhat....convoluted05:17
*** nshaikh has joined #openstack-swift05:17
notmynameportante: do you have the stack trace link handy?05:19
portantebecause we replace sys.stderr and sys.stdout with a LoggerFileObject() that wraps the logger in use by wsgi, when the low-level python code (at /usr/lib/python2.7/logging/__init__.py:801) handles it05:19
portantean infinite loop is created05:19
portanteposting the traceback ...05:19
portantehttps://gist.github.com/portante/872695405:20
madhurinotmyname: portante: could you please tell me is there any buffer management in swift? In case while writing data, the disk failure happens then how does the data is recovered?05:23
notmynamemadhuri: I'd suggest reading through https://swiftstack.com/openstack-swift/architecture/05:23
notmynamemadhuri: also, https://swiftstack.com/blog/2012/09/13/how-openstack-swift-handles-hardware-failures/ is an overview of failure handling05:24
notmynameportante: why does this happen on SIGHUP vs any traceback?05:25
portantebecause I think the grenade jobs are nuking the /dev/log unix pipe by shutting down rsyslogd or something05:28
portanteI think they are doing that before or in parallel with the shutdown of all the swift processes (and possibly other things)05:28
portanteon errors sending to a unix socket, we appear to have an infinite loop05:29
notmynameI suppose "you're doing it wrong" isn't a helpful response to the bug? ;-)05:29
portante:)05:29
portanteI think they are05:29
notmynameright, but that's kinda the whole point of swift: keep working when somebody or some thing does "it" wrong05:29
portantebefore restarting syslogd, they should everything else down, make sure they shutdown cleaning, then restart syslogd and bring up the new stuff05:30
portanteye05:30
portantes05:30
portanteso I feel we should fix this loop05:30
portantedon't know how just yet, but we should fix it05:30
notmynameya, seems reasonable. here's hoping the fix is also reasonable ;-)05:32
madhurinotmyname: portante: thanks alot05:32
portantemadhuri: you are welcome05:32
notmynamezaitcev: did that thing you just tweeted happen to you? that's hilarious05:33
zaitcevnotmyname: Yes, it's some kind of spam.05:33
zaitcevnotmyname: sent to zaitcev@redhat.com, no less.05:34
notmynamelol05:35
zaitcevnotmyname: About that prohibition on copying from Oslo, how hard is it? I stole the part that invokes sys._current_frames() from there, which Solly in turn stole from Dan Berrange's prototype.05:40
zaitcevI mean I could've taken it from stackoverflow but this seems more proper somehow.05:41
notmynamezaitcev: well, the method is "we'll automatically copy/paste code into your repo and then you need to accept it after a bot proposes every new change that happens in the other repo"05:42
notmynameso it's more an issue with code in the repo that isn't actually managed by the maintainers of that repo. that's the bad part, and that's why I don't think we'll ever accept oslo-incubator code. make a library/module, and then the conversation can talk05:45
*** byeager has joined #openstack-swift05:45
zaitcevthanks... I think I'm safe, then05:46
*** ChanServ sets mode: +v zaitcev05:57
*** byeager has quit IRC06:00
zaitcevaww, I'm going to bed soon06:10
zaitcevAlso, if I identify to services, I'll get the voice normally. I just avoid doing it, since my IRC is not SSL, so passwords flies like in telnet.06:11
notmynameah ok06:11
notmynamescreen + irssi?06:11
notmynamezaitcev: I figure a microsoft expert like yourself would have solved ssl in irc by now ;-)06:12
*** odyssey4me has joined #openstack-swift06:32
*** zaitcev has quit IRC06:35
*** zaitcev has joined #openstack-swift06:35
*** ChanServ sets mode: +v zaitcev06:36
*** zaitcev has quit IRC06:42
*** haomai___ has joined #openstack-swift07:01
*** haomaiwang has quit IRC07:01
openstackgerritKota Tsuyuzaki proposed a change to openstack/swift: Add missing sample config of object-replicator  https://review.openstack.org/6930107:04
*** shri has quit IRC07:14
*** psharma has joined #openstack-swift07:26
*** shri has joined #openstack-swift07:52
*** shri has quit IRC07:53
*** matsuhashi has quit IRC08:37
*** sileht has quit IRC08:42
*** foexle has joined #openstack-swift08:43
*** sileht has joined #openstack-swift08:47
*** nacim has joined #openstack-swift08:47
*** haomai___ has quit IRC08:47
*** haomaiwang has joined #openstack-swift08:48
chmouelcschwede: about https://review.openstack.org/#/c/62584/4/test/unit/bin/test_recon_client.py08:49
chmouelI commented on the review there08:49
chmouelbut I think we should just go ahead and move the code to swift.cli directory08:49
cschwedechmouel: thanks for the review, looking08:49
chmouelpandemicsyn: ^^^ what do you think since you were the original author of swift recon08:50
cschwedechmouel: hmm, yes, that makes a lot of sense to me08:51
cschwedechmouel: doing this (only importing in bin/* from swift.cli) would make it a lot easier to test all that stuff08:51
chmouelcschwede: yeah right that would be the idea08:51
cschwedechmouel: without all the workarounds importing files with dashes in their name or missing ".py", suppressing creating of bytecode files etc08:52
chmouellet's see if notmyname or others have something to say about it and we can start doing the move for bin/* and get the coverage report to start show them (at 0 at first i guess)08:52
chmouelcschwede: yeah that looked scary :)08:52
cschwedechmouel: to make it easier for reviewers, should this be separated into two patches? one patch for moving code out of bin, follow up for test?08:53
cschwedechmouel: it is scary :)08:53
cschwedechmouel: and it was a pain to get this working...08:53
chmouelcschwede: I prefer that way but the others swift reviewers one large patch08:53
chmouelI would move the bin/swift to swift.cli add a minimal test that just pass so coverage can show08:54
chmoueland start from there08:54
chmouel(minimal test that import the module and just pass for the first test)08:54
openstackgerritA change was merged to openstack/python-swiftclient: Add capabilities option  https://review.openstack.org/6644208:55
*** fbo_away is now known as fbo08:57
cschwedechmouel: ok, will start with moving code and adding some basic test08:58
chmouelyou may want to ping others on US time just in case if other core have  something to say about it08:59
chmouelcschwede: ^08:59
cschwedechmouel: yepp, will do that08:59
chmouelcschwede: cool thanks08:59
chmoueland that's it we right on time for the scrum08:59
chmoueloops wrong window08:59
openstackgerritA change was merged to openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/6371409:10
openstackgerritA change was merged to openstack/python-swiftclient: assertEquals is deprecated, use assertEqual  https://review.openstack.org/6741909:13
chmouelcreiht: add to the swift agenda for the next meeting the item to talk about py3 since you mentionned it https://wiki.openstack.org/wiki/Meetings/Swift09:27
*** xga has joined #openstack-swift09:35
*** matsuhashi has joined #openstack-swift09:44
*** xga has quit IRC09:49
*** xga has joined #openstack-swift09:49
*** xga has quit IRC09:51
*** xga has joined #openstack-swift09:52
*** matsuhashi has quit IRC10:05
*** SnowDust has joined #openstack-swift10:12
*** matsuhashi has joined #openstack-swift10:16
*** gvernik_ has joined #openstack-swift10:16
*** ccorrigan has quit IRC10:26
*** Midnightmyth has joined #openstack-swift10:34
*** gvernik_ has quit IRC10:36
*** xga_ has joined #openstack-swift10:37
*** nacim_ has joined #openstack-swift10:38
*** haomaiwang has quit IRC10:39
*** nacim has quit IRC10:39
*** xga has quit IRC10:40
*** gvernik_ has joined #openstack-swift10:48
*** gvernik_ has quit IRC11:10
*** haomaiwa_ has joined #openstack-swift11:20
*** xga_ has quit IRC11:28
*** zanc has joined #openstack-swift11:52
*** zanc has joined #openstack-swift11:52
*** bada_ has joined #openstack-swift12:21
*** bada has quit IRC12:24
*** ppai has quit IRC12:33
*** xga has joined #openstack-swift12:40
*** kris_h has joined #openstack-swift12:59
*** kris_h has left #openstack-swift12:59
*** kris_h has joined #openstack-swift13:06
*** Trixboxer has joined #openstack-swift13:07
*** odyssey4me has quit IRC13:19
*** haomaiwa_ has quit IRC13:31
*** haomaiwang has joined #openstack-swift13:32
*** psharma has quit IRC13:36
*** matsuhashi has quit IRC13:41
*** gvernik_ has joined #openstack-swift13:43
*** kris_h has quit IRC13:44
*** matsuhashi has joined #openstack-swift13:50
*** matsuhashi has quit IRC13:57
*** matsuhashi has joined #openstack-swift14:04
*** haomai___ has joined #openstack-swift14:14
*** haomaiwang has quit IRC14:17
*** zanc has quit IRC14:23
openstackgerritChristian Schwede proposed a change to openstack/swift: Add some tests for bin/swift-recon  https://review.openstack.org/7035214:26
openstackgerritChristian Schwede proposed a change to openstack/swift: Add some tests for bin/swift-recon  https://review.openstack.org/6258414:28
*** matsuhashi has quit IRC14:28
*** mrsnivvel has quit IRC14:29
*** zanc has joined #openstack-swift14:34
*** SnowDust has quit IRC14:34
*** nosnos has quit IRC14:37
*** xga has quit IRC14:37
*** gvernik_ has quit IRC14:38
cschwedechmouel: talking about https://review.openstack.org/#/c/62584/ : do you mean to put swift-recon and swift-recon-cron into swift.cli.recon?14:40
chmouelcschwede: oh i forgot about recon cron, can they share same code between the twos?14:41
chmouelor is it completely different14:41
cschwedechmouel: they have both a main()14:41
cschwedeswift-recon-cron is only a few lines, but they don't share code14:42
cschwedechmouel: ah nevermind, i know what you mean. yes, that makes a lot of sense14:42
* cschwede needs a coffee break14:43
chmoueli think i may just do that as well :)14:43
openstackgerritChristian Schwede proposed a change to openstack/swift: Add some tests for bin/swift-recon  https://review.openstack.org/6258414:45
*** russellb is now known as rustlebee15:02
*** nacim_ has quit IRC15:03
*** nacim has joined #openstack-swift15:12
*** ccorrigan has joined #openstack-swift15:19
*** foexle has quit IRC15:21
*** foexle has joined #openstack-swift15:21
*** nacim has quit IRC15:23
*** gvernik_ has joined #openstack-swift15:34
*** xga has joined #openstack-swift15:34
*** nacim has joined #openstack-swift15:35
openstackgerritSergio Cazzolato proposed a change to openstack/python-swiftclient: Bump hacking to 0.8  https://review.openstack.org/5979015:35
*** nshaikh has left #openstack-swift15:40
*** gvernik_ has quit IRC15:48
openstackgerritChristian Schwede proposed a change to openstack/swift: Add some tests for bin/swift-recon  https://review.openstack.org/6258415:51
*** gvernik_ has joined #openstack-swift15:53
openstackgerritChristian Schwede proposed a change to openstack/swift: Add some tests for bin/swift-recon  https://review.openstack.org/6258415:53
*** IRTermite has joined #openstack-swift16:08
*** leibinet has joined #openstack-swift16:11
*** csd has joined #openstack-swift16:17
creihtchmouel: thx16:17
*** rook][ has joined #openstack-swift16:21
*** zaitcev has joined #openstack-swift16:22
*** ChanServ sets mode: +v zaitcev16:22
*** hurricanerix has joined #openstack-swift16:24
brianclinein its current incarnation, there's no way of guaranteeing that a replica will exist in all regions of a global cluster, right?16:25
brianclineassuming replica count <= region count16:26
brianclineoops. i mean where replicas = regions16:26
*** leibinet has left #openstack-swift16:32
*** byeager has joined #openstack-swift16:32
creihtnotmyname: do you know if they intend to flip the switch to be v3 auth only for the next release?16:33
creihtasking for a friend on another project16:33
creihtchmouel: -^ ?16:33
chmouelcreiht: next release for juno it will just be deprecated not only16:34
creihtk16:34
creihtthx16:34
*** gvernik_ has quit IRC16:44
dfgchmouel: i tested that patch with safari and it seemed to work. i was using tempauth though16:51
dfgchmouel: i am going to make some changes to it though. i'm still not restricting cors if they have a specific origin(s) they want set. it never did that before but I want it to now atleast for x-web-true requests.16:52
chmoueldfg: so the x-web-true is only on staticweb requests right?16:52
dfgchmouel: on the other hand do we really want regualr (non-option) origin calls to just magically work for anything? i left that alone because I didn't want to break anybody but its kinda a bug16:53
dfgchmouel: ya, in swift. i use them for SOS too. but the x-web-true did change if you didn't have cors set up at all16:54
chmoueldfg: are you sure that works? maybe i missed something but it should not reply back16:54
dfgchmouel: so what happened?16:55
dfgchmouel: nm- let me just put up the new patch16:55
chmoueldfg: yep16:55
notmynamegood morning everyone16:56
chmoueldfg: cause ia m trying to understand what you means :) and i think will be better with the patch16:56
chmouelnotmyname: good morning16:56
notmynamebriancline: if replicas == regions, then you'll have a replica in each region16:56
dfgchmouel: ok.16:56
dfgchmouel: are you expecting cors to work with no container metadata set?17:03
chmoueldfg: yes, people would set it up in proxy-server.conf17:05
*** gyee has joined #openstack-swift17:05
dfgchmouel: hm- well that should still work but I didn't test it with the proxy-server.conf stuff- so it probably doesn't :)17:10
dfgchmouel: ok- if they don't have container metadata cors and they don't have it set in the proxy-server.conf do you still want cors to work. because right now it does. not for OPTIONS calls but for simple cross origin requests17:12
chmouelah well but you need the OPTIONS call to work for PUT right?17:13
chmoueldfg:17:13
dfgthe cors_validation just adds in th origin that was passed to it all the time. now- can I just consider that a bug?17:13
dfgya- for puts- but not for GETs17:13
dfgchmouel: ^^17:13
chmouelhold on sorry on a video call at the same time :(17:14
dfgits alright- i'll go make coffee17:14
*** xga has quit IRC17:29
*** gyee has quit IRC17:30
openstackgerritA change was merged to openstack/python-swiftclient: Install manpage in share/man/man1 instead of man/man1  https://review.openstack.org/6781317:32
*** byeager has quit IRC17:44
*** fbo is now known as fbo_away17:46
*** nacim has quit IRC17:49
notmynameFYI, unittest failure in the gate https://jenkins03.openstack.org/job/gate-swift-python27/309/console17:55
* creiht blames clayg :)17:59
creihtI'll see if I can poke at it17:59
creihtnotmyname: that test seems to fail intermittently18:03
creihtin jenkins18:03
creihtof course I can never get it to fail18:03
*** IRTermite has left #openstack-swift18:03
*** IRTermite has joined #openstack-swift18:07
glangeyou fixed it, good job18:10
*** wer has quit IRC18:10
creihtheh18:11
*** wer has joined #openstack-swift18:11
notmynamecreiht: thanks for looking. here's some logstash results of other test runs too http://goo.gl/OpR38z18:23
creihtclayg: but if you have time to look, I would mind your eyes looking at it as well :)18:28
claygcreiht: sure no worries - but... what now?18:37
creihthehe18:38
creihtclayg: isn't this the test that you added to my memcache path?18:38
creihtto test the timeouts18:38
claygoh yeah sure, those all suck - i'll poke at it18:38
creihthaha18:38
creihtso the interesting thing that I have found18:39
creihtif I comment out the sleep before the assert that fails for jenkins, I get the same failure18:39
creihtit seems like for some reason things aren't yielding right18:39
creihtbut I dunno... this test is kinda hard to follow ;P18:41
*** shri has joined #openstack-swift18:41
creihtclayg: actually, why would the pending go from 10 to 8?18:48
creihtshould we maybe get rid of the sleep there, and change the assert to 10?18:48
creihtif I do that, the test passes here18:48
creihtnot certain if that is really the desired behavior of the test though18:48
*** markd has joined #openstack-swift18:50
claygcreiht: sorry i'm in a meeting, portante ended up re-writing the test that eventually got merged I think18:52
creihtclayg: no worries18:53
openstackgerritChuck Thier proposed a change to openstack/swift: Attempt to fix periodic memcache timeout test  https://review.openstack.org/7040018:59
creihtnotmyname: not really sure if that will fix the issue19:00
creihtbut I *think* the test makes a little more sense now19:00
creihtclayg, portante, if you can get a min to look and let me know what you think -^19:00
*** byeager has joined #openstack-swift19:01
*** byeager has quit IRC19:02
*** byeager_ has joined #openstack-swift19:02
*** SnowDust has joined #openstack-swift19:05
*** gyee has joined #openstack-swift19:13
*** SnowDust has quit IRC19:15
*** IRTermite has quit IRC19:19
*** xga has joined #openstack-swift19:26
*** gvernik_ has joined #openstack-swift19:26
*** SnowDust has joined #openstack-swift19:28
*** xga has quit IRC19:30
*** IRTermite has joined #openstack-swift19:31
cschwedeswifterdarrell: ping19:41
*** zackf has joined #openstack-swift19:44
*** byeager_ has quit IRC19:47
openstackgerritChuck Thier proposed a change to openstack/swift: Attempt to fix periodic memcache timeout test  https://review.openstack.org/7040019:53
creihtgah19:53
*** perfectsine has joined #openstack-swift19:53
openstackgerritChuck Thier proposed a change to openstack/swift: Attempt to fix periodic memcache timeout test  https://review.openstack.org/7040019:54
gholtPerfect way to rejoin the team.19:54
creihthah19:55
* creiht wonders if anyone has created a openstack gerrit commit cheat sheet19:55
gholtHah, that change is pretty much like the one I did this morning: https://github.com/pandemicsyn/fgerrit/pull/1919:55
creihtlol19:56
*** byeager has joined #openstack-swift19:58
*** gvernik_ has quit IRC20:01
*** judd7 has joined #openstack-swift20:03
*** byeager has quit IRC20:05
*** bsdkurt has quit IRC20:08
notmynameyay, creiht's back20:10
rook][Hello all, has anyone setup a read-only role for swift in keystone?  (not finding any examples via google)20:14
torgomaticrook][: you might have more luck asking in #openstack-dev; Swift has pluggable auth systems, so a lot of folks in here don't use Keystone at all20:17
koolhead17rook][: https://github.com/openstack/swift/blob/master/swift/common/middleware/keystoneauth.py << Let me know if this might help :)20:17
torgomaticI mean, some do, but historically the amount of Keystone knowledge in here has been small20:17
rook][thanks guys20:18
koolhead17torgomatic: notmyname hellos20:18
notmynamekoolhead17: hi20:18
* koolhead17 wonders why Super Bowl is everywhere today!!20:18
*** gvernik_ has joined #openstack-swift20:22
creihtheh20:24
pelusetorgomatic: do you think we should require policy names?  Now that we are doing /info and I just put a patch up to supply policy name instead of index on HEAD, blank policy names can be a little confusing20:30
notmynamepeluse: yes, it should have a name :-)20:31
torgomaticpeluse: yeah, if it's a client-facing thing, and clients use names, we should require names20:31
peluseThanks guys.  I'll submit a patch to make it required20:32
brianclinegenerally speaking, despite the fact they serve mostly different purposes, is there any chance of container sync being deprecated / obliterated in the future, due to the option of using global clusters?20:32
notmynamepeluse: but internal use of it should all be the index (as it is currently AFAIK).20:33
notmynamebriancline: I doubt it20:33
notmynamebriancline: reason being, they serve different purposes :-)20:33
torgomaticbriancline: I can give you an upper bound of about 5 Gyears on the lifetime of container sync20:33
notmynametorgomatic: the 5th busy beaver number?20:34
torgomaticafter that, the sun's expansion will destroy the earth, so no traces of container sync will remain :)20:34
torgomaticbarring Swift-in-space, of course20:34
torgomaticmultiglobal clusters?20:34
notmynametorgomatic: lol, interplanetary container sync20:34
notmynametorgomatic: actually, letterj was working on getting swift in space. literally20:34
brianclinenotmyname: torgomatic: good, I suspected as much, but wanted to confirm :)20:35
torgomaticnotmyname: at that point, we'll have to support RFC 692120:35
brianclinereduced redundancy storage on the moon would be nice20:35
*** bsdkurt has joined #openstack-swift20:38
*** byeager has joined #openstack-swift20:40
*** byeager has quit IRC20:41
*** csd has quit IRC20:42
*** SnowDust has quit IRC20:45
brianclineis the process of syncing the actual objects in a container sync-enabled container a serial process? or does that depend on the number of container servers you're running20:59
*** gvernik_ has quit IRC21:05
*** byeager has joined #openstack-swift21:05
*** csd has joined #openstack-swift21:12
openstackgerritSamuel Merritt proposed a change to openstack/swift: Merge remote-tracking branch 'upstream/master' into feature/ec  https://review.openstack.org/7044221:17
*** openstackgerrit has quit IRC21:53
*** openstackgerrit has joined #openstack-swift21:53
*** byeager has quit IRC22:03
*** csd has quit IRC22:04
*** dencaval has quit IRC22:11
*** rook][ has quit IRC22:19
*** csd has joined #openstack-swift22:32
*** Trixboxer has quit IRC22:32
*** byeager has joined #openstack-swift22:47
openstackgerritA change was merged to openstack/swift-bench: Add MANIFEST.in  https://review.openstack.org/6662023:01
notmynamewow that was fast23:01
*** byeager has quit IRC23:04
*** byeager has joined #openstack-swift23:04
markdhello, new to openstack, I have been looking at the swift tests, and am wondering if there is any documentation like a test plan or pydoc  of what the tests do/test.  I have been searching all the docs, but so far have not found any.23:21
notmynamemarkd: welcome!23:21
notmynamemarkd: I'd say that mostly the devs who write swift also run it in prod and also do qa for their respective clusters. and as such there isn't a particular test spec. the test names are pretty descriptive23:22
notmynamemarkd: there are 3 kinds of tests in swift23:22
notmynamemarkd: unit tests, functional tests, and probe tests23:23
notmynamemarkd: unit and functional tests are pretty self-explanatory. and you can look at the API docs to see what needs to be tested in the functional tests23:23
markdnotmyname, yep, have run those... OK, so I'll just study the code.  Personally, I put a doc block at the start of my tests to indicate what it is testing and what if any parameters it needs.'23:23
markdthanks for the quick reply!23:24
notmynamemarkd: probe tests are "white box" testing, in that the tests start and kill various processes and ensure that things still work in the system23:24
markdah, good to know.23:24
notmynamemarkd: also, there's been some work going on in the openstack tempest project to add swift functional testing there. it's fairly disconnected from the tests in the swift repo, but you will see more tests there as time goes on23:25
notmynameessentially, the tempest tests are functional tests23:26
markdnotmyname, yep, just getting started with the tempest stuff.  I'll look into that as well.  Cool.  Thanks.23:26
notmynamemarkd: cool. are you going to be writing new tests? either for tempest or int he swift codebase?23:26
markdnotmyname, maybe... I work for Hitachi Data Systems and we are working on supporting the swift protocol (and other openstack protocols) for our product.  Some of our changes may make it back to the core.  I am a test guy so am looking at things from that perspective.23:28
markdSo starting with the existing tests is a  good first step.23:29
notmynamemarkd: any chance you know aaron martinez at HDS?23:30
notmynamemarkd: I sat next to him on a plane last week and we talked openstack and swift and HDS23:30
markdnotmyname, hmmm, no I don't do you know what product he works on?  I have only been with HDS for 4 months.23:30
notmynameah, no worries. just curious if there was a connection :-)23:31
markdI'll make a note of it... and ask others.... I'm sure he is known.23:31
markd:-)23:31
notmynamemarkd: he's a sales engineer23:31
notmynamemarkd: so tell me more about HDS supporting swift23:32
markdah, makes sense.23:32
notmynamemarkd: I have opinions on how this should be done ;-)23:32
*** zackf has quit IRC23:32
markdWell it appears that HDS is getting the openstack religion.  I am new to the storage world, but HDS has a number of storage products.  The one I am working on has not been released yet so I can't say much about it.  We want our product to 'just work' with openstack.  Our product would be a great fit for swift storage as we offer availability, partition tolerance AND consistency....23:35
markdRight now just supporting NFS/Posix semantics, will be supporting CIFS.23:38
notmynamemarkd: for that kind of integration, HDS should be looking at how to use those storage volumes under Swift via the DiskFile abstraction23:41
markdOK, I will pass that on... just starting that effort so good to know.23:42
notmynameya, unfortunately, friday afternoon at the end of the US business day isn't the best time to get a lot of active discussion :-)23:42
markdnope.  In fact I gotta run.  Thanks for the discussion and pointers!23:43
*** byeager has quit IRC23:45
*** hurrican_ has joined #openstack-swift23:45
*** hurricanerix has quit IRC23:45
*** hurricanerix has joined #openstack-swift23:45

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