Saturday, 2014-03-22

openstackgerritA change was merged to openstack/keystone: is_revoked check all viable subtrees  https://review.openstack.org/8123500:01
jamielennoxguess that that 20 minutes of peace didn't work out for him :)00:01
*** flaper87 is now known as flaper87|afk00:02
nkinder:)00:02
*** dstanek has joined #openstack-keystone00:03
*** devlaps has joined #openstack-keystone00:13
*** dstanek has quit IRC00:14
*** henrynash has quit IRC00:19
*** gyee has quit IRC00:19
openstackgerritJenkins proposed a change to openstack/keystone: Updated from global requirements  https://review.openstack.org/8223100:20
*** nkinder has quit IRC00:40
*** david-lyle has joined #openstack-keystone00:40
*** browne has left #openstack-keystone00:42
*** wchrisj has quit IRC00:48
*** wchrisj has joined #openstack-keystone00:50
*** marcoemorais has quit IRC01:03
*** browne has joined #openstack-keystone01:14
*** dstanek has joined #openstack-keystone01:28
*** gokrokve has joined #openstack-keystone01:38
*** wchrisj has quit IRC01:42
*** ayoung_dadmode is now known as ayoung01:55
ayoungjamielennox, OK, so if you do a popen, and the executable produces binary data instead of ascii, but it gets returned as a string, what do you do with it?01:56
ayoungI don't need binascii, because it is not ascii01:57
ayoungit is straight binary, just in a "string" data type01:57
jamielennoxayoung: i take it this is a py3 problem01:57
ayoungjamielennox, actually, 2.701:57
ayoungbut it is because I am making the code work for both01:57
jamielennoxso why isn't it string to being with/01:57
ayoungnah , the problem is it a 'string', but the data is binary, and I need to pass it to something that needs it as a binary array01:58
ayoungbut I can't 'decode' it01:58
jamielennoxbinary array?01:59
*** wchrisj has joined #openstack-keystone01:59
ayoungjamielennox, start here https://review.openstack.org/#/c/79411/3/keystoneclient/common/cms.py02:00
ayoungin the current code base, we only ever sign and produce text02:00
ayoungit comes in as json, gets signed and returned as base64 encoding02:01
ayoungand the "universal newlines" means that python2 is fine with it02:01
ayoungpython3 as well, since it never actually process it02:01
jamielennoxi don't know if i've ever used bytearray()02:01
ayoungbut once the popen needs to process binary data, python 3 gets in the way02:01
ayoungwithout that code, I get errors that say basically "string does'nt play nice with buffers"02:02
ayoungbyte array is just a list of integers if I understand it correctly02:03
jamielennoxso popen is expecting data or a string?02:03
jamielennoxeither way i'm missing why an encode/decode won't work02:03
*** browne has left #openstack-keystone02:04
ayoungif you say "universal newlines" it assumes everything is a string.  If you don't, it needs to work with byte arrays02:04
ayoungthe problem is not actually popen02:05
ayoungit is the zlib02:05
*** devlaps has quit IRC02:05
ayoungwhen you decompress the signed data you get binary, but it is in a string02:05
ayoungand I need to conver that string to a byte array to pass to the open to verify the signature02:06
ayoungbut it is not "encoded"02:06
*** amcrn has quit IRC02:08
ayoungright now I have it working in 3 but broken in 202:10
ayoungat least, I did...02:10
ayounghope I committed that...02:10
ayoungyep ... let me post that WIP02:11
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Compressed Signature and Validation  https://review.openstack.org/7118102:11
*** wchrisj has quit IRC02:12
jamielennoxtheres not much in the way of docs around this popen stuf02:14
*** gokrokve has quit IRC02:17
ayoungnope02:18
*** gokrokve has joined #openstack-keystone02:18
ayoungbut the issue really is not popen.  Its zlib02:18
ayoungwhat does it give you back if you unzip binary data?02:18
jamielennoxzlib should be bytes in bytes out02:19
jamielennoxhmm, unicode in gives str back in py202:21
*** gokrokve has quit IRC02:22
openstackgerritayoung proposed a change to openstack/python-keystoneclient: remove universal_newlines  https://review.openstack.org/7941102:23
*** gokrokve has joined #openstack-keystone02:24
*** gokrokve has quit IRC02:27
*** jaosorior has quit IRC02:30
ayoungjamielennox, yep...but you can't "decode" it02:38
openstackgerritayoung proposed a change to openstack/python-keystoneclient: Compressed Signature and Validation  https://review.openstack.org/7118102:43
*** jamielennox is now known as jamielennox|away02:48
ayounghttp://stackoverflow.com/questions/11624190/python-convert-string-to-byte-array02:48
*** mberlin has joined #openstack-keystone02:54
*** mberlin1 has quit IRC02:56
*** richm has quit IRC03:13
*** thiagop has quit IRC03:55
*** tellesnobrega1 has quit IRC03:55
*** rwsu has quit IRC04:54
openstackgerritJenkins proposed a change to openstack/keystone: Imported Translations from Transifex  https://review.openstack.org/7852506:00
*** saju_m has joined #openstack-keystone06:08
dstanekdolphm: you still around?06:19
*** derek_c has joined #openstack-keystone06:22
*** derek_c has quit IRC06:47
*** zhiyan_ is now known as zhiyan08:28
*** henrynash has joined #openstack-keystone08:36
*** dstanek has quit IRC08:38
*** henrynash has quit IRC08:51
*** henrynash has joined #openstack-keystone09:19
*** henrynash has quit IRC09:51
*** henrynash has joined #openstack-keystone10:03
*** henrynash has quit IRC10:06
*** flaper87|afk is now known as flaper8710:14
*** henrynash has joined #openstack-keystone10:54
*** henrynash has quit IRC11:02
*** zhiyan is now known as zhiyan_11:15
*** saju_m has quit IRC12:03
*** morganfainberg is now known as morganfainberg_Z12:07
*** leseb has joined #openstack-keystone12:46
*** leseb has quit IRC13:02
*** leseb has joined #openstack-keystone13:07
*** dstanek has joined #openstack-keystone13:12
*** leseb has quit IRC13:28
openstackgerritA change was merged to openstack/keystone: Use oslo db.sqlalchemy.session.EngineFacade.from_config  https://review.openstack.org/7845913:48
*** gtt116 has quit IRC14:01
*** flashgordon has quit IRC14:01
*** dtroyer has quit IRC14:01
*** flashgordon has joined #openstack-keystone14:01
*** gtt116 has joined #openstack-keystone14:01
openstackgerritDavid Stanek proposed a change to openstack/keystone: Always include 'enabled' field in service response  https://review.openstack.org/8220514:01
*** dtroyer has joined #openstack-keystone14:02
*** bknudson has joined #openstack-keystone14:03
openstackgerritYaguang Tang proposed a change to openstack/python-keystoneclient: Add keystone v3 operation support for keystoneclient CLI  https://review.openstack.org/8229915:01
*** devlaps has joined #openstack-keystone15:59
*** nkinder has joined #openstack-keystone16:06
*** leseb has joined #openstack-keystone16:12
*** leseb has quit IRC16:17
openstackgerritBrant Knudson proposed a change to openstack/keystone: Fix domain_id comparison in assignment kvs backend  https://review.openstack.org/8230416:26
openstackgerritBrant Knudson proposed a change to openstack/keystone: Use assertIn in test_v3_catalog  https://review.openstack.org/8230516:31
*** nkinder has quit IRC17:07
*** nkinder has joined #openstack-keystone17:08
*** leseb has joined #openstack-keystone17:19
*** wchrisj has joined #openstack-keystone17:35
*** leseb has quit IRC17:51
*** leseb has joined #openstack-keystone17:52
*** devlaps has quit IRC17:55
*** jaosorior has joined #openstack-keystone18:14
*** leseb has quit IRC18:16
*** devlaps has joined #openstack-keystone18:26
*** devlaps1 has joined #openstack-keystone18:27
*** devlaps has quit IRC18:28
*** devlaps1 has quit IRC18:32
*** devlaps has joined #openstack-keystone18:37
*** devlaps has quit IRC18:44
*** leseb has joined #openstack-keystone19:17
*** leseb_ has joined #openstack-keystone19:19
*** leseb has quit IRC19:19
*** leseb_ has quit IRC19:23
*** wchrisj has quit IRC19:28
*** leseb has joined #openstack-keystone20:20
*** leseb has quit IRC20:24
*** leseb has joined #openstack-keystone20:54
*** leseb has quit IRC20:59
*** jaosorior has quit IRC21:40
*** morganfainberg_Z is now known as morganfainberg21:55
*** leseb has joined #openstack-keystone21:55
*** leseb has quit IRC22:00
*** arosen1 has joined #openstack-keystone22:08
*** arosen1 has quit IRC22:47
*** arosen1 has joined #openstack-keystone22:54
*** arosen1 has quit IRC23:04
*** devlaps has joined #openstack-keystone23:08
*** arosen1 has joined #openstack-keystone23:10
*** arosen1 has quit IRC23:11
*** arosen1 has joined #openstack-keystone23:28
*** arosen1 has quit IRC23:36

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