Saturday, 2014-09-20

openstackgerritClay Gerrard proposed a change to openstack/swift: Add container_count to policy_stat table  https://review.openstack.org/12079500:05
openstackgerritClay Gerrard proposed a change to openstack/python-swiftclient: Add per policy container count to account stat output  https://review.openstack.org/12289500:09
*** kyles_ne has quit IRC00:12
*** kyles_ne has joined #openstack-swift00:12
claygk, i'm off - have a good night00:13
*** kyles_ne has quit IRC00:17
*** dmsimard_away is now known as dmsimard00:45
*** mwstorer has quit IRC01:01
*** shri has quit IRC01:11
*** Dafna has quit IRC01:17
*** judd7 has quit IRC01:20
*** Trixboxer has quit IRC01:29
*** Dafna has joined #openstack-swift01:36
*** mkollaro has quit IRC01:46
*** dmsimard is now known as dmsimard_away02:21
*** echevemaster has quit IRC02:59
*** fifieldt__ has quit IRC03:42
openstackgerritA change was merged to openstack/swift: Early framework for the EC Reconstructor  https://review.openstack.org/10691003:52
*** zaitcev has quit IRC04:26
*** kbee has joined #openstack-swift04:27
*** hhuang has joined #openstack-swift05:11
*** jdaggett has quit IRC05:50
*** goodes has quit IRC05:50
*** nottrobin has quit IRC05:50
*** zhiyan has quit IRC05:51
*** serverascode has quit IRC05:51
*** hhuang has quit IRC05:52
*** Alex_Gaynor has quit IRC05:55
openstackgerritOpenStack Proposal Bot proposed a change to openstack/swift: Imported Translations from Transifex  https://review.openstack.org/12232706:11
*** nottrobin has joined #openstack-swift06:12
*** Alex_Gaynor has joined #openstack-swift06:20
*** jdaggett has joined #openstack-swift06:21
*** goodes_ has joined #openstack-swift06:22
*** zhiyan has joined #openstack-swift06:22
*** serverascode_ has joined #openstack-swift06:23
openstackgerritChristian Schwede proposed a change to openstack/swift: Limit partition movement when adding a new tier  https://review.openstack.org/12142207:17
openstackgerritA change was merged to openstack/swift: Fixes several typos (Swift)  https://review.openstack.org/12260207:30
*** mkollaro has joined #openstack-swift08:33
*** jamiehannaford has joined #openstack-swift08:44
*** Dafna has quit IRC08:58
*** AbyssOne is now known as JelleB09:49
*** tanee has quit IRC10:22
*** tanee has joined #openstack-swift10:22
*** wer has quit IRC10:23
*** wer has joined #openstack-swift10:24
*** wer has quit IRC10:31
*** mkollaro has quit IRC10:32
*** wer has joined #openstack-swift10:33
*** kbee has quit IRC11:00
*** kbee has joined #openstack-swift11:01
*** kbee has quit IRC11:05
*** kbee has joined #openstack-swift11:06
*** mkollaro has joined #openstack-swift12:05
openstackgerritA change was merged to openstack/swift: Test for unicode names in AccountBroker.merge_items()  https://review.openstack.org/12257012:52
*** fbo has quit IRC13:14
*** mkollaro has quit IRC13:30
*** kbee has quit IRC13:35
*** kbee has joined #openstack-swift13:36
*** fbo has joined #openstack-swift13:42
*** openstackgerrit has quit IRC13:54
*** Trixboxer has joined #openstack-swift15:47
*** mahatic has joined #openstack-swift15:48
*** mkollaro has joined #openstack-swift16:02
*** mkollaro has quit IRC16:33
*** mkollaro has joined #openstack-swift16:35
*** kbee has quit IRC16:37
*** yuanz has joined #openstack-swift16:57
*** yuan has quit IRC17:00
*** mkollaro has quit IRC17:17
*** dmsimard_away is now known as dmsimard17:18
*** acoles has quit IRC17:21
*** dmsimard is now known as dmsimard_away17:33
*** acoles has joined #openstack-swift17:36
*** ChanServ sets mode: +v acoles17:36
smart_developerDoes someone know why "swift ..... stat" could be saying (consistently) that there are x-1 objects stored in the cluster, when I actually uploaded (and can download) x number of objects ?17:56
*** mkollaro has joined #openstack-swift17:56
smart_developerI've tried re-downloading every single one of them, and when I do, I get the correct contents back.17:57
smart_developerMoreover, whenever I tried using a tempURL I generate for any particular object, I get a 404 Not found error.17:57
smart_developerSimilarly, I also get a 404 error whenever trying to set a Container Quota.17:57
*** infotection has quit IRC18:07
smart_developerOk, now I did something like18:09
smart_developercurl -i -H “X-Auth-Token: <token>” -H  “X-Container-Meta-Quota-Bytes: <value>” -X PUT  <storage_url>/<container>18:09
smart_developerexcept I didn't put anything for <container>18:09
smart_developerand now instead of giving me a 404, it returned a "202 Accepted"18:10
smart_developerBut now, whenever I do a "swift ..... stat" command, it says that the number of Containers, Objects, and Bytes, in the cluster are all 0.18:10
*** infotection has joined #openstack-swift18:12
smart_developerIf I'm not mistaken, the HTTP response, if everything works correctly, should be "201 Created", and not "202 Accepted", right ?18:13
mandarinesmart_developer: I'm not sure but I think you might be creating/updating an account.19:36
mandarine(just a possibility)19:36
smart_developerWell, that seems to be the case, but I'm not sure how to revert this now....19:44
smart_developermandarine : Because now "swift ..... stat" is saying that there are only 0 Containers, 0 Objects, and 0 Bytes in the cluster.19:45
smart_developerBut originally I had a few containers & objects in there.19:46
*** jamiehannaford has quit IRC19:49
mandarineI never used that option19:50
smart_developer"swift ... stat" is one of the swiftclient CLI commands19:54
mandarineYa, I mainly use some wrapper around curl :x I'm realy sorry :x20:02
smart_developermandarine : No worries. But do you mind showing me some examples of what that looks like ?20:04
smart_developerIt could be any command(s)20:05
mandarineWell, we have our own token authentication (because it was there before swift, mostly >_<)20:06
mandarineBut basically, it's looks just like curl -X PUT directly on proxies with no authentication from some point of view20:07
*** dvorkbjel has joined #openstack-swift20:07
mandarinesmart_developer: do you have several nodes ?20:08
smart_developerI have 3 and all of them are running all of the services (proxy, account, container, object).20:09
mandarineHum20:09
smart_developerHAProxy to route requests among them20:09
smart_developerAnd Keystone on a separate server.20:09
mandarineJust to check, it's still the same swift.conf ? with the exact same hashes_prefix and _suffix on all three servers? :x20:10
smart_developermandarine : Yes.20:16
mandarinesmart_developer: when you say "<storage_url>", is it your swift-proxy, then ?20:17
smart_developermandarine : It's the HAProxy (load balancer) URL.20:29
smart_developermandarine : It's the HAProxy (load balancer) URL, actually.20:29
ctennisis the swift account you're using the "stat" command under changing smart_developer?  Those numbers are account specific.20:39
ctennisyou can add the --debug flag to the swift command and see that it's just using curl behind the scenes.20:39
smart_developerctennis : The swift account that I'm using isn't changing at all.20:41
smart_developerctennis : And what's the difference between --debug and --verbose flags20:42
smart_developerthanks20:42
ctenniswell try them out, they give different outputs20:42
ctennisI don't know why your counts would suddenly go away/change unless something behind the scenes is messing with the data.20:45
ctennisthe log files should show all of the requests and the subsequent updates to the container server20:45
smart_developerctennis : Do you have any guesses as to why the counts might be changing like this ?20:51
ctennisnot really without diving into the log files, but if they reset to 0 then my hunch is you are either querying a different acount (and don't realize it), or you lost your container data.21:17
*** acoles has quit IRC21:32
*** acoles has joined #openstack-swift21:51
*** ChanServ sets mode: +v acoles21:51
*** tkay has joined #openstack-swift21:52
*** dmsimard_away is now known as dmsimard21:55
*** dmsimard is now known as dmsimard_away22:05
*** bobbinnumerous has joined #openstack-swift22:16
*** tkay has quit IRC22:29
*** tkay has joined #openstack-swift22:35
*** tkay has quit IRC22:36
*** mkollaro has quit IRC22:37
*** mahatic has quit IRC23:30
*** dmsimard_away is now known as dmsimard23:41
*** mahatic has joined #openstack-swift23:42

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