Tuesday, 2015-08-18

*** lisaclark1 has joined #openstack-barbican00:12
*** zz_dimtruck is now known as dimtruck00:18
*** woodster_ has quit IRC00:30
*** kfarr has quit IRC00:43
*** crc32 has joined #openstack-barbican00:46
*** dimtruck is now known as zz_dimtruck01:03
*** everjeje has quit IRC01:32
rm_youthat doesn't really make sense either, or fix the problem, unfortunately :(01:36
rm_youdave-mccowan: ^^01:36
rm_youthe issue is still that between User A (LBaaS-Service-Account) and User B (Large LBaaS Customer) there could be hundreds to thousands of consumers utilized01:37
rm_youand so if the quota is global, numbers that make sense for the majority won't make sense for a few important customer accounts01:37
rm_youthough, if the quota number can be super high by default for Consumers, and we just assume that no one will ever hit it, then ... i guess that's fine01:38
rm_youmaybe consumers aren't expensive so putting a number like 1000 (which seems reasonable) would work fine, and just prevents abuse by people trying to do "millions"01:38
rm_youi think that's possibly the case, so maybe it doesn't matter01:38
dave-mccowanthe quotas are per project (with a default).  you could set the quota for the Tenant B to be 10,000 and the default quota (for everyone else) to 1000, or whatever.01:39
rm_youah01:39
*** zz_dimtruck is now known as dimtruck01:39
rm_youyeah ok01:39
rm_youso if the quotas are per-tenant, we have no problem01:39
rm_youerr hmm01:39
rm_youso, consumers ... should charge the account MAKING the consumer...01:40
rm_youbut i don't know how that would be tracked01:40
rm_youbecause it's just an entry on the container01:40
rm_youwhich is technically owned by the customer01:40
rm_youerr, in generic terms, when User A (LBaaS) registers as a consumer on User B's container, whose quota does it go against right now?01:41
rm_youif it's against User A's quota, how is that tracked?01:41
rm_youI can't think of how it would be01:41
dave-mccowani added a project tracker for consumer entries in this CR https://review.openstack.org/#/c/212876/01:42
rm_youIt would make more sense if it was charged against User B's quota, but then we have the weird situation with having to up quotas on users that they won't even realize they're using01:42
rm_youwill look at that01:42
rm_youAH01:43
rm_youyou added a reference to the project-id of the registering user01:43
rm_youthat works01:43
openstackgerritKaitlin Farr proposed openstack/castellan: Update Barbican wrapper  https://review.openstack.org/20856901:51
openstackgerritKaitlin Farr proposed openstack/castellan: Update Barbican wrapper  https://review.openstack.org/20856901:53
openstackgerritDave McCowan proposed openstack/barbican: Introduce the key-manager role  https://review.openstack.org/21357002:14
*** lisaclark1 has quit IRC02:55
openstackgerritDave McCowan proposed openstack/barbican: Introduce the key-manager role  https://review.openstack.org/21357003:10
*** vivek-ebay has quit IRC03:17
*** crc32 has quit IRC03:31
openstackgerritMerged openstack/castellan: Activate pep8 check that _ is imported  https://review.openstack.org/20914203:32
*** mixos has joined #openstack-barbican03:46
*** vivek-ebay has joined #openstack-barbican03:48
*** vivek-eb_ has joined #openstack-barbican03:51
*** vivek-ebay has quit IRC03:53
openstackgerritDave McCowan proposed openstack/barbican: Introduce the key-manager:service-admin role  https://review.openstack.org/21357003:57
*** dimtruck is now known as zz_dimtruck04:00
*** mixos has quit IRC04:36
*** mixos has joined #openstack-barbican04:38
*** dave-mccowan has quit IRC04:47
*** xaeth_afk is now known as xaeth04:49
*** gyee has quit IRC05:04
*** vivek-ebay has joined #openstack-barbican05:23
*** vivek-eb_ has quit IRC05:26
*** Nirupama has joined #openstack-barbican05:59
*** vivek-ebay has quit IRC06:12
*** rm_you has quit IRC06:37
*** shohel has joined #openstack-barbican06:39
*** rm_work is now known as rm_work|away06:42
*** openstackgerrit_ has joined #openstack-barbican06:43
*** rm_you has joined #openstack-barbican06:45
*** rm_work|away is now known as rm_work07:14
*** everjeje has joined #openstack-barbican07:45
*** d0ugal has left #openstack-barbican08:28
*** d0ugal has joined #openstack-barbican08:56
*** mixos has quit IRC09:30
*** shohel has quit IRC09:51
*** shohel has joined #openstack-barbican10:01
*** mmdurrant has quit IRC10:09
*** peter-hamilton has joined #openstack-barbican11:00
*** zz_dimtruck is now known as dimtruck11:26
*** DuncanT has quit IRC11:38
*** dimtruck is now known as zz_dimtruck11:51
*** zz_dimtruck is now known as dimtruck11:51
*** alee_ has quit IRC11:55
*** mmdurrant has joined #openstack-barbican11:58
*** mixos has joined #openstack-barbican12:15
*** mixos has quit IRC12:21
*** dave-mccowan has joined #openstack-barbican12:23
*** Nirupama has quit IRC12:38
*** lisaclark1 has joined #openstack-barbican12:40
*** lisaclark1 has quit IRC12:49
*** chlong has joined #openstack-barbican12:52
*** lisaclark1 has joined #openstack-barbican12:52
*** lisaclark1 has quit IRC13:21
*** alee_ has joined #openstack-barbican13:23
*** lisaclark1 has joined #openstack-barbican13:24
*** SheenaG has joined #openstack-barbican13:36
*** rellerreller has joined #openstack-barbican13:39
*** SheenaG has left #openstack-barbican13:40
*** dimtruck is now known as zz_dimtruck13:41
*** zz_dimtruck is now known as dimtruck13:44
*** lisaclark1 has quit IRC14:02
*** jvrbanac has quit IRC14:02
*** dimtruck is now known as zz_dimtruck14:02
*** DuncanT has joined #openstack-barbican14:03
openstackgerritSteve Heyman proposed openstack/barbican: Use config rather than hardcoded admin id from Quotas test  https://review.openstack.org/21386014:07
*** jvrbanac has joined #openstack-barbican14:09
*** lisaclark1 has joined #openstack-barbican14:10
*** spotz_zzz is now known as spotz14:14
*** kfarr has joined #openstack-barbican14:14
*** zz_dimtruck is now known as dimtruck14:31
*** mixos has joined #openstack-barbican14:33
*** ccneill has joined #openstack-barbican14:35
*** ccneill_ has joined #openstack-barbican14:36
*** ccneill has quit IRC14:39
*** mjg59 has quit IRC14:41
*** lisaclark1 has quit IRC14:42
*** mjg59 has joined #openstack-barbican14:47
*** igueths has joined #openstack-barbican14:49
*** shohel has quit IRC14:55
*** mixos has quit IRC14:58
*** jorge_munoz has quit IRC14:59
*** mixos has joined #openstack-barbican14:59
*** lisaclark1 has joined #openstack-barbican15:01
*** silos has joined #openstack-barbican15:03
*** rellerreller has quit IRC15:03
*** ccneill_ is now known as ccneill15:04
*** lisaclark1 has quit IRC15:09
*** kfarr has quit IRC15:14
*** lisaclark1 has joined #openstack-barbican15:14
*** pglass has joined #openstack-barbican15:16
*** pglass has quit IRC15:18
*** woodster_ has joined #openstack-barbican15:18
*** pglass has joined #openstack-barbican15:24
*** woodster_ has quit IRC15:36
*** DuncanT has quit IRC15:36
*** rm_work is now known as rm_work|away15:43
*** darrenmoffat has quit IRC15:44
*** darrenmoffat has joined #openstack-barbican15:45
*** SheenaG1 has joined #openstack-barbican15:50
*** mixos has quit IRC15:58
*** SheenaG1 has left #openstack-barbican15:59
*** mixos has joined #openstack-barbican16:02
*** lisaclark1 has quit IRC16:03
*** woodster_ has joined #openstack-barbican16:03
pglasshey tdink or hockeynut: you used attributes on your test cases like this: https://github.com/openstack/barbican/blob/master/functionaltests/api/v1/functional/test_containers.py#L12716:09
pglasshow do you run the tests to work with those attributes? are you still using testr for that?16:10
*** DuncanT has joined #openstack-barbican16:12
*** kfarr has joined #openstack-barbican16:17
kfarrredrobot, I have a patch to push to openstack/releases for a new python-barbicanclient 3.3.0.  Just wanted to check with you, is it ok if I push it?16:19
*** rm_work|away is now known as rm_work16:27
*** everjeje has quit IRC16:32
*** xaeth is now known as xaeth_afk16:38
*** mixos has quit IRC16:39
redrobotkfarr fine by me.16:42
redrobotkfarr sorry I didn't get to it quckly :(16:45
redrobotkfarr send me the cr link when you have it so I can go +1 it16:45
*** vivek-ebay has joined #openstack-barbican16:45
*** lisaclark1 has joined #openstack-barbican16:50
*** alee_ is now known as alee_lunch17:04
kfarrredrobot, no worries!  Here it is: https://review.openstack.org/#/c/214280/117:04
*** spotz is now known as spotz_zzz17:05
*** lisaclark1 has quit IRC17:10
*** lisaclark1 has joined #openstack-barbican17:10
*** silos has left #openstack-barbican17:37
*** vivek-ebay has quit IRC17:47
*** vivek-ebay has joined #openstack-barbican17:53
*** mixos has joined #openstack-barbican18:00
*** vivek-ebay has quit IRC18:02
*** chlong has quit IRC18:06
*** rellerreller has joined #openstack-barbican18:08
*** gyee has joined #openstack-barbican18:08
*** lisaclark1 has quit IRC18:09
*** chlong has joined #openstack-barbican18:09
*** openstackgerrit_ has quit IRC18:11
*** spotz_zzz is now known as spotz18:23
*** gyee has quit IRC18:31
*** gyee has joined #openstack-barbican18:32
*** silos has joined #openstack-barbican18:33
silosdo any of the gates run functional tests for barbican?18:33
*** kfarr_ has joined #openstack-barbican18:37
kfarr_silos, not sure if anyone answered your question because my chat history was erased, but 'gate-barbican-devstack-dsvm' runs the functional tests for barbican18:39
*** kfarr has quit IRC18:39
siloskfarr: thanks!18:40
*** alee_lunch is now known as alee_18:50
*** gyee has quit IRC19:00
*** vivek-ebay has joined #openstack-barbican19:03
*** vivek-eb_ has joined #openstack-barbican19:07
*** vivek-ebay has quit IRC19:07
*** vivek-eb_ has quit IRC19:11
*** peter-hamilton has quit IRC19:17
rm_workredrobot / redrobot / hockeynut / jvrbanac / chellygel anyone around in Castle?19:26
*** mixos has quit IRC19:30
*** vivek-ebay has joined #openstack-barbican19:35
*** rellerreller has quit IRC19:42
silosdave-mccowan: ping19:50
dave-mccowansolos pong o/19:55
dave-mccowansilos ^^19:55
silosddave-mccowan: hey!!19:56
silosdave-mccowan: did you have a problem running functests after putting in ldap3 into requirements?19:56
dave-mccowansilos not after installing ldap3. :-)  you can tox -r, to reinstall your .tox environment or pip install ldap319:57
siloshmmm i'm gonna try the tox -r command. haven't tried that yet.19:58
silosThe weird part is its an installed python package but when I run tox it can't find it :-/19:58
dave-mccowanis the failure happening within barbican, or within the functional test code?  probably within barbican, since that's the code that uses ldap3.  make sure you install it in the pyenv in which you run barbican.20:02
silosdave-mccowan: failure looks like within barbican. it is installed within the venv i'm using. When I run unittests in the tox output where it says "py27 installed:" ldap3 is there but in "functional installed" section when I run functests ldap3 is not there.20:09
dave-mccowansilos, does the environment where you run bin/barbican.sh have ldap3?20:11
silosdave-mccowan: yea. I just ran a pip freeze and it's there.20:11
dave-mccowanwhat is the error that you're seeing?20:12
silosERROR: Failure: ImportError (No module named ldap3.utils.dn)20:13
siloslooks like 17 tests fail.20:14
dave-mccowansilos, is it the functional tests that show the import error, or the barbican service?  which tests?20:17
silosdave-mccowan: functional tests are showing the error when invoking tox. im trying to make a list of all failed tests.20:21
silosI think I'll just install a fresh barbican to make sure it's not a my system thing. I was updating an old one so maybe there's something lingering in the shadows of old barbican. If it worked for you odds are I messed something up.20:22
dave-mccowansilos.  something is definitely weird.  for one thing, none of the functional test code imports ldap.  so, i can not think of a way for the functional test code to give that error.  if you can grab a big cut and paste of your screen(s), including the traceback that went with the error, i can take a look.  you can put it in a pastebin.20:25
silosdave-mccowan. ok. I'll paste it in pastebin and put the link here. thanks for looking into it!20:30
arunkantkfarr_ and redrobot: Can you please look into https://review.openstack.org/#/c/211114/ comments.20:31
*** kfarr_ has quit IRC20:33
*** vivek-ebay has quit IRC20:36
*** lisaclark1 has joined #openstack-barbican20:36
*** kfarr has joined #openstack-barbican20:37
*** gyee has joined #openstack-barbican20:43
elmikoredrobot, kfarr, do you predict a new castellan being pushed to pypi before the feature freeze (Sep 1-3)?20:50
*** rellerreller has joined #openstack-barbican20:50
kfarrelmiko, I think so.  https://review.openstack.org/#/c/208569/ is the last big patch that needs to go in before the next release20:51
elmikokfarr: awesome, thanks =)20:52
elmikojust realized my unit tests are going to fail against the pypi version, and i'm trying to gauge how i can stage these changes to the sahara base20:53
*** pglass has quit IRC20:53
silosdave-mccowan: http://pastebin.com/6cZnEKp021:00
kfarrelmiko are you talking about Castellan unit tests?21:01
elmikokfarr: no, my sahara tests21:01
elmikoi'm trying to be ready when castellan gets pushed that i can push my changes to sahara21:02
kfarrelmiko, ok cool :)21:02
dave-mccowansilos interesting, looks like ldap3 should be in test-requirements.txt.  or, somehow that import chain should be fixed.  i don't think test/utils.py should be pulling in so much barbican source.21:07
silosdave-mccowan: I tried putting ldap3 into test-requirements.txt but tox screamed at me because it's already in requirements.txt21:11
dave-mccowansilos scream back: "then why can't my code find it"21:12
dave-mccowansilos :-)21:12
silosdave-mccowan: haha21:12
dave-mccowansilos what if you run "tox -e functional" instead of nosetests?21:13
silosdave-mccowan: same thing. I ran it both ways and both ways produced the same error.21:13
dave-mccowansummoning hockeynut21:14
kfarrsilos and you already ran tox -r ?21:23
siloskfarr: yup21:24
kfarr:/21:24
siloskfarr: have you ran functests lately?21:24
kfarrI could try, one sec21:24
kfarrsilos, this is what I get: http://pastebin.com/3anfQZwq21:28
silosahhh yea. Your environment has ldap3 in it but for some reason mine doesn't. Sounds like I just need to reinstall barbican.21:30
silosthanks!21:30
dave-mccowansilos maybe remove the .tox directory under barbican, then run tox?21:31
*** lisaclark1 has quit IRC21:33
*** dave-mcc_ has joined #openstack-barbican21:33
*** vivek-ebay has joined #openstack-barbican21:36
*** dave-mccowan has quit IRC21:36
*** vivek-ebay has quit IRC21:41
*** silos has left #openstack-barbican21:43
*** dave-mccowan has joined #openstack-barbican21:43
*** dave-mcc_ has quit IRC21:46
*** rellerreller has quit IRC21:51
*** alee_ has quit IRC21:58
*** igueths has quit IRC22:04
*** gyee has quit IRC22:06
*** vivek-ebay has joined #openstack-barbican22:09
openstackgerritDave McCowan proposed openstack/barbican-specs: Update Project Quotas design spec  https://review.openstack.org/21437022:38
*** kfarr has quit IRC22:40
*** spotz is now known as spotz_zzz22:43
*** ccneill has quit IRC22:50
arunkantwoodster_, thanks for your ACL client review. Can you please revisit my comments. I will make changes based on your reply comments.22:53
*** alee_ has joined #openstack-barbican22:58
*** dimtruck is now known as zz_dimtruck23:13
*** zz_dimtruck is now known as dimtruck23:13
*** gyee has joined #openstack-barbican23:15
*** rm_work is now known as rm_work|away23:15
*** dimtruck is now known as zz_dimtruck23:23
*** chlong has quit IRC23:29
*** rm_work|away is now known as rm_work23:47

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