Monday, 2017-10-09

*** tovin07_ has joined #openstack-swift01:14
*** psachin has joined #openstack-swift01:19
*** vint_bra has quit IRC01:49
thurloathowdy mattoliverau02:01
*** Shatadru has joined #openstack-swift02:21
*** Shatadru is now known as Shatadru|coffee|02:33
mattoliverauthurloat: o/02:48
thurloato702:48
thurloatI've heard of folks deleting all the hashes.pkl files to help clean up wonky tombstones, is that effective?02:51
*** Shatadru|coffee| is now known as Shatadru03:05
*** guimaluf has quit IRC03:26
*** gkadam has joined #openstack-swift03:35
mattoliverauthurloat: that's only if your still affected by the ts hanging around bug. Because they were missed until hashes was updated/recreated. But in either case only ts older then reclaim age in any case will be removed. Otherwise removing all the hashes would cause a bunch of iops as they all have to be recalculated.03:35
mattoliverauSo yes, in a way.. but also depends on what you mean my wonky :)03:44
*** links has joined #openstack-swift03:50
*** Shatadru is now known as Shatadru|afk04:04
*** SkyRocknRoll has joined #openstack-swift04:09
*** mingyu has quit IRC04:12
*** mingyu has joined #openstack-swift04:13
*** mingyu has quit IRC04:17
*** Shatadru|afk is now known as Shatadru04:34
*** SkyRocknRoll has quit IRC04:44
*** SkyRocknRoll has joined #openstack-swift04:48
*** Dinesh_Bhor has joined #openstack-swift04:48
*** cshastri has joined #openstack-swift05:36
*** spectr has joined #openstack-swift05:54
*** ChubYann has quit IRC06:01
*** mingyu has joined #openstack-swift06:08
*** klrmn has quit IRC06:27
openstackgerritHCLTech-SSW proposed openstack/swift master: Added the man page for container-sync-realms.conf  https://review.openstack.org/51001706:35
*** rcernin has joined #openstack-swift06:40
*** hseipp has joined #openstack-swift06:44
*** skudlik has joined #openstack-swift07:03
*** pcaruana has joined #openstack-swift07:08
*** hoonetorg has quit IRC07:33
*** Shatadru is now known as Shatadru|brb07:34
*** tone_zrt has joined #openstack-swift07:40
openstackgerritOpenStack Proposal Bot proposed openstack/swift master: Imported Translations from Zanata  https://review.openstack.org/51000007:40
*** skudlik has left #openstack-swift07:44
*** geaaru has joined #openstack-swift07:44
*** hoonetorg has joined #openstack-swift07:46
*** cbartz has joined #openstack-swift07:58
*** ianychoi has joined #openstack-swift07:59
*** oshritf has joined #openstack-swift08:17
*** tone_zrt has quit IRC08:23
*** tone_zrt has joined #openstack-swift08:24
*** ianychoi has quit IRC08:26
*** d0ugal_ has quit IRC08:31
*** d0ugal has joined #openstack-swift08:31
*** d0ugal has quit IRC08:31
*** d0ugal has joined #openstack-swift08:31
*** Shatadru|brb is now known as Shatadru08:39
openstackgerritAlistair Coles proposed openstack/swift master: Added the man page for container-sync-realms.conf  https://review.openstack.org/51001708:57
openstackgerritAlistair Coles proposed openstack/swift master: Add example to container-sync-realms.conf.5 man page  https://review.openstack.org/51045009:08
*** psachin has quit IRC09:20
*** psachin has joined #openstack-swift09:23
*** mingyu has quit IRC09:39
*** mingyu has joined #openstack-swift09:39
*** mingyu has quit IRC09:42
*** mingyu has joined #openstack-swift09:42
*** mingyu has quit IRC09:47
*** mvk has quit IRC10:00
*** psachin has quit IRC10:05
*** mvk has joined #openstack-swift10:11
*** tovin07_ has quit IRC10:13
*** silor has joined #openstack-swift10:19
*** psachin has joined #openstack-swift10:20
openstackgerritAlistair Coles proposed openstack/swift master: test account autocreate listing format  https://review.openstack.org/51052010:34
*** mjseger has joined #openstack-swift10:49
mjsegermattoliverau: ping10:49
mattoliveraumjseger: pong10:52
mjsegerhow do you want to talk?10:54
mjsegerok, hang on10:54
*** Shatadru is now known as Shatadru|Gone10:56
mjsegerI'm mjseger@gmail10:57
mjsegercan you connect to 779-620-397?10:57
openstackgerritAlistair Coles proposed openstack/swift feature/deep: copy put-timestamp from original to sharded db  https://review.openstack.org/51009211:01
mjsegermattoliverau: having issues? do you want to invite me?11:02
*** silor has quit IRC11:04
*** silor has joined #openstack-swift11:09
*** SkyRocknRoll has quit IRC11:32
thurloatthanks for the info mattoliverau, the biggest penalty is iops while everything refigures itself though, right? this cluster is 1.13.x-ish so it's missing a bunch of the tombstone fixes11:44
*** SkyRocknRoll has joined #openstack-swift11:49
openstackgerritMerged openstack/swift master: Stop clearing params for account_autocreate responses  https://review.openstack.org/50959412:08
openstackgerritMerged openstack/swift master: Ignore all auditor_status_*.json files in reconstructor  https://review.openstack.org/47480112:08
openstackgerritMerged openstack/swift master: swift-account-audit: compare each etag to the hash from container  https://review.openstack.org/50800012:09
openstackgerritMerged openstack/swift master: Replace SOSO auth prefix in examples with more-standard AUTH  https://review.openstack.org/50800112:09
*** hoonetorg has quit IRC12:23
*** gkadam has quit IRC12:35
*** chlong has quit IRC12:37
*** hoonetorg has joined #openstack-swift12:43
*** catintheroof has joined #openstack-swift12:43
*** tone_z has joined #openstack-swift12:46
*** tone_zrt has quit IRC12:49
*** jarbod has quit IRC12:56
*** oshritf has quit IRC13:19
*** vint_bra has joined #openstack-swift13:39
*** psachin has quit IRC13:48
*** links has quit IRC14:03
*** chlong has joined #openstack-swift14:07
*** mingyu has joined #openstack-swift14:16
*** skudlik has joined #openstack-swift14:18
*** skudlik has left #openstack-swift14:20
*** chlong_ has joined #openstack-swift14:21
*** spectr has quit IRC14:30
*** cshastri has quit IRC14:53
*** gyee has joined #openstack-swift14:55
*** links has joined #openstack-swift14:56
*** klrmn has joined #openstack-swift15:00
*** SkyRocknRoll has quit IRC15:06
*** mingyu has quit IRC15:09
*** mingyu has joined #openstack-swift15:10
*** mingyu has quit IRC15:14
*** chlong has quit IRC15:22
*** chlong_ has quit IRC15:22
*** cbartz has quit IRC15:28
*** mvk has quit IRC15:45
*** catintheroof has quit IRC15:48
*** skudlik has joined #openstack-swift16:05
*** oshritf has joined #openstack-swift16:06
*** klrmn has quit IRC16:08
*** mingyu has joined #openstack-swift16:10
*** mingyu has quit IRC16:15
*** chlong_ has joined #openstack-swift16:16
*** chlong has joined #openstack-swift16:16
*** skudlik has quit IRC16:17
*** skudlik has joined #openstack-swift16:18
*** mvk has joined #openstack-swift16:26
*** pcaruana has quit IRC16:32
*** oshritf has quit IRC16:34
timburkegood morning16:47
*** rcernin has quit IRC16:49
*** oshritf has joined #openstack-swift16:51
*** oshritf has quit IRC16:54
*** skudlik has left #openstack-swift16:55
*** hseipp has quit IRC16:56
*** links has quit IRC16:58
*** SkyRocknRoll has joined #openstack-swift16:59
*** klrmn has joined #openstack-swift17:02
thurloato7 timburke17:03
thurloatI think I'm going to write a book / horror non-fiction about what happens when your swift object disks get full17:04
*** mingyu has joined #openstack-swift17:12
*** mingyu has quit IRC17:16
notmynamegood morning17:24
thurloat\o/17:26
*** geaaru has quit IRC17:30
*** SkyRocknRoll_ has joined #openstack-swift17:43
*** SkyRocknRoll_ has quit IRC17:50
*** SkyRocknRoll_ has joined #openstack-swift18:03
timburkewe should probably land https://review.openstack.org/#/c/464216/ -- it's got two +A'ed follow-ups :P18:09
patchbotpatch 464216 - swift - domain_remap: be more careful about client-path ma...18:09
*** pcaruana has joined #openstack-swift18:11
*** ejat has quit IRC18:38
*** ejat has joined #openstack-swift18:41
*** ejat has quit IRC18:41
*** ejat has joined #openstack-swift18:41
*** SkyRocknRoll_ has quit IRC19:02
*** SkyRocknRoll has quit IRC19:06
*** hseipp has joined #openstack-swift19:31
*** hseipp has quit IRC19:32
openstackgerritMerged openstack/swift feature/deep: copy put-timestamp from original to sharded db  https://review.openstack.org/51009219:39
*** mat128 has joined #openstack-swift19:46
*** ChubYann has joined #openstack-swift20:02
*** silor has quit IRC20:13
*** pcaruana has quit IRC20:18
jungleboyjnotmyname:  You around?20:31
notmynamejungleboyj: yes. what's up?20:33
jungleboyjnotmyname:  Hey, been given the opportunity to administer a cloud with Swift and I am having issues with it as the Glance backend.  Not sure what I am doing wrong.20:36
jungleboyjnotmyname:  Thought it might be related to accidentally having servers in the list that didn't actually exist.  So I removed them and rebalanced.20:36
notmynamein the list? what list?20:37
jungleboyjhttps://www.irccloud.com/pastebin/bbCerw6O/20:37
jungleboyjWhen I try to add an image.20:37
jungleboyjThe list of nodes from swift-ring-builder account.builder20:38
notmynameok20:38
notmyname"in the ring" then20:38
jungleboyjnotmyname:  Right.  This was a trippleO deploy and I expect to have the three controllers in the ring.20:40
notmynamejungleboyj: first up, let's use `curl` to test out the cluster (so we know exactly what requests are being made)20:40
notmynamecan you GET the /healthcheck url? `curl -i http://your.swift/healthcheck`20:41
jungleboyjnotmyname:  Ok.20:41
notmynamedo you get a 200 back?20:41
jungleboyjTrying here.20:48
*** mingyu has joined #openstack-swift20:49
jungleboyjnotmyname:  So I did curl -i http://172.24.0.12:6002/healthcheck and got a 200 back.20:50
jungleboyjThat was one of the 3 nodes in the ring.20:50
notmynameare the other two ok?20:50
jungleboyjYep, everyone is home.20:51
notmynameok, good20:52
notmynamedo you have an auth token for the swift cluster? you can get one pretty easily with `swift auth -v`20:53
*** mingyu has quit IRC20:53
notmynameafter you have a token, make a container and upload an object20:54
jungleboyjOk, I just got a token I think.20:55
notmyname`curl -i <swift endpoint>/new_container -XPUT -H "x-auth-token: foobar`20:55
notmyname`curl -i <swift endpoint>/new_container/new_object --data-binary 1234 -XPUT -H "x-auth-token: foobar`20:55
notmynameone of those will likely fail like the log line you're seeing when you save a glance image20:55
notmynamenote the returned x-trans-id header that's returned in the error response, and grep all of your logs for that trans-id. then pastebin that for me20:56
jungleboyjWhen I did the 'swift auth -v' I jsut got beack 6 exports.  I didn't see a token.20:56
notmynameshould have gotten back a token and an endpoint20:57
notmynameI guess maybe more than one endpoint20:57
openstackgerritClay Gerrard proposed openstack/swift master: test account autocreate listing format  https://review.openstack.org/51052020:58
jungleboyjInteresting.  I just got this:20:58
jungleboyjhttps://www.irccloud.com/pastebin/GqZGmT9H/20:58
notmynameoh. umm... leave off the -v20:59
jungleboyj:-)  Ah, now that looks like a Token.21:00
jungleboyjHmmm, I get a bad request .  40021:05
notmynamefor which one?21:05
jungleboyjThe -XPUT thought then it says 'Invlaid path: /jays_container' which was what I was trying to add.21:06
* jungleboyj is going to embarrass myself with how little I know about Swift.21:07
notmynameno worries21:07
notmynamewhen you got the token, you also got a storage endpoint21:07
jungleboyjYes, OS_STORAGE_URL21:08
notmynamesomething like http://swift.is.awesome/v1/AUTH_jayisgreat/21:08
* jungleboyj laughs21:08
notmynameso use that and append the container name21:08
jungleboyjOh.   Ok.21:08
notmynameso `curl -i http://swift.is.awesome/v1/AUTH_jayisgreat/newcontainerhere/ -XPUT`21:09
jungleboyjSweet.  That worked.21:10
notmynamenice.21:10
jungleboyjNow the next step.21:10
notmynameso a 201 response?21:10
notmynameright21:10
notmynameadd an object21:10
notmynameappend the object name to the thing above, still use -XPUT, and use --data-binary 1234 to send a 4 byte body of "1234"21:10
jungleboyjOk, I got a 201 for that too.21:12
notmynamehmm.. interesting21:12
jungleboyjYeah.21:13
notmynameso vary the object name a few times and see if you can get a 50321:13
jungleboyjSo add more objects to my container?21:13
notmynameyes21:13
notmynamebut the good news so far is that the proxy servers are working, the account and container servers are working, and it seems that the object servers are working21:13
notmynameat first glance, seems like you have a functional cluster21:13
jungleboyjHmmm, just made like 6 objects and they were all fine.21:14
notmynamewhat about reading an object21:15
notmynamegiven one of the object names you just added, use -XGET and drop the --data-binary parts21:16
jungleboyjLooking good.  I got back what I put in.21:17
notmynamethat's good21:18
notmynameyou could grep the proxy logs for ' 503 ' to see if you can find the bad responses from earlier21:19
openstackgerritMerged openstack/swift master: domain_remap: be more careful about client-path mangling  https://review.openstack.org/46421621:26
jungleboyjStrange, not seeing any 503's in the logs here.21:27
jungleboyjnotmyname:  So, the 503 is glance trying to talk to swift using swiftclient.  Right?21:33
openstackgerritMerged openstack/swift master: Improve domain_remap docs  https://review.openstack.org/47171221:34
jungleboyjStrange, now I was able to recreate the 503 from the command line.21:47
jungleboyjnotmyname:  I am still seeing rsync errors trying to sink to ring nodes that I removed.  Could that be causing me issues?21:50
*** chlong_ has quit IRC21:59
*** chlong has quit IRC21:59
jungleboyjMaybe it is because the ring settings were only updated on one of the 3 systems?  And perhaps I was getting lucky with loadbalancing?21:59
notmynamejungleboyj: sorry. I was called away for a bit22:05
jungleboyjNo problem.  I may have a beat on the problem.22:05
notmynameyeah, make sure you have the same rings on all the servers22:06
jungleboyjnotmyname:  Yep, just fixing that.22:06
notmynamejungleboyj: `swift-recon` can help you find many of these issues22:07
openstackgerritMerged openstack/swift master: Added the man page for container-sync-realms.conf  https://review.openstack.org/51001722:09
jungleboyjnotmyname:  Before I was getting errors back when trying to do 'swift-recon container' .  It would show the hosts it couldn't contact.22:13
jungleboyjnotmyname:  Now it just says it is starting recon but it still says 6 hosts when there should only be 3.22:14
jungleboyjnotmyname:  Is that because I need to also remove the bad IPs from the container.build and object.builder?22:15
notmynameit should be using the .ring.gz files, not the .builder files22:16
notmynamebut assuming you deployed the .ring.gz fields after rebalancing, yes. remove the missing IPs22:17
jungleboyjSo, let me take a step back.22:17
jungleboyjIt appears there is a bug in TrippleO if you redeploy the environment it just appends IPs into the ring.gz files.  Instead of replacing.  So, that is what I am trying to recover from.22:19
*** Sukhdev has joined #openstack-swift22:23
notmynameah22:25
notmynamemight be interesting to ask cschwede if he's run in to that22:25
*** vint_bra has quit IRC22:39
mattoliveraumorning22:43
*** catintheroof has joined #openstack-swift22:47
*** Sukhdev has quit IRC22:51
timburkemattoliverau: o/23:04
openstackgerritTim Burke proposed openstack/swift feature/deep: Fix create_shard_ranges_table migration  https://review.openstack.org/51070723:10
timburkei shoulda figured those two changes might cause some troubles when combined...23:12
timburkealso, i really should have included tests in https://review.openstack.org/#/c/508355/23:12
patchbotpatch 508355 - swift (feature/deep) - Add shard_ranges table on failed writes, not reads (MERGED)23:12
jungleboyjnotmyname:  Things appear to be working better now that I have cleaned up the IP mess.  *fingers crossed*23:17
notmynameyay23:17
notmynamels23:17
*** kei_yama has joined #openstack-swift23:27
openstackgerritTim Burke proposed openstack/swift master: domain_remap: stop mangling client-provided paths  https://review.openstack.org/46421723:37
torgomaticI smile every time I'm looking at the SLO middleware and see our use of StreamingPile23:47
timburketorgomatic: you're welcome ;-)23:47

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