Friday, 2014-04-11

*** yuanz has joined #openstack-swift00:04
*** peluse has quit IRC00:05
*** peluse has joined #openstack-swift00:06
*** yuan has quit IRC00:07
tdasilvaHi, I'm testing object expirer feature and I noticed that after an object has "expired" doing a listing (GET) on the container still returns the object name. Is this a desirable? seems like a bug to me00:10
tdasilvasending a GET on the object itself returns 404 as expected00:10
anticwtdasilva: expected00:15
anticwtdasilva: if you GET and the object has expired you get a 40400:15
anticwcontainer and actually freeing are async and usually happen a little later00:16
anticwso long as the expirers are running00:16
tdasilvaanticw: right, i understand that the object is not actually deleted when it is "expired", but only after the daemon is done running.00:18
tdasilvaanticw: but it seems confusing that the container would still return a list container that object there00:18
*** h6w has joined #openstack-swift00:20
h6wMorning all. :-)00:20
h6wI'm unsure how to interpret this from swift-recon:  "[replication_failure] low: 0, high: 3, avg: 1.2, total: 6, Failed: 0.0%, no_result: 0, reported: 5"00:21
h6wIs that saying that 3 replications failed or 0.0% failed?00:21
h6wOr that the failure failed?00:21
h6wConversely, replcation_attempted says "total: 2", but I have 5 devices with 100% weight and 5 replicas.00:23
*** matsuhashi has joined #openstack-swift00:24
*** krtaylor has joined #openstack-swift00:28
*** bill_az has quit IRC00:36
*** RockKuo has joined #openstack-swift00:42
openstackgerritA change was merged to openstack/swift: Use eventlet instead of threading for timeout  https://review.openstack.org/8578200:50
openstackgerritA change was merged to openstack/swift: Fix logging issue when services stop on py26  https://review.openstack.org/8668400:50
*** csd has quit IRC01:01
openstackgerritpaul luse proposed a change to openstack/swift: yAdd Storage Policy Support to Container Sync  https://review.openstack.org/8646901:15
*** Guest____ has joined #openstack-swift01:27
*** ccarrizo has joined #openstack-swift01:31
h6wnotmyname: ^^ Help please? :-D01:33
h6wThe deeper problem is that I'm mounting both proxies successfully, but they're giving me different results. :-(01:34
h6wSpecifically, I can't see any files at all on my second proxy.01:34
h6wSo I'm presuming that something's gone wrong with the replication.01:35
*** nosnos has joined #openstack-swift01:51
*** saschpe has quit IRC02:00
*** saschpe has joined #openstack-swift02:02
*** lpabon has quit IRC02:09
*** zackf has joined #openstack-swift02:10
*** Guest____ has quit IRC02:12
*** gyee has quit IRC02:17
*** ccarrizo has quit IRC02:30
openstackgerritPeter Portante proposed a change to openstack/swift: Load constraints from cluster info dictionary  https://review.openstack.org/8671002:36
openstackgerritpaul luse proposed a change to openstack/swift: Add Storage Policy Support to Container Sync  https://review.openstack.org/8646902:46
*** haomaiw__ has quit IRC02:57
*** haomaiwa_ has joined #openstack-swift03:00
*** haomaiwa_ has quit IRC03:00
*** haomaiwang has joined #openstack-swift03:00
openstackgerritPeter Portante proposed a change to openstack/swift: In-process swift server for functional tests  https://review.openstack.org/6610803:05
portantenotmyname: hopefully we can get these in-proc func tests submitted so that we can use this to help verify storage policies and raise the bar for reliability, avoiding problems like we have seen in the past.03:07
openstackgerritA change was merged to openstack/swift: Add includes of referenced SAIO bin scripts  https://review.openstack.org/8668103:10
*** matsuhashi has quit IRC03:14
*** madhuri has joined #openstack-swift03:15
*** nosnos has quit IRC03:20
*** nosnos has joined #openstack-swift03:20
*** nosnos has quit IRC03:25
*** matsuhashi has joined #openstack-swift03:28
openstackgerritYuan Zhou proposed a change to openstack/swift: Clean up swift-object-info/swift-get-nodes bin files  https://review.openstack.org/8659303:42
*** chandan_kumar has joined #openstack-swift03:48
*** SpamapS has left #openstack-swift03:49
*** piousbox has quit IRC03:49
*** MooingLemur has quit IRC04:02
*** nosnos has joined #openstack-swift04:14
openstackgerritJenkins proposed a change to openstack/swift: Updated from global requirements  https://review.openstack.org/8120704:17
*** MooingLemur has joined #openstack-swift04:21
*** chandan_kumar has quit IRC04:22
*** chandan_kumar has joined #openstack-swift04:35
*** MooingLemur has quit IRC04:36
*** MooingLemur has joined #openstack-swift04:44
*** praveenkumar has quit IRC04:46
*** praveenkumar has joined #openstack-swift04:48
*** RockKuo has quit IRC04:59
*** RockKuo has joined #openstack-swift05:00
*** Longgeek_ has joined #openstack-swift05:06
*** saju_m has joined #openstack-swift05:16
*** ppai has joined #openstack-swift05:23
*** chandan_kumar has quit IRC05:24
*** ashish_ has joined #openstack-swift05:29
*** Guest__ has joined #openstack-swift05:34
*** chandan_kumar has joined #openstack-swift05:37
*** zhiyan_ is now known as zhiyan05:39
*** zackf has quit IRC05:39
*** Guest__ has quit IRC05:47
*** Guest__ has joined #openstack-swift05:48
*** zaitcev has quit IRC06:01
*** RockKuo has quit IRC06:05
*** Guest__ has quit IRC06:06
*** Manish_ has joined #openstack-swift06:09
*** Guest__ has joined #openstack-swift06:10
*** psharma has joined #openstack-swift06:22
openstackgerritMadhuri Kumari proposed a change to openstack/swift: Print 'Container Count' in data base info  https://review.openstack.org/8680706:28
*** MooingLemur has quit IRC06:32
*** chandan_kumar has quit IRC06:49
*** cheri has joined #openstack-swift06:51
*** chandan_kumar has joined #openstack-swift06:56
*** nshaikh has joined #openstack-swift06:57
*** haomaiwang has quit IRC07:14
*** haomaiwang has joined #openstack-swift07:14
*** cheri has quit IRC07:17
*** cheri has joined #openstack-swift07:18
*** PradeepChandani has joined #openstack-swift07:22
*** matsuhashi has quit IRC07:35
*** matsuhashi has joined #openstack-swift07:35
*** foexle has joined #openstack-swift07:40
*** Guest__ has quit IRC07:43
Manish_Hello Everyone07:45
openstackgerritYuan Zhou proposed a change to openstack/swift: Fix parsing storage policy in swift.conf  https://review.openstack.org/8681407:46
Manish_does anyone knows if SWIFT has support for IPv6?07:46
Manish_if yes,then since which release?07:46
*** nacim has joined #openstack-swift07:47
*** foexle_ has joined #openstack-swift07:49
*** mmcardle has joined #openstack-swift07:54
*** ashish_ has quit IRC07:55
openstackgerritClay Gerrard proposed a change to openstack/swift: Add headers to DirectClientException  https://review.openstack.org/8681707:57
openstackgerritClay Gerrard proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8590807:57
*** mmcardle1 has joined #openstack-swift07:58
*** mmcardle has quit IRC07:58
*** MooingLemur has joined #openstack-swift08:15
*** matsuhas_ has joined #openstack-swift08:25
*** matsuhashi has quit IRC08:25
*** jamie_h has joined #openstack-swift08:35
*** joeljwright has joined #openstack-swift08:38
redboManish_:  I don't know which release, but swift has supported ipv6 for over 3 years.  I'm not sure if anyone's actually running a cluster all on ipv6, though.08:39
openstackgerritYuan Zhou proposed a change to openstack/swift: Fix parsing storage policy in swift.conf  https://review.openstack.org/8681408:40
*** d89 has joined #openstack-swift08:42
Manish_redbo: thanks a lot08:43
*** mkerrin has quit IRC08:46
*** haomaiw__ has joined #openstack-swift08:48
*** haomaiwang has quit IRC08:52
*** mkerrin has joined #openstack-swift08:52
openstackgerritYuan Zhou proposed a change to openstack/swift: Adding deprecate policy support  https://review.openstack.org/8682708:52
*** RockKuo has joined #openstack-swift08:58
*** tanee-away is now known as tanee08:59
*** _bluev has joined #openstack-swift09:03
*** chandan_kumar has quit IRC09:10
*** chandan_kumar has joined #openstack-swift09:15
*** ccorrigan has joined #openstack-swift09:16
openstackgerritTakashi Kajinami proposed a change to openstack/swift: Add timestamp checking in AccountBroker.is_status_deleted  https://review.openstack.org/8624809:24
*** saschpe has quit IRC09:27
*** saschpe has joined #openstack-swift09:29
openstackgerritTakashi Kajinami proposed a change to openstack/swift: Add timestamp checking in AccountBroker.is_status_deleted  https://review.openstack.org/8624809:33
grapsus_hi there09:37
*** saju_m has quit IRC09:45
_bluevHello09:45
*** chandan_kumar has quit IRC09:47
*** zhiyan is now known as zhiyan_09:55
*** saju_m has joined #openstack-swift10:01
*** nosnos has quit IRC10:03
*** matsuhas_ has quit IRC10:04
*** foexle_ has quit IRC10:21
*** foexle has quit IRC10:21
*** Anju has quit IRC10:23
*** saju_m has quit IRC10:25
*** foexle has joined #openstack-swift10:26
*** foexle_ has joined #openstack-swift10:27
*** chandan_kumar has joined #openstack-swift10:29
openstackgerritYuan Zhou proposed a change to openstack/swift: Fix parsing storage policy in swift.conf  https://review.openstack.org/8681410:31
*** tdasilva has left #openstack-swift10:39
*** fifieldt has quit IRC10:47
*** Manish_ has quit IRC10:52
*** ccorrigan has quit IRC10:57
*** ccorrigan has joined #openstack-swift10:58
*** Trixboxer has joined #openstack-swift11:14
*** judd7_ has quit IRC11:15
*** RockKuo has quit IRC11:19
*** Longgeek_ has quit IRC11:19
*** jamie_h has quit IRC11:30
*** jamie_h has joined #openstack-swift11:32
*** cheri has quit IRC11:32
*** chandan_kumar has quit IRC11:41
*** mkollaro has joined #openstack-swift11:43
*** ppai has quit IRC11:50
*** chandan_kumar has joined #openstack-swift11:54
*** psharma has quit IRC12:00
openstackgerritpaul luse proposed a change to openstack/swift: Add Storage Policy Support to Container Sync  https://review.openstack.org/8646912:20
*** anticw_ has joined #openstack-swift12:24
*** rahmu has quit IRC12:24
*** anticw has quit IRC12:24
*** hurricanerix_ has quit IRC12:24
*** rahmu has joined #openstack-swift12:24
*** hurricanerix has joined #openstack-swift12:24
*** mmcardle1 has quit IRC12:31
*** MooingLemur has quit IRC12:35
*** judd7 has joined #openstack-swift12:42
*** mmcardle has joined #openstack-swift12:56
*** praveenkumar has quit IRC13:15
*** jamie_h has quit IRC13:24
*** jamie_h has joined #openstack-swift13:25
*** lpabon has joined #openstack-swift13:31
*** NM1 has joined #openstack-swift13:42
*** praveenkumar has joined #openstack-swift13:54
*** nacim has quit IRC14:03
*** nacim has joined #openstack-swift14:04
*** russellb is now known as rustlebee14:07
*** zhiyan_ is now known as zhiyan14:09
*** mwstorer has joined #openstack-swift14:09
*** nshaikh has quit IRC14:11
*** tdasilva has joined #openstack-swift14:13
*** zackf has joined #openstack-swift14:15
*** piyush1 has joined #openstack-swift14:25
*** chandan_kumar has quit IRC14:31
notmynameFYI, tomorrow morning (Paris time) when ttx wakes up, he'll cut an RC2 for swift, assuming we haven't found anything else today.14:44
notmynameif something comes up today that needs to be backported and we get it landed on milestone-proposed, it can be included in rc214:44
portantenotmyname: great, thanks14:44
brianclineis that 1.13.1?14:45
notmynamebriancline: yes. we've currently got 1.13.1-rc1 as our RC for icehouse.14:45
* briancline has been under several rocks/glaciers for a while14:46
notmynamebriancline: 1.13.1 final will be included in the openstack icehouse release14:46
creihtnotmyname: cool14:46
brianclineexcellent14:46
notmynameand the icehouse release will be cut net thursday the 17th14:46
brianclineman, almost halfway through april... guess it's time to start putting summit slides together14:47
notmynamecreiht: so if anything suspicious pops up today, let everyone know sooner than later :-)14:47
notmynamebriancline: how's working for Big Corp going?14:48
notmynamedid you get your IBM songbook?14:48
brianclineoh yes, it came in the briefcase with white dress shirt, black pants, and black tie14:49
briancline;)14:49
creihtnotmyname: will do14:50
notmynamenice14:50
notmynamebriancline: will you be going to atlanta?14:50
creihtlol14:50
notmynamecreiht: are you not at pycon?14:50
creihtnotmyname: not this year14:50
notmynamecreiht: ya, me neither :-(14:51
creihtI'll probably go next year though14:51
notmynameare they doing 2 years in canada?14:51
creihtyeah14:52
creihtnotmyname: I think I am going to switch to going to every other pycon14:53
brianclinenotmyname: in all seriousness it's been going pretty well, though. working on some fun object storage things lately, hopefully some of that time will clear up soon to allow us to get back to co-championing the search blueprint14:53
notmynamecool14:53
brianclinenotmyname: and yup, I'll definitely be there all week. stayed through end of Friday due to the ops sessions they're doing now. seems intriguing14:54
brianclines/stayed/will be staying/14:54
brianclinethought that was a nice addition to the format14:55
notmynamethere are several new things this year. it will be interesting to see how it works out14:55
brianclinenice. I'm excited to see the place, whilst booking I realized I stayed at a nearby Sheraton sometime in college during a visit, but didn't get to make it out to the park/cnn center/etc.14:57
notmynameI'm told that the tentative summit schedule is public and I can reference it. https://docs.google.com/spreadsheet/ccc?key=0AmUn0hzC1InKdGNXcWlWX0FIekQxbUtvRVlnVF9IV3c&usp=drive_web#gid=514:57
ctennisnotmyname: there's some discussion above about swift working with ipv6..is that true?  I thought there was a problem with eventlet that prevented it.14:57
notmynamectennis: redbo said it worked :-)14:58
creihtlol14:58
creihtctennis: there was a lot of work done a while ago to make sure that it worked14:58
notmynamectennis: I know there were some patches to make it work a long time ago, but like redbo said I don't know anyone who is using it who can confirm (including myself)14:58
ctennisinteresting, I guess I need to look into it14:58
creihtat that time at least14:58
*** csd has joined #openstack-swift14:58
ctennisI didn't know you could set the node addresses in the ring as ipv614:58
notmynamectennis: so I'd consider it a bug if it doesn't work. (it's like we need tests for that...)14:59
ctennisok good to know.  My main interest here is supporting encrypted network traffic between nodes, which is a bit easier with ipsec and ipv6.14:59
notmynamecool!15:00
* notmyname asks ctennis in a different channel who's doing that...15:00
creihtI think there was one bug that popped up where getmyips wouldn't work for ipv6 addrs15:00
creihtbecause a library change happened or something like that15:00
*** Gu_______ has joined #openstack-swift15:01
* notmyname goes offline for a bit to get ready for the day15:03
brianclinespeaking of tests, am I the only one with beef about TestAccount.test_bad_metadata?15:04
joeljwrightIs there a problem with the test infrastructure? The current zuul job stats graphs don't look good http://status.openstack.org/zuul/ and some jobs have been waiting for hours to run15:04
brianclinejoeljwright: not sure, there was a huge uptick in jobs last night that probably caused the backlog. I've got 2 for glance that have been painstakingly slow15:05
joeljwrightI just noticed the zuul job queue runnin/worker numbers drop towards 0 so I thought it was worth mentioning15:06
joeljwrightwaiting/total jobs are now both near to 150015:07
joeljwrightalso, zuul jobs launched per hour appears to be 0 :S15:07
brianclinealso I may not be reading it correctly, but the total nodes graph doesn't seem to roughly match up numbers-wise with the job queue workers graph15:07
brianclineoh wow, yeah, didn't notice that drop in workers15:07
brianclineseems like a lot of the delays are due to python3.3 checks15:12
joeljwrightI can only find 5 running tests atm15:12
joeljwrightall in check-tripleo queue15:12
joeljwrighteverything else is stuck in queued15:13
*** tanee is now known as tanee-away15:13
brianclinejoeljwright: here you go, 0411 1018 <     fungi> mrmartin: trouble adding new workers to run jobs. i'm currently trying to sort it out15:19
*** tanee-away is now known as tanee15:20
*** Gu_______ has quit IRC15:20
joeljwrightbriancline: thanks for checking15:21
joeljwrighthope it's not a major issue!15:22
*** foexle_ has quit IRC15:23
*** zul has quit IRC15:26
*** foexle has quit IRC15:26
*** csd has quit IRC15:29
*** csd has joined #openstack-swift15:29
*** zul has joined #openstack-swift15:30
tdasilvahi, i'd like to take a stab and fixing bug: 1076202 and while testing object-expirer,  I found a couple of issues...wondering if anyone can offer some help.15:37
tdasilvafirst, I put two objects, one set to expire and the other not. sending a GET request on the expired object resulted in a 404 as expected, but now when running the object-expirer daemon it logs "0 objects expired", any ideas?15:37
*** davidhadas_ has joined #openstack-swift15:43
openstackgerritPeter Portante proposed a change to openstack/swift: Load constraints from cluster info dictionary  https://review.openstack.org/8671015:44
*** G________ has joined #openstack-swift15:46
*** davidhadas has quit IRC15:46
*** dmsimard has quit IRC15:51
anticw_tdasilva: container (and account) listings aren't always up-to-date15:58
anticw_even w/o expirey it's pretty easy to get the container server days behind right now15:59
*** judd7 has quit IRC16:01
tdasilvawell..it's not so much the listing of the container, it's more the fact that the expired object is not getting picked up by the expirer daemon to be picked up16:01
tdasilvaanticw_: this call self.swift.get_account_info(self.expiring_objects_account)16:02
tdasilvais returning 0, 016:02
tdasilvaoh wait, you said "days behind"16:04
tdasilvaso an object could be expired for days, but because the container server is behind it will never get picked up by the expirer daemon?16:06
*** gyee has joined #openstack-swift16:07
*** nacim has quit IRC16:12
notmynamepandemicsyn: irish brownies this morning https://twitter.com/notmyname/status/45465365417204531216:14
notmynameerr...cupcakes. not brownies16:16
*** G________ has quit IRC16:31
*** foexle has joined #openstack-swift16:39
*** zhiyan is now known as zhiyan_16:40
*** zhiyan_ is now known as zhiyan16:40
*** zhiyan is now known as zhiyan_16:43
openstackgerritPeter Portante proposed a change to openstack/swift: Load constraints from cluster info dictionary  https://review.openstack.org/8671016:45
*** praveenkumar has quit IRC16:47
*** G________ has joined #openstack-swift16:49
*** foexle has quit IRC16:50
*** piyush1 has quit IRC16:52
*** zaitcev has joined #openstack-swift17:05
*** ChanServ sets mode: +v zaitcev17:05
*** G________ has quit IRC17:07
*** _bluev has quit IRC17:13
*** d89 has quit IRC17:17
*** tanee is now known as tanee-away17:17
pandemicsynnotmyname: that looks/sounds damn tasty!17:29
notmynamepandemicsyn: oh, it was17:29
*** chandan_kumar has joined #openstack-swift17:35
tdasilvanotmyname: i'm trying to test object-expirer, but getting conflicting results. is there anywhere you can point me that describes the expected behavior17:37
tdasilva?17:37
notmynametdasilva: http://docs.openstack.org/developer/swift/overview_expiring_objects.html is where I'd start, but you've probably already read it17:38
tdasilvayep17:38
*** piyush1 has joined #openstack-swift17:39
tdasilvanotmyname: i guess my question is: is it correct to expect that once an object is expired, the next time the expirer daemon runs, that object should be deleted?17:39
tdasilvanotmyname: anticw_ answers seems to point to an issue with account and container listing being behind for days, so that's why it might take some time for the daemon to find the expired object17:40
*** mmcardle has quit IRC17:40
*** piyush2 has joined #openstack-swift17:40
tdasilvathat seems strange, so I just wanted to confirm17:41
*** piyush1 has quit IRC17:43
zaitcevIt does seem strange on the surface of it. The expirer works through proxy, does it not? Therefore, any deletions it does should be properly reflected in container and account listings through normal means. If Chris' cluster gets divergent listings that persist for "days", then his cluster is broken. However, I do not have first-hand experience with large clusters, and it's possible that we have some kind of bug that preven17:45
zaitcevts normal updates to propagate when expirer works.17:45
notmynametdasilva: teh expirer uses an internal swift account to track what needs to be deleted. yes, once the object is expired, it should be deleted the next time the expirer runs. and thus, indirectly, the listing will be updated17:46
notmynametdasilva: zaitcev: listings being out of sync for days is an issue, but unfortunately not an uncommon one. as containers get large (and busy), things have trouble staying in sync sometimes. gholt would have all the war stories for you :-)17:47
*** piousbox has joined #openstack-swift17:48
tdasilvanotmyname, zaitcev: I started with a very simple cluster setup of one node and no replication. I put two objects there, one with "expiration" header17:48
tdasilvathat's why i thought that it would be very strange to not see the listing be updated right away17:49
zaitcevindeed17:49
zaitcevwell, unless you forgot to start updaters or something17:49
zaitcev"no replication" does not mean that you can get away with not running "swift-init start rest" duh17:50
tdasilvazaitcev: that might be it, in fact i did not start the updater17:52
tdasilvazaitcev: would the expirer daemon depend on that too? because it just uses the InternalClient to get a list of container and objects in the "hidden" .expiring-objects account17:53
zaitcevtdasilva: I thought Proxy just stored directly into that hidden account if it detected an expiration header, but truthfuly I can never remember how it works. My mind is too small.17:55
openstackgerritpaul luse proposed a change to openstack/swift: Add Storage Policy Documentation  https://review.openstack.org/8582417:57
*** foexle has joined #openstack-swift18:00
*** ashish_ has joined #openstack-swift18:05
claygpeluse: yeah the container-obj-put-409 isn't strictly needed if the cleanup table approach ends up looking better in the end18:12
claygI'll probably rebase container-obj-put-409 on the reconciler change when I add the object-updater enqueue bits - so anything you can pull out of that patch is good18:12
openstackgerritPeter Portante proposed a change to openstack/swift: In-process swift server for functional tests  https://review.openstack.org/6610818:14
portantezaitcev: when you have a chance, can you look at the /info use in func tests, https://review.openstack.org/86710 and then the in-process functional tests, https://review.openstack.org/66108 ?18:17
zaitcevportante: sure18:17
portanteI believe all of the concerns have been addressed.18:17
zaitcevjust going to re-push https://review.openstack.org/85909 real quick, Gerrit says it can't merge (due to get_log_line in import lists)18:18
portantezaitcev: okay18:18
portanteclayg: the latest in-process code uses your work to automate the pipeline setup a bit more, thank you!18:19
*** Guest__ has joined #openstack-swift18:20
*** Guest__ has quit IRC18:22
openstackgerritPete Zaitcev proposed a change to openstack/swift: Separate Backend from Broker  https://review.openstack.org/8590918:23
*** Guest__ has joined #openstack-swift18:23
claygportante: oh neato, I wasn't sure I got the logging quite duped up quite right - but I'd acctually prefer the simpler maintance burdon for pipeline changes vs. pristine clear syslog during in process functests.18:24
zaitcevportante: Don't you think that Clay got a point about retaining a possibility to override constraints?18:26
zaitcevNot that I ever used them18:27
portanteif a cluster offers /info, why would you want to override the constraints?18:28
portantewhat do you gain doing that?18:28
portantethe functional tests are trying to ensure that the cluster does what it advertises18:28
portantein the absence of /info, somebody has to tell it, which is what test.conf is for18:29
portanteif there is a good reason to have a set of tests use a different set of constraints from a running cluster, that would be nice to know18:29
*** jasondotstar has joined #openstack-swift18:30
*** chandan_kumar has quit IRC18:30
zaitcevThe reason may be a case when you try to point out that RGW or other independent implementation is degraded. So, you run functests against RAX CF, then use same test.conf, change auth_host, run it against the cluster in question.18:31
zaitcevUsing .functests as API tests in absence of a real compliance suite.18:32
portantezaitcev: you mean you would have potentially different constraint values? or are you talking about changing auth_host?18:32
zaitcevI do not insist it matters, and you need to take it up with Clay, but since you asked...18:32
zaitcevNo, SAME constraint values DIFFERENT auth_host.18:33
zaitcevOuch, sorry. I get mad easily18:33
zaitcevpheeew18:34
portanteah, so then, if you look at these changes, we *always* read test.conf for the auth_host now, we only read test.conf "swift" section for constraints when /info dose not report back successfully18:34
zaitcevwell, sure18:34
zaitcevbut if /info says that your object name length is 5, is that a functional Swift cluster or a joke?18:35
portantewhat does it matter?18:35
portantethe functional tests should try to verify that config18:36
zaitcevokay18:36
portanteone more update to the in-process, missing container_sync middleware from the pipeline18:37
portantefor in-process, that is18:37
openstackgerritPeter Portante proposed a change to openstack/swift: In-process swift server for functional tests  https://review.openstack.org/6610818:37
claygpeluse: yuanz: I think deprecating policies would be a killer feature, but I don't think it can remove them from the POLICIES data structure - it needs to just stop lising them in /info and letting you create new containers for them - is there a trello card for this?18:38
zaitcevJeezus, being on core for this project is no sinecure.18:38
tdasilvazaitcev: i'm running some more tests but I think you were right about the updaters, starting that seems to have done the trick18:39
tdasilvathanks18:39
zaitcevtdasilva: I already gave myself a few candied almonds for this, glad it worked.18:40
tdasilvalol18:40
*** mmcardle has joined #openstack-swift18:41
peluseclayg:  there is a trello card talking about the topic but no specific actions identified, I like your take on it though.  I'll update the card and see if Yuan can finish it off18:42
claygpeluse: cool!18:42
peluseclayg:  container_sync is ready for your review.  Got a "looks OK" from gholt and I figured out the Jenkins failure.  Had to patch the rings after patching policies.  Please have a look https://review.openstack.org/#/c/86469/18:43
claygpeluse: will do18:44
*** mmcardle has quit IRC18:45
* peluse wonders if his class patching was OK on that one18:45
*** Guest__ has quit IRC18:50
ashish_Hey everyone I am adding adding a new disk to swift.I have a doubt.I want to know in make-account-ring.sh do I need to add only the newly created account rings or both the existing rings and the new rings18:53
*** chandan_kumar has joined #openstack-swift18:53
*** jamie_h has quit IRC18:54
*** Guest__ has joined #openstack-swift18:57
*** foexle has quit IRC18:58
zaitcevtoot toot   [zaitcev@guren swift-fetch]$ SWIFT_TEST_IN_PROCESS=1 ./.functests19:05
pelusehmmm.... not sure what to make of that :)19:06
zaitcevashish_: if you add, only add new ones. that way you preserve your old data19:06
*** joeljwright has quit IRC19:07
ashish_zaitcev thanks.http://docs.openstack.org/developer/swift/admin_guide.html I did not understand the step 3 of scripting the ring creation.Could you hel19:08
ashish_zaitcev thanks.http://docs.openstack.org/developer/swift/admin_guide.html I did not understand the step 3 of scripting the ring creation.Could you help19:08
ashish_zaitcev thanks.I am following the following doc http://docs.openstack.org/developer/swift/admin_guide.html I did not understand the step 3 of scripting the ring creation.Could you help19:09
zaitcevportante: gtg, sorry - I'll re-review 66108 in a few hours19:11
portantezaitcev: no prob, thx19:12
openstackgerritpaul luse proposed a change to openstack/swift: Minor refactor of storage policy helper functions  https://review.openstack.org/8700119:15
peluseclayg:  if that ^ looks good, I'll rebase 409 (as it needs it anyway) and I believe that will pull those changes out of the patch as, well, changes19:15
peluseashish_:  I might be able to help, looks like zaitcez might be busy.  Which part is not clear?19:16
*** joeljwright has joined #openstack-swift19:17
ashish_peluse thanks.When adding new disks to I need to set the rsyncd.conf again.19:18
peluseashish_:  one sec - phone call19:20
peluseashish_:  OK, I'm back.  I don't believe so.  Are you just setting up an all-in-one per http://docs.openstack.org/developer/swift/development_saio.html or is this editing something existing?19:23
*** ashish_ has quit IRC19:23
*** joeljwright has quit IRC19:26
peluseashish_:  guess it doesn't matter either way but the answer would be no since you should have configured rsync based on directories (/srv/node) with links below that to each device19:27
*** simpleAJ has joined #openstack-swift19:35
simpleAJHi,19:36
simpleAJi was wondering if it is possible to query object store itself..directly like what proxy server is doing.. is there any test cases that I can play with19:36
*** ashish_ has joined #openstack-swift19:36
claygsimpleAJ: you can look at direct client, probetests use them some I believe - also the list_endpoints middleware may be useful...19:38
tdasilvaclayg, simpleAJ: maybe the InternalClient might also be another place to look19:39
*** mmcardle has joined #openstack-swift19:41
claygtdasilva: maybe, it doesn't really make the backend api's any more clear - but if I mis understood his question that could be exactly what he wants...19:42
simpleAJyeah .. let me take a look at them19:43
simpleAJ./unit/common/middleware/test_list_endpoints.py19:44
simpleAJ./unit/common/test_internal_client.py19:44
simpleAJI could find these...but I could not find "direct client"19:44
simpleAJwhere should I look for them19:44
simpleAJgot it ./unit/common/test_direct_client.py19:44
simpleAJ:D19:44
simpleAJthanks19:44
claygpeluse: I had a couple of comments on container sync, I think you need to get that policy index passed through on object get (and some tests on that for non-legacy policies) - is that the only backend request that container-sync makes?19:45
*** mmcardle has quit IRC19:46
claygportante: zaitcev: fwiw i'm un-swayed, I think test.conf should be the higest priority, there was a comment that functests are for testing a swift cluster does what it reports and like... that can't have always been true because swift clusters didn't always have /info :D19:47
*** csd has quit IRC19:47
*** mkollaro has quit IRC19:49
claygyuanz: notmyname: peluse: can we get https://review.openstack.org/#/c/86593/ listed on the pre-storage-policy topic or just stright up over to feature/ec as a dependency for https://review.openstack.org/#/c/82734/19:52
*** mmcardle has joined #openstack-swift19:56
portanteclayg: so if your test.conf constraints section does not match the values that the swift cluster is running with, how can those tests be valid?19:57
portanteI just don't understand the case19:57
portantebut maybe there is a good reason for it that I am not seeing19:57
*** simpleAJ has left #openstack-swift19:58
*** mmcardle has quit IRC20:00
claygportante: usecases - 1) I just want to see the test turn red (verify it fails when the value doesn't match the cluster and give a good assertion error/failure)20:00
ashish_clayg portante .I have a doubt. When adding new disks to I need to set the rsyncd.conf again.20:01
clayg2) I want to make sure the cluster is enforcing the constraints it reports - many of the explicit constraint tests have negative tests baked in - but if a cluster does pass with a value other than reported it may be a bug in the test or deploy20:01
claygashish_: some of that is a property of how saio's are just weird wrt to rsync and vm_test_mode20:01
claygashish_: vagrant-swift-all-in-one does things quite a bit different, but in that config for example adding more disks (it's configurable at build time) doesn't require a different rsync.conf - most production systems expose all disks as well w/o any need to change rsync.conf when adding new harddrives20:02
*** Guest__ has quit IRC20:03
*** Guest__ has joined #openstack-swift20:03
*** jasondotstar has quit IRC20:04
ashish_clayg thanks. I am following the doc http://docs.openstack.org/developer/swift/admin_guide.html to add a new loopback device to swift.Would this be sufficient.20:05
portanteclayg: #1 and #2 sound an awful lot like the same thing, and shouldn't #2 be part of the functional tests themselves, as unless you really know what you are doing as a developer, it does not seem clear you can arrive at a conclusive indicator?20:06
portantebut I'll flip hierarchy20:07
claygportante: cool!20:08
*** chandan_kumar has quit IRC20:10
claygashish_: not sure - sorta doubt it, if you're doing loopback's at all it's sort of a weird hack and you have to watch out for weird subtle differences between dev and real physical multinode deploys - it depends a lot on what you're trying to elarn20:10
claygashish_: it *sounds* like maybe you want to see what a "real" capacity adjustment might be like - but in that case I'd recommend you pop a couple of vms with multiple virtual disks attached and configure a multi "node" swift environment, then add another vm or add some more virtualdisks to your existing vms.20:11
ashish_clayg Cant I  add disks on a single node setup?20:12
*** csd has joined #openstack-swift20:12
claygashish_: where a single node setup is a swift-all-in-one that pretends to be a mutinode setup (yes but it's very strange)?  Or a real single node setup (yeah sure easy as pie)?20:13
ashish_clayg you are right I wanted to see the capacity adjustments of swift20:13
claygashish_: k, well you should probably start with a multinode setup, the swift-all-in-one setup is not for that kind of work IMHO.20:13
ashish_Okay clayg thanks.20:16
claygyou could sorta do a multi node setup (one set of storage servers per node) that just happens to have a single node, and then just add disks to that node - but I don't think that setup is strictly documented - it's just a really special case of a multi-node deploy20:17
tdasilvaclayg, portante: how are tombstone files cleaned up?20:19
claygtdasilva: object replciators20:20
clayglook for reclaim_age20:20
ashish_clayg I would try the multinode and would contact you for further help.thanks .20:21
tdasilvaclayg: got it, thanks!20:21
claygashish_: just ask in here, someone is normally around... if i'm online and I see it I'll throw in my two cents - i'm sort of a blow hard like that...20:22
ashish_clayg: okay clayg thanks.20:25
*** rustlebee is now known as russellb20:27
*** gyee has quit IRC20:57
*** mmcardle has joined #openstack-swift20:57
*** Trixboxer has quit IRC20:57
*** piyush2 has quit IRC21:01
*** mmcardle has quit IRC21:01
*** tdasilva has left #openstack-swift21:04
*** Guest__ has quit IRC21:24
*** Guest__ has joined #openstack-swift21:25
*** G________ has joined #openstack-swift21:30
*** Guest__ has quit IRC21:31
*** lpabon has quit IRC21:44
*** MooingLemur has joined #openstack-swift21:47
*** jasondotstar has joined #openstack-swift21:49
*** mmcardle has joined #openstack-swift21:52
*** ashish_ has quit IRC21:52
*** mmcardle has quit IRC21:53
*** zackf has quit IRC21:58
peluseclayg: still there?22:05
openstackgerritpaul luse proposed a change to openstack/swift: Slight modification to the object updater sweep code  https://review.openstack.org/8704522:09
claygpeluse: regarding object updater change, i do see now that change is somewhat storage policy specific - i'll give it whirl after a bit tho22:11
peluseyeah, well, there it is :)22:11
peluseclayg:  I can always retract it if we don't think its a good candidate right now....22:12
claygpeluse: not sure - worth a shot ;)22:12
*** gyee has joined #openstack-swift22:16
*** bobf has joined #openstack-swift22:16
*** mmcardle has joined #openstack-swift22:23
*** _bluev has joined #openstack-swift22:23
*** mmcardle has quit IRC22:28
zaitcevclayg: I would be fine with test.conf being the ultimate too. Persuade Peter/.22:38
claygzaitcev: he said he'd do it, poor guy got all ganged up on22:38
*** bobf has quit IRC22:47
*** G________ has quit IRC22:47
*** mmcardle has joined #openstack-swift22:56
*** jasondotstar has quit IRC22:59
*** mmcardle has quit IRC23:02
*** _bluev has quit IRC23:15
*** dmsimard has joined #openstack-swift23:16
openstackgerritpaul luse proposed a change to openstack/swift: Add Storage Policy Support to Container Sync  https://review.openstack.org/8646923:19
openstackgerritMichael Barton proposed a change to openstack/swift: Sendfile acceleration for GET requests  https://review.openstack.org/8218623:26
*** occupant has quit IRC23:37
*** piousbox has quit IRC23:47
*** mmcardle has joined #openstack-swift23:58
*** NM1 has quit IRC23:58

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