*** lisaclark1 has joined #openstack-barbican | 00:12 | |
*** zz_dimtruck is now known as dimtruck | 00:18 | |
*** woodster_ has quit IRC | 00:30 | |
*** kfarr has quit IRC | 00:43 | |
*** crc32 has joined #openstack-barbican | 00:46 | |
*** dimtruck is now known as zz_dimtruck | 01:03 | |
*** everjeje has quit IRC | 01:32 | |
rm_you | that doesn't really make sense either, or fix the problem, unfortunately :( | 01:36 |
---|---|---|
rm_you | dave-mccowan: ^^ | 01:36 |
rm_you | the issue is still that between User A (LBaaS-Service-Account) and User B (Large LBaaS Customer) there could be hundreds to thousands of consumers utilized | 01:37 |
rm_you | and so if the quota is global, numbers that make sense for the majority won't make sense for a few important customer accounts | 01:37 |
rm_you | though, 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 fine | 01:38 |
rm_you | maybe 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_you | i think that's possibly the case, so maybe it doesn't matter | 01:38 |
dave-mccowan | the 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_you | ah | 01:39 |
*** zz_dimtruck is now known as dimtruck | 01:39 | |
rm_you | yeah ok | 01:39 |
rm_you | so if the quotas are per-tenant, we have no problem | 01:39 |
rm_you | err hmm | 01:39 |
rm_you | so, consumers ... should charge the account MAKING the consumer... | 01:40 |
rm_you | but i don't know how that would be tracked | 01:40 |
rm_you | because it's just an entry on the container | 01:40 |
rm_you | which is technically owned by the customer | 01:40 |
rm_you | err, 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_you | if it's against User A's quota, how is that tracked? | 01:41 |
rm_you | I can't think of how it would be | 01:41 |
dave-mccowan | i added a project tracker for consumer entries in this CR https://review.openstack.org/#/c/212876/ | 01:42 |
rm_you | It 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 using | 01:42 |
rm_you | will look at that | 01:42 |
rm_you | AH | 01:43 |
rm_you | you added a reference to the project-id of the registering user | 01:43 |
rm_you | that works | 01:43 |
openstackgerrit | Kaitlin Farr proposed openstack/castellan: Update Barbican wrapper https://review.openstack.org/208569 | 01:51 |
openstackgerrit | Kaitlin Farr proposed openstack/castellan: Update Barbican wrapper https://review.openstack.org/208569 | 01:53 |
openstackgerrit | Dave McCowan proposed openstack/barbican: Introduce the key-manager role https://review.openstack.org/213570 | 02:14 |
*** lisaclark1 has quit IRC | 02:55 | |
openstackgerrit | Dave McCowan proposed openstack/barbican: Introduce the key-manager role https://review.openstack.org/213570 | 03:10 |
*** vivek-ebay has quit IRC | 03:17 | |
*** crc32 has quit IRC | 03:31 | |
openstackgerrit | Merged openstack/castellan: Activate pep8 check that _ is imported https://review.openstack.org/209142 | 03:32 |
*** mixos has joined #openstack-barbican | 03:46 | |
*** vivek-ebay has joined #openstack-barbican | 03:48 | |
*** vivek-eb_ has joined #openstack-barbican | 03:51 | |
*** vivek-ebay has quit IRC | 03:53 | |
openstackgerrit | Dave McCowan proposed openstack/barbican: Introduce the key-manager:service-admin role https://review.openstack.org/213570 | 03:57 |
*** dimtruck is now known as zz_dimtruck | 04:00 | |
*** mixos has quit IRC | 04:36 | |
*** mixos has joined #openstack-barbican | 04:38 | |
*** dave-mccowan has quit IRC | 04:47 | |
*** xaeth_afk is now known as xaeth | 04:49 | |
*** gyee has quit IRC | 05:04 | |
*** vivek-ebay has joined #openstack-barbican | 05:23 | |
*** vivek-eb_ has quit IRC | 05:26 | |
*** Nirupama has joined #openstack-barbican | 05:59 | |
*** vivek-ebay has quit IRC | 06:12 | |
*** rm_you has quit IRC | 06:37 | |
*** shohel has joined #openstack-barbican | 06:39 | |
*** rm_work is now known as rm_work|away | 06:42 | |
*** openstackgerrit_ has joined #openstack-barbican | 06:43 | |
*** rm_you has joined #openstack-barbican | 06:45 | |
*** rm_work|away is now known as rm_work | 07:14 | |
*** everjeje has joined #openstack-barbican | 07:45 | |
*** d0ugal has left #openstack-barbican | 08:28 | |
*** d0ugal has joined #openstack-barbican | 08:56 | |
*** mixos has quit IRC | 09:30 | |
*** shohel has quit IRC | 09:51 | |
*** shohel has joined #openstack-barbican | 10:01 | |
*** mmdurrant has quit IRC | 10:09 | |
*** peter-hamilton has joined #openstack-barbican | 11:00 | |
*** zz_dimtruck is now known as dimtruck | 11:26 | |
*** DuncanT has quit IRC | 11:38 | |
*** dimtruck is now known as zz_dimtruck | 11:51 | |
*** zz_dimtruck is now known as dimtruck | 11:51 | |
*** alee_ has quit IRC | 11:55 | |
*** mmdurrant has joined #openstack-barbican | 11:58 | |
*** mixos has joined #openstack-barbican | 12:15 | |
*** mixos has quit IRC | 12:21 | |
*** dave-mccowan has joined #openstack-barbican | 12:23 | |
*** Nirupama has quit IRC | 12:38 | |
*** lisaclark1 has joined #openstack-barbican | 12:40 | |
*** lisaclark1 has quit IRC | 12:49 | |
*** chlong has joined #openstack-barbican | 12:52 | |
*** lisaclark1 has joined #openstack-barbican | 12:52 | |
*** lisaclark1 has quit IRC | 13:21 | |
*** alee_ has joined #openstack-barbican | 13:23 | |
*** lisaclark1 has joined #openstack-barbican | 13:24 | |
*** SheenaG has joined #openstack-barbican | 13:36 | |
*** rellerreller has joined #openstack-barbican | 13:39 | |
*** SheenaG has left #openstack-barbican | 13:40 | |
*** dimtruck is now known as zz_dimtruck | 13:41 | |
*** zz_dimtruck is now known as dimtruck | 13:44 | |
*** lisaclark1 has quit IRC | 14:02 | |
*** jvrbanac has quit IRC | 14:02 | |
*** dimtruck is now known as zz_dimtruck | 14:02 | |
*** DuncanT has joined #openstack-barbican | 14:03 | |
openstackgerrit | Steve Heyman proposed openstack/barbican: Use config rather than hardcoded admin id from Quotas test https://review.openstack.org/213860 | 14:07 |
*** jvrbanac has joined #openstack-barbican | 14:09 | |
*** lisaclark1 has joined #openstack-barbican | 14:10 | |
*** spotz_zzz is now known as spotz | 14:14 | |
*** kfarr has joined #openstack-barbican | 14:14 | |
*** zz_dimtruck is now known as dimtruck | 14:31 | |
*** mixos has joined #openstack-barbican | 14:33 | |
*** ccneill has joined #openstack-barbican | 14:35 | |
*** ccneill_ has joined #openstack-barbican | 14:36 | |
*** ccneill has quit IRC | 14:39 | |
*** mjg59 has quit IRC | 14:41 | |
*** lisaclark1 has quit IRC | 14:42 | |
*** mjg59 has joined #openstack-barbican | 14:47 | |
*** igueths has joined #openstack-barbican | 14:49 | |
*** shohel has quit IRC | 14:55 | |
*** mixos has quit IRC | 14:58 | |
*** jorge_munoz has quit IRC | 14:59 | |
*** mixos has joined #openstack-barbican | 14:59 | |
*** lisaclark1 has joined #openstack-barbican | 15:01 | |
*** silos has joined #openstack-barbican | 15:03 | |
*** rellerreller has quit IRC | 15:03 | |
*** ccneill_ is now known as ccneill | 15:04 | |
*** lisaclark1 has quit IRC | 15:09 | |
*** kfarr has quit IRC | 15:14 | |
*** lisaclark1 has joined #openstack-barbican | 15:14 | |
*** pglass has joined #openstack-barbican | 15:16 | |
*** pglass has quit IRC | 15:18 | |
*** woodster_ has joined #openstack-barbican | 15:18 | |
*** pglass has joined #openstack-barbican | 15:24 | |
*** woodster_ has quit IRC | 15:36 | |
*** DuncanT has quit IRC | 15:36 | |
*** rm_work is now known as rm_work|away | 15:43 | |
*** darrenmoffat has quit IRC | 15:44 | |
*** darrenmoffat has joined #openstack-barbican | 15:45 | |
*** SheenaG1 has joined #openstack-barbican | 15:50 | |
*** mixos has quit IRC | 15:58 | |
*** SheenaG1 has left #openstack-barbican | 15:59 | |
*** mixos has joined #openstack-barbican | 16:02 | |
*** lisaclark1 has quit IRC | 16:03 | |
*** woodster_ has joined #openstack-barbican | 16:03 | |
pglass | hey 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#L127 | 16:09 |
pglass | how do you run the tests to work with those attributes? are you still using testr for that? | 16:10 |
*** DuncanT has joined #openstack-barbican | 16:12 | |
*** kfarr has joined #openstack-barbican | 16:17 | |
kfarr | redrobot, 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_work | 16:27 | |
*** everjeje has quit IRC | 16:32 | |
*** xaeth is now known as xaeth_afk | 16:38 | |
*** mixos has quit IRC | 16:39 | |
redrobot | kfarr fine by me. | 16:42 |
redrobot | kfarr sorry I didn't get to it quckly :( | 16:45 |
redrobot | kfarr send me the cr link when you have it so I can go +1 it | 16:45 |
*** vivek-ebay has joined #openstack-barbican | 16:45 | |
*** lisaclark1 has joined #openstack-barbican | 16:50 | |
*** alee_ is now known as alee_lunch | 17:04 | |
kfarr | redrobot, no worries! Here it is: https://review.openstack.org/#/c/214280/1 | 17:04 |
*** spotz is now known as spotz_zzz | 17:05 | |
*** lisaclark1 has quit IRC | 17:10 | |
*** lisaclark1 has joined #openstack-barbican | 17:10 | |
*** silos has left #openstack-barbican | 17:37 | |
*** vivek-ebay has quit IRC | 17:47 | |
*** vivek-ebay has joined #openstack-barbican | 17:53 | |
*** mixos has joined #openstack-barbican | 18:00 | |
*** vivek-ebay has quit IRC | 18:02 | |
*** chlong has quit IRC | 18:06 | |
*** rellerreller has joined #openstack-barbican | 18:08 | |
*** gyee has joined #openstack-barbican | 18:08 | |
*** lisaclark1 has quit IRC | 18:09 | |
*** chlong has joined #openstack-barbican | 18:09 | |
*** openstackgerrit_ has quit IRC | 18:11 | |
*** spotz_zzz is now known as spotz | 18:23 | |
*** gyee has quit IRC | 18:31 | |
*** gyee has joined #openstack-barbican | 18:32 | |
*** silos has joined #openstack-barbican | 18:33 | |
silos | do any of the gates run functional tests for barbican? | 18:33 |
*** kfarr_ has joined #openstack-barbican | 18: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 barbican | 18:39 |
*** kfarr has quit IRC | 18:39 | |
silos | kfarr: thanks! | 18:40 |
*** alee_lunch is now known as alee_ | 18:50 | |
*** gyee has quit IRC | 19:00 | |
*** vivek-ebay has joined #openstack-barbican | 19:03 | |
*** vivek-eb_ has joined #openstack-barbican | 19:07 | |
*** vivek-ebay has quit IRC | 19:07 | |
*** vivek-eb_ has quit IRC | 19:11 | |
*** peter-hamilton has quit IRC | 19:17 | |
rm_work | redrobot / redrobot / hockeynut / jvrbanac / chellygel anyone around in Castle? | 19:26 |
*** mixos has quit IRC | 19:30 | |
*** vivek-ebay has joined #openstack-barbican | 19:35 | |
*** rellerreller has quit IRC | 19:42 | |
silos | dave-mccowan: ping | 19:50 |
dave-mccowan | solos pong o/ | 19:55 |
dave-mccowan | silos ^^ | 19:55 |
silos | ddave-mccowan: hey!! | 19:56 |
silos | dave-mccowan: did you have a problem running functests after putting in ldap3 into requirements? | 19:56 |
dave-mccowan | silos not after installing ldap3. :-) you can tox -r, to reinstall your .tox environment or pip install ldap3 | 19:57 |
silos | hmmm i'm gonna try the tox -r command. haven't tried that yet. | 19:58 |
silos | The weird part is its an installed python package but when I run tox it can't find it :-/ | 19:58 |
dave-mccowan | is 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 |
silos | dave-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-mccowan | silos, does the environment where you run bin/barbican.sh have ldap3? | 20:11 |
silos | dave-mccowan: yea. I just ran a pip freeze and it's there. | 20:11 |
dave-mccowan | what is the error that you're seeing? | 20:12 |
silos | ERROR: Failure: ImportError (No module named ldap3.utils.dn) | 20:13 |
silos | looks like 17 tests fail. | 20:14 |
dave-mccowan | silos, is it the functional tests that show the import error, or the barbican service? which tests? | 20:17 |
silos | dave-mccowan: functional tests are showing the error when invoking tox. im trying to make a list of all failed tests. | 20:21 |
silos | I 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-mccowan | silos. 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 |
silos | dave-mccowan. ok. I'll paste it in pastebin and put the link here. thanks for looking into it! | 20:30 |
arunkant | kfarr_ and redrobot: Can you please look into https://review.openstack.org/#/c/211114/ comments. | 20:31 |
*** kfarr_ has quit IRC | 20:33 | |
*** vivek-ebay has quit IRC | 20:36 | |
*** lisaclark1 has joined #openstack-barbican | 20:36 | |
*** kfarr has joined #openstack-barbican | 20:37 | |
*** gyee has joined #openstack-barbican | 20:43 | |
elmiko | redrobot, kfarr, do you predict a new castellan being pushed to pypi before the feature freeze (Sep 1-3)? | 20:50 |
*** rellerreller has joined #openstack-barbican | 20:50 | |
kfarr | elmiko, I think so. https://review.openstack.org/#/c/208569/ is the last big patch that needs to go in before the next release | 20:51 |
elmiko | kfarr: awesome, thanks =) | 20:52 |
elmiko | just 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 base | 20:53 |
*** pglass has quit IRC | 20:53 | |
silos | dave-mccowan: http://pastebin.com/6cZnEKp0 | 21:00 |
kfarr | elmiko are you talking about Castellan unit tests? | 21:01 |
elmiko | kfarr: no, my sahara tests | 21:01 |
elmiko | i'm trying to be ready when castellan gets pushed that i can push my changes to sahara | 21:02 |
kfarr | elmiko, ok cool :) | 21:02 |
dave-mccowan | silos 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 |
silos | dave-mccowan: I tried putting ldap3 into test-requirements.txt but tox screamed at me because it's already in requirements.txt | 21:11 |
dave-mccowan | silos scream back: "then why can't my code find it" | 21:12 |
dave-mccowan | silos :-) | 21:12 |
silos | dave-mccowan: haha | 21:12 |
dave-mccowan | silos what if you run "tox -e functional" instead of nosetests? | 21:13 |
silos | dave-mccowan: same thing. I ran it both ways and both ways produced the same error. | 21:13 |
dave-mccowan | summoning hockeynut | 21:14 |
kfarr | silos and you already ran tox -r ? | 21:23 |
silos | kfarr: yup | 21:24 |
kfarr | :/ | 21:24 |
silos | kfarr: have you ran functests lately? | 21:24 |
kfarr | I could try, one sec | 21:24 |
kfarr | silos, this is what I get: http://pastebin.com/3anfQZwq | 21:28 |
silos | ahhh yea. Your environment has ldap3 in it but for some reason mine doesn't. Sounds like I just need to reinstall barbican. | 21:30 |
silos | thanks! | 21:30 |
dave-mccowan | silos maybe remove the .tox directory under barbican, then run tox? | 21:31 |
*** lisaclark1 has quit IRC | 21:33 | |
*** dave-mcc_ has joined #openstack-barbican | 21:33 | |
*** vivek-ebay has joined #openstack-barbican | 21:36 | |
*** dave-mccowan has quit IRC | 21:36 | |
*** vivek-ebay has quit IRC | 21:41 | |
*** silos has left #openstack-barbican | 21:43 | |
*** dave-mccowan has joined #openstack-barbican | 21:43 | |
*** dave-mcc_ has quit IRC | 21:46 | |
*** rellerreller has quit IRC | 21:51 | |
*** alee_ has quit IRC | 21:58 | |
*** igueths has quit IRC | 22:04 | |
*** gyee has quit IRC | 22:06 | |
*** vivek-ebay has joined #openstack-barbican | 22:09 | |
openstackgerrit | Dave McCowan proposed openstack/barbican-specs: Update Project Quotas design spec https://review.openstack.org/214370 | 22:38 |
*** kfarr has quit IRC | 22:40 | |
*** spotz is now known as spotz_zzz | 22:43 | |
*** ccneill has quit IRC | 22:50 | |
arunkant | woodster_, 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-barbican | 22:58 | |
*** dimtruck is now known as zz_dimtruck | 23:13 | |
*** zz_dimtruck is now known as dimtruck | 23:13 | |
*** gyee has joined #openstack-barbican | 23:15 | |
*** rm_work is now known as rm_work|away | 23:15 | |
*** dimtruck is now known as zz_dimtruck | 23:23 | |
*** chlong has quit IRC | 23:29 | |
*** rm_work|away is now known as rm_work | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!