Monday, 2014-04-21

*** lnxnut has quit IRC00:12
*** zhiyan_ is now known as zhiyan00:23
*** matsuhashi has joined #openstack-swift00:30
*** matsuhashi has quit IRC00:52
portantepandemicsyn: how long have you been using go and what is your view of it compared to python?00:57
*** matsuhashi has joined #openstack-swift00:58
*** nosnos has joined #openstack-swift01:00
pandemicsynportante: just a little while, i started using it while starting the Matasano crypto challenges back in december, Go's kinda more my style... I like the strictness of it i think, but I've never been awesome with python so I'm probably not the best one to make comparisons01:31
pandemicsynI will stay that i can churn out python code a lot faster but i think i spend a lot less time debugging my Go code when i go to use it01:32
pandemicsynand after wrestling with multiprocess in python goroutines and GOMAXPROCS() is kinda awesome magic01:33
*** saschpe has quit IRC01:33
*** saschpe has joined #openstack-swift01:35
portantepandemicsyn: thanks for the observations, I have heard the multiple process is really cool01:53
*** haomaiwang has quit IRC02:07
*** haomaiwang has joined #openstack-swift02:07
*** fifieldt_ has joined #openstack-swift02:11
*** praveenkumar has joined #openstack-swift02:59
*** matsuhashi has quit IRC03:32
*** matsuhashi has joined #openstack-swift03:32
*** matsuhashi has quit IRC03:37
*** nosnos has quit IRC03:46
*** fifieldt_ has quit IRC03:47
*** zhiyan is now known as zhiyan_03:50
*** zhiyan_ is now known as zhiyan03:52
*** nosnos has joined #openstack-swift04:28
*** matsuhashi has joined #openstack-swift04:29
*** Anju1 has quit IRC04:31
*** ppai has joined #openstack-swift04:32
*** chandan_kumar has joined #openstack-swift04:32
*** Anju has joined #openstack-swift04:34
*** nshaikh has joined #openstack-swift05:31
*** nosnos_ has joined #openstack-swift05:51
*** nosnos has quit IRC05:54
*** matsuhashi has quit IRC05:59
*** matsuhashi has joined #openstack-swift06:00
*** sungju has joined #openstack-swift06:13
*** sungju has quit IRC06:14
*** nosnos has joined #openstack-swift06:32
*** matsuhashi has quit IRC06:32
*** nosnos_ has quit IRC06:32
*** psharma has joined #openstack-swift06:33
*** matsuhashi has joined #openstack-swift06:34
*** haomai___ has joined #openstack-swift06:44
*** haomaiwang has quit IRC06:48
*** haomaiwa_ has joined #openstack-swift07:21
*** haomai___ has quit IRC07:21
openstackgerritKota Tsuyuzaki proposed a change to openstack/swift: fix DELETE request for versioned object  https://review.openstack.org/8931207:31
openstackgerritKota Tsuyuzaki proposed a change to openstack/swift: fix DELETE request for versioned object  https://review.openstack.org/8931207:36
*** ekarlso- has joined #openstack-swift08:11
*** d89 has joined #openstack-swift08:32
openstackgerritKota Tsuyuzaki proposed a change to openstack/swift: fix DELETE request for versioned object  https://review.openstack.org/8931208:40
*** nshaikh has quit IRC08:45
*** praveenkumar has quit IRC08:49
*** chandan_kumar has quit IRC08:50
*** praveenkumar has joined #openstack-swift09:07
*** chandan_kumar has joined #openstack-swift09:08
*** bvandenh has joined #openstack-swift09:16
*** zhiyan is now known as zhiyan_09:32
*** matsuhashi has quit IRC09:48
*** cheri has joined #openstack-swift09:50
*** matsuhashi has joined #openstack-swift09:54
*** haomaiwa_ has quit IRC09:55
*** haomaiwang has joined #openstack-swift09:56
*** baojg_ has joined #openstack-swift09:57
*** baojg_ has quit IRC10:18
*** baojg has joined #openstack-swift10:18
*** dmorita has joined #openstack-swift10:35
*** dmsimard has quit IRC10:39
*** chandan_kumar has quit IRC10:43
*** nshaikh has joined #openstack-swift10:45
*** dmsimard has joined #openstack-swift10:45
*** baojg_ has joined #openstack-swift10:46
*** baojg has quit IRC10:50
ekarlso-hmm10:50
*** chandan_kumar has joined #openstack-swift10:51
ekarlso-http://paste.openstack.org/show/76500/ < anyone got a clue on this?10:51
*** Trixboxer has joined #openstack-swift10:54
*** ppai has quit IRC11:00
*** cheri has quit IRC11:00
*** baojg_ has quit IRC11:03
*** baojg has joined #openstack-swift11:03
*** baojg has quit IRC11:07
*** cheri has joined #openstack-swift11:14
ekarlso-noone knows ?11:16
*** ppai has joined #openstack-swift11:16
*** matsuhashi has quit IRC11:22
*** matsuhashi has joined #openstack-swift11:30
ctennisekarlso-: http://172.16.10.5:8080:8080 is not a valid url11:40
ekarlso-I dunno where swift proxy get's that from11:42
ekarlso-the keystone endpoint is port :808011:44
ekarlso-ctennis: any way I can find out ?11:44
ctennisI assume in your proxy-server.conf file11:44
ekarlso-ctennis: what about that ?11:45
ctenniswhere in your config is 172.16.10.5 set?11:45
ctennismy guess is you have the port specified as part of the IP address11:45
ekarlso-ctennis: i'm using keystone11:46
ctennisok, then keystone is returning the wrong auth url11:46
ekarlso-public endpoint is: http://172.16.10.5:8080/v1/AUTH_%(tenant_id)s11:46
ctennisyou're going outside my realm of expertise, but it seems like something there is misconfigured11:48
ctennisyou can use curl to do auth requests directly and get a better sense of what is being returned during authentication11:48
*** matsuhashi has quit IRC11:48
*** matsuhashi has joined #openstack-swift11:49
ekarlso-sooo11:49
ekarlso-http://paste.openstack.org/show/76507/ < this is what happens11:54
*** tdasilva has joined #openstack-swift11:56
*** dmorita has quit IRC11:56
*** ppai has quit IRC11:59
ctennisdo the devices in your account server ring match the disk implementation?12:00
ctennisMy guess is your ring file isn't correct12:00
ekarlso-i'12:01
ekarlso-i'll try to re-create12:01
ekarlso-http://paste.openstack.org/show/76508/ < this is the ring builder commands12:04
ctennisthe port number should be different for the different servers12:06
ctennisand you need to make sure oyu have disks mounted under the directories corresponding to the names you provided 01 02 03 etc12:07
ekarlso-so for a all in one you can't run it on the same port ?12:08
ekarlso-account servers..12:08
ctennisno each runs on its own port12:09
*** ppai has joined #openstack-swift12:12
ekarlso-oh, see I had a wrong thing in my script12:19
*** Trixboxer has quit IRC12:21
*** cheri has quit IRC12:28
*** cheri has joined #openstack-swift12:30
*** matsuhashi has quit IRC12:42
*** matsuhashi has joined #openstack-swift12:44
*** zhiyan_ is now known as zhiyan12:49
*** matsuhashi has quit IRC12:51
*** cheri has quit IRC12:52
*** cheri has joined #openstack-swift13:04
*** matsuhashi has joined #openstack-swift13:06
*** ppai has quit IRC13:07
*** matsuhashi has quit IRC13:12
*** matsuhashi has joined #openstack-swift13:21
swillsclayg: sorry, missed your comment. but yes, i'm using the same spindle for all of it actually... background daemons, yes, everything should be running.13:23
*** tongli has joined #openstack-swift13:24
*** cheri has quit IRC13:36
*** nshaikh has quit IRC13:52
*** nosnos has quit IRC13:53
*** tongli has quit IRC14:03
openstackgerritYuan Zhou proposed a change to openstack/swift: Clean up swift-object-info/swift-get-nodes bin files  https://review.openstack.org/8659314:03
*** chandan_kumar has quit IRC14:14
*** matsuhashi has quit IRC14:17
*** chandan_kumar has joined #openstack-swift14:35
*** Trixboxer has joined #openstack-swift14:50
*** mwstorer has joined #openstack-swift14:50
*** lpabon has joined #openstack-swift14:57
*** kevinc_ has joined #openstack-swift15:01
*** jergerber has joined #openstack-swift15:08
*** psharma has quit IRC15:15
*** chandan_kumar has quit IRC15:29
*** gyee has joined #openstack-swift15:30
*** kevinc_ has quit IRC15:30
*** kevinc_ has joined #openstack-swift15:33
notmynamegood morning world15:34
Dieterbehi notmyname15:34
creihtfor some measure of world15:42
creiht:)15:42
*** d89 has quit IRC15:45
*** Dharmit has joined #openstack-swift15:46
*** piyush has joined #openstack-swift15:55
*** piyush has quit IRC15:56
*** piyush has joined #openstack-swift15:56
*** zhiyan is now known as zhiyan_15:57
*** piyush has left #openstack-swift15:57
*** piyush has joined #openstack-swift15:58
*** jamie_h has joined #openstack-swift16:10
openstackgerritJoel Wright proposed a change to openstack/python-swiftclient: Add importable SwiftService incorporating shell.py logic  https://review.openstack.org/8545316:13
*** jamie_h has quit IRC16:16
notmynameI'm going to start reviewing and scheduling the 22 proposed swift sessions at the summit today. we have 8 slots, so if you submitted something, it's better than 50/50 that it will get rejected. but we have the swift pod for the week to use as well16:32
*** piyush has quit IRC16:33
*** jamie_h has joined #openstack-swift16:38
*** creiht has quit IRC16:39
*** creiht has joined #openstack-swift16:40
*** ChanServ sets mode: +v creiht16:40
*** piyush has joined #openstack-swift16:41
*** piyush1 has joined #openstack-swift16:42
*** piyush has quit IRC16:45
*** shri has joined #openstack-swift16:56
swillscreiht: ping?17:00
swillscreiht: only bothering you because we had chatted about my usage of zfs... i'm running into test issues17:00
swillshttp://meatwad.mouf.net/~swills/swift_tests.txt17:00
swillscan't figure out what could be causing this, but it's consistent17:00
swillsand I get stuff like17:01
swillsApr 19 03:04:01 10.0.1.143 proxy-server: Object PUT returning 503, 0/2 required connections (txn: txb063725b1e81425bb1272-005351e78c) (client_ip: 10.0.1.143)17:01
*** catintheroof has joined #openstack-swift17:01
*** catintheroof has left #openstack-swift17:02
*** Dharmit has quit IRC17:14
*** praveenkumar has quit IRC17:15
*** esmute has left #openstack-swift17:20
*** chandan_kumar has joined #openstack-swift17:21
*** tongli has joined #openstack-swift17:58
*** kevinc_ has quit IRC18:02
*** kevinc_ has joined #openstack-swift18:04
*** zaitcev has joined #openstack-swift18:11
*** ChanServ sets mode: +v zaitcev18:11
creihtswills: sounds like either the proxy can't connect to some of your object servers, or the ring is configured wrong (like wrong ip or port, etc.)18:20
swillscreiht: hmm, well, the thing is, i think some of the object servers choked18:21
creihtcould be18:21
swillscreiht: with a disk IO exception18:21
swillsbut i can't figure out why18:21
creihtif they become unresponsive then you could get a similar error18:21
swillsbecause there's no disk issue18:21
swillsi mean, i see uncaught exceptions and tracked it down, but all i see is disk io exception writing to the bdb file18:22
creihthrm18:22
swillsmade me wonder if i had a issue with my bdb stuff18:22
swillshttps://github.com/openstack/swift/blob/master/swift/container/backend.py#L350-L35618:23
swillsso basically what seems to happen is there's an uncaught exception there, a disk IO error exception18:24
swillsthat kills the container updater18:24
swillsthen the tests go off the rails18:24
creihtweird18:24
swillsyeah18:24
swillsnot sure how to proceed past that18:24
swillsor how to look into it, really18:24
swillshttp://paste.mouf.net/pastes/a5hpnrjpfgk343sr3gcg6vpn18:24
swillsi logged the exceptions and the file it was having an issue with and that's what i got18:25
swillsof course, i've moved all that out of the way and started over from scratch since logging that18:25
creihtmaybe double check file permissions?18:25
swillsbut i do still have the files around and could test them18:25
swillsfile permissions are fine18:25
creihtso looks like that error is from the sqlite libraries18:27
swillsok18:27
zaitcevreproduce and strace18:27
swillsstrace: Command not found.18:27
zaitcevreproduce, isolate, strace18:27
zaitcevoh, right. BSD18:27
creihtlol18:27
zaitcevMaybe just "trace". On Solaris it was called "truss".18:28
creihtswills: remind me again how you set up the storage for each node18:28
swillstruss, ktrace, dtrace18:28
creihtyou put each one in a jail right?18:28
swillsyep18:28
creihtcould jail perms be messing with things?18:28
swillsthey're all in separate ZFS datasets18:28
swillsnope18:28
zaitcevdtrace is probably too much18:28
swillszaitcev: i agree18:29
creihtswills: some of my googling indicates that the error can come up when read/write lock that it is trying to get isn't supported18:29
swillscreiht: oh?18:29
creihtthere are a lot of things that can cause that error actually18:29
creihtbut that's one that has popped up so far18:29
swillsso i can reproduce easily...18:30
swillsand i can ktrace it, see what the syscalls are, etc.18:30
creihtcool18:30
swillswhich part do i want to ktrace? just the container updater, i think?18:30
swillscontainer server18:31
creihtI would start with the container server18:31
swillsk18:31
swillsdamnit, meeting18:31
swillsbrb18:31
zaitcevthere's going to be a HUEG trace, but you just set string size to 1000 and search for "UNCAUGHT", then look at a few syscalls prior18:32
*** byeager has joined #openstack-swift18:33
creihtswills: it would also be interestnig to try a similar query through the sqlite3 command line on the same erroring db to see if you get the same error18:35
creihtswills: and the disks are local right?18:36
*** kevinc_ has quit IRC18:38
*** jamie_h has quit IRC18:41
swillscreiht: yeah18:43
swillszaitcev: yes...18:44
swillscreiht: let me see if i can reproduce the error with the exception catching in place...18:47
*** piyush1 has quit IRC18:53
*** byeager has quit IRC18:54
*** byeager has joined #openstack-swift18:54
*** chandan_kumar has quit IRC18:55
*** chandan_kumar has joined #openstack-swift18:56
swillsinteresting, it's happening even without running the test18:57
anticw_wrt to conditional requests, i can do if-none-match, if-match and if-modified-since on PUT19:05
anticw_are there any others?19:05
anticw_doesn't look like there is explicit support for if-range (not sure if would be useful)19:06
anticw_+if-unmodified-since19:09
*** piyush has joined #openstack-swift19:17
*** piyush1 has joined #openstack-swift19:18
*** piyush has quit IRC19:21
zaitcevswills: run auditors in "once" mode to isolate19:32
*** chandan_kumar has quit IRC19:34
swillszaitcev: oh, thanks19:36
swillsheh19:40
swillsdrive audit immediately returns:19:40
swillsIOError: [Errno 2] No such file or directory: '/proc/mounts'19:40
swillsYou are correct, sir!19:40
*** kevinc_ has joined #openstack-swift19:47
swillsdisk I/O error19:49
swills/srv/node/1/containers/748/da9/bb0c829be2ab0e572dcebfbd360b6da9/bb0c829be2ab0e572dcebfbd360b6da9.db19:49
swillsput_timestamp: 1398108433.5786219:49
swillsdelete_timestamp: 1398108434.8556919:49
swillsobject_count: 019:49
swillsbytes_used: 019:49
swillsseems legit...19:52
swillsi think?19:52
swillsoh wow, this thing is creating and deleting lots of files in /tmp19:57
*** mwstorer has quit IRC19:59
swillscreiht: those values look OK? like something that should be rejected or no?20:00
*** tongli has quit IRC20:09
*** Trixboxer has quit IRC20:11
creihtswills: hey sorry, I'm a bit distracted with other things today20:20
creihtthe info seems legit, but weird that you are getting the I/O error20:20
swillscreiht: no worries20:21
swillsthx20:21
swillsi'm running the ktrace now20:21
swillsit seemed like the error was in the container updater20:21
swillsbut ktracing just that hasn't found anytihng wrong20:21
swillsso now i'm just tracing everything20:21
swillsso it's extra huge20:21
*** byeager has quit IRC20:34
*** byeager has joined #openstack-swift20:40
swillsok, getting closer20:54
swills 21 #012  File "/usr/local/lib/python2.7/site-packages/swift/common/db.py", line 127, in <lambda>20:54
swills 22 #012    self, *args, **kwargs))20:54
swills 23 #012OperationalError: disk I/O error\0"20:54
swillshmm, i see some references to 127.0.0.1 in here, which doesn't work in a jail... wonder if that's causing the issue...20:57
glangewhatcha talkin' 'bout swillis?20:58
swills-_-20:59
swillszaitcev: http://paste.mouf.net/pastes/flpjii4usaa79kiruktovcj5 this give you any hints?21:01
*** mwstorer has joined #openstack-swift21:03
zaitcevswills: it doesn't. all the connects to localhost look inexplicable, like attempts to determine presence of IPv6 gone horribly wrong. Anything above that segment?21:12
swillszaitcev: tons! :)21:17
swillszaitcev: i think the localhost stuff is related to bdb...21:17
zaitcevyou keep saying that word but we actually use SQLite, not BDB21:18
swillsduh, right21:18
*** openstackstatus has quit IRC21:35
*** openstackstatus has joined #openstack-swift21:37
*** lpabon has quit IRC21:41
*** Diddi has quit IRC21:42
*** anticw_ is now known as anticw21:43
*** anticw has quit IRC21:43
*** anticw has joined #openstack-swift21:44
*** anticw has quit IRC21:49
*** anticw has joined #openstack-swift21:54
*** piyush1 has quit IRC22:00
*** jergerber has quit IRC22:08
*** kevinc_ has quit IRC22:11
openstackgerritDavid Goetz proposed a change to openstack/swift: setting request_node_count doesn't work  https://review.openstack.org/8943322:20
*** kevinc_ has joined #openstack-swift22:21
*** byeager has quit IRC22:32
*** wer has quit IRC22:34
*** wer has joined #openstack-swift22:35
*** Diddi has joined #openstack-swift22:37
notmynamehmm...somewhat late in the day to bring this up..22:49
notmynameI'm not going to be available to run the swift team meeting on wednesday. options are to not have it or for someone else to run it22:50
*** h6w has joined #openstack-swift23:28
zaitcevmaybe just skip it23:30
zaitcevwe're relaxing past the release, so it's just going to be like "so how are storage policies coming up" "we're working on it, but reconciler yada yada yada" "okay"23:31
*** occupant has joined #openstack-swift23:32
zaitcevI'm bitter that https://review.openstack.org/85909 is stuck even with +68,-25 diffstat. Paul looked at it, which is great, but not enough.23:34
*** openstackgerrit has quit IRC23:50
*** openstackgerrit has joined #openstack-swift23:50
*** kevinc_ has quit IRC23:53

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