Wednesday, 2015-03-11

*** kgriffs is now known as kgriffs|afk00:05
*** david-lyle_afk has quit IRC00:34
openstackgerritJohn Vrbanac proposed openstack/barbican: Replacing functional test authentication hookup  https://review.openstack.org/16322900:39
openstackgerritArun Kant proposed openstack/barbican: Adding per secret ACL support  https://review.openstack.org/16162001:01
*** zz_dimtruck is now known as dimtruck01:18
*** crc32 has joined #openstack-barbican01:20
*** crc32 has quit IRC01:20
*** david-lyle_afk has joined #openstack-barbican01:21
*** crc32 has joined #openstack-barbican01:22
*** kebray has quit IRC01:28
*** woodster_ has quit IRC02:00
*** SheenaG1 has joined #openstack-barbican02:28
*** david-lyle_afk has quit IRC02:36
*** alee has quit IRC02:37
*** kfarr has quit IRC02:40
*** SheenaG1 has quit IRC02:46
*** alee has joined #openstack-barbican02:50
*** alee has quit IRC02:55
*** alee has joined #openstack-barbican02:56
*** kebray has joined #openstack-barbican02:58
*** alee has quit IRC03:00
*** alee has joined #openstack-barbican03:13
*** david-lyle_afk has joined #openstack-barbican03:17
*** alee has quit IRC03:22
*** alee has joined #openstack-barbican03:23
*** alee has quit IRC03:28
*** alee has joined #openstack-barbican03:29
*** alee has quit IRC03:34
*** alee has joined #openstack-barbican03:46
*** alee has quit IRC03:51
*** alee has joined #openstack-barbican04:02
*** alee has quit IRC04:07
*** dimtruck is now known as zz_dimtruck04:10
*** crc32 has quit IRC04:39
*** alee has joined #openstack-barbican06:19
*** kebray has quit IRC06:27
*** rm_you has quit IRC06:41
*** gitorres has joined #openstack-barbican06:46
openstackgerritJohn Vrbanac proposed openstack/barbican: Replacing functional test authentication hookup  https://review.openstack.org/16322906:52
* jvrbanac crosses fingers06:53
*** gitorres has quit IRC07:11
*** gitorres has joined #openstack-barbican07:11
openstackgerritJohn Vrbanac proposed openstack/barbican: Replacing functional test authentication hookup  https://review.openstack.org/16322907:39
* jvrbanac double crosses fingers07:40
*** chlong has quit IRC08:01
jvrbanacw00t!08:03
*** gitorres has quit IRC08:08
*** chlong has joined #openstack-barbican10:23
*** gitorres has joined #openstack-barbican11:18
*** darrenmoffat has quit IRC11:45
*** darrenmoffat has joined #openstack-barbican11:46
openstackgerritMerged openstack/python-barbicanclient: Fix when submitting with empty string, none and zero  https://review.openstack.org/16275111:48
*** dave-mccowan has joined #openstack-barbican12:40
*** dave-mccowan has quit IRC13:06
*** dave-mccowan has joined #openstack-barbican13:07
*** rellerreller has joined #openstack-barbican13:13
*** dave-mccowan has quit IRC13:20
*** dave-mccowan has joined #openstack-barbican13:32
*** rellerreller has quit IRC13:40
*** SheenaG1 has joined #openstack-barbican13:47
*** ametts has joined #openstack-barbican13:52
*** SheenaG1 has quit IRC13:59
*** dave-mccowan has quit IRC14:02
*** dhellmann has joined #openstack-barbican14:39
dhellmanndougwig: are you still having trouble with tempest and oslo.log?14:39
*** jorge_munoz has joined #openstack-barbican14:42
jvrbanacredrobot, ^^14:51
*** kebray has joined #openstack-barbican14:55
*** paul_glass has joined #openstack-barbican14:58
*** kebray has quit IRC15:01
*** rellerreller has joined #openstack-barbican15:05
*** SheenaG1 has joined #openstack-barbican15:06
*** rellerreller has quit IRC15:11
*** rellerreller has joined #openstack-barbican15:12
rellerrellerjvrbanac15:12
rellerrellerjvrbanac What was the link to the test CR you had?15:13
*** kgriffs|afk is now known as kgriffs15:18
openstackgerritNathan Reller proposed openstack/barbican: Standardized Secret Encoding  https://review.openstack.org/16044415:22
*** rellerreller has quit IRC15:22
*** rellerreller has joined #openstack-barbican15:22
*** zz_dimtruck is now known as dimtruck15:24
*** alee has quit IRC15:26
*** david-lyle_afk is now known as david-lyle15:28
openstackgerritThomas Dinkjian proposed openstack/python-barbicanclient: First set of negative functional test for secrets  https://review.openstack.org/16315615:30
redrobothi dhellmann! Yeah, we spent some time trying to figure out the right fix for the tempest/oslo issue, then decided to drop tempest in favor of tempest-lib and keystoneclient: https://review.openstack.org/#/c/162777/15:33
*** igueths has joined #openstack-barbican15:47
iguethsHi all.16:03
*** tdink has quit IRC16:12
*** kgriffs has quit IRC16:13
*** jvrbanac has quit IRC16:13
*** eglute has quit IRC16:13
*** codekobe has quit IRC16:13
*** briancurtin has quit IRC16:13
*** chellygel has quit IRC16:14
*** lbragstad has quit IRC16:14
*** reaperhulk has quit IRC16:14
*** jroll has quit IRC16:14
*** russell_h has quit IRC16:14
*** eglute has joined #openstack-barbican16:15
*** kgriffs has joined #openstack-barbican16:15
*** tdink has joined #openstack-barbican16:15
*** jroll has joined #openstack-barbican16:15
*** russell_h has joined #openstack-barbican16:15
*** reaperhulk has joined #openstack-barbican16:15
*** lbragstad has joined #openstack-barbican16:15
*** russell_h has quit IRC16:15
*** russell_h has joined #openstack-barbican16:15
*** chellygel has joined #openstack-barbican16:15
*** bdpayne has joined #openstack-barbican16:16
*** jvrbanac has joined #openstack-barbican16:16
*** jroll has quit IRC16:16
*** jroll has joined #openstack-barbican16:16
*** briancurtin has joined #openstack-barbican16:19
*** codekobe has joined #openstack-barbican16:20
rellerrellerjvrbanac Could you send me the link to your testing CR again?16:21
chellygelrellerreller, do you mean the refactor work?16:33
chellygelrellerreller, https://review.openstack.org/#/c/162441/ is for orders16:33
chellygelrellerreller, https://review.openstack.org/#/c/162795/ is for secrets16:33
rellerrellerchellygel Perhaps. I'm not sure. jvrbanac said he was working on some ideas for refactoring the tests.16:34
rellerrellerchellygel It looks like the functional tests but running in unit tests. Is that the idea?16:37
chellygelrellerreller, yes, using the mocks was not showing that other pieces were actually breaking other changes16:37
chellygelrellerreller, the concept of doing the pieces in the chain on multiple levels rather than just only independent blocks. (if this doesnt sound too ambiguous)16:38
rellerrellerchellygel I found that out the hard way with content types. I have a 180 line patch but required 1100 loc because of all the testing.16:38
rellerrellerI would be in favor of these changes. Changing all of the mock stuff was quite a lot of work.16:40
chellygelrellerreller, yeah -- its intense! But i had an extensive discussion with jvrbanac and reaperhulk over these things16:40
chellygelrellerreller, yes indeed. this is going to cause more tests to fail when something breaks -- but it will be more explicit and obvious as to what you did wrong16:40
rellerrellerchellygel My only concern would be to reduce the duplicate code. It seems like the new code will be very similar to the functional tests. It would be nice to define the tests once and reuse for both.16:41
*** kebray has joined #openstack-barbican16:41
chellygelrellerreller, i think that may be a future step for sure. it was discussed16:41
chellygelrellerreller, to use the functions outside of the app to replicate a real functional test, that sort of thing16:42
rellerrelleryes16:42
openstackgerritMerged openstack/barbican: Replacing functional test authentication hookup  https://review.openstack.org/16322916:46
openstackgerritMichael McCune proposed openstack/barbican: Moving containers tests to separate module  https://review.openstack.org/16250416:50
*** openstack has joined #openstack-barbican16:54
*** jkf has joined #openstack-barbican16:54
*** kebray has quit IRC17:06
*** dimtruck is now known as zz_dimtruck17:14
*** zz_dimtruck is now known as dimtruck17:17
*** chlong has quit IRC17:21
*** dimtruck is now known as zz_dimtruck17:27
*** zz_dimtruck is now known as dimtruck17:40
*** kfox1111 has joined #openstack-barbican17:41
kfox1111Well, sounds like I may be able to get to the summit after all. :)17:45
kfox1111still a lot of paper work, but seems doable now.17:45
*** kebray has joined #openstack-barbican18:00
*** woodster_ has joined #openstack-barbican18:07
*** alee has joined #openstack-barbican18:08
aleeredrobot, whats going on with the dogtag gate scripts?18:08
redrobotalee so, I had to refactor into a separate script so we can sudo install_dogtag.sh18:09
redrobotalee it works in a vagrant machine, but the gate seems to fail18:09
redrobotalee https://review.openstack.org/#/c/161935/18:09
redrobotalee click through the gate failure there to see the logs18:09
redrobotkfox1111 woot!18:09
*** gyee has joined #openstack-barbican18:17
openstackgerritJohn Vrbanac proposed openstack/barbican: hide the eggs  https://review.openstack.org/16274118:23
aleeredrobot, any way we can get debug logs?18:24
openstackgerritThomas Dinkjian proposed openstack/python-barbicanclient: Second set of negative secrets tests.  https://review.openstack.org/16355618:24
aleeredrobot, or log onto the machine and see what failed?18:24
*** dave-mccowan has joined #openstack-barbican18:24
openstackgerritChelsea Winfree proposed openstack/barbican: Split out and refactored more secret tests  https://review.openstack.org/16279518:24
aleeredrobot, it looks like the kra installation failed but without the debug log - its not clear why18:24
redrobotalee the box gets destroyed after the run...  we _might_ be able to ship out more logs, but we'll have to look into how the logs get shipped out.  Or we can maybe recreate a gate vm in the cloud somewhere to see if it fails there too.18:25
redrobotalee what's the log locations that we're interested in?18:26
aleeredrobot, we need to look at /var/log/pki/pki-tomcat18:26
aleesubdirectories under there18:26
aleeif we can tar up that directory - that would help18:27
aleeredrobot, if not a directory, then we need /var/log/pki/pki-tomcat/kra/debug18:28
redrobotalee k, I'll see if I can get some time to look at that today.18:31
aleeredrobot, thanks18:31
rellerrellerHas anyone seen the devstack gate failing? I noticed that my CR failed those tests, but the functional tests all pass for me.18:38
rellerrellerImportError: Failed to import test module: api.v1.functional.test_containers18:38
elmikorellerreller: mine failed earlier, but i just rebased and pushed again18:43
rellerrellerelmiko Thanks. I'm in the process of doing that now. I hope that works.18:44
elmikorellerreller: cool, looks like my review is still waiting for CI18:44
rellerrellerelmiko I ran the functional tests on my machine after rebasing and all of them failed there too.18:50
rellerreller"keystoneclient.openstack.common.apiclient.exceptions.Unauthorized: Invalid username or password (Disable debug mode to suppress these details.) (HTTP 401)"18:50
elmikorellerreller: boo =(18:50
rellerrellerMy rebase only had one commit to rebase onto.18:51
elmikois that with jvrbanac's update?18:51
rellerrellercommit 2a4fb02bb303c5a05e8a944705f21c15ffbb2bc218:51
rellerrellerelmiko Yes18:51
elmikohuh...18:52
elmikoseems like everyone's CI is blowing up18:52
rellerrellerAargh!18:52
rellerrellerjvrbanac ping18:53
*** kebray has quit IRC18:58
openstackgerritSteve Heyman proposed openstack/barbican: Refactor secrets functional tests for readability  https://review.openstack.org/16356419:02
*** paul_glass has quit IRC19:02
rellerrellerhockeynut have you seen the CI errors?19:06
hockeynutrellerreller there were issues that jvrbanac has fixed - do you have latest code?19:07
rellerrellerhockeynut yes, I rebased barbican and devstack19:09
*** paul_glass has joined #openstack-barbican19:10
hockeynutrellerreller what are you seeing now?19:14
rellerrellerhockeynut keystoneclient.openstack.common.apiclient.exceptions.Unauthorized: Invalid username or password (Disable debug mode to suppress these details.) (HTTP 401)19:15
hockeynutrunning functional tests?19:15
rellerrellerhockeynut yes19:15
hockeynutyou need to look at the new conf file - etc/barbican/barbican-functional.conf19:15
rellerrellerI pulled the latest for devstack and updated extras.d/*barbican and lib/barbican19:15
hockeynutit replaces etc/dev_tempest.conf19:15
rellerrellerOK, I think kfarr may know what this is19:16
rellerrellerI think we need to copy that file you just mentioned19:16
hockeynutyep - that will become your best friend19:17
rellerrellerhockeynut So I cp etc/barbican/barbican-functional.conf to /etc/ or /etc/barbican/? Is there anything else I need to copy?19:21
hockeynutrellerreller don't copy it anywhere - just update it like you used to do for etc/dev_tempest.conf.  Its the replacement for etc/dev_tempest.conf19:21
hockeynutwhen you look at it its *almost* the same as dev_tempest.conf used to be - but now a bit simpler19:22
rellerrellerhockeynut Thanks! I have it working now.19:23
hockeynutawesome!19:24
rm_workheads up, I think there's an issue with the newest sphinx==1.3 released yesterday and the latest pbr, if barbican's doc-reqs for sphinx aren't pinned to 1.2.3 it might break the doc gate19:33
rm_work^^ noticed this per octavia's docs job failing19:34
*** kebray has joined #openstack-barbican19:36
*** rellerreller has quit IRC19:42
*** kgriffs is now known as kgriffs|afk19:48
aleeredrobot, jvrbanac any idea how to find out what the latest version of the db is -- ie.the latest version for alembic migrations?19:54
reaperhulkalee: it's in an alembic version table I believe.19:55
aleereaperhulk, thanks - let me look for that ..19:55
*** kgriffs|afk is now known as kgriffs20:02
aleeredrobot, ping20:12
redrobotalee pong ?20:13
aleeso I'm looking at the alembic migrations20:13
aleeI am putting together a patch for the ca related tables20:13
aleewhich I had checked in earlier but had forgotten to provide alembic migrations for20:14
aleeso trying to get the right versioning20:14
aleethe latest version of the db is ..20:14
alee1c0f328bfce020:14
aleewhich I would ordinarily take as the starting point for my alembic script20:15
aleebut --20:15
aleethat particular migration adds a bunch of indexes20:15
aleesome of which are on the tables I am adding with my alembic migration20:16
aleeso really my alembic migration should go right before this one.20:17
redrobotyou can specify the uprevision and downrevision for any migration.  You should be able to wedge it in before that particular version20:17
aleeyeah -- ok - just making sure that made sense to you20:18
redrobotalee yeah, you can change http://git.openstack.org/cgit/openstack/barbican/tree/barbican/model/migration/alembic_migrations/versions/1c0f328bfce0_fixing_composite_primary_keys_and_.py#n11 to whatever the version you make is20:18
aleenot sure what monkeying around with the versions does to migrating existing dbs20:19
redrobotalee on your new one set downrevision to 3d36a26b88af20:19
redrobotalee I doubt we'll brake anyone... if anything, this latest one would have broken stuff since it's adding indexes to a non-existent table20:20
aleeyup -- and then upversion to X20:20
aleeand then use X for downversion on the "fixing .. indexes " one ?20:20
openstackgerritSteve Heyman proposed openstack/barbican: Remove extra v1 from override uri  https://review.openstack.org/16359520:21
redrobotalee yep.  Alembic builds the revision tree by following downversions before applying anything.20:23
woodster_I'm spotty for cell coverage but currently the db is started from scratch in the devstack gate...it syncs to sqlalchemy models directly. Grenade tests will eventually test migration scripts.20:24
aleewoodster_, so we wont break anyone just yet :)20:24
aleeor at least the gate wont complain about it yet20:25
aleebetter get my changes in quick then ..20:25
woodster_Yeah...unfortunately:)20:25
*** igueths has quit IRC20:29
*** igueths has joined #openstack-barbican20:37
*** rellerreller has joined #openstack-barbican20:47
*** SheenaG1 has quit IRC20:53
openstackgerritAde Lee proposed openstack/barbican: Add missing alembic migration script for CA tables  https://review.openstack.org/16360720:53
aleeredrobot, jvrbanac , hockeynut ^^ trivial one to review20:54
rellerrellerredrobot alee woodster_ I have updated the content types CR, https://review.openstack.org/#/c/160444/ Any feedback would be appreciated. I don't anticipate too many from this.20:55
*** kebray has quit IRC20:56
aleerellerreller, I'm finally back from my excursion to pointer land -- I'll get you feedback in the morning (I promise  this time)20:56
rellerrelleralee Thanks!20:56
*** paul_glass has quit IRC21:01
*** paul_glass has joined #openstack-barbican21:02
openstackgerritMerged openstack/barbican: hide the eggs  https://review.openstack.org/16274121:13
openstackgerritSteve Heyman proposed openstack/barbican: Cleanup and renaming within secrets smoke tests  https://review.openstack.org/16361521:16
*** rellerreller has quit IRC21:17
*** dimtruck is now known as zz_dimtruck21:19
redrobottdink or hockeynut ping?21:36
*** igueths has quit IRC21:42
*** zz_dimtruck is now known as dimtruck21:46
*** dimtruck is now known as zz_dimtruck21:51
*** zz_dimtruck is now known as dimtruck21:52
openstackgerritDouglas Mendizábal proposed openstack/python-barbicanclient: Use functional_test.conf for devstack gate  https://review.openstack.org/16146621:56
*** paul_glass has quit IRC21:59
openstackgerritPaul Kehrer proposed openstack/barbican: check some responses in functional tests before using the resp  https://review.openstack.org/16362822:09
openstackgerritDouglas Mendizábal proposed openstack/barbican: Standardized Secret Encoding  https://review.openstack.org/16044422:16
openstackgerritDouglas Mendizábal proposed openstack/barbican: Test functionality of generated asymmetric keys  https://review.openstack.org/16242522:16
*** movielovers has joined #openstack-barbican22:24
*** movielovers has left #openstack-barbican22:25
*** jorge_munoz has quit IRC22:27
openstackgerritSteve Heyman proposed openstack/barbican: Refactor secrets functional tests for readability  https://review.openstack.org/16356422:36
openstackgerritJohn Vrbanac proposed openstack/barbican: Making the tox -e functional tests run faster  https://review.openstack.org/16363522:40
openstackgerritDouglas Mendizábal proposed openstack/python-barbicanclient: Deprecate setting the payload type and encoding  https://review.openstack.org/16277722:46
openstackgerritPaul Kehrer proposed openstack/barbican: Fix create orders functional tests for asynchronous order processing  https://review.openstack.org/16363823:04
*** dave-mccowan has quit IRC23:14
openstackgerritPaul Kehrer proposed openstack/barbican: check some responses in functional tests before using the resp  https://review.openstack.org/16362823:19
*** woodster_ has quit IRC23:20
openstackgerritPaul Kehrer proposed openstack/barbican: check some responses in functional tests before using the resp  https://review.openstack.org/16362823:24
openstackgerritArun Kant proposed openstack/barbican: Adding per secret ACL support  https://review.openstack.org/16162023:38
*** chlong has joined #openstack-barbican23:42
*** jkf has quit IRC23:42
arunkantalee, as FYI..per secret is ready for review. https://review.openstack.org/#/c/161620/23:46
*** rm_you has joined #openstack-barbican23:48
*** rm_you has quit IRC23:48
*** rm_you has joined #openstack-barbican23:48

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