Wednesday, 2015-12-09

*** mattoliverau has quit IRC00:00
*** jerrygb has quit IRC00:01
*** klrmn has quit IRC00:01
*** klrmn has joined #openstack-swift00:01
notmynamedfg: thanks for the follow-up comments00:02
notmynameon the ring patch00:03
notmynamelet's plan on landing patch 241571 tomorrow00:04
patchbotnotmyname: https://review.openstack.org/#/c/241571/ - Put part-replicas where they go00:04
notmynamebased on the feedback that everyone has given00:04
*** dewsday has quit IRC00:06
*** dewsday has joined #openstack-swift00:08
openstackgerritJohn Dickinson proposed openstack/swift: added a few ruby clients to associated projects  https://review.openstack.org/25501000:08
*** diogogmt has quit IRC00:09
*** lcurtis has quit IRC00:10
gmmahanotmyname: as is that code doesnt work as both irnoic and nova are using testtools package00:11
gmmahawhile ours is unittest00:11
gmmahanot sure if its drop replacable00:11
gmmahatrying to see if unittest has a output re-direction method/command option00:11
*** matt6434 has joined #openstack-swift00:12
gmmahaplease dont hesitate to correct me if i am missing something completely00:14
mtreinishgmmaha: it should just work as a dropin replacement for unittest00:15
gmmahamtreinish: aah ok. let me try that out00:15
gmmahajlvillal suggested the same.00:15
klrmnin my experience there are a couple of differences…assertRaises among them, but mostly drop-in00:15
mtreinishit's worth a try at least00:16
mtreinishklrmn: yeah it overloads a couple assert methods00:16
mtreinishbut for the most part it just extends the unittest api00:16
*** matt6434 has quit IRC00:17
*** cschwede has quit IRC00:21
*** cschwede has joined #openstack-swift00:22
*** zul has quit IRC00:22
*** zul has joined #openstack-swift00:23
*** nadeem has quit IRC00:23
*** gyee has joined #openstack-swift00:25
*** matt6434 has joined #openstack-swift00:25
*** matt6434 is now known as mattoliverau00:27
*** ChanServ sets mode: +v mattoliverau00:27
*** chlong has joined #openstack-swift00:28
kota_good morning00:41
*** dewsday has quit IRC00:42
*** tsg has quit IRC00:43
ZyricMorning kota_00:44
kota_Zyric: :)00:44
gmmahagood morning kota_00:44
kota_gmmaha: o/00:44
*** dmorita has quit IRC00:45
*** dmorita has joined #openstack-swift00:50
*** openstackstatus has quit IRC00:50
*** openstack has joined #openstack-swift00:53
*** dmorita has quit IRC00:54
*** dmorita_ has joined #openstack-swift00:54
*** ianbrown_ has quit IRC01:03
notmynamestill another hour waiting for the swiftclient change for a release. gate's been going really slowly01:13
*** pgbridge has quit IRC01:19
*** lyrrad has quit IRC01:21
*** diogogmt has joined #openstack-swift01:21
*** garthb has quit IRC01:32
*** jamielennox is now known as jamielennox|away01:47
*** dewsday has joined #openstack-swift01:47
openstackgerritMerged openstack/python-swiftclient: fix release version  https://review.openstack.org/25443001:56
*** dewsday has quit IRC02:00
*** dmorita_ has quit IRC02:00
gmmahanotmyname: got it moved to testtools, still not able to supress the logs02:01
*** Jeffrey4l has joined #openstack-swift02:01
gmmahai can keep working on it.. if its urgent, feel free to get someone more experienced to close it out02:02
gmmahamy novice status is slowing the turn-around time :(02:02
*** chlong has quit IRC02:03
*** dmorita has joined #openstack-swift02:03
*** noark9 has joined #openstack-swift02:05
Zyricgmmaha: Don't let that get you down, there's a lot to learn and everyone has to start somewhere - I'm new here too :)02:06
gmmahaZyric: ohh def not.. Just that the project cannot slow down to my pace.. i will catch up.. ;)02:07
gmmahathanks for the motivation.. :)02:09
Zyricgmmaha: You're welcome, I how you're feeling. It's nice that we have a whole open community to learn from and encourage each other :)02:11
gmmahaindeed..02:11
mtreinishgmmaha: is it log output or stdout/stderr that is being printed on the console?02:23
gmmahastdout and stderr02:24
gmmahai did try and switch to testtools02:24
gmmahapart of the tests worked.. wanted to see if that will even help but i am guessing even how i have setup the patch isnt woring02:24
gmmahatrying to debug using pudb02:24
mtreinishgmmaha: you switch to testtools and add the fixtures to the base setup?02:24
gmmahayes sir02:25
mtreinishI do find it weird that the tests print so much to stdout02:25
mtreinishbut that's an aside02:25
*** noark9 has quit IRC02:25
mtreinishgmmaha: can you paste a diff of what you're working with?02:27
gmmahamtreinish: sure.02:27
gmmahahttp://166.78.47.146/cover/testtools-diff.patch02:28
*** Jeffrey4l has quit IRC02:31
gmmahahttp://166.78.47.146/cover/basetestsetup.py02:31
gmmahathats the other file i tried to use02:31
*** Jeffrey4l has joined #openstack-swift02:32
mtreinishgmmaha: oh, did you set the env vars there?02:32
gmmahamtreinish: yeah02:32
mtreinishin the .testr.conf?02:33
gmmahaOS_STDOUT_CAPTURE=True OS_STDERR_CAPTURE=True SWIFT_TEST_IN_PROCESS=true SWIFT_TEST_IN_PROCESS_CONF_DIR=/tmp tox -efunc -v -v -r -- -s02:33
gmmahawell, sorta called tox with it02:33
mtreinishtox by default doesn't pass through env vars02:33
gmmahahmm02:33
mtreinishgmmaha: try something like: https://github.com/openstack/nova/blob/master/.testr.conf#L2-L302:34
*** yarkot has joined #openstack-swift02:34
mtreinishjust so it's sanely defaulting02:34
gmmaha:)02:34
gmmahalet me test it now02:34
gmmahathat worked i would say02:37
gmmahawhy does it still say 'Captured stdout' and show it all :)02:37
gmmahanow its more characterized :P02:38
mtreinishgmmaha: yeah, that's because leaking stdout from a test isn't normally something you want to happen02:38
mtreinishI think there might be a subunit trace option to supress that02:38
mtreinishlet me check02:38
gmmahaaaah02:38
gmmahaand thats where the logs are coming out as02:39
gmmahahm.. wondering if just that will solve the problem of this02:39
mtreinishgmmaha: so there is a seperate fixture to capute logs02:39
*** dmorita has quit IRC02:40
mtreinishit doesn't look like we option the stdout attachment printing: https://github.com/mtreinish/os-testr/blob/master/os_testr/subunit_trace.py#L17802:40
*** dmorita has joined #openstack-swift02:40
*** Jeffrey4l has quit IRC02:40
gmmahaaaaah02:41
gmmahamtreinish: safe to say that even if we enable all this we still will get the logs?02:41
*** Jeffrey4l has joined #openstack-swift02:42
mtreinishgmmaha: the logging attachments only get printed on failures02:42
mtreinishI'm pretty sure that's the case, having tests call the python logger is normal02:42
gmmahahmm for some reason i am seeing on passing stuff as well02:43
gmmahaeg:02:43
gmmahahttp://paste.openstack.org/show/481264/02:44
*** dmorita has quit IRC02:45
mtreinishgmmaha: yeah, so you have fixtures in place that when initialized puts into io object: https://github.com/testing-cabal/fixtures/blob/master/fixtures/_fixtures/streams.py02:47
mtreinishso when anything writes to stdout from the test process after the fixture is started it will get captured and added as an attachment to the subunit stream02:47
*** dmorita has joined #openstack-swift02:48
mtreinishsubunit-trace listens to the subunit stream that testr emits and prints things on the console02:48
mtreinishgmmaha: there is a seperate fixture to interact with python logging though: https://github.com/testing-cabal/fixtures/blob/master/fixtures/_fixtures/logger.py02:48
gmmaharight and it seems ostestr doesnt let us supress that stream02:48
mtreinishgmmaha: you can't supress the stream, it's the protocol that testr outputs and the output filter (subunit-trace) reads02:49
gmmahaaaah ok02:49
mtreinishbut there isn't any option not to print any leaked stdout or stderr in subunit-trace02:50
mtreinishbecause that's viewed as a bug in most projects :)02:50
mtreinishso they want to see it02:50
*** jamielennox|away is now known as jamielennox02:50
gmmahanow i understand things better.. thanks for the explanation..02:51
mtreinishthat's the same reason any uncaptured stdout or stderr are passed through (see the "Ganesh Sucks!!" lines in your paste)02:51
gmmahai should stop working braindead :)02:51
gmmahaletme see if i can pipe it out to the logger and not make it print it out to the screen02:52
*** sanchitmalhotra has joined #openstack-swift02:52
mtreinishgmmaha: but those capture stdout lines look like they're just coming from the python logger, I'm guessing if you use the log fixture too they wouldn't even make it to stdout02:52
mtreinishgmmaha: try something like: https://github.com/openstack/tempest/blob/master/tempest/test.py#L422-L42402:53
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925002:53
*** diogogmt has quit IRC02:53
gmmahamtreinish: thanks.. let me try that out02:56
*** jerrygb has joined #openstack-swift02:57
*** jerrygb has quit IRC03:02
*** Jeffrey4l__ has joined #openstack-swift03:14
*** chlong has joined #openstack-swift03:15
*** Jeffrey4l has quit IRC03:16
*** jerrygb has joined #openstack-swift03:18
*** links has joined #openstack-swift03:24
janonymousmorning03:27
notmynamehello03:27
janonymouskota: hey, have you had a chance to look at my comment03:29
*** sgundur has quit IRC03:35
*** noark9 has joined #openstack-swift03:42
*** jerrygb has quit IRC03:48
*** jerrygb has joined #openstack-swift03:48
*** chlong has quit IRC03:49
*** alejandrito has quit IRC03:52
*** jerrygb has quit IRC03:52
*** chlong has joined #openstack-swift03:53
*** changbl has joined #openstack-swift04:00
*** janonymous has quit IRC04:03
*** km has joined #openstack-swift04:03
*** links has quit IRC04:03
*** jerrygb has joined #openstack-swift04:03
*** gyee has quit IRC04:03
*** km is now known as Guest5210804:03
*** kei_yama_ has joined #openstack-swift04:03
*** kei_yama has quit IRC04:04
*** Guest52814 has quit IRC04:04
kota_janonymous: hello, which one?04:06
*** sgundur has joined #openstack-swift04:15
*** trifon has joined #openstack-swift04:16
*** ppai has joined #openstack-swift04:19
*** changbl has quit IRC04:21
*** changbl has joined #openstack-swift04:35
*** links has joined #openstack-swift04:38
*** trifon has quit IRC04:43
*** proteusguy_ has quit IRC04:43
notmynamedoing some swift archeology. kinda fun to see what features were added when04:45
*** klrmn has quit IRC04:46
mahaticnotmyname: maybe make a graph out of it? ;)04:49
*** jerrygb has quit IRC04:49
notmynamelol04:49
notmynameI may be working with a graphic designer on something ;-)04:49
*** silor has joined #openstack-swift04:50
mahaticoh wow. My prediction was right! :)04:50
notmynamefun trivia I just rediscovered, it was in the openstack austin release (swift 1.1, ie *after* the whole thing was open-sourced) that ACLs were added and account and container metadata were added04:50
mahaticthat'd be definitely cool to look at04:50
*** jerrygb has joined #openstack-swift04:51
notmynamehttps://wiki.openstack.org/wiki/ReleaseNotes/Austin04:51
mahaticah!04:51
*** jerrygb has quit IRC04:51
*** jerrygb has joined #openstack-swift04:51
mahaticfun to look at the super old release notes (im surprised to know they are still around)04:53
*** Jeffrey4l__ has quit IRC04:53
notmynameyup. you can modify the url to find all the others04:54
mahaticnice04:54
notmynameBexar Cactus Diablo Essex Folsom Grizzly Havana Icehouse Juno Kilo Liberty04:54
notmynamebut it's easier to just look in the CHANGELOG in the swift source tree ;-)04:55
mahaticok, im gonna keep that url handy until we have a graph ;)04:55
mahaticwell, that's true04:55
*** noark9 has quit IRC04:56
*** proteusguy_ has joined #openstack-swift04:56
*** noark9 has joined #openstack-swift04:57
*** Jeffrey4l__ has joined #openstack-swift04:58
*** silor1 has joined #openstack-swift04:59
*** sgundur has quit IRC05:00
*** silor has quit IRC05:01
*** silor1 is now known as silor05:01
*** noark9 has quit IRC05:08
*** SkyRocknRoll has joined #openstack-swift05:11
*** kei_yama_ has quit IRC05:15
*** km_ has joined #openstack-swift05:17
*** kei_yama has joined #openstack-swift05:18
*** Guest52108 has quit IRC05:18
*** SkyRocknRoll has quit IRC05:21
*** dmorita has quit IRC05:24
*** janonymous has joined #openstack-swift05:32
*** badari_ has quit IRC05:40
*** yarkot has quit IRC05:45
*** SkyRocknRoll has joined #openstack-swift05:54
*** SkyRocknRoll has quit IRC05:55
*** trifon has joined #openstack-swift05:57
*** wer has joined #openstack-swift06:05
janonymouskota_ :M sry my irc gets disconnected everytime :( ,  on one of my vm instance some ut's were failing, can you have a look if it is useful or it's my env problem only : http://paste.openstack.org/show/481204/06:11
kota_oh yeah, that seems from my code06:13
*** dmorita has joined #openstack-swift06:14
kota_i thinks it might be a lack of time to trumpoline enough.06:16
kota_so...06:16
kota_janonymous: wait a moment.06:16
*** jerrygb has quit IRC06:17
*** jerrygb has joined #openstack-swift06:17
*** jerrygb has quit IRC06:21
*** noark9 has joined #openstack-swift06:23
kota_janonymous: here, http://paste.openstack.org/show/481275/06:24
*** logan- has quit IRC06:24
kota_janonymous: Does it save you?06:24
hokota_: janonymous: i also did it :P06:25
kota_not sure but someimes i found similar thing due to a lack of cpu resource on my environment.06:25
kota_but currently i might not know in detail about error_limiting failure.06:26
kota_ho: oh did you need the fixes?06:26
hokota_: yeah, sometimes06:26
kota_ok, let's patch on master.06:27
*** zaitcev has quit IRC06:27
hokota_: nice!06:28
*** SkyRocknRoll has joined #openstack-swift06:29
*** dewsday has joined #openstack-swift06:29
*** dewsday has quit IRC06:31
openstackgerritKota Tsuyuzaki proposed openstack/swift: Sleep enough for trampoling  https://review.openstack.org/25509606:32
*** ChubYann has quit IRC06:37
*** chlong has quit IRC06:40
janonymouskota_, ho : yes i did that for my tests but only 0.8 .07:00
*** jerrygb has joined #openstack-swift07:00
janonymouskota_ : sleep(1)  saved me :)07:00
kota_janonymous: great07:01
janonymouskota_ :thanks, does this needs to fixed in anyway for slow envs07:01
janonymousOhh great, just saw the fix. :)07:03
kota_vote me :)07:04
janonymous+107:04
*** dmorita has quit IRC07:06
*** jerrygb has quit IRC07:06
*** dmorita has joined #openstack-swift07:06
*** silor has quit IRC07:07
openstackgerritKota Tsuyuzaki proposed openstack/swift: Sleep enough for trampoling  https://review.openstack.org/25509607:09
kota_sorry I fixed a typo in commit message07:09
*** rcernin has joined #openstack-swift07:20
*** dmorita has quit IRC07:21
*** dmorita has joined #openstack-swift07:33
*** remix_tj has quit IRC07:36
*** remix_tj has joined #openstack-swift08:01
*** arnox has joined #openstack-swift08:03
*** rledisez has joined #openstack-swift08:06
*** hseipp has joined #openstack-swift08:15
*** hseipp has quit IRC08:15
*** wupeiran has joined #openstack-swift08:15
*** hseipp has joined #openstack-swift08:15
*** dmorita has quit IRC08:17
*** remix_tj has quit IRC08:28
*** chenhuayi has joined #openstack-swift08:30
*** chenhuayi has quit IRC08:35
*** chenhuayi has joined #openstack-swift08:35
*** remix_tj has joined #openstack-swift08:38
*** jmccarthy has quit IRC08:41
*** jmccarthy has joined #openstack-swift08:41
*** km_ has quit IRC08:43
*** ppai has quit IRC08:48
*** kei_yama has quit IRC08:50
*** jmccarthy has quit IRC08:54
*** kairat has left #openstack-swift08:54
*** jordanP has joined #openstack-swift08:58
*** wupeiran has quit IRC08:59
*** ppai has joined #openstack-swift09:01
*** jerrygb has joined #openstack-swift09:02
*** openstackstatus has quit IRC09:05
*** openstack has joined #openstack-swift09:09
*** geaaru has joined #openstack-swift09:12
*** daemontool has joined #openstack-swift09:16
*** chenhuayi has quit IRC09:21
*** jmccarthy has joined #openstack-swift09:24
*** trifon has quit IRC09:24
*** trifon has joined #openstack-swift09:27
*** acoles_ is now known as acoles09:27
*** jmccarthy has quit IRC09:28
openstackgerritHisashi Osanai proposed openstack/swift: WIP: Add container quota functional test  https://review.openstack.org/25515209:29
*** ho has quit IRC09:31
*** openstackgerrit has quit IRC09:32
*** openstackgerrit has joined #openstack-swift09:33
*** chenhuayi has joined #openstack-swift09:35
*** manous has joined #openstack-swift09:41
*** jmccarthy has joined #openstack-swift09:44
*** jmccarthy has quit IRC09:46
*** jmccarthy has joined #openstack-swift09:46
*** ChanServ sets mode: +v cschwede09:46
*** chenhuayi has quit IRC09:55
*** dewsday has joined #openstack-swift09:57
*** jmccarthy has quit IRC10:00
*** openstackgerrit has quit IRC10:02
*** openstackgerrit has joined #openstack-swift10:03
*** dewsday has quit IRC10:04
*** dewsday has joined #openstack-swift10:05
*** dewsday has quit IRC10:05
*** dewsday has joined #openstack-swift10:05
*** noark9 has quit IRC10:08
*** jamielennox is now known as jamielennox|away10:13
*** sileht has quit IRC10:16
*** sanchitmalhotra has quit IRC10:17
*** sanchitmalhotra has joined #openstack-swift10:18
*** sileht has joined #openstack-swift10:19
*** sileht has quit IRC10:19
*** sileht has joined #openstack-swift10:20
*** hseipp has quit IRC10:20
*** aix has joined #openstack-swift10:20
*** ianbrown has joined #openstack-swift10:30
*** aix has quit IRC10:37
*** jistr has joined #openstack-swift10:39
*** jerrygb has joined #openstack-swift11:04
*** jerrygb has quit IRC11:09
*** SkyRocknRoll has quit IRC11:10
*** aix has joined #openstack-swift11:14
*** manous has quit IRC11:14
*** links has quit IRC11:26
*** [1]eranrom has joined #openstack-swift11:37
*** eranrom has quit IRC11:37
*** [1]eranrom is now known as eranrom11:37
*** eranrom has quit IRC11:42
*** ppai has quit IRC11:43
*** ppai has joined #openstack-swift11:49
*** dewsday has quit IRC11:52
*** takashi has joined #openstack-swift12:02
*** daemontool has quit IRC12:04
*** cdelatte has quit IRC12:05
*** links has joined #openstack-swift12:16
openstackgerritGleb Samsonov proposed openstack/swift: fix requests with X-If-Delete-At for objects without X-Delete-At header Change-Id: I0d4da3ba8b387a2d41f74c45d2678e4cef520667  https://review.openstack.org/25523312:29
*** hseipp has joined #openstack-swift12:40
*** hseipp has quit IRC12:40
*** alejandrito has joined #openstack-swift12:40
*** hseipp has joined #openstack-swift12:40
*** chlong has joined #openstack-swift12:41
*** cdelatte has joined #openstack-swift12:48
*** ppai has quit IRC12:49
*** jerrygb has joined #openstack-swift12:53
*** ppai has joined #openstack-swift13:03
*** jmccarthy has joined #openstack-swift13:09
*** jmccarthy has quit IRC13:17
*** jmccarthy has joined #openstack-swift13:31
*** ppai has quit IRC13:39
*** petertr7_away is now known as petertr713:41
*** diogogmt has joined #openstack-swift13:41
*** takashi has quit IRC13:49
*** takashi has joined #openstack-swift13:49
*** eranrom has joined #openstack-swift13:50
*** wuhg has joined #openstack-swift14:00
*** logan- has joined #openstack-swift14:01
*** CR7 has joined #openstack-swift14:05
*** jerrygb_ has joined #openstack-swift14:08
*** haomaiwang has joined #openstack-swift14:10
*** hseipp has quit IRC14:11
*** jerrygb has quit IRC14:11
*** breitz has quit IRC14:19
*** breitz has joined #openstack-swift14:19
*** diogogmt has quit IRC14:24
*** diogogmt has joined #openstack-swift14:26
acoleseranrom: hi14:28
*** diogogmt has quit IRC14:38
tdasilvado services need to be restarted when swift.conf is updated?14:41
tdasilvaor changed14:41
*** lpabon has joined #openstack-swift14:45
*** CaioBrentano has joined #openstack-swift14:49
*** badari has joined #openstack-swift14:53
*** petertr7 is now known as petertr7_away15:02
*** dustins|gone is now known as dustins15:03
*** nadeem has joined #openstack-swift15:03
gmmahatdasilva: as a habit, i restart the services. But until now i am told just restarting the proxy-server should do the job15:03
*** blmartin has joined #openstack-swift15:03
*** nadeem has quit IRC15:04
ahalegiven the stuff in swift.conf, most of it looks kind of thing i would reload everything for15:04
*** zaitcev has joined #openstack-swift15:04
*** ChanServ sets mode: +v zaitcev15:04
*** nadeem has joined #openstack-swift15:04
*** sgundur has joined #openstack-swift15:05
*** petertr7_away is now known as petertr715:06
gmmaha*in most cases15:06
*** trifon has quit IRC15:07
*** diazjf has joined #openstack-swift15:08
*** cdelatte has quit IRC15:09
*** cdelatte has joined #openstack-swift15:10
*** tsg has joined #openstack-swift15:11
*** tsg has quit IRC15:12
*** delattec has joined #openstack-swift15:12
pchngtdasilva: This answer also seemed to indicate that a proxy-server restart, at the very least, would be required: https://ask.openstack.org/en/question/50432/swift-does-any-swift-service-need-to-be-restarted-when-swiftconf-file-is-changed/15:14
*** cdelatte has quit IRC15:15
tdasilvagmmaha, ahale, pchng: thanks. It's just that the rings are reloaded automatically, so I kinda expected that swift.conf would also be reloaded automatically15:18
acolestdasilva: looking at swift/common/storage_policy.py:722 reload_storage_policies, I don't see that being called other than during the module load or from tests, so my guess if that policy conf is not dynamically reloaded15:22
*** noqa_v_qoovnie has quit IRC15:22
*** takashi has quit IRC15:24
*** diogogmt has joined #openstack-swift15:25
*** eranrom has quit IRC15:26
*** sgundur1 has joined #openstack-swift15:38
*** sgundur has quit IRC15:38
sgundur1Hi, I am new to Swift n trying to set up SAIO machine on Ubuntu 14.04.2 LTS15:43
sgundur1using steps here- http://docs.openstack.org/developer/swift/development_saio.html15:43
sgundur1sudo pip install -r requirements.txt , gives15:43
sgundur1ValueError: ("Expected ',' or end-of-list in", "dnspython>=1.12.0;python_version<'3.0'", 'at', ";python_version<'3.0'")15:43
sgundur1http://paste.openstack.org/show/481269/15:43
sgundur1(pip installed in the prev steps - pip --version : pip 1.5.4)15:43
sgundur1issue with my pip version ? if so is it specific to my machine/installtion steps , or others have faced same issues ?15:43
sgundur1Thanks!15:43
*** tsg has joined #openstack-swift15:48
*** diazjf has quit IRC15:50
tdasilvasgundur1: checkout this patch, it might help: https://review.openstack.org/#/c/254970/15:55
*** daemontool has joined #openstack-swift15:56
tdasilvaacoles: yeah, that was the same thing I noticed...there's probably some reason I'm forgetting as to why it was done that way15:56
*** haomaiwang has quit IRC15:57
*** haomaiwang has joined #openstack-swift15:58
*** haomaiwang has quit IRC15:59
*** haomaiwa_ has joined #openstack-swift15:59
*** haomaiwa_ has quit IRC16:00
*** haomaiwang has joined #openstack-swift16:00
*** haomaiwang has quit IRC16:01
*** haomaiwa_ has joined #openstack-swift16:01
*** jmccarthy has quit IRC16:01
*** pgbridge has joined #openstack-swift16:03
*** jmccarthy has joined #openstack-swift16:06
sgundur1tdasilva: thanks for the link, will try that16:13
*** jmccarthy has quit IRC16:14
*** jerrygb_ has quit IRC16:18
notmynamegood morning16:20
gmmahagood morning notmyname16:21
notmynamegmmaha: I feel like you were online when I went to bed...16:21
gmmahanotmyname: :D16:21
*** diogogmt has quit IRC16:22
gmmahatried all i could to snub the logs, but guessing i have sorta hit a dead-end16:22
notmynamehmm16:22
gmmahamy guess, please do correct me is that the the IN_PROCESS sets up a logAdapter that holds all the output of proxy-logging and that lies outside the realm of the testtools log handler16:22
*** klrmn has joined #openstack-swift16:23
gmmahaso all the cahnges we do to capture the stdout logs from within the test's setUp and tearDown only controls that but not this log (which is what is being spewed on the screen)16:23
*** daemontool_ has joined #openstack-swift16:23
*** SkyRocknRoll has joined #openstack-swift16:23
notmynamegmmaha: did you do anything with the configs the in-process tests use? eg redirect or suppress any logs that way?16:23
*** klrmn has quit IRC16:25
gmmahawas trying to do that now, but other than just purely disabling the logging(which i feel is very bad), i am not sure what i can do16:25
gmmahai can try adding the env variable and see if i can disable the logging completely16:25
gmmahaheheh16:27
gmmahabad disabling of stuff there seems to work16:28
notmynamethanks for looking at it16:28
*** daemontool has quit IRC16:28
gmmahanotmyname: not at all.. thanks for letting me play with this :)16:28
*** SkyRocknRoll has quit IRC16:30
gmmahanotmyname: with disabling the logging there, i get this http://paste.openstack.org/show/481336/16:30
gmmahahave a feeling thats something we can do without using the testtools change.16:30
notmynameyeah, i hope :-)16:30
* gmmaha goes to stash his change and start afresh 16:32
*** jmccarthy has joined #openstack-swift16:39
*** haomaiwa_ has quit IRC16:40
*** haomaiwang has joined #openstack-swift16:40
*** lpabon has quit IRC16:46
*** manous has joined #openstack-swift16:49
manoushello i have a infrastructure on openstack and i use swift , it's work fine16:51
notmynamemanous: that's good to hear :-)16:51
manousbut -:)16:52
manous:-)16:52
manousi want to use api to create account, list container and other16:52
manousafter  token  , i cant use api with curl16:53
*** dmorita has joined #openstack-swift16:54
manousi use this link for testing http://developer.openstack.org/api-ref-objectstorage-v1.html16:54
manoushow can i create account with api ?16:55
manousi have this curl -i $publicURL -X POST -H "X-Auth-Token: $token" -H "X-Account-Meta-Book: MobyDick" -H "X-Account-Meta-Subject: Literature"16:55
manousi get error16:56
*** jmccarthy has quit IRC16:56
*** gyee has joined #openstack-swift16:56
notmynamemanous: can you GET the account? do you get a 2xx response code with `curl -i $publicURL -H "X-Auth-Token: $token"`?16:56
*** dmorita has quit IRC16:58
*** petertr7 is now known as petertr7_away16:59
*** petertr7_away is now known as petertr717:00
manousnotmyname: please what represente $publicURL ?17:00
manousthis http://controller:35357/v3 or http://controller:5000/17:00
notmynamemanous: I don't know. I copied from your example command ;-)17:01
*** haomaiwang has quit IRC17:01
notmynamemanous: ah. those are probably keystone endpoints17:01
manousi also copie from http://developer.openstack.org/api-ref-objectstorage-v1.html17:01
*** links has quit IRC17:01
notmynamemanous: you need to use the URL that is returned by keystone in the service catalog17:01
*** haomaiwang has joined #openstack-swift17:01
manousok so it's http://controller:35357/v317:01
notmynamemanous: so first you need to make a request to keystone to get your token. in the response, you'll have an object storage entry in the service catalog. that has a url that you'll use17:02
notmynameit's definitely not that /v3 endpoint17:02
manousi get token17:02
acolesmanous: keystone uses ports 5000 and 35357 so those are keystone urls not the swift endpoints17:06
manousi think is http://controller:5000/v2.0/17:06
acolesmanous: is 'swift stat' works for you then do swift --debug stat' and it will show the equivalent curl command which will include the swift endpoint17:06
acoless/is/if/17:06
manousi try17:07
*** diogogmt has joined #openstack-swift17:08
*** daemontool_ has quit IRC17:08
manousi have this error http://paste.openstack.org/show/481342/  with swift --debug stat17:09
gmmahanotmyname: the log supression can def go independent of the patch. If we want to get the testr change in now to be defcore compliant, i can submit the follow-on patch soon17:10
manousand for demo http://paste.openstack.org/show/481343/17:11
gmmahawe have to live with a lot of log spew in jenkins for a bit.17:11
*** rcernin has quit IRC17:11
*** diogogmt_ has joined #openstack-swift17:13
*** diogogmt has quit IRC17:13
*** diogogmt_ is now known as diogogmt17:13
*** jistr has quit IRC17:19
*** ianbrown has quit IRC17:20
*** fthiagogv has joined #openstack-swift17:21
manousnotmyname: please what wrong17:22
*** ianbrown has joined #openstack-swift17:23
*** fthiagogv has quit IRC17:23
*** fthiagogv has joined #openstack-swift17:23
manousacoles: ?17:25
notmynamemanous: looks like it's working17:26
notmynamegmmaha: it would make any failures *really* hard to diagnose from CI output17:27
acolesmanous: maybe you need swift --debug -V3 stat ie use -V3 like your second paste shows17:27
*** esker has joined #openstack-swift17:28
*** rledisez has quit IRC17:29
*** jordanP has quit IRC17:29
manousyeah this works17:29
manousacoles: http://paste.openstack.org/show/481348/17:32
*** chsc has joined #openstack-swift17:33
gmmahanotmyname: hmm.. ok.. let me push the patch as a dependent.. dont want to muddle with the existing change17:34
gmmahahave a feeeling i will end up revising the patch multiple times :)17:35
notmynamegmmaha: cool, thanks17:35
manousso how can i create account ?17:37
notmynameI wonder if the extra log message will bleed through to tempest17:38
notmynameguess it shouldn't be a problem if they are testing an external endpoint (ie not the in-process stuff)17:38
*** changbl has quit IRC17:43
*** manous has quit IRC17:45
*** lyrrad has joined #openstack-swift17:46
*** arnox has quit IRC17:46
sgundur1tdasilva : I see that previously you had encountered this error - ImportError: liberasurecode.so.1: cannot open shared object file: No such file or directory17:50
tdasilvayes17:50
sgundur1tdasilva : I am getting that error now on .unittests17:50
sgundur1how do I resolve this ?17:51
tdasilvasgundur1: this link has the solution: https://pypi.python.org/pypi/PyECLib. Add '/usr/local/lib' to /etc/ld.so.conf17:52
tdasilvathen run: sudo ldconfig17:53
sgundur1tdasilva : thanks for the link, will use that solution17:54
*** ejat has quit IRC17:54
*** manous has joined #openstack-swift17:54
*** ejat has joined #openstack-swift18:00
*** ejat has joined #openstack-swift18:00
*** haomaiwang has quit IRC18:01
*** haomaiwang has joined #openstack-swift18:01
*** petertr7 is now known as petertr7_away18:02
*** changbl has joined #openstack-swift18:02
*** jkremer has joined #openstack-swift18:04
*** jkremer has joined #openstack-swift18:05
*** fthiagogv has quit IRC18:08
*** fthiagogv has joined #openstack-swift18:09
*** nadeem has quit IRC18:09
*** klrmn has joined #openstack-swift18:10
openstackgerritBĂ©la Vancsics proposed openstack/swift: Reduce code duplication  https://review.openstack.org/25426618:10
openstackgerritSamuel Merritt proposed openstack/swift: Allow smaller segments in static large objects  https://review.openstack.org/25209618:14
*** fthiagogv has quit IRC18:15
*** dmorita has joined #openstack-swift18:15
*** fthiagogv has joined #openstack-swift18:15
*** lcurtis has joined #openstack-swift18:16
*** dmorita has quit IRC18:16
*** fthiagogv has quit IRC18:18
*** fthiagogv has joined #openstack-swift18:18
*** gyee has quit IRC18:19
*** zaitcev has quit IRC18:24
*** dmorita has joined #openstack-swift18:32
*** manous has left #openstack-swift18:32
*** manous has joined #openstack-swift18:32
*** swiftcb has quit IRC18:38
*** aix has quit IRC18:43
*** dmorita has quit IRC18:47
*** CR7 has quit IRC18:50
*** dmorita has joined #openstack-swift18:53
*** tsg has quit IRC18:54
*** blmartin has quit IRC18:54
*** silor has joined #openstack-swift18:55
*** acoles is now known as acoles_18:58
*** geaaru has quit IRC18:58
*** david-ly_ has joined #openstack-swift19:00
*** haomaiwang has quit IRC19:01
*** SorinSen has quit IRC19:01
*** haomaiwang has joined #openstack-swift19:01
*** SorinSen has joined #openstack-swift19:03
*** CaioBren_ has joined #openstack-swift19:03
*** david-ly_ is now known as david-lyle_19:03
*** david-lyle has quit IRC19:03
*** dmorita has quit IRC19:04
*** david-lyle_ is now known as david-lyle19:04
*** CaioBrentano has quit IRC19:06
*** dmorita has joined #openstack-swift19:12
*** dmorita has quit IRC19:12
*** gyee has joined #openstack-swift19:14
*** cutforth has joined #openstack-swift19:14
*** petertr7_away is now known as petertr719:15
*** silor has quit IRC19:18
*** silor has joined #openstack-swift19:19
*** eranrom has joined #openstack-swift19:20
*** eranrom has quit IRC19:32
*** diazjf has joined #openstack-swift19:33
*** dmorita has joined #openstack-swift19:34
*** manous has quit IRC19:36
*** silor has quit IRC19:38
*** jlhinson_ has joined #openstack-swift19:39
*** jlhinson_ has quit IRC19:40
*** dmorita has quit IRC19:42
*** dmorita has joined #openstack-swift19:42
*** eranrom has joined #openstack-swift19:44
*** briancurtin has quit IRC19:46
*** briancurtin has joined #openstack-swift19:46
openstackgerritGanesh Maharaj Mahalingam proposed openstack/swift: Option to supress logs for in_process test  https://review.openstack.org/25545719:48
gmmahanotmyname: ^^ when you get a chance, your thoughts on the patch? :)19:49
*** eranrom has quit IRC19:50
*** eranrom has joined #openstack-swift19:51
openstackgerritGanesh Maharaj Mahalingam proposed openstack/swift: Option to supress logs for in_process test  https://review.openstack.org/25545719:51
*** dmorita has quit IRC19:52
*** dmorita has joined #openstack-swift19:54
*** fthiagogv has quit IRC19:57
*** blmartin has joined #openstack-swift19:57
*** david-lyle has quit IRC19:58
*** david-lyle has joined #openstack-swift19:58
*** ChubYann has joined #openstack-swift19:59
*** [1]eranrom has joined #openstack-swift20:00
*** haomaiwang has quit IRC20:01
*** haomaiwang has joined #openstack-swift20:01
ZyricGood morning20:02
*** eranrom has quit IRC20:02
*** [1]eranrom is now known as eranrom20:02
*** nadeem has joined #openstack-swift20:03
*** dmorita has quit IRC20:05
*** dmorita has joined #openstack-swift20:06
gmmahaGood Morning Zyric20:06
*** dmorita has quit IRC20:07
*** dmorita has joined #openstack-swift20:07
*** chsc has quit IRC20:08
*** chsc has joined #openstack-swift20:14
*** dmorita has quit IRC20:20
*** eranrom has quit IRC20:23
*** petertr7 is now known as petertr7_away20:31
*** esker has quit IRC20:33
*** petertr7_away is now known as petertr720:37
*** diazjf has quit IRC20:50
*** diazjf has joined #openstack-swift20:52
*** acoles_ is now known as acoles20:55
*** diazjf has quit IRC20:57
kota_good morning20:57
notmynamehello20:57
*** diazjf has joined #openstack-swift20:58
notmynamemeeting time in 2 minutes in #openstack-meeting20:58
mattoliverauI'm in Sydney and need to head into the office, I'll kinda be at the meeting. Well on and off20:59
*** ho has joined #openstack-swift20:59
notmynameheh, ok20:59
*** haomaiwang has quit IRC21:01
*** eranrom has joined #openstack-swift21:01
*** 17WAA61QI has joined #openstack-swift21:01
*** daddyjoseph97 has joined #openstack-swift21:01
acoleseranrom: sorry missed you earlier/yesterday, travelling this week21:02
*** dmorita has joined #openstack-swift21:07
notmynamedfg: later in the meeting we're going to bring up the ring patch21:08
*** CaioBren_ has quit IRC21:09
*** nadeem has quit IRC21:10
*** nadeem has joined #openstack-swift21:11
*** barker has joined #openstack-swift21:12
*** yarkot has joined #openstack-swift21:26
*** ianbrown has quit IRC21:33
openstackgerritMerged openstack/swift: added a few ruby clients to associated projects  https://review.openstack.org/25501021:34
*** barker has quit IRC21:35
eranromacoles: np, btw did you see my comment on 248219?21:40
eranromhttps://review.openstack.org/#/c/248219/21:40
acoleseranrom: oops i missed that. will review and reply. thanks!21:41
eranromacoles: thanks.21:42
*** dmorita has quit IRC21:49
*** diazjf has quit IRC21:54
*** yarkot has quit IRC21:56
*** 17WAA61QI has quit IRC22:01
*** yarkot has joined #openstack-swift22:01
*** garthb has joined #openstack-swift22:01
kota_quick note (or warning?), a fix for security issue on *swift3* (which is a swift middleware provides Amazon S3 compatible api) landed yesterday22:01
*** haomaiwang has joined #openstack-swift22:01
hoacoles: regarding rbac test, could you check performance of this patch in your env?22:02
kota_so if you use it today, please make sure the fix patch22:02
kota_patch is https://review.openstack.org/#/c/255067/22:02
notmynamethanks kota_22:02
acolesho: yes. i am travelling this week so may be a delay before i review again.22:02
hoacoles: thanks!22:02
blmartinmattoliverau: quick sharding question; data returned by a container server GET for the pivot nodes hands back the tree level/depth as 'bytes' field. is that intentional?22:03
hotdasilva: i would like to know background of copy middleware specially for place for the middileware in pipeline. before slo/dlo is only condition?22:05
*** sgundur1 has quit IRC22:05
tdasilvaho: yeah, the idea is that it would be moved the left on the pipeline as much as possible, that way others wouldn't have to know anything about copy verb22:06
tdasilvathey would only see GETs and PUTs22:06
tdasilvawhich one benefit of that is the abiity to remove copy hooks22:06
wbhubertdasilva: ho: meaning server_side_copy to the far left in the pipeline22:06
hotdasilva: deployers need to add the middleware by their hand? or automatically adding it like current implementation?22:07
tdasilvawbhuber: correct22:07
wbhuberho: tdasilva: i guess we've to modify proxy-server.conf in the patch to have the middle adjusted to the far left?22:07
tdasilvaho: yeah, it should probably be added automatically, because we need to support backwards compatibility22:08
tdasilvaoperators shouldn't see any difference when they upgrade22:08
*** dewsday has joined #openstack-swift22:08
tdasilvaho: I think that work is already there on the patch right? it's probably just a matter of where it is positioned...22:09
*** dmorita has joined #openstack-swift22:10
hotdasilva: i don't think so. current logic is adding it just before proxy-server (i will re-check) so i think we need to know clear dependency22:10
tdasilvaho: I'll check too22:11
hotdasilva: wbhuber: thanks! if you have clear dependency (or requirements?), please let me know (i'm curios)22:14
tdasilvaho: ok22:14
wbhuberho: k22:14
tdasilvaho: i need to run, but will be back later tonight22:14
hotdasilva: have fun & see you later :P22:15
*** acoles is now known as acoles_22:17
*** petertr7 is now known as petertr7_away22:18
*** _Alexandra_ has joined #openstack-swift22:18
*** dewsday has quit IRC22:18
*** _Alexandra_ has quit IRC22:23
*** alejandrito has quit IRC22:26
*** dmorita has quit IRC22:32
*** david-lyle has quit IRC22:34
openstackgerritGanesh Maharaj Mahalingam proposed openstack/swift: Option to supress logs for in_process test  https://review.openstack.org/25545722:34
*** yarkot has quit IRC22:37
*** sanchitmalhotra has quit IRC22:38
*** briancurtin has quit IRC22:38
*** david-ly_ has joined #openstack-swift22:39
*** sanchitmalhotra has joined #openstack-swift22:39
*** cutforth has quit IRC22:41
*** chsc has quit IRC22:43
*** david-ly_ is now known as david-lyle22:45
*** bkmz has quit IRC22:48
*** bkmz has joined #openstack-swift22:48
*** zaitcev has joined #openstack-swift22:51
*** ChanServ sets mode: +v zaitcev22:51
*** eranrom has quit IRC22:52
*** esker has joined #openstack-swift22:56
*** esker has quit IRC22:57
*** esker has joined #openstack-swift22:58
*** wuhg has quit IRC22:58
*** haomaiwang has quit IRC23:01
*** sgundur has joined #openstack-swift23:01
*** haomaiwang has joined #openstack-swift23:01
*** dmorita has joined #openstack-swift23:05
*** km has joined #openstack-swift23:08
*** km is now known as Guest7114123:08
openstackgerritHisashi Osanai proposed openstack/swift: Add container quota functional test  https://review.openstack.org/25515223:08
*** dustins has quit IRC23:09
gmmahanotmyname: your concern has now come true. I want tto debug why jenkins fails on my patch and its a mess :(23:14
notmynamelol23:14
*** dustins has joined #openstack-swift23:14
gmmahadoes this look like the right error?23:14
gmmaha+ /usr/os-testr-env/bin/subunit2html ./testrepository.subunit testr_results.html23:14
gmmahaTraceback (most recent call last):23:14
gmmaha  File "/usr/os-testr-env/bin/subunit2html", line 11, in <module>23:14
gmmaha    sys.exit(main())23:14
gmmaha  File "/usr/os-testr-env/local/lib/python2.7/site-packages/os_testr/subunit2html.py", line 714, in main23:14
gmmaha    stream = open(subunit_file, 'rb')23:14
gmmahaIOError: [Errno 2] No such file or directory: './testrepository.subunit'23:14
gmmahadont think i touched it in anyway to fail here23:14
notmynameis any error the right error, really?23:15
gmmaha:D23:15
notmynamealso, no I don't know anything about that error ;-)23:15
gmmahathanks. Let me see whats happening23:15
gmmahawierdly when i run it with the log suppress locally it works23:19
notmynamegmmaha: IIRC I had a few failures with in-process tests on my SAIO with the log spew23:20
gmmahanotmyname: ohh.. i didnt see any. let me reset the system and try again. a23:21
gmmahaalso the jenkins log seems to indicate an old jenkins issue i have come across in the past with java heap23:21
*** dmorita has quit IRC23:21
notmynamedfg: when I write up release notes, I'd definitely appreciate some review of the words about the ring patch. especially based on your comments in the review23:22
*** briancurtin has joined #openstack-swift23:28
*** haomaiwang has quit IRC23:32
*** haomaiwang has joined #openstack-swift23:32
*** kei_yama has joined #openstack-swift23:36
*** ianbrown has joined #openstack-swift23:36
*** ianbrown has quit IRC23:36
*** haomaiwang has quit IRC23:37
*** rcernin has joined #openstack-swift23:37
*** pgbridge has quit IRC23:40
*** nadeem has quit IRC23:45
*** sgundur has quit IRC23:45
gmmahanotmyname: how do you feel about suppressing the logs all the time and just displaying them on a variable?23:46
gmmahacause with the suppress all tests pass.. :|23:46
notmynamewhat do you mean "displaying them on a variable"23:47
gmmahaSWIFT_SHOW_LOGS=True23:47
gmmahaby default its false and all logs dont appear.. Just flipping the logic i have now in the patch23:48
notmynameso that means "tests pass, except when they don't, and when they don't pass you don't have any logs. and if you turn on logs, they fail for other reasons"23:48
notmynamegmmaha: what was mattoliverau saying about passing it through unittest?23:49
gmmahawhen you put it that way..23:49
gmmaha:|23:49
notmynamelol23:49
gmmahanot sure.. had asked him about it.. guessing he is busy at work.23:49
gmmahai wasnt sure on what he was suggesting23:49
*** nadeem has joined #openstack-swift23:51
gmmahaalright. will check with him tomorrow to see if thats something that will be more stabler than this one.. Though i have a feeling that the failure has nothing to do with my patch :(23:52
notmynamegmmaha: yeah, that's frustrating23:52
notmynamethanks for looking into it, though!23:52
gmmahanotmyname: my pleasure.. learnt quite a bit.. so thats always good!!23:53
gmmahatwo diferent tests. both failed at diff tests, but the logs show it to be a timeout23:55
gmmahacont2 ERROR: ERROR account update failed with 127.0.0.1:36017/sda1 (will retry later): Timeout (3.0s)23:55
*** ianbrown has joined #openstack-swift23:55
gmmahaobj2 ERROR: ERROR container update failed with 127.0.0.1:40183/sda1 (saving for async update later): Timeout (3.0s)23:56

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