Tuesday, 2015-02-24

kfox1111PBR_VERSION=2015.1.dev8500:00
kfox1111/usr/bin/python setup.py install -O1 --root /root/barbican/build/BUILDROOT/openstack-barbican-2015.1-1.dev85.el7.x86_6400:00
kfox1111creating UNKNOWN.egg-info00:01
kfox1111bleh. :/00:01
*** nkinder has quit IRC00:05
kfox1111something's still broken. not sure what. :/00:07
woodster_kfox1111, look for xaeth tomorrow in IRC to help out with your issues00:23
kfox1111ok. thanks.00:27
*** dimtruck is now known as zz_dimtruck00:29
kfox1111hmmm..... No distributions at all found for pycoffee00:37
kfox1111hmm... from barbican.openstack.common import log00:52
kfox1111ImportError: cannot import name log00:52
*** lisaclark1 has joined #openstack-barbican00:54
*** zz_dimtruck is now known as dimtruck00:56
*** dave-mccowan has quit IRC01:00
*** atiwari has quit IRC01:07
kfox1111how do I make the inital sqlite db?01:08
jvrbanackfox1111, it should be olso_log now01:10
kfox1111tried replacing that. not enough arguments.01:10
kfox1111I pulled from trunk.01:10
jvrbanacmake sure you're passing CONF into log.setup01:11
kfox1111there isn't a CONF in that file.01:11
jvrbanacwhich file?01:12
kfox1111barbican-db-manage.py01:12
kfox1111its broken in trunk.01:12
jvrbanacLovely...01:12
kfox1111I commented out all the import and all the LOG lines. it getsfarther, but bombs out now with:01:14
*** dave-mccowan has joined #openstack-barbican01:14
kfox1111No handlers could be found for logger "barbican.model.migration.commands"01:14
*** lisaclark1 has quit IRC01:16
kfox1111I'm afraid I'm going to spend more time simply trying to get barbican working, then patching it to do what I need. :/01:17
*** david-lyle is now known as david-lyle_afk01:19
jvrbanackfox1111, Random question. Why are you running the db manager script?01:19
kfox1111trying to create the db.01:19
jvrbanacSoo all you should need is a username and password with access to a db. Barbican will automatically create the tables you need01:20
kfox1111hmm.... its not...01:21
kfox1111(just using the default sqlite for testing...)01:21
kfox1111ah... extra slash in the sqlite:////01:21
kfox1111it made it now.01:21
jvrbanackfox1111, w00t!01:21
jvrbanacBtw, I run Barbican with postgres(running in a docker container). Here is what I do to get it running: https://gist.github.com/jmvrbanac/5fbbfdc15db9c7c9efd001:22
kfox1111cool. I'll take a look. :)01:22
kfox1111just trying to put in a couple of records, so I can write this plugin.01:22
kfox1111if it does work, then I'll deploy it for real.01:22
jvrbanac:)01:23
kfox1111I'm not even sure this will work yet.01:23
kfox1111hmm... client's complaining about creds. do I just give it dummy creds?01:26
jvrbanaccreds for what?01:26
kfox1111oh. I guess it probably needs a way to know what endpoint to talk to, and what project to use...01:26
jvrbanackfox1111, what's the error you're seeing?01:26
kfox1111ERROR: please specify authentication credentials01:27
kfox1111from python-barbicanclient command 'barbican'01:27
kfox1111ah. --no-auth01:28
jvrbanac:D01:28
kfox1111barbican --endpoint http://localhost:9311 --no-auth --os-project-id foo secret list01:28
jvrbanacdid that work?01:28
kfox1111yeah. empty list. lets upload....01:28
kfox1111you have to specify the whole url to container get?01:35
*** bdpayne has quit IRC01:37
kfox1111hmm....01:37
jvrbanackfox1111, I believe so01:37
kfox1111barbican --endpoint http://localhost:9311 --no-auth --os-project-id foo secret get -d http://localhost:9311/v1/secrets/da097cc8-7b51-4a50-befb-19b86964deba01:38
kfox1111'SecretManager' object has no attribute 'decrypt'01:38
kfox1111no other openstack puts url bits in. what happens if you want to move your barbican service around?01:38
kfox1111hmm.... so it looks like an odity in the client. curl doesn't seem to need it.01:41
kfox1111but the containers resource does. :/01:42
kfox1111how very strange.01:43
kfox1111gota go.... gota think this one through a bit more....01:43
*** jamielennox is now known as jamielennox|away01:46
*** kfox1111 has quit IRC01:52
*** nkinder has joined #openstack-barbican01:55
*** gyee has quit IRC01:55
*** jamielennox|away is now known as jamielennox02:12
openstackgerritMerged openstack/barbican: Making RootController load child controller at runtime  https://review.openstack.org/15849602:22
*** kgriffs is now known as kgriffs|afk02:23
*** kebray has quit IRC02:24
*** lisaclark1 has joined #openstack-barbican02:28
lisaclark1any barbicaneers online?  i have a CR that I'd love to get a set of eyes on for a workflow: https://review.openstack.org/#/c/157920/02:55
jvrbanaclisaclark, done02:57
lisaclark1woot woot!  thanks jvrbanac!02:57
jvrbanaclisaclark, np02:58
lisaclark1hmmmm…. looking at that CR and the change myself.  so the change implies that based on timing, the test may be making stronger assertions (secret_ref is set) when the status comes back immediately as ACTIVE.  or is there no possible way for a status to come back on an order create as ACTIVE, and the if statement is truly not necessary?03:01
jvrbanaclisaclark1, Sooo I think it depends on the case the test is executed under. If the test is executed against a env with queue and workers then it will take a short while to execute the action. If the order hasn't been processed there is no secret_ref03:05
jvrbanaclisaclark1, I think steve is just testing the default information set03:06
jvrbanacrather than whether or not it produces a realized secret03:06
jvrbanaclisaclark1, I think I agree that we probably shouldn't asserting the information03:07
jvrbanaclisaclark1, I added a comment on the CR about it03:08
lisaclark1thanks for explaining jvrbanac.  i'll leave it be ;-)03:10
*** kebray has joined #openstack-barbican03:10
jvrbanaclisaclark1, I -1'ed the CR asking Thomas to remove it or add something that waits until the order properly completes03:11
*** lisaclark1 has quit IRC03:13
*** igueths has joined #openstack-barbican03:43
*** kebray has quit IRC03:51
*** kgriffs|afk is now known as kgriffs04:29
*** dave-mccowan has quit IRC04:38
*** dimtruck is now known as zz_dimtruck05:05
*** jamielennox is now known as jamielennox|away05:33
*** jamielennox|away is now known as jamielennox05:34
*** chlong has quit IRC07:34
*** woodster_ has quit IRC08:00
*** kgriffs is now known as kgriffs|afk08:06
*** kgriffs|afk is now known as kgriffs08:57
*** kgriffs is now known as kgriffs|afk09:07
*** darrenmoffat has quit IRC09:16
*** openstackgerrit has quit IRC09:36
*** openstackgerrit has joined #openstack-barbican09:36
openstackgerritMerged openstack/barbican: Fix security bug with host HTTP header field  https://review.openstack.org/15723109:48
*** jaosorior has joined #openstack-barbican09:50
*** darrenmoffat has joined #openstack-barbican10:01
*** jamielennox is now known as jamielennox|away10:42
*** kgriffs|afk is now known as kgriffs10:42
*** kgriffs is now known as kgriffs|afk10:52
*** jamielennox|away is now known as jamielennox10:58
*** jamielennox is now known as jamielennox|away11:01
*** jamielennox|away is now known as jamielennox11:02
*** jamielennox is now known as jamielennox|away11:08
*** jamielennox|away is now known as jamielennox11:10
*** jamielennox is now known as jamielennox|away11:38
*** jamielennox|away is now known as jamielennox11:41
*** chlong has joined #openstack-barbican11:57
*** zz_dimtruck is now known as dimtruck12:36
*** chlong has quit IRC12:44
*** kgriffs|afk is now known as kgriffs12:58
*** kgriffs is now known as kgriffs|afk13:08
*** jamielennox is now known as jamielennox|away13:18
*** jamielennox|away is now known as jamielennox13:20
*** woodster_ has joined #openstack-barbican13:44
*** dave-mccowan has joined #openstack-barbican13:46
*** kgriffs|afk is now known as kgriffs13:58
*** alee has quit IRC14:04
*** dimtruck is now known as zz_dimtruck14:04
*** kgriffs is now known as kgriffs|afk14:08
*** alee has joined #openstack-barbican14:16
*** nkinder has quit IRC14:18
*** zz_dimtruck is now known as dimtruck14:35
*** nkinder has joined #openstack-barbican14:52
*** ametts has joined #openstack-barbican14:52
*** SheenaG1 has joined #openstack-barbican14:54
openstackgerritAde Lee proposed openstack/barbican: Modified plugin contract to include barbican-meta-dto  https://review.openstack.org/15791914:54
aleewoodster_, hockeynut , redrobot ^^ updated CR with your suggested changes14:54
*** dimtruck is now known as zz_dimtruck14:57
*** SheenaG1 has quit IRC14:58
*** SheenaG1 has joined #openstack-barbican15:02
*** paul_glass has joined #openstack-barbican15:09
*** zz_dimtruck is now known as dimtruck15:19
*** igueths_ has joined #openstack-barbican15:33
openstackgerritMerged openstack/python-barbicanclient: Adds orders behaviors and smoke tests.  https://review.openstack.org/15713015:38
*** kebray has joined #openstack-barbican15:39
*** david-lyle_afk is now known as david-lyle15:47
*** kebray has quit IRC15:50
*** kebray has joined #openstack-barbican15:50
*** kebray has quit IRC15:57
jrollhey folks, where is the pecan config defined in barbican?16:12
*** jamielennox is now known as jamielennox|away16:15
*** jamielennox|away is now known as jamielennox16:16
jaosoriorjroll: There is none, directly, as far as I know that kind of stuff is handled from barbican-api.conf16:38
woodster_jroll: there is only one config file if that's what you mean? The pecan app is created in barbican/app/app.py module16:38
jrollwoodster_: that's what I was looking for, ty :)16:39
*** dave-mccowan has quit IRC16:49
*** kebray has joined #openstack-barbican17:03
*** jkf has joined #openstack-barbican17:24
*** SheenaG1 has quit IRC17:33
*** lisaclark1 has joined #openstack-barbican17:33
*** SheenaG1 has joined #openstack-barbican17:34
*** alee has quit IRC17:41
*** alee has joined #openstack-barbican17:43
woodster_alee: the cr looks good, but could you cover the missing lines? Not too many it looks like17:49
aleewoodster_, looks like 3 lines?17:50
woodster_alee: yep, so may not be too painful?17:51
aleewoodster_, ok - let me look.  Is there a way to run this coverage test prior to sumitting a CR?17:52
woodster_alee: tox -e cover will do it17:53
*** lisaclark1 has quit IRC17:53
aleewoodster_, ok -- I have a meeting soon, but I reckon I can do while folks are talking ..17:54
woodster_alee: ha yeah I'm doing some of that now from my phone :)17:55
woodster_alee: our team is busy with a company conference through Thursday17:55
aleewoodster_, through thursday ?  egads - thats a long conference call17:58
woodster_alee: ha no kidding!! Dogbert is our ceo! It's an internal tech conference so not as bad as that17:59
openstackgerritDouglas Mendizábal proposed openstack/python-barbicanclient: Adds positive orders functional tests  https://review.openstack.org/15845418:00
*** bdpayne has joined #openstack-barbican18:01
openstackgerritJuan Antonio Osorio Robles proposed openstack/barbican: Refactor Orders resource to use repository factories  https://review.openstack.org/15880218:05
kragnizwoodster_: I didn't know internal tech conferences were a thing!18:06
kragnizwoodster_: which company?18:06
woodster_kragniz: Rackspace18:06
kragnizsounds fun!18:07
woodster_kragniz: yeah it's a good way to see what other folks are up to for sure18:13
*** SheenaG11 has joined #openstack-barbican18:17
*** SheenaG1 has quit IRC18:19
*** igueths_ has quit IRC18:23
*** gyee has joined #openstack-barbican18:31
*** ametts has quit IRC18:58
*** kgriffs|afk is now known as kgriffs19:04
*** kgriffs is now known as kgriffs|afk19:12
*** crc32 has joined #openstack-barbican19:13
*** kgriffs|afk is now known as kgriffs19:14
*** kgriffs is now known as kgriffs|afk19:42
*** kgriffs|afk is now known as kgriffs19:43
*** jkf has quit IRC19:51
*** rm_work is now known as rm_work|away19:59
*** kgriffs is now known as kgriffs|afk20:00
*** lisaclark1 has joined #openstack-barbican20:02
*** rm_work|away is now known as rm_work20:02
*** lisaclark1 has quit IRC20:04
*** lisaclark1 has joined #openstack-barbican20:08
*** jaosorior has quit IRC20:41
*** ametts has joined #openstack-barbican20:48
*** lisaclark1 has quit IRC20:51
*** jkf has joined #openstack-barbican20:55
*** lisaclark1 has joined #openstack-barbican20:55
*** kgriffs|afk is now known as kgriffs21:01
*** kgriffs is now known as kgriffs|afk21:10
aleewoodster_, ping21:22
woodster_alee: hello21:22
aleewoodster_, the coverage lines are in a function that really has no tests at all right now -- check_certificate_status()21:23
aleewoodster_, so its not just 3 lines21:23
aleewoodster_,  I think that code has not really been exercised because we have not put in the cert retry code yet21:24
aleewoodster_, I do think that code needs unit tests - but maybe better as a separate CR?21:24
woodster_alee: that's cool if you add a cover comment like that to the CR that works for me21:25
aleeok - doing that now21:25
woodster_alee: ...the bit about deferring to retry that issue21:26
aleewoodster_, done21:28
aleewoodster_, go workflow ..21:28
woodster_alee: done21:30
aleewoodster_, hockeynut - yay! thanks21:30
*** lisaclark1 has quit IRC21:47
openstackgerritMerged openstack/barbican: Modified plugin contract to include barbican-meta-dto  https://review.openstack.org/15791921:54
*** lisaclark1 has joined #openstack-barbican21:57
*** lisaclark1 has quit IRC21:57
*** lisaclark1 has joined #openstack-barbican21:58
*** gyee has quit IRC22:09
*** rm_work is now known as rm_work|away22:16
*** gyee has joined #openstack-barbican22:17
*** gyee has quit IRC22:18
*** gyee has joined #openstack-barbican22:26
*** jaosorior has joined #openstack-barbican22:33
*** gyee has quit IRC22:34
*** openstackgerrit has quit IRC22:37
*** openstackgerrit has joined #openstack-barbican22:37
*** nkinder has quit IRC22:39
*** lisaclark1 has quit IRC22:44
*** rm_work|away is now known as rm_work23:00
*** paul_glass has quit IRC23:02
*** ametts has quit IRC23:09
*** chlong has joined #openstack-barbican23:19
*** dimtruck is now known as zz_dimtruck23:27
*** gyee has joined #openstack-barbican23:27
*** kebray has quit IRC23:32
*** chlong_ has joined #openstack-barbican23:50
*** bdpayne has quit IRC23:58

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