Friday, 2014-07-25

*** annegent_ has quit IRC00:00
*** _lexjm has joined #openstack-swift00:19
*** _lexjm has joined #openstack-swift00:21
*** _lexjm has quit IRC00:22
*** _lexjm has joined #openstack-swift00:24
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make swift-form-signature testable  https://review.openstack.org/10945700:24
openstackgerritSamuel Merritt proposed a change to openstack/swift: Make swift-form-signature output a sample form  https://review.openstack.org/10945800:24
*** dmorita has joined #openstack-swift00:29
*** kevinc_ has quit IRC00:37
*** shri has left #openstack-swift00:39
*** tdasilva has joined #openstack-swift00:52
*** addnull has joined #openstack-swift00:54
*** dmsimard is now known as dmsimard_away00:55
openstackgerritSteve Martinelli proposed a change to openstack/python-swiftclient: Update theme for docs  https://review.openstack.org/10942800:59
*** dmsimard_away is now known as dmsimard01:08
*** wer has joined #openstack-swift01:15
*** dmsimard is now known as dmsimard_away01:16
*** addnull has quit IRC01:17
*** addnull has joined #openstack-swift01:18
*** gyee has quit IRC01:31
*** nexusz99 has joined #openstack-swift01:31
*** nosnos has joined #openstack-swift01:38
*** bkopilov has joined #openstack-swift01:55
*** dmsimard_away is now known as dmsimard01:56
*** dmsimard is now known as dmsimard_away01:57
*** tsg has quit IRC02:01
*** wer has quit IRC02:03
openstackgerritA change was merged to openstack/swift: Remove duplicate conditional statement  https://review.openstack.org/10894002:16
*** tdasilva has quit IRC02:34
*** haomaiwa_ has joined #openstack-swift03:24
*** tsg has joined #openstack-swift03:31
*** kopparam has joined #openstack-swift03:35
*** kopparam has quit IRC03:36
*** nosnos has quit IRC03:55
*** addnull has quit IRC04:07
*** nexusz99 has quit IRC04:14
*** addnull has joined #openstack-swift04:41
*** nosnos has joined #openstack-swift04:51
*** addnull has quit IRC04:51
*** addnull has joined #openstack-swift04:52
*** kopparam has joined #openstack-swift04:53
*** addnull has quit IRC04:56
*** nexusz99 has joined #openstack-swift04:56
*** anand_ts has joined #openstack-swift04:59
*** kopparam has quit IRC05:14
*** kopparam has joined #openstack-swift05:16
*** nthacker_ has joined #openstack-swift05:19
*** rando has joined #openstack-swift05:19
*** nthacker has quit IRC05:21
*** mdonohoe has quit IRC05:21
*** zaitcev has quit IRC05:24
*** addnull has joined #openstack-swift05:26
*** foexle has quit IRC05:28
*** ppai has joined #openstack-swift05:40
*** k4n0 has joined #openstack-swift05:56
*** chandankumar has joined #openstack-swift05:57
*** psharma has joined #openstack-swift06:00
*** tsg has quit IRC06:22
*** addnull has quit IRC06:45
*** addnull_ has joined #openstack-swift06:45
*** kopparam has quit IRC07:08
*** kopparam has joined #openstack-swift07:09
*** ppai has quit IRC07:12
*** kopparam has quit IRC07:14
*** _lexjm has quit IRC07:14
*** foexle has joined #openstack-swift07:16
*** ppai has joined #openstack-swift07:26
*** haomaiwa_ has quit IRC07:51
*** haomaiwang has joined #openstack-swift07:51
*** kopparam has joined #openstack-swift07:52
mattoliverauFor those interested, I have submitted a patch to the swift dashboard to add a 'possible abandoned changes' section: https://review.openstack.org/#/c/109159/  and for those who prefer a simple CLI report: https://github.com/matthewoliver/junk/blob/master/swift_abandon_report.py08:02
mattoliverauI have it logging in, so could set it up with a core's account to auto abandon.. but I might start with adding a comment or generating emails to owners of changes to poke them.08:03
mattoliveraunotmyname: ^^08:04
mattoliverauOn that note I'm calling it a night, have a great weekend all!08:04
*** nacim has joined #openstack-swift08:05
*** ppai has quit IRC08:05
*** ppai has joined #openstack-swift08:19
*** haomai___ has joined #openstack-swift08:26
*** haomaiwang has quit IRC08:29
*** ppai has quit IRC08:40
*** ppai has joined #openstack-swift08:57
nexusz99Is there swift internal design document(e.g flow chart, ERD ..) for developer?09:01
*** mmcardle has joined #openstack-swift09:02
*** mmcardle has quit IRC09:04
*** mmcardle has joined #openstack-swift09:12
*** zslot has joined #openstack-swift09:17
*** haomai___ has quit IRC09:22
*** haomaiwang has joined #openstack-swift09:23
*** openfly has quit IRC09:26
*** kopparam has quit IRC09:26
*** zslot has quit IRC09:29
*** zslot has joined #openstack-swift09:30
*** haomaiw__ has joined #openstack-swift09:33
*** kopparam has joined #openstack-swift09:33
*** devpadak has joined #openstack-swift09:36
*** haomaiwang has quit IRC09:36
*** nexusz99 has quit IRC09:37
*** addnull_ has quit IRC09:37
*** addnull has joined #openstack-swift09:38
*** nexusz99 has joined #openstack-swift09:38
*** bvandenh has joined #openstack-swift09:55
*** haomaiw__ has quit IRC09:57
*** haomaiwang has joined #openstack-swift09:58
*** dmorita has quit IRC10:00
*** haomaiwang has quit IRC10:03
*** nosnos has quit IRC10:15
*** addnull has quit IRC10:21
*** nexusz99 has quit IRC10:29
*** andyandy has joined #openstack-swift10:35
acolesnexusz99: there is architectural overview etc here http://docs.openstack.org/developer/swift/index.html10:40
*** kopparam has quit IRC11:30
*** kopparam has joined #openstack-swift11:30
ahalechmouel: hey does fred know his twitter is compromised11:34
chmouelahale: yeah i just told him11:37
*** devpadak has quit IRC11:38
*** k4n0 has quit IRC11:38
openstackgerritAlistair Coles proposed a change to openstack/swift-specs: Updating containers on object fast-POST  https://review.openstack.org/10259211:40
*** traz_ has joined #openstack-swift11:46
traz_Hi, anyone there?11:47
*** anand_ts has left #openstack-swift11:48
traz_Can anyone please tell me which is the 'X-Auth-Token' passed from Keystone?11:49
traz_In herehttp://paste.openstack.org/show/88144/11:49
traz_In here http://paste.openstack.org/show/88144/11:49
ahaleoh cool11:50
traz_ahale: Can ypu please help?11:51
traz_There's no documentation11:52
*** cebruns has quit IRC11:52
ahaleno idea from looking at the paste - though I never used keystone much11:52
ahaleah no11:53
ahalelooks like token is a2ab0ac4b3a644508728fb4131cca3ec11:53
ahaleor maybe 6f80c94891694739b75e4897b065c01011:53
traz_curl -X PUT -i  -H "X-Auth-Token: AUTH_<user-token>" http://127.0.0.1:8080/v1/AUTH_<account-id>11:53
traz_And whats the account-id then?11:53
*** wer has joined #openstack-swift11:54
ahalegood question - no idea - maybe try find some keystone folks or maybe someone else will know better11:55
traz_Ok thanks ahale11:55
traz_Bdw can you tell me who can be the right person to talk?11:56
ctennisyou should try https://ask.openstack.org/en/questions/12:00
ahalei don;t really know sorry - i only really deal with pure swift stuff in openstack, and we don't have a keystone instance to work with so im clueless about rest of the projects12:00
*** dmsimard_away is now known as dmsimard12:05
*** chandan_kumar has joined #openstack-swift12:09
*** chandan_kumar has quit IRC12:09
*** mmcardle has quit IRC12:16
*** mmcardle has joined #openstack-swift12:21
*** miqui has joined #openstack-swift12:22
*** bvandenh has quit IRC12:33
*** ppai has quit IRC12:34
*** kopparam has quit IRC12:51
*** kopparam has joined #openstack-swift12:52
acolestraz_: i think ahale is right about your token. looks like your tenant_id is 6f80c94891694739b75e4897b065c01012:55
acolestraz_: default keystoneauth config would then make your account id AUTH_6f80c94891694739b75e4897b065c01012:56
*** nexusz99 has joined #openstack-swift12:56
*** kopparam has quit IRC12:56
*** devpadak has joined #openstack-swift12:56
acolestraz_: which you should see in the endpoints>publicURL value but you don't so maybe your swift endpoint isn't setup correctly in keystone?12:57
*** nexusz99 has quit IRC12:58
acolestraz_: it should be something like http://example.com:8080/v1/AUTH_6f80c94891694739b75e4897b065c01012:58
*** Midnightmyth has joined #openstack-swift13:00
*** bvandenh has joined #openstack-swift13:06
*** NM has joined #openstack-swift13:11
*** psharma has quit IRC13:17
*** tdasilva has joined #openstack-swift13:19
*** Midnightmyth has quit IRC13:32
*** bvandenh has quit IRC13:43
*** tsg has joined #openstack-swift13:46
*** Midnightmyth has joined #openstack-swift13:49
*** jasondotstar has joined #openstack-swift14:02
*** chandan_kumar has joined #openstack-swift14:07
*** chandan_kumar has quit IRC14:10
*** bvandenh has joined #openstack-swift14:10
*** bvandenh has quit IRC14:15
*** chandankumar has quit IRC14:21
*** nacim has quit IRC14:22
*** tsg has quit IRC14:31
openstackgerritAlistair Coles proposed a change to openstack/swift: Enable updateable object sysmeta  https://review.openstack.org/10960914:35
acolestorgomatic: ^^ this is as far as i have got. It is most definitely WIP and I'll mark it a such!14:38
*** devpadak has quit IRC14:58
*** tongli has joined #openstack-swift15:14
*** chandankumar has joined #openstack-swift15:21
*** tsg has joined #openstack-swift15:21
*** jasondotstar has quit IRC15:30
*** chandankumar has quit IRC15:33
*** foexle has quit IRC15:42
*** gyee has joined #openstack-swift15:42
notmynamegood morning15:55
tdasilvanotmyname: good morning16:10
*** cebruns has joined #openstack-swift16:19
openstackgerritThiago da Silva proposed a change to openstack/swift: Add a env var to use in-memory obj server in func  https://review.openstack.org/9238116:37
*** tdasilva has quit IRC16:40
*** zslot has quit IRC16:43
zackmdavisnotmyname, so I was really excited about swiftclient 2.2 so that swiftstack.com doesn't need its own tempURL-generating function, but Django complains that "Versioning for this project requires either an sdist tarball, or access to an upstream git repository" (but I can import the version just fine at the shell). Do you know what PBR wants there?16:51
creihtPBR wants your soul16:52
creiht:)16:52
*** tdasilva has joined #openstack-swift16:52
creihtzackmdavis: that's a new one to me, sorry :/16:53
notmynameya, I'm thinking16:53
notmynamezackmdavis: is this the packaged one?16:53
zackmdavisnotmyname, yes, I just changed "==1.8.0" to "==2.2.0" in the requirements file16:53
zackmdavishttp://paste.openstack.org/show/88210/16:54
notmynamezackmdavis: I mean, did you build a new package or are you using a source repo. if you built packages, then you have to do the pbr packaging building dance to turn it all off: http://docs.openstack.org/developer/pbr/packagers.html16:57
* notmyname thought pbr had been changed to a built-time-only dependency16:58
*** andyandy has quit IRC17:02
notmyname(it has)17:05
zackmdavisnotmyname, (don't know all the terminology about packaging, sorry) it was whatever `pip install` does17:06
*** NM has quit IRC17:06
notmynamezackmdavis: ah, yes. then that's the issue. you used pip rather than building a .deb or .rpm17:06
notmynamefun!17:07
zackmdavisnotmyname ... I can't install python-swiftclient with pip and have it work with Django?17:07
notmynamezackmdavis: "can't" is a strong word. basically, doing the package building turns off the pbr versioning. I don't know why django is reaching in to that. building a package will walk around the problem rather than solve it17:08
*** dmsimard is now known as dmsimard_away17:09
notmynamezackmdavis: so you did `pip install python-swiftclient` and that works fine from the CLI?17:09
*** NM has joined #openstack-swift17:10
*** dmsimard_away is now known as dmsimard17:10
notmynamezackmdavis: next thing to try is to import swiftclient from a repl and see if it breaks there (ie test the SDK part, which is actually what django would be using)17:10
zackmdavisnotmyname, the import works fine in the REPL, and the Django error goes away when I comment out the imports of swiftclient in the views17:13
zackmdavisGunicorn is running as the same user as my shell, so I'm not sure what would be different about its environment exactly17:14
notmynamezackmdavis: maybe check PYTHONPATH (import sys; print sys.path) before the django import17:15
notmynamebut it's not not finding swiftclient17:15
notmynamethe problem is that it did find it and the pbr stuff got triggered17:15
torgomaticzackmdavis: try django's "manage.py shell" command and see if you can even get that far (with swiftclient import enabled)17:15
notmyname    version_string = pkg_resources.get_provider(17:16
notmyname        pkg_resources.Requirement.parse('python-swiftclient')).version17:16
notmynamethat raised a DistributionNotFound error which then triggered the pbr stuff17:16
notmynamewhy did that happen?17:16
notmyname(from https://github.com/openstack/python-swiftclient/blob/master/swiftclient/version.py)17:17
notmynamehmm....it wouldn't be anything weird with the python wheels would it?17:18
notmynameopenstack is uploaded wheels too now. https://pypi.python.org/pypi/python-swiftclient/2.2.017:18
zackmdavistorgomatic, ./manage.py shell works ... and then even "from swiftclient import version" works there17:18
notmynamemaybe that does something different?17:18
notmyname2.1.0 didn't have a wheel17:19
notmyname(but why would some imports work and not others?)17:19
*** shri has joined #openstack-swift17:19
* notmyname is typing out loud17:19
*** cpen has joined #openstack-swift17:26
notmynamezackmdavis: also try "pkg_resources.get_provider(pkg_resources.Requirement.parse('python-swiftclient')).version" from the repl and in django shell and in django17:28
*** dencaval has quit IRC17:34
*** dencaval has joined #openstack-swift17:36
*** shri1 has joined #openstack-swift17:47
*** shri has quit IRC17:49
*** acoles is now known as acoles_away17:52
*** shri1 has quit IRC17:58
openstackgerritpaul luse proposed a change to openstack/swift-specs: Erasure Code Support for Swift  https://review.openstack.org/10610317:58
zackmdavisnotmyname, on the VM where my Django development lives, that command raises "pkg_resources.DistributionNotFound: python-swiftclient" in both the default-Python and Django shells, but in a virtualenv on my host with python-swiftclient 2.2.0 pip-installed, it works (returns "2.2.0")18:15
notmynamezackmdavis: that sounds good from the perspective of django vs not django18:17
notmynamezackmdavis: in swiftclient, if that command raises the exception, it falls back to pbr18:17
notmynamezackmdavis: any virtualenv stuff in place, or is it all global modules?18:18
zackmdavisnotmyname, global (everything gets installed by Ansible, which should just be calling `sudo pip install` &c.)18:18
openstackgerritThiago da Silva proposed a change to openstack/swift: Add a env var to use in-memory obj server in func  https://review.openstack.org/9238118:19
openstackgerritThiago da Silva proposed a change to openstack/swift: Add a env var to use in-memory obj server in func  https://review.openstack.org/9238118:24
*** mmcardle has quit IRC18:26
notmynamezackmdavis: I can confirm what you said. I didn't try it with django, but on 2 different machines I had no dependency on pbr when installing it with pip18:31
notmynamezackmdavis: try "pip install --upgrade setuptools"18:34
notmynamezackmdavis: (from http://stackoverflow.com/questions/7446187/no-module-named-pkg-resources)18:34
*** tongli has quit IRC18:36
zackmdavisnotmyname, thanks, fixed after upgrading setuptools on the VM and hard-restarting Gunicorn18:38
notmynamezackmdavis: awesome!18:38
zackmdavis("hard-restart" meaning `service restart` instead of HUP)18:42
*** tdasilva has quit IRC19:09
*** foexle has joined #openstack-swift19:12
openstackgerritDavid Goetz proposed a change to openstack/swift: Reuse a cursor instead of a conn.execute for better performance  https://review.openstack.org/10969419:26
*** foexle has quit IRC19:27
*** zaitcev has joined #openstack-swift19:45
*** ChanServ sets mode: +v zaitcev19:45
*** dencaval has quit IRC20:04
*** mmcardle has joined #openstack-swift20:11
*** tsg has quit IRC20:11
*** tsg has joined #openstack-swift20:12
*** tusharsg has joined #openstack-swift20:15
*** tsg has quit IRC20:18
notmynameanyone else having issues with probetests?20:24
notmynameI was runnign them on dfg's patch (https://review.openstack.org/#/c/109694/) but I get a lot of errors on master too20:24
* peluse_ running probetests now...20:34
notmynamethanks20:34
peluse_hmm, 2E and 2F on master20:37
*** dmsimard is now known as dmsimard_away20:37
*** dmsimard_away is now known as dmsimard20:38
notmynamepeluse_: I'm getting more than that, but all seeming tied to ECONNREFUSED20:41
*** dmsimard is now known as dmsimard_away20:41
notmynamerunning on a vagrant SAIO now20:41
notmynameie completely new env20:41
peluse_notmyname:  mine are policy related w/reconciler, etc20:43
notmynameso far no errors on vsaio20:43
peluse_mine could be false alarm.. need to check a few things but have to take off to pick up kids.  Will check back in a bit later20:44
peluse_yeah, OK I think mine is an env issue from where I was messing around with stuff for EC...20:45
* peluse_ heads out for a bit20:45
notmynameone error on vagrant SAIO: https://gist.github.com/notmyname/84dfba66c4b3eafc505520:50
notmynameah. that is probably just an old version of swiftclient20:57
*** NM has quit IRC21:03
notmynameyes, it's fine there21:04
notmynameso soemthing in my other SAIO config21:04
*** foexle has joined #openstack-swift21:54
*** mmcardle has quit IRC22:08
*** tusharsg has quit IRC22:08
openstackgerritA change was merged to openstack/swift: Reuse a cursor instead of a conn.execute for better performance  https://review.openstack.org/10969422:28
peluse_notmyname:  hm, I'm still failing some of the probe policy tests - are you running with > 1 policy defined?22:29
notmynamepeluse_: yes. on my saio. the vsaio probably just had one22:29
notmynamepeluse_: still, policies shouldn't cause ECONNREFUSED22:30
peluse_notmyname:  yeah, that's not what my problem is22:30
peluse_notmyname:  OK, I'm good now.  Was missing my /etc/swift/container-reconciler.conf somehow (must have restored an old snapshot or something)22:37
notmynameah22:37
peluse_all probes pass on master22:37
*** dmsimard_away is now known as dmsimard22:38
notmynamemy current failure: https://gist.github.com/notmyname/6ffeb9c0b6bddae7a05622:50
*** dmsimard is now known as dmsimard_away22:56
*** occupant has quit IRC23:01
*** dfg_ has joined #openstack-swift23:22
*** clayg_ has joined #openstack-swift23:22
openstackgerritpaul luse proposed a change to openstack/swift: Reuse a cursor instead of a conn.execute for better performance  https://review.openstack.org/10977523:22
*** thurloat_ has joined #openstack-swift23:22
*** redbo_ has joined #openstack-swift23:24
*** jokke__ has joined #openstack-swift23:24
*** MooingLe1ur has joined #openstack-swift23:24
*** bkopilov has quit IRC23:29
*** MooingLemur has quit IRC23:29
*** clayg has quit IRC23:29
*** ekarlso has quit IRC23:29
*** dfg has quit IRC23:29
*** jokke_ has quit IRC23:29
*** redbo has quit IRC23:29
*** thurloat has quit IRC23:29
*** thurloat_ is now known as thurloat23:29
notmynamenow this is the kind of tweet I like to see on a friday afternoon :-) https://twitter.com/jparrott/status/49281341542590054423:30
*** ekarlso has joined #openstack-swift23:31
*** mtreinish has quit IRC23:33
*** bkopilov has joined #openstack-swift23:36
*** MooingLe1ur is now known as MooingLemur23:38
*** mtreinish has joined #openstack-swift23:46

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