Thursday, 2014-02-13

*** dmsimard has quit IRC00:03
*** rpedde is now known as rpedde_away00:05
*** hurrican_ has joined #openstack-swift00:11
*** hurricanerix has quit IRC00:15
*** hurrican_ has quit IRC00:16
*** krtaylor has joined #openstack-swift00:26
*** tgohad has quit IRC00:51
*** dmorita has joined #openstack-swift01:00
openstackgerritJohn Dickinson proposed a change to openstack/swift: Added docs about the swift_source log field  https://review.openstack.org/7116301:01
*** shri has left #openstack-swift01:31
*** zul has joined #openstack-swift01:51
*** nosnos has joined #openstack-swift02:00
*** byeager has joined #openstack-swift02:01
*** byeager has quit IRC02:09
*** mkerrin1 has joined #openstack-swift02:10
*** booi_ has joined #openstack-swift02:11
openstackgerritA change was merged to openstack/swift: Remove duplicate doc entry for swob  https://review.openstack.org/7292202:11
*** haomaiwa_ has joined #openstack-swift02:11
*** mtaylor has joined #openstack-swift02:13
*** byeager has joined #openstack-swift02:13
*** kris_ha has joined #openstack-swift02:14
*** cschwede_ has joined #openstack-swift02:14
*** dmorita has quit IRC02:14
*** tristanC_ has joined #openstack-swift02:14
*** mkerrin has quit IRC02:15
*** haomai___ has quit IRC02:15
*** dfg has quit IRC02:15
*** mordred has quit IRC02:15
*** booi has quit IRC02:15
*** Trixboxer has quit IRC02:15
*** nosnos_ has joined #openstack-swift02:15
*** mlipchuk1 has joined #openstack-swift02:16
*** dfg has joined #openstack-swift02:16
*** mkerrin has joined #openstack-swift02:16
*** haomai___ has joined #openstack-swift02:17
*** csd has quit IRC02:19
*** mlipchuk has quit IRC02:19
*** kris_h has quit IRC02:19
*** gyee has quit IRC02:19
*** tristanC has quit IRC02:19
*** saurabh_ has quit IRC02:19
*** creiht has quit IRC02:19
*** cschwede has quit IRC02:19
*** gholt has quit IRC02:19
*** bsdkurt1 has joined #openstack-swift02:19
*** saurabh_ has joined #openstack-swift02:21
*** saurabh_ has joined #openstack-swift02:21
*** haomaiwa_ has quit IRC02:22
*** mkerrin1 has quit IRC02:22
*** nosnos has quit IRC02:22
*** zul has quit IRC02:22
*** bsdkurt has quit IRC02:22
*** Diddi has quit IRC02:22
*** byeager has quit IRC02:23
*** byeager has joined #openstack-swift02:26
*** booi_ has quit IRC02:27
*** bsdkurt has joined #openstack-swift02:28
*** zul has joined #openstack-swift02:30
*** Anju has quit IRC02:30
*** saurabh_ has quit IRC02:31
*** tristanC_ has quit IRC02:32
*** nosnos has joined #openstack-swift02:32
*** bsdkurt1 has quit IRC02:33
*** haomai___ has quit IRC02:33
*** dfg has quit IRC02:33
*** nosnos_ has quit IRC02:33
*** shadowing has quit IRC02:33
*** shadowing has joined #openstack-swift02:38
*** tristanC has joined #openstack-swift02:38
*** Diddi has joined #openstack-swift02:39
*** bada has joined #openstack-swift02:40
*** saurabh_ has joined #openstack-swift02:40
*** saurabh_ has joined #openstack-swift02:40
*** dmorita has joined #openstack-swift02:40
*** Anju has joined #openstack-swift02:41
*** torgomatic_ has joined #openstack-swift02:42
*** bada_ has quit IRC02:43
*** dfg_ has joined #openstack-swift02:43
*** mkerrin1 has joined #openstack-swift02:43
*** zackf1 has joined #openstack-swift02:43
*** russellb_ has joined #openstack-swift02:45
*** dfg_ has quit IRC02:47
*** zul has quit IRC02:47
*** creiht_ has joined #openstack-swift02:48
*** mdonohoe has joined #openstack-swift02:48
*** cschwede has joined #openstack-swift02:48
*** nosnos has quit IRC02:49
*** bsdkurt has quit IRC02:49
*** mkerrin has quit IRC02:49
*** mlipchuk1 has quit IRC02:49
*** cschwede_ has quit IRC02:49
*** kris_ha has quit IRC02:49
*** krtaylor has quit IRC02:50
*** zackf has quit IRC02:50
*** torgomatic has quit IRC02:50
*** markd has quit IRC02:50
*** peluse has quit IRC02:50
*** russellb has quit IRC02:50
*** torgomatic_ is now known as torgomatic02:50
*** russellb_ is now known as russellb02:50
*** peluse has joined #openstack-swift02:50
*** zul has joined #openstack-swift02:52
*** dfg has joined #openstack-swift02:52
*** nosnos has joined #openstack-swift02:56
*** krtaylor has joined #openstack-swift03:00
*** bsdkurt has joined #openstack-swift03:08
*** peluse has quit IRC03:08
*** kris_ha has joined #openstack-swift03:08
*** peluse has joined #openstack-swift03:09
*** mlipchuk has joined #openstack-swift03:11
*** sphoorti has joined #openstack-swift03:11
sphoortiHey, I am trying to run this command " swift -v -V 2.0 -A http://192.168.1.4:5000/v2.0/ -U admin -K devstack stat" , but i get the following error " Endpoint for object-store not found - have you specified a region? "03:13
sphoortiWhat could possibly be going wrong ?03:13
*** creiht_ is now known as creiht03:16
*** ChanServ sets mode: +v creiht03:19
*** haomaiwang has joined #openstack-swift03:29
*** gyee has joined #openstack-swift03:29
*** gholt has joined #openstack-swift03:29
*** ChanServ sets mode: +v gholt03:29
*** mkerrin1 has quit IRC03:30
*** mkerrin1 has joined #openstack-swift03:30
*** peluse has quit IRC03:30
*** peluse has joined #openstack-swift03:30
*** zul has quit IRC03:31
portantenotmyname: https://wiki.openstack.org/wiki/ObjectStorageBackends03:32
*** zul has joined #openstack-swift03:36
* zaitcev pokes anticw_ again03:38
zaitcevportante: looks promising but there's no tour03:39
zaitcevsphoorti: well, what does keystone endpoint-list says? And service-list?03:40
zaitcevsphoorti: most common mistake is a typo. The "object-store" that swift prints in that error message is the actual keyword it searches for (well, keystoneclient searches actually). So, people who enter, say, "objects-store" get that error. Something like that.03:41
sphoortizaitcev: keystone servie-list shows keystone and swift03:41
zaitcevsphoorti: no, don't give me that. Paste the actual console log somewhere to paste.openstack.org or such.03:42
sphoortiSorry. Sure i ll paste the output and show you03:43
sphoortizaitcev: http://paste.openstack.org/show/64874/03:45
*** zul has quit IRC03:52
*** chandan_kumar has joined #openstack-swift03:58
sphoortiAlso zaitcev : http://paste.openstack.org/show/64883/04:02
zaitcevsphoorti: the second one is just firewall or something04:04
zaitcevsphoorti: Strange, the region is actually case sensitive, but I forgot what the right capitalization is04:05
zaitcevI am almost certain it's not "regionOne"04:05
zaitcevYour "RegionOne" is correct, it appears. Hmm....04:07
*** byeager has quit IRC04:08
*** chandan_kumar has quit IRC04:09
*** chandan_kumar has joined #openstack-swift04:10
zaitcevsphoorti: very odd. Your keystone configuration looks perfect (leaving the "cannot connect" aside).04:13
zaitcevThe "swift --debug -v -V 2.0 -A  http://192.168.1.4:5000/v2.0/regionOne" is incorrect, I think. Should just be /v2.0.04:14
zaitcevOh, wait, I take it back.04:15
zaitcevNo, I don't. Really it can't be right. POST goes to /v2.0/tokens04:16
zaitcevMaybe SSL got enabled somewhere by accident.04:16
*** basha has joined #openstack-swift04:17
sphoortizaitcev:  how do i check that?04:19
zaitcevsphoorti: well, it's a Keystone question.... but I would check what's in [ssl] in /etc/keystone/keystone.conf.04:23
*** pberis has quit IRC04:25
sphoortizaitcev: ssl is enable=true04:26
zaitcevsphoorti: you can just use  "swift -v -V 2.0 -A https://192.168.1.4:5000/v2.0 -U admin -K devstack stat" and test.04:27
sphoortizaitcev: i tried that command and it gives me :- Authorization Failure. Authorization Failed: Unable to establish connection to http://192.168.1.4:5000/v2.0/tokens04:28
zaitcevsphoorti: I don't know how it turns https: into http: for you, sorry. I should work if you copy-paste it from IRC.04:29
sphoortizaitcev: i am getting the same error04:30
*** pberis has joined #openstack-swift04:30
zaitcevsphoorti: "same" in what way? You typed -A https:// and it reports http:// again?04:31
sphoortizaitcev: Authorization Failure. Authorization Failed: Unable to establish connection to https://192.168.1.4:5000/v2.0/tokens04:31
sphoortiInitially i was getting:- Endpoint for object-store not found - have you specified a region?. But now the authorization is failing04:33
zaitcevMaybe you crashed Keystone meanwhile04:33
sphoortishould i restart the vm?04:33
zaitcevLook, it's simple: just do whatever it takes for autothorisations to succeed. Don't worry about Swift, make sure you can post for tokens with curl first.04:34
sphoortithe curl command is also not working04:34
sphoortizaitcev: i tried curl -i -H "X-Auth-Key: devstack123" -H "X-Auth-User: admin" http://192.168.1.4:5000/v2.004:34
sphoorticurl: (7) Failed connect to 192.168.1.4:5000; Connection refused04:34
*** basha has quit IRC04:35
zaitcevsphoorti: well, duh. Make sure that Keystone is even running... Like, netstat -atn | grep 500004:36
sphoortifrom the native machine ?04:36
sphoortior the vm ?04:36
sphoortizaitcev: from the vm it says tcp and LISTEN04:37
zaitcevsphoorti: the command you pasted weren't going to work, since it was tryping to use v1 authentication protocl avainst a v2 endpoint, but that does not matter anyhow04:37
saurabh_zaitcev: Shen storing object on file-system, it uses last 3 digit of hash for calculating the path, why last 3 digit not first any specific reason behind this?04:37
*** basha has joined #openstack-swift04:37
saurabh_when*04:37
saurabh_notmyname: ^^^^04:39
creihtsaurabh_: that's just to split things up a bit on the filesystem so you don't end up with one directory that has millions of files in it04:45
saurabh_creiht:  yes, it's fine but why last 3 digits not first? according to me, no logical reason behind that,  but tell me if you know any logic behind that?04:48
saurabh_sphoorti: may be  you can check authtoken and keystoneauth middleware configured correctly or not.04:51
sphoortisaurabh_: how does one check that? basically i have a devstack running on the vm and I have changed the contents of my localrc to allow only swift and keystone04:52
saurabh_sphoorti: ok then they would be correct.  so you can start from fresh environment04:53
saurabh_sphoorti: open new terminal04:53
sphoortion the vm ?04:54
saurabh_on your swift cluster from where you executed devstack/stack.sh04:54
creihtsaurabh_: gives you better distribution of files across directories04:54
sphoortisaurabh_: did that04:55
saurabh_sphoorti:  cd devstack04:55
sphoortidone04:55
saurabh_sphoorti:  execute source openrc04:55
saurabh_then swift list04:55
saurabh_swift stat04:56
sphoortiswift list shows nothing04:56
saurabh_swift stat04:56
saurabh_??04:56
sphoortiswift stat shows no containers created04:56
notmynamesaurabh_: I think that was my "fault" for doing the last three characters rather than the first 3. if the splaying were across incrementing numbers, the last 3 would give you better distribution. but since the splaying is based on a hash, then first 3 vs last 3 doesn't really matter. http://www.mpiweb.org/Libraries/Magazine/the_more_you_know.jpg04:56
saurabh_sphoorti:  execute "swift upload con localrc"04:57
saurabh_sphoorti: then "swift list"04:58
sphoortii see con as the output04:58
sphoortisaurabh_:04:58
saurabh_sphoorti: ok so does it resolve you problem?04:59
sphoortisaurabh_: I am trying to connect to swift via other machines in the network04:59
sphoortithat is not happening04:59
* notmyname goes back to being not online04:59
saurabh_notmyname: in this case, how much probability of data distribution lies in one directory > Here directory is created using the last three character of hash value05:05
*** krtaylor has quit IRC05:06
*** basha has quit IRC05:07
openstackgerritA change was merged to openstack/swift: Ensure swift.source is set for DLO/SLO requests  https://review.openstack.org/7141505:09
*** zul has joined #openstack-swift05:09
*** ppai has joined #openstack-swift05:11
zaitcev"LookupError: Entry point 'dlo' not found in egg 'swift' (dir: /q/zaitcev/hail/swift-tip; protocols: paste.filter_factory, paste.filter_app_factory; entry_points : )" -- oh great now what05:17
creihtzaitcev: sudo python setup.py develop05:19
*** krtaylor has joined #openstack-swift05:19
creihtwhen new entrypoints are added, you have to run setup again05:20
zaitcevcreiht: Well, I spent some effort in order to stop doing that.05:20
*** basha has joined #openstack-swift05:26
*** zackf1 is now known as zackf05:30
*** basha has left #openstack-swift05:36
*** gyee has quit IRC05:40
*** ChanServ sets mode: +v torgomatic05:49
*** chandankumar_ has joined #openstack-swift05:49
*** chandankumar_ has quit IRC05:49
*** chandankumar_ has joined #openstack-swift05:50
*** fifieldt has joined #openstack-swift05:51
*** chandankumar_ has quit IRC05:52
*** chandan_kumar has quit IRC05:53
*** chandan_kumar has joined #openstack-swift05:54
torgomaticalso the partition comes from the top N bits of the hash, so if you pulled the *top* 3 chars for suffix dir and your part power was at least 12, it would do no good05:54
torgomaticyou'd get objects/$part/$first-12-bits-of-part/$hash, and it'd just be extra directories with no splaying05:55
*** zul has quit IRC06:08
openstackgerritSamuel Merritt proposed a change to openstack/swift: Small efficiency improvement for SLO range GET  https://review.openstack.org/7316106:17
openstackgerritSamuel Merritt proposed a change to openstack/swift: Support If-[None-]Match for object HEAD, SLO, and DLO  https://review.openstack.org/7316206:17
*** nshaikh has joined #openstack-swift06:26
*** prometheanfire has joined #openstack-swift06:45
prometheanfireso, can we configure swift to use sha256/512 instead of md5?06:46
*** fifieldt_ has joined #openstack-swift06:53
*** fifieldt has quit IRC06:53
zackfprometheanfire:  don't do it06:56
prometheanfirezackf: do what?06:56
prometheanfirezackf: you know what I might be doing?06:56
*** zaitcev has quit IRC06:56
zackfyes06:57
prometheanfirewhat's that?06:57
prometheanfireanyway, talking to a friend, thinking about adding swift as an api to access obects in zfs (not on, in)07:06
prometheanfiresince zfs is all object based internally07:07
*** pberis has quit IRC07:11
*** sphoorti has quit IRC07:12
*** pberis has joined #openstack-swift07:12
*** sphoorti has joined #openstack-swift07:13
*** rongze has joined #openstack-swift07:17
*** mlipchuk has quit IRC07:35
prometheanfirethis would be like using ceph (another object based fs) as a backend for swift, but without the network07:35
prometheanfireals07:35
prometheanfirealso07:35
prometheanfireswift as a zfs backend as a new vdev for zfs07:35
prometheanfirewould be useful...07:36
zigochmouel: I love pbr, because with it, "python setup.py install" just works (tm) and do what it's supposed to do correctly, and with PBR, I don't need to worry about *many* things, plus it's a move away from python-setuptools-git which was horrible. Though if you provide a working setup.py that does things correctly, that's fine too. It's just that PBR *solved* issues that were there previously, but if there's no issue (like with swift07:41
zigo currently), then maybe you don't need pbr...07:41
zigo(gosh, my wording is highly inneficient, sorry guys...)07:42
*** foexle has joined #openstack-swift07:52
*** xga has joined #openstack-swift08:05
*** sphoorti has quit IRC08:06
*** vanheerj has joined #openstack-swift08:09
*** hugokuo has quit IRC08:11
*** fifieldt_ has quit IRC08:13
*** wkelly has quit IRC08:13
*** hugokuo has joined #openstack-swift08:14
*** fifieldt_ has joined #openstack-swift08:14
*** amandap has quit IRC08:15
*** creiht has quit IRC08:15
*** creiht has joined #openstack-swift08:16
*** ChanServ sets mode: +v creiht08:16
*** openstackgerrit has quit IRC08:16
*** amandap has joined #openstack-swift08:16
*** wkelly has joined #openstack-swift08:18
*** mlanner has quit IRC08:24
*** xga has quit IRC08:24
*** xga has joined #openstack-swift08:26
*** mlanner has joined #openstack-swift08:26
*** sphoorti has joined #openstack-swift08:26
*** mlipchuk has joined #openstack-swift08:27
*** kris_ha has quit IRC08:31
*** mrsnivvel has joined #openstack-swift08:33
vanheerjhi. I am very new to Openstack. i am trying to install a 2 node test environment using only swift. I dont want the whole openstack suite. Im trying to compare swift storage with cloudian. is there a quick install for swift somewhere?08:41
omame-vanheerj: you may want to look at http://docs.openstack.org/developer/swift/howto_installmultinode.html08:42
*** omame- is now known as omame08:42
vanheerjmuch apreciated. I will look at that. Im using Centos but i will modify the install as i go along08:43
*** saju_m has joined #openstack-swift08:50
*** fifieldt_ has quit IRC08:57
koolhead17zigo: :P08:59
*** nacim has joined #openstack-swift09:00
*** xga has quit IRC09:04
*** xga has joined #openstack-swift09:06
*** mkerrin1 has quit IRC09:13
*** Midnightmyth has joined #openstack-swift09:25
*** nshaikh has quit IRC09:27
*** nshaikh has joined #openstack-swift09:30
*** kris_ha has joined #openstack-swift09:34
*** mkollaro has joined #openstack-swift09:41
madhurihi all09:52
madhuriI am getting a databse connection error09:53
madhuriwhile uploading any object09:53
erlonnotmyname: welcome John, I really appreciate the discussion!10:03
*** xga_ has joined #openstack-swift10:06
*** xga has quit IRC10:06
*** peluse has quit IRC10:18
*** mkollaro has quit IRC10:41
*** mkerrin has joined #openstack-swift10:42
*** mmcardle has joined #openstack-swift10:43
*** ppai has quit IRC10:45
*** mkollaro has joined #openstack-swift10:52
*** sphoorti has quit IRC10:58
vanheerjAm I right when i say that openstack needs Centos 6.4 minimum?10:58
*** sphoorti has joined #openstack-swift10:59
*** ppai has joined #openstack-swift11:02
*** xga_ has quit IRC11:08
*** xga_ has joined #openstack-swift11:14
chmouelnotmyname: so about https://review.openstack.org/#/c/69187/ i think this is ready for merge, feel free to merge it and do 2.0 release when you get the chance11:23
*** xga_ has quit IRC11:25
*** notmyname has quit IRC11:29
*** sphoorti has quit IRC11:32
*** notmyname has joined #openstack-swift11:32
*** ChanServ sets mode: +v notmyname11:32
*** sileht has quit IRC11:32
*** krtaylor has quit IRC11:33
*** sileht has joined #openstack-swift11:33
*** sphoorti has joined #openstack-swift11:34
vanheerjIf I have a 3 node swift cluster and each node has a single disk that it stores obekcts on and al 3 nodes is in a single zone, does it mean I have no replicas?11:36
vanheerjIn other words, does swift only replicate over zones or over nodes?11:36
*** krtaylor has joined #openstack-swift11:38
*** bvandenh has joined #openstack-swift11:56
*** xga has joined #openstack-swift12:06
*** ppai has quit IRC12:10
*** ppai has joined #openstack-swift12:12
vanheerjTo answer my own question, it seems that replication happens as uniqly as possibly over zones but if you have only one zone it will replaicte over nodes12:14
*** dmorita has quit IRC12:25
*** dmsimard has joined #openstack-swift12:40
*** sphoorti_ has joined #openstack-swift12:40
*** sphoorti has quit IRC12:40
*** mmcardle has quit IRC12:46
*** SkyRocknRoll__ has quit IRC12:48
*** SkyRocknRoll__ has joined #openstack-swift12:50
*** acorwin has quit IRC12:50
*** acorwin has joined #openstack-swift12:52
*** xga has quit IRC13:06
*** xga has joined #openstack-swift13:06
*** nosnos has quit IRC13:10
*** sphoorti_ has quit IRC13:11
*** sphoorti_ has joined #openstack-swift13:12
*** ppai has quit IRC13:14
*** zul has joined #openstack-swift13:14
*** hurricanerix has joined #openstack-swift13:29
*** mmcardle has joined #openstack-swift13:30
*** xga has quit IRC13:31
*** sphoorti_ has quit IRC13:31
*** xga has joined #openstack-swift13:31
*** nshaikh has left #openstack-swift13:45
*** seiflotfy__ has quit IRC13:49
*** nshaikh has joined #openstack-swift14:04
*** xga_ has joined #openstack-swift14:19
*** xga has quit IRC14:20
*** rongze has quit IRC14:21
*** vanheerj has quit IRC14:25
*** saju_m has quit IRC14:28
*** rongze has joined #openstack-swift14:29
*** fifieldt has joined #openstack-swift14:40
notmynamechmouel: ack. will look later this morning14:42
*** fifieldt has quit IRC14:43
notmynamezigo: I'd love some more detail from your experience. what are some of those issues that pbr solved for you?14:43
*** ChanServ sets mode: +v dfg15:00
*** byeager has joined #openstack-swift15:04
*** xga has joined #openstack-swift15:05
*** xga_ has quit IRC15:05
*** Trixboxer has joined #openstack-swift15:09
*** rpedde_away is now known as rpedde15:17
*** jergerber has joined #openstack-swift15:18
*** mkerrin has quit IRC15:21
*** mkollaro has quit IRC15:28
*** mkollaro has joined #openstack-swift15:28
*** chandankumar_ has joined #openstack-swift15:29
*** chandan_kumar has quit IRC15:29
*** tongli has joined #openstack-swift15:30
*** mkerrin has joined #openstack-swift15:30
*** mkollaro has quit IRC15:33
*** xga_ has joined #openstack-swift15:35
*** xga has quit IRC15:36
*** lpabon has joined #openstack-swift15:41
*** mkollaro has joined #openstack-swift15:43
*** openstackgerrit has joined #openstack-swift15:47
*** nshaikh has left #openstack-swift16:02
*** mtaylor is now known as mordred16:07
*** mordred has quit IRC16:07
*** mordred has joined #openstack-swift16:07
*** saju_m has joined #openstack-swift16:08
*** kris_ha has quit IRC16:08
*** bvandenh has quit IRC16:11
*** chandankumar__ has joined #openstack-swift16:16
*** chandankumar_ has quit IRC16:19
*** tdasilva has joined #openstack-swift16:19
*** kris_ha has joined #openstack-swift16:25
cschwedenotmyname: i updated my patch https://review.openstack.org/#/c/73037/ - now it works just like the other files in bin/ that are only importing main() from other modules16:27
*** zackf has quit IRC16:33
*** zackf has joined #openstack-swift16:33
*** gyee has joined #openstack-swift16:37
*** chandankumar__ has quit IRC16:38
*** mlipchuk has quit IRC16:41
*** chandan_kumar has joined #openstack-swift16:41
*** xga_ has quit IRC16:43
*** xga has joined #openstack-swift16:45
notmynamecschwede: nice. looks good IMO16:52
notmyname(I guess I should put that in gerrit :-)16:52
*** vkdrao has joined #openstack-swift16:53
*** rturk has joined #openstack-swift17:00
*** rturk is now known as rturk-away17:01
*** sphoorti has joined #openstack-swift17:03
sphoortiHey Folks! I am trying to connect to the swift server, but I get the following error http://paste.openstack.org/show/65103/ . What possibly could be going wrong?17:05
creihtsphoorti: looks like a problem with keystone runnong on 192.168.1.417:07
creihtI would check the keystone logs to see if that helps narrow down what is going on17:08
sphoortimy /etc/keystone.conf file shows ssl enable= true17:08
sphoortiis it causing the problems?17:08
creihtother than that, I don't have a lot of experience with keystone, sorry17:08
creihtsphoorti: hopefully the logs will give you a better idea of what is or isn't working right17:09
*** xga has quit IRC17:10
*** mmcardle has quit IRC17:11
*** xga has joined #openstack-swift17:13
*** bsdkurt has quit IRC17:14
*** mmcardle has joined #openstack-swift17:16
sphoorticreiht: where would i find keystone logs?17:18
creihtsphoorti: heh sorry I don't know for sure17:19
creihtbut I would start with /var/log/syslog or /var/log/messages17:19
*** rongze has quit IRC17:19
*** rongze has joined #openstack-swift17:20
creihtIf you need more help with keystone, I recommend asking in #openstack-dev17:20
sphoortiThanks creiht :). I shall ask there too17:23
*** chandan_kumar has quit IRC17:24
*** rongze has quit IRC17:24
*** kris_ha has quit IRC17:28
*** nacim has quit IRC17:37
*** xga has quit IRC17:37
*** peluse has joined #openstack-swift17:47
*** byeager has quit IRC17:50
*** zaitcev has joined #openstack-swift17:54
*** ChanServ sets mode: +v zaitcev17:54
sphoortihey zaitcev, i tried running the swift server again and this time I get the following error :- http://paste.openstack.org/show/65103/17:57
zaitcevsphoorti: I dunno, maybe try --insecure17:58
sphoortithe same SSL exception zaitcev17:58
*** mkollaro has quit IRC18:01
zaitcevsphoorti: good luck... I would verify with keystone's own client and/or curl and see how far that goes.18:02
*** mmcardle has quit IRC18:05
*** bantone has joined #openstack-swift18:09
sphoortizaitcev: the curl command worked http://paste.openstack.org/show/65124/18:11
zaitcevsphoorti: no it didn't, you used http:// there. Please pay little attention!18:11
sphoortizaitcev: curl -i -H "X-Auth-Key: devstack123" -H "X-Auth-User: admin" https://192.168.1.4:5000/v2.018:12
sphoorticurl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol18:12
zaitcev*facepalm*18:13
sphoorti:(18:15
torgomaticsphoorti: you're trying to speak HTTPS to an HTTP server; it's not gonna work. Either turn on SSL on 192.168.1.4:5000 (whatever it is) or tell swiftclient to use http.18:19
sphoortissl is enabled in /etc/keystone.conf18:19
sphoortitorgomatic:18:20
torgomaticsphoorti: well, you spoke http to port 5000 and it worked, so ssl is not enabled in the listening process18:20
torgomaticconfig file or no18:20
*** byeager has joined #openstack-swift18:20
sphoortisorry that was commented.18:21
sphoortiwould i have to rerun stack.sh torgomatic ?18:21
pelusetorgomatic:  think we oughta include # containers per policy in acct HEAD as well (have it working now but only including obj count and total bytes per policy)?18:22
torgomaticsphoorti: I have no idea; I only run devstack when stuff breaks that I can't replicate on my SAIO18:22
sphoortitorgomatic: if i try with http, then i get the following error :-18:23
sphoortiEndpoint for object-store not found - have you specified a region?18:23
torgomaticpeluse: hm... maybe?18:23
*** csd has joined #openstack-swift18:23
torgomaticsphoorti: yeah, that's a keystone catalog thingy, and the words "keystone catalog thingy" represent the extreme outer envelope of my keystone knowledge18:24
torgomaticyou might try #openstack-dev for that18:24
torgomaticpeluse: so for objects, I have a use case in my head: billing differently for different policies18:24
sphoortii tried asking there :(18:24
torgomaticsphoorti: well, try looking in the catalog (how? I dunno) and seeing if there's a thing ofor "object-store" in it18:25
torgomatic*for18:25
*** foexle has quit IRC18:26
*** markd has joined #openstack-swift18:28
*** byeager has quit IRC18:29
*** mdonohoe has quit IRC18:29
pelusetorgomatic:  yup, the obj billing is the clear use case.  I don't see much need to report containers per policy but thought it might be nice just as informational.  Would be easier to add it now then sometime later is why I ask.  Not there now, let me know if you think I should add it...18:31
torgomaticpeluse: On the one hand, it provides a nice symmetry with objects, but on the other hand, it's extra bookkeeping and hence extra IO... I'm leaning towards not doing it18:32
torgomaticnotmyname: clayg: thoughts? ^^18:32
sphoortitorgomatic: when i run a service keystone status , it says keystone:unrecognized service18:32
torgomaticsphoorti: well, keystone is clearly running because you have something listening on port 5000, or at least I'm assuming that thing is keystone18:34
torgomaticand what does checking the daemon state have to do with getting the catalog out?18:34
torgomaticI mean, I guess one's a prerequisite, but you know it's running because you can talk to it18:34
*** mdonohoe has joined #openstack-swift18:35
zaitcevHis catalog is fine, he pasted it yesterday. It's perfect. I think he manages to get wrong URL somehow, because one of his pastes had some bizarre nonsense like posting to /v2.0/regionOne/token.18:35
sphoortikeystone tenant-list and service-list do not work.18:36
zaitcevworked here - http://paste.openstack.org/show/64874/18:37
*** markd has quit IRC18:38
torgomaticzaitcev: weird. I don't think swiftclient's keystone support has changed at all in a long time, so I don't understand where the wrong URL is coming from18:39
torgomatichm, it looks like swiftclient imports keystoneclient.v2_0 to handle keystone auth, so maybe it's a bug in keystoneclient?18:40
torgomaticno, that doesn't make sense, the devstack gates wouldn't work at all if that were true18:40
zaitcevcrazy18:41
sphoortiI get an "Authorization Failure. Authorization Failed: Unable to establish connection to http://192.168.1.4:5000/v2.0/tokens " error18:42
*** ccorrigan has quit IRC18:45
*** byeager has joined #openstack-swift18:57
*** shri has joined #openstack-swift19:04
*** vkdrao has quit IRC19:08
*** markd has joined #openstack-swift19:14
*** mdonohoe has quit IRC19:16
*** tdasilva has quit IRC19:19
*** mdonohoe has joined #openstack-swift19:25
*** markd has quit IRC19:26
creihtwhat in the world does LOST mean on the jenkins runs?19:32
notmynameI've not seen that before19:33
notmynameclarkb: what's up with "LOST" in jenkins?19:33
clarkbusually it means the gearman job went away catastrophically19:34
clarkbnotmyname: have a link to a specific instance?19:34
creihtclarkb: https://review.openstack.org/#/c/73037/https://review.openstack.org/#/c/73037/19:34
creihterm19:34
creihthttps://review.openstack.org/#/c/73037/19:34
clarkbgive me a few moments to dig through logs19:35
notmynameclarkb: thanks19:35
notmynameclarkb: also seems it never picked up the approval to merge (after the LOST runs). I don't know if that' related19:36
*** bsdkurt has joined #openstack-swift19:36
*** mdonohoe has quit IRC19:37
*** markd has joined #openstack-swift19:38
clarkbnotmyname: not sure what is going on there, but I think jeblair and sdague were tweaking zuul this morning, going to hop over to infra and ask there19:39
*** tdasilva has joined #openstack-swift19:39
notmynameclarkb: thanks for looking. I'll lurk in -infra19:39
*** bsdkurt has quit IRC19:40
*** bsdkurt has joined #openstack-swift19:41
notmynamecreiht: looks like you've got an interesting discussion going in gerrit with torgomatic about the auditor19:42
creihthah19:42
creihtwas just reading that19:42
creihttorgomatic: so I get what you are saying19:43
creihtI guess I need to think on it a bit19:43
*** gyee has quit IRC19:43
creihtmy biggest worry is people thinking, oh heck yeah make that happen quick19:43
creihtand wonder why their systems are behaving so badly19:43
notmynamecreiht: FWIW the defaults are still at concurrency=119:45
creihtyeah I know19:45
creihtnotmyname: but part of the problem is that this isn't even a verified issue yet (at least from reading the commit description)19:45
creihtI would like to verify that a.) This is really an issue and b.) this fix actually solves that problem19:46
*** fbo is now known as fbo_away19:47
*** mdonohoe has joined #openstack-swift19:49
prometheanfirenotmyname: you know who was working zfs as a swift backend (using the zfs internal object model thing)19:49
notmynameprometheanfire: nexenta talked about it a _long_ time ago19:50
prometheanfirenotmyname: if you have email addrs of devs I'd be intrested :D19:50
notmynameprometheanfire: no, I don't.19:50
notmynameprometheanfire: so what are you looking at?19:50
*** luisbg has joined #openstack-swift19:50
prometheanfiretwo things19:51
prometheanfirefirst is using zfs as the backing store for swift19:51
prometheanfireinstead of storing objects on a fs you store objects in an object storage system19:51
prometheanfirezfs uses objects nativly (internally)19:51
prometheanfiresecond19:51
*** markd has quit IRC19:52
prometheanfireusing zfs as a presentation layer for swift (kinda like the swift fuse thing)19:52
prometheanfiresince zfs speaks objects nativly19:52
notmynameso to the first, swift is not an abstraction layer to an object storage system. swift is actually an object storage system itself, designed to abstract away storage volumes so that API client don't have to think about the hard problems of scaling storage19:52
prometheanfireright19:53
creihtswift is an object storage system that has an abstraction layer that is going to get abused if you like ir or not ;)19:53
notmynameand the work that's been happening with DiskFile is designed to allow you to make optimizations for particular storage volumes. it's not designed to put swift on another abstraction layer19:53
*** ryao has joined #openstack-swift19:53
ryaoHi.19:53
prometheanfireryao: hi19:53
prometheanfirenotmyname: are we talking about zfs as a presentation layer for swift or zfs as a backing store for swift?19:54
notmynameprometheanfire: the latter19:54
prometheanfirezfs as a backing store may be better because it speaks objects nativly19:54
prometheanfireinstead of storing an object as a file (like you would in xfs) you store it as an object19:55
ryaonotmyname: Internally, ZFS is a transactional object store, so it could work well for something like this.19:55
prometheanfirenotmyname: ryao is a ZoL dev19:55
creihttorgomatic: so back to the auditor stuff, if it is a real problem, I would revisit the idea of adding the parallelism19:55
creihtof course it is just a -1, so if others think otherwise, they can certainly go ahead :019:55
creihtmeant :)19:55
notmynamecreiht: I'm guessing that he's on a train headed to the office19:55
ryaoUnfortunately, my time is very limited today, so I can't talk much right now. I am being paid to try to recover data lost because someone did `zfs destroy dataset` when there were no backups.19:56
notmynameprometheanfire: I think it's a great idea to look into particular file systems and use a DiskFile (and other stuff not yet fully realized) to store data. eg XFS, and yes ZFS too19:56
ryaoI can talk for a few minutes, but an extended discussion would need to wait until next week.19:56
prometheanfireryao: I think I can talk about the basics, just wanted you in here in case you were intrested in direct interaction :D19:57
prometheanfirenotmyname: ya, that's about all there is to say about ZoL as a backing store for swift19:57
prometheanfirenow, about zfs as a presentation layer19:57
prometheanfirethat would be using swift as a new type of vdev (a networked type)19:58
ryaoI am more interested in the latter. Swift + ZFS for easy offsite backup is cool.19:58
prometheanfireand that's the summary :D19:58
notmynameprometheanfire: seems fraught with peril :-)19:58
prometheanfirenotmyname: therefore fun :D19:58
notmynamethere are several gateway systems that are out there to provide a POSIX interface onto Swift. essentially, you're talking about the same thing19:59
prometheanfirebasically19:59
ryaoprometheanfire: After thinking about it some more, I don't think a new vdev type would be the best place to put this... we would have already had object to digitual virtual address translation done in the DVA, which means potential inefficiency due to internal fragmentation. Ideally, it would hook into the middle layer of ZFS.19:59
prometheanfireryao: that's what I thought you meant :P20:00
ryaonotmyname: Have you seen ZFS send/recv?20:00
ryaonotmyname: It is similar to rsync for backups with 1 key difference. It uses a unidirectional pipe.20:00
notmynameryao: seen it. not used it. I've got a ZFS/OpenIllumos file server at home20:00
ryaonotmyname: It is neat for off site backups.20:00
creihtbut send/recv only works with snapshots right?20:02
prometheanfiretrue, iirc20:02
ryaocreiht: Yes. That is necessary to ensure consistency.20:02
creihtand it can only send/recv the whole snapshot20:02
creihtso not really like rsync :)20:03
prometheanfireit can send diffs though20:03
ryaocreiht: Doing rsync on a live system suffers from a race condition. If a modification is made to the uncopied region that depends on a modification to the copied region after it is copied, bad things happen.20:03
ryaocreiht: It supports incremental send/recv..20:03
ryaocreiht: i.e. all changes between snapshot A and snapshot B.20:03
creihtright between specific snapshots20:04
ryaocreiht: And it puts less IO load on the system because ZFS knows the list of changes.20:04
creihtanyways, I'll let you go on20:04
ryaocreiht: One last thing. ZFS is not just a POSIX front-end. It also supports block storage.20:04
* creiht is fairly familiar with zfs20:04
creihtI'm also not notmyname :)20:04
ryaocreiht: My mistake.20:05
creihtno worries20:05
*** mdonohoe has quit IRC20:05
*** markd has joined #openstack-swift20:05
creihtso if we skip all the details, exactly what are you wanting to propose?20:05
ryaocreiht: Nothing right now. I was just chatting with prometheanfire last night about some guys using ZFS on Amazon S3 with a FUSE program called s3backer. I mentioned various deficiencies in S3 that make this less than ideal and prometheanfire told me that Swift has no such deficiencies.20:06
notmynameheh20:07
creihtlol20:07
creihtwell there are certainly deficiences for trying to make any type of posix like file system on top of swift20:07
ryaoIn particular, swift supports a variable object size and Rackspace Cloud Files has no request fees.20:07
prometheanfireryao: about that, I don't think s3 forces a block size20:07
ryaoprometheanfire: It forces an object size in the bucket.20:07
creihtryao: consistency is your biggest enemy20:07
notmynamecreiht: sounds like ryao is trying to make your life hard keeping cloud files up :-)20:08
creihtlol20:08
ryaonotmyname: Why do you say that?20:08
prometheanfireI still have my delete script that kills things :P20:08
notmynameryao: jsut when someone starts talking about "no request fees" as a perk (actually I think it's pretty awesome), ops guys start cringing thinking about what the cluster request rates are about to do :-)20:09
marcusvrnportante: ping20:09
ryaocreiht: I am aware. Thankfully, ZFS is fully asynchronous internally, so I suspect this can be handled. I know that s3backer manages it (although I am not sure if I like how it does that).20:09
creihtnotmyname: nah, that's what we have rate limits for :)20:09
notmynamecreiht: if user_agent == 'ZFS': rate_limit *= .520:09
notmyname;-)20:09
ryaocreiht: I have a counter point to that, but I will keep quiet.20:09
notmynameryao: nah, just joking around, mostly20:10
ryaoActually, I will say it. ZFS is not a single disk filesystem and it can do striping with no redundancy. ;)20:10
notmynameryao: but since we realize some zfs+swift bridge would be pretty chatty (probably), it's just a thing20:10
ryaonotmyname: Probably less chatty than the s3backer approach in production on Amazon's systems.20:10
ryaonotmyname: I have seen it firsthand and it works decently.20:11
ryaonotmyname: Without the deficiencies of S3, ZFS could work marvelously on an object storage backend. Anyway, this all hit me last night when chatting with prometheanfire in #gentoo-dev.20:12
notmynameryao: ya, it's cool I'd love to see something like that for swift, like there is for S3. this would be a great place to ask questions and see the best ways to make such a client for swift20:12
prometheanfirespeaking of, anyone going to scale?20:13
*** mdonohoe has joined #openstack-swift20:13
koolhead17https://ask.openstack.org/en/question/11874/swift-middleware/ << looks like more of ceilometer related question rather than swift20:13
ryaonotmyname: Well, my hands are tied finishing work-in-progress ZFS stuff for the next 3 to 5 weeks. If this still looks sane to me afterward, I expect to try creating a prototype.20:13
notmynameryao: cool20:14
*** dmsimard1 has joined #openstack-swift20:14
notmynamekoolhead17: I think we fixed that issue (secondary groups when swift drops privs)20:14
notmynamekoolhead17: ya merged jan 2720:15
koolhead17notmyname: So might not have gone with distro yet :)20:15
notmynamekoolhead17: doesn't look like it was in 1.1220:15
notmynamekoolhead17: so it hasn't been in an official swift release20:16
*** markd has quit IRC20:16
koolhead17hmm. so what should i reply20:16
*** dmsimard has quit IRC20:17
notmynamekoolhead17: known issue, already fixed. will be in the next release. https://bugs.launchpad.net/swift/+bug/126947320:17
koolhead17thanks20:18
*** markd has joined #openstack-swift20:18
*** saju_m has quit IRC20:19
openstackgerritA change was merged to openstack/python-swiftclient: Rename Openstack to OpenStack  https://review.openstack.org/7320020:20
openstackgerritA change was merged to openstack/python-swiftclient: Remove extraneous vim configuration comments  https://review.openstack.org/7322720:20
*** mdonohoe has quit IRC20:20
*** byeager has quit IRC20:24
*** byeager has joined #openstack-swift20:24
*** sphoorti has quit IRC20:25
*** mdonohoe has joined #openstack-swift20:31
*** markd has quit IRC20:33
*** markd has joined #openstack-swift20:35
luisbgfor Swift development do you recommend I run the Swift All In One or devstack?20:35
notmynameluisbg: for dev work, I'd recommend the swift all in one20:35
luisbgnotmyname, ok, cool. thanks20:36
*** tongli has quit IRC20:36
luisbgnotmyname, do you run it in a vm or directly on the machine?20:36
*** mdonohoe has quit IRC20:36
*** mdonohoe has joined #openstack-swift20:37
notmynameluisbg: my primary dev "box" is a VirtualBox image. but I also have an SAIO running at a cloud hosting provider too. either way works. a SAIO is not for performance testing. it's only for functionality20:38
*** markd has quit IRC20:39
luisbgnotmyname, have to fix the networking here in the office, VirtualBox needs a router/switch that supports bridge mode20:39
notmynameluisbg: in addition to using the SAIO docs at http://swift.openstack.org, you could look at https://github.com/swiftstack/vagrant-swift-all-in-one20:39
portantemarcusvrn: pong20:40
portantesorry, been in meetings20:41
portantecreiht: what is the auditor gerrit id?20:41
portantediscussion thingy?20:41
*** markd has joined #openstack-swift20:41
luisbgnotmyname, wow, vagrant looks nice. going to try it20:41
notmynameportante: https://review.openstack.org/#/c/59778/20:42
portanteah, deep20:42
*** mdonohoe has quit IRC20:43
*** mdonohoe has joined #openstack-swift20:55
dmsimard1Would a bug in the ceilometer swift-proxy middleware be a swift bug or a ceilometer bug (or both!?)20:55
*** markd has quit IRC20:57
creihtdmsimard1: most likely a ceilometer bug, since the code resides in ceilometer right?20:59
creiht(the middleware code)20:59
*** dmsimard1 is now known as dmsimard20:59
*** kmartin has joined #openstack-swift20:59
dmsimardcreiht: I'm thinking that too. Eh, I'll file something, see what happens.21:00
*** markd has joined #openstack-swift21:00
*** shri has quit IRC21:00
*** mdonohoe has quit IRC21:02
*** mdonohoe has joined #openstack-swift21:03
luisbgnotmyname, that vagrant setup was amazingly easy!21:04
luisbgnotmyname, do you know if there are more for a full openstack environment? like devstack21:05
*** bsdkurt has quit IRC21:05
*** markd has quit IRC21:05
*** markd has joined #openstack-swift21:07
*** mdonohoe has quit IRC21:09
notmynameluisbg: I don't know. alpha_ori and clayg set up that swift one for us at SwiftStack21:09
luisbgnotmyname, nice :)21:09
luisbgnotmyname, https://github.com/bcwaldon/vagrant_devstack <-- going to try that21:11
*** mdonohoe has joined #openstack-swift21:11
*** Diddi has quit IRC21:12
*** shri has joined #openstack-swift21:12
*** markd has quit IRC21:14
torgomaticcreiht: for the auditor stuff, I actually have a customer who pays attention to audit times and wants them as low as possible (because reasons, I guess)21:19
*** csd has quit IRC21:20
torgomaticI think they're running about 45-day audit cycles now, but if they could drop that a bunch they'd be really happy21:20
torgomaticmaking the auditor faster was on my list of stuff to do after storage policies, so I'm happy someone else did it for me :)21:20
dmsimardWow 45 days21:21
torgomaticdmsimard: lots of disks, lots of files per disk, and they can't run too fast without destroying performance on the auditor's current target21:21
dmsimardtorgomatic: lots is probably an understatement :p21:22
dmsimardStill, I'm impressed.21:22
creihtthe auditor was never meant to end quick :)21:23
creihtI'm just worried that it will cause more issues than fix by parallelizing it21:23
torgomaticcreiht: well, no, but there's a big range between "quick" and "this is never going to finish, is it" :)21:23
*** markd has joined #openstack-swift21:24
creihtlol21:24
creihtwell when we wrote it, the expectation was that it could take a month or two to complete21:24
notmynamemission accomplished!21:24
torgomatichehe21:24
creihtlol21:24
swifterdarrellhahaha21:24
portantemonth or two?21:25
swifterdarrellor three. whatever21:25
portantegives you some degrees of freedom, huh?21:25
creihtwell disk io is expensive21:25
portantedisks are going away, no?21:25
portante;)21:25
*** mdonohoe has quit IRC21:25
notmynamethe target would be to have the auditor run faster than the rate of failure in the media (bit rot). fs corruption is mostly taken care of with the ZBS21:25
creihtright21:26
notmynamebut instead of "do everything you can to check this one drive" over and over again, doesn't parallelizing it allow for smaller overall impact to the node?21:27
notmynameto torgomatic's point21:27
swifterdarrellcreiht: say you limit the ALL auditor at 15 MB/disk, you have 24 disks to a chassis, and the disks are 50% full.  That's an audit cycle time of ~1 month (google sez 0.957 months)21:27
swifterdarrellcreiht: the I/O cost per spindle is the same in that case as doing that 15 MB/s on every disk at once21:27
swifterdarrellcreiht: so...21:27
swifterdarrellcreiht: help me see the downside here21:27
creihtwhen the auditor is running on that disk, you might as well count it as not available21:28
portanteswifterdarrell: wait, 15 MB per disk ?21:28
portante15 MB/s per disk21:28
creihtif you run it in parallel, that whole system is not available21:28
portanteor do you mean 15 MB/s for all disk?21:28
portantes21:28
creihton a whole cluster by default, the auditor currently basically takes out one drive at a time21:28
swifterdarrellcreiht: if that's true, then each disk is good for one streaming downoad from one proxy-server on behalf of one customer? really?21:29
portantetakes out?21:29
portantewow21:29
portanteI hope that is not the design. :)21:29
creihtI mean take out figuratively21:29
portanteyeah, but, it seems folks are not seeing figurative audits. :)21:29
creihtthe amount of disk io a single disk can do is substantially reduced when the auditor is running21:29
* creiht sighs21:30
swifterdarrellcreiht: same setup as above, but 24 auditors work on a different disk each, and the whole audit sweep time is ~1.2 days (vs ~ 1mo)21:30
*** markd has quit IRC21:30
portantebut how are all those drives connected?21:30
creihttubes21:30
zaitcevtorgomatic: since you're poking at auditor, did you ever try to do strace -p on a real one? I did and it looked as if the one that's supposed to look for 0-size files read files anyway.21:30
portante;)21:30
portanteyes!21:30
swifterdarrellcreiht: k, limit the auditors to 2 MB/s per spindle.  That's 7.5 TIMES less load per spindle yet the system cycle time is now 9 days instead of around 3021:31
portantewon't that parallelism stress the tubs?21:31
portantetubes?21:31
* creiht sighs21:31
torgomaticzaitcev: no, I haven't tried it21:31
creihtlike I said, it is just a -121:31
creihtif you guys feel it is that important, go ahead21:31
creihtI still just fail to see the use21:32
portantecreiht: but don't give up so easily21:32
creihtmeh21:32
creiht:)21:32
portanteI think there is something here with regard to where that parallelism shifts the behaviors21:32
swifterdarrellcreiht: sorry, i'm sort of coming into the middle of the convo... but is the argument against the patch that it's bad for anyone to be able to do?  Or that adding the ability to parallelize hinders a one-processor auditor deployment (my understanding is that it does not)?21:32
creihtswifterdarrell: I had two arguments21:32
creiht1.) is this really even a problem?21:33
zaitcevThe important question I'm asking are 1) if Sam is going to blow up exising clusters, 2) code becomes unmaintainable bloated mess y/n? If it passes that, he can have all parallelism he wants, I'm all for it.21:33
creiht2.) paralelizing it will just cause other problems in any sytem that enables it21:33
creiht#1 I'm still not convinced of21:33
creihtthere might be a *percieved* problem, but it is working as designed21:34
zaitcevre Chuck's 2 is why we add a regrettable knob to enable/disable (I prefer fewer knobs, but oh well)21:34
creihtheh21:34
*** markd has joined #openstack-swift21:34
creihtyeah I know21:34
portantefwiw, it is reasonable to show a problem being solved for #1, as adding code for parallelism does add the possibility that existing code is impacted21:34
creihtif it does go in, can we make it so that the one check in the recon stuff isn't recursive?21:35
portanteFor #2, though, is it fair to say "will cause other problems", or is it possible it might cause problems, but folks can experiment21:35
swifterdarrellcreiht: k, ya, sounds like some fundamental disagreement.  But as long as it doesn't hurt ppl who don't want to attempt parallelization, I think the the Real World(tm) will tell us all the true answer to #2 soon enough21:35
creihtI propose a compromise21:35
torgomaticat least one customer of mine is rather unhappy with the long audit time, but they can't shrink it without demolishing performance (more) on a disk21:35
torgomatic(the hot disk, that is)21:36
creihtI noticed that an option was added to run the audit on a specific set of disks21:36
creihtwhat if we just added that to start21:36
creihtand you can then experiment with running multiple numbers of auditors21:36
creihtin a real env21:36
creihtif that doesn't cause perf issues then revisit the parallelization21:37
swifterdarrellcreiht: that seems reasonable21:37
portantesounds good to me21:38
creihtas I can see where it might be useful to audit a certain disk out of band anyways21:38
swifterdarrellcreiht: running N (count of disks) swift-object-auditor processes with N configs which tell them to each pay attention to a different one of the N should be close enough to infinite parallelism, and is just config files and proc mgmt21:38
swifterdarrellcreiht: I dig it21:38
portantecreiht: got a nice sound today21:38
torgomaticeh, I guess that could work21:39
creihtlol21:39
torgomaticI mean, more config files and more processes doesn't bother me since I have code to write those21:39
creihttorgomatic: it would just be short term for experimentation21:39
torgomaticcreiht: alright, and then if it does actually help someone then we put the parallelism in and operators don't have to juggle extra configs?21:40
creihtsure21:40
torgomaticalright21:40
swifterdarrelltorgomatic: ya... w/real-world numbers that don't show it destroys things, it's a no-brainer21:40
creihtI would prefer to make changes based on data rather than guesses :)21:41
*** csd has joined #openstack-swift21:41
creihtand it would still be nice for someone to audit the auditor to see if there is a way to make it less io intensive21:42
swifterdarrellcreiht: but who would audit the auditor auditors?!21:42
creihtswifterdarrell: well the first step would be to create an openstack program21:42
portantewe have a way21:42
swifterdarrellcreiht: maybe just think REALLY hard about the file contents instead of reading them?21:42
swifterdarrellhahahaha21:42
portantekinda21:43
notmynameswifterdarrell: "I'm not a computer scientologist, but that sounds easy"21:43
openstackgerritLuis de Bethencourt proposed a change to openstack/swift: small typo in cli/recon.py  https://review.openstack.org/7342521:49
luisbg\o/ ^21:50
zaitcevheh21:55
notmynameluisbg is a new contributor (to swift and openstack) and found a little typo to submit to see what the process is like21:56
notmynameI guess we should have gone back and forth and ignored it for a few weeks first ;-)21:57
luisbgnotmyname, that would've helped my motivation to stick around :P21:57
notmynameya. it's actually somewhat of a problem we're currently trying to fix21:58
luisbgnotmyname, let me know if I can help :)21:58
luisbgmaybe new contributors that start getting the tropes, can mentor newer contributors21:58
luisbgI enjoyed reading Julie's email about "attracting new contributors a few days ago"21:59
luisbgside question: how many +1's does a review need before it gets merged with the main branch?21:59
notmynamenormally patches need 2 +2s before it is approved22:00
notmynameso 2 core reviewers need to approve it first22:00
*** Trixboxer has quit IRC22:00
notmynamesmaller patches that don't have any side effects (like yours) may get merged with just one reviewer. but it's rare22:00
luisbggot it, +2 sounds good for all really22:02
luisbgsmaller patches will have an easier time finding reviewers22:02
notmynameluisbg: the difference is that core reviewers can add a +2 and non-core reviewers can only add a +122:02
luisbgnotmyname, I thanked you, is the other reviewer here to thank him as well? :)22:04
luisbgSamuel22:04
notmynameluisbg: oh did he +2 it too?22:05
torgomatichonestly, "+2" and "+1" are terrible names for the actions22:05
notmynameluisbg: sam == torgomatic22:05
torgomaticbecause "+1" and "+1" does not equal "+2"22:05
*** bsdkurt has joined #openstack-swift22:06
torgomaticand this confuses basically every single person that ever starts using Gerrit22:06
torgomaticbut then, naming things is one of the two hard problems of computer science :)22:06
notmynamesw-approved?22:06
creihtnotmyname: man you approved without 2 +2's22:11
creihtshame :022:11
notmynamecreiht: torgomatic saved me by giving his +2 also (after I approved it)22:12
luisbgtorgomatic, thanks! :)22:12
torgomaticluisbg: you're welcome22:12
luisbgwait, can someone explain the +2?22:12
luisbgis +2 = the second +1?22:12
torgomaticnotmyname: yeah, you almost went to OpenStack jail ;)22:13
creihtnotmyname: and I did, just for good measure :)22:13
luisbgor is it a more valuable +1?22:13
creihtplus, to boost my stats :)22:13
notmynameheh22:13
creihtsince they are gamifying the system, I'm going to start min/maxing22:13
notmynamemake a number and people with optimize for it22:13
creiht:)22:13
notmynamecreiht: you have earned the "superfluous review" badge!22:13
creihtwe will have daily 1 character typo fixes, that everyone will train +2s on22:14
torgomaticit'd be more interesting with if we got badgers instead22:15
torgomatichttp://img1.etsystatic.com/000/0/5587345/il_fullxfull.310066583.jpg%3Fref%3Dl222:15
luisbgcreiht, I can keep sending them, I am currently reading the code to learn it, so will probably see more :P22:15
creihthaha22:16
creihtlol22:16
luisbgthis over-review is making me think the process if fast and easy! great community22:16
luisbg10/10 will commit again22:16
creihthaha22:17
torgomaticyou've seen the demo; wait'll you get the real deal (I kid, I kid)22:17
luisbgthis is the demo tutorial, soon the real sandbox game starts and it is completely different22:18
luisbgwhy does the commit/review not show in https://review.openstack.org/#/q/status:open,n,z ??22:22
luisbgcurious22:22
torgomaticluisbg: it does, it's just on page 2 right now22:24
torgomatictry "status:open project:openstack/swift"22:24
luisbgtorgomatic, oh wow! things move quickly22:24
notmynamehttps://review.openstack.org/#/q/-status:workinprogress+AND+status:open+AND+(project:openstack/swift-bench+OR+project:openstack/object-api+OR+project:openstack/swift+OR+project:openstack/python-swiftclient),n,z22:24
torgomaticthere's a lot of projects; if you don't filter to the ones you care about, you'll never find anything22:25
luisbgnoted22:25
luisbgnotmyname, bookmarked the link22:26
*** dmsimard has quit IRC22:30
* zaitcev pokes anticw_ even harder22:43
*** byeager has quit IRC22:49
*** prometheanfire has left #openstack-swift22:50
*** byeager has joined #openstack-swift22:55
*** mkollaro has joined #openstack-swift23:05
*** gyee has joined #openstack-swift23:07
*** acoles has quit IRC23:17
*** Midnightmyth has quit IRC23:18
*** byeager has quit IRC23:19
*** acoles has joined #openstack-swift23:23
*** mkollaro has quit IRC23:28
*** mkollaro has joined #openstack-swift23:29
notmynameswiftclient changes incoming23:40
* torgomatic ducks and covers23:40
notmynameclarkb: ok, so I approve something and it goes to the check queue?23:41
notmynamewhen did that change and why?23:41
notmynamejeblair: ^23:41
notmynamehmm...and it looks like python-swiftclient is running swift functional tests. that seems to be a 10 minute delay that doesn't do anything23:43
jeblairnotmyname: that's not quite right but it should be as soon as https://review.openstack.org/#/c/73418/ lands23:43
notmynamejeblair: I just approved https://review.openstack.org/#/c/69187/ and it is in the check queue now and not the gate queue23:44
jeblairnotmyname: one of the changes is that before a change goes into the gate pipeline, it needs to have a +1 from jenkins within the last 24h.  if it doesn't it will go get one automatically; that's what's happening there.23:45
jeblairnotmyname: then once that arrives, it should go into the gate queue automatically*.23:45
notmynamehmm23:45
jeblairnotmyname: * there's a bug with that we are working on right now, so it may not happen with this change23:45
jeblairnotmyname: the reasoning is that lots of people were putting changes into the gate queue that would never work;  that slowed the whole thing down, especially for other projects.23:46
jeblairnotmyname: there's more on that subject in the email23:46
notmynamejeblair: last thing I see on the ML from you is on 1/22 about the end-of-year gate issues23:47
jeblairnotmyname: sdague23:48
notmynamegamification?23:48
notmynameversion discovery?23:48
jeblairSubject: [openstack-dev] Changes coming in gate structure23:49
jeblairTo: openstack-dev@lists.openstack.org23:49
jeblairDate: Wed, 22 Jan 2014 15:39:58 -050023:49
jeblairMessage-ID: <52E02C9E.501@dague.net>23:49
notmynameok. I had seen that and remembered slimming down the tests being run. hadn't come across (or remembered) the check/gate queue things23:54
jeblairnotmyname: the end result should not involve a process change (it should do the right thing automatically); if we don't find the auto-gate-enqueue bug soon i'll revert the config change until we find it.23:55
notmynamejeblair: k. thanks for the explanation23:56
notmynamejeblair: also, it looks like I need to take the swift functional tests out of the swiftclient tests. there's a config file to do that. /me goes looking23:56
*** mkollaro has quit IRC23:59

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