Tuesday, 2016-07-26

*** amotoki has joined #openstack-sdks00:00
*** amotoki has quit IRC00:06
*** oomichi has quit IRC00:06
*** amotoki has joined #openstack-sdks00:12
*** sdague_ has joined #openstack-sdks00:29
*** amotoki has quit IRC00:30
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Add API microversion support  https://review.openstack.org/34399201:06
*** amotoki has joined #openstack-sdks01:10
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Improve docstring for some resource2 methods  https://review.openstack.org/33151901:13
*** zhurong has joined #openstack-sdks01:15
*** sdague_ has quit IRC01:18
*** aohuanxuan has joined #openstack-sdks01:36
*** yanyanhu has joined #openstack-sdks01:39
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Rebase cluster service to resource2/proxy2  https://review.openstack.org/34466201:53
*** gildub has quit IRC01:59
openstackgerritAlex Xu proposed openstack/api-wg: Clear the case if the version string isn't parsable  https://review.openstack.org/34684602:01
*** edmondsw has quit IRC02:05
*** bvandewa has quit IRC02:07
openstackgerritQiangTang proposed openstack/osc-lib: Add '' key check for property setting  https://review.openstack.org/34530502:14
*** bvandewa has joined #openstack-sdks02:48
*** bvandewa has quit IRC02:53
*** zhurong_ has joined #openstack-sdks02:54
*** zhurong has quit IRC02:55
*** hoangcx has joined #openstack-sdks02:56
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Implement network rbac create and delete commands  https://review.openstack.org/34670503:18
*** bvandewa has joined #openstack-sdks03:42
*** bvandewa has quit IRC03:47
*** bvandewa has joined #openstack-sdks03:48
*** amotoki has quit IRC04:07
*** bvandewa has quit IRC04:12
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Rebase cluster service to resource2/proxy2  https://review.openstack.org/34466204:15
*** yanyanhu has quit IRC04:20
*** bvandewa has joined #openstack-sdks04:21
*** cdent has joined #openstack-sdks04:40
openstackgerritMerged openstack/python-openstackclient: Remove temporary code in ClientManager  https://review.openstack.org/34700304:40
*** gildub has joined #openstack-sdks04:44
*** amotoki has joined #openstack-sdks04:46
*** yanyanhu has joined #openstack-sdks04:49
openstackgerritMerged openstack/python-openstacksdk: Improve docstring for some resource2 methods  https://review.openstack.org/33151905:00
*** amotoki has quit IRC05:10
*** salv-orlando has joined #openstack-sdks05:14
*** gildub has quit IRC05:14
*** amotoki has joined #openstack-sdks05:17
*** bvandewa has quit IRC05:26
*** bvandewa has joined #openstack-sdks05:29
*** amotoki has quit IRC05:35
*** salv-orl_ has joined #openstack-sdks05:48
*** salv-orlando has quit IRC05:49
*** amotoki has joined #openstack-sdks05:54
*** amotoki has quit IRC06:04
*** salv-orl_ has quit IRC06:07
*** amotoki has joined #openstack-sdks06:12
*** gildub has joined #openstack-sdks06:25
*** cdent has quit IRC06:34
*** reedip_ has joined #openstack-sdks06:35
*** tangchen_ has quit IRC06:46
*** tangchen has quit IRC06:46
*** tangchen_ has joined #openstack-sdks06:57
*** tangchen has joined #openstack-sdks06:57
*** fzdarsky has joined #openstack-sdks07:06
*** gildub has quit IRC07:09
openstackgerritMerged openstack/python-openstackclient: Unit test of credential in identityv3  https://review.openstack.org/34468407:09
openstackgerritMerged openstack/python-openstackclient: Add "--marker" and "--limit" options to "snapshot list"  https://review.openstack.org/34581707:22
openstackgerritMerged openstack/python-openstackclient: Standardize import format  https://review.openstack.org/34515907:22
*** gildub has joined #openstack-sdks07:27
*** bvandewa has quit IRC07:52
*** bvandewa has joined #openstack-sdks07:53
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Use identity fake classes instead of old unit tests data  https://review.openstack.org/34716607:56
*** salv-orlando has joined #openstack-sdks08:03
*** salv-orlando has quit IRC08:07
*** bvandewa has quit IRC08:13
*** bvandewa has joined #openstack-sdks08:26
*** e0ne has joined #openstack-sdks08:40
*** salv-orlando has joined #openstack-sdks08:50
*** e0ne has quit IRC08:55
*** e0ne has joined #openstack-sdks08:56
*** amotoki has quit IRC08:57
*** amotoki has joined #openstack-sdks08:59
*** gildub has quit IRC08:59
*** amotoki has quit IRC09:09
*** amotoki has joined #openstack-sdks09:11
*** salv-orlando has quit IRC09:21
*** e0ne has quit IRC09:26
*** gouthamr_ has quit IRC09:29
*** bvandewa has quit IRC09:30
*** cdent has joined #openstack-sdks09:33
*** e0ne has joined #openstack-sdks09:34
*** salv-orlando has joined #openstack-sdks09:36
openstackgerritRui Chen proposed openstack/python-openstackclient: Add support for deleting volumes with associated snapshots  https://review.openstack.org/32570609:46
*** hoangcx has quit IRC10:05
*** zhurong_ has quit IRC10:06
*** yanyanhu has quit IRC10:23
*** amotoki has quit IRC10:24
*** amotoki has joined #openstack-sdks10:25
*** e0ne has quit IRC10:29
*** e0ne has joined #openstack-sdks10:37
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Use identity fake classes instead of old unit tests data  https://review.openstack.org/34716610:38
*** amotoki has quit IRC10:41
*** gildub has joined #openstack-sdks10:44
*** e0ne has quit IRC10:47
openstackgerritMerged openstack/python-openstackclient: Add options to "volume type list" command  https://review.openstack.org/34347210:53
*** salv-orlando has quit IRC10:56
*** amotoki has joined #openstack-sdks11:07
*** amotoki has quit IRC11:11
*** sdague has joined #openstack-sdks11:13
*** gildub_ has joined #openstack-sdks11:17
*** Romanenko_K has joined #openstack-sdks11:26
*** gildub_ has quit IRC11:29
*** gildub has quit IRC11:29
*** gildub has joined #openstack-sdks11:30
*** rtheis has joined #openstack-sdks11:30
*** salv-orlando has joined #openstack-sdks11:33
openstackgerritMerged openstack/osc-lib: Use assertEqual() instead of assertDictEqual()  https://review.openstack.org/34663211:37
*** lucasagomes is now known as lucas-hungry11:38
*** e0ne has joined #openstack-sdks11:39
*** fzdarsky is now known as fzdarsky|lunch11:41
*** cdent has quit IRC11:49
openstackgerritRui Chen proposed openstack/python-openstackclient: Add support for deleting volumes with associated snapshots  https://review.openstack.org/32570611:57
*** aohuanxuan has quit IRC12:03
*** thrash|g0ne is now known as thrash12:07
*** edmondsw has joined #openstack-sdks12:17
*** gildub has quit IRC12:26
*** gouthamr has joined #openstack-sdks12:35
*** gouthamr has quit IRC12:36
*** lucas-hungry is now known as lucasagomes12:39
openstackgerritMerged openstack/osc-lib: Allow shell class to be overridden in test subclass  https://review.openstack.org/34617312:45
openstackgerritMerged openstack/python-openstackclient: Use assertEqual() instead of assertDictEqual()  https://review.openstack.org/34662612:51
*** yanyanhu has joined #openstack-sdks12:54
*** gouthamr has joined #openstack-sdks13:00
*** _elmiko is now known as elmiko13:01
*** fzdarsky|lunch is now known as fzdarsky13:36
*** yanyanhu has quit IRC13:36
*** yanyanhu has joined #openstack-sdks13:37
*** cardeois has joined #openstack-sdks13:40
*** zhurong has joined #openstack-sdks14:01
*** yanyanhu has quit IRC14:04
*** zhurong has quit IRC14:05
*** zhurong has joined #openstack-sdks14:06
*** michaelgugino has joined #openstack-sdks14:11
*** zhurong has quit IRC14:16
*** zhurong has joined #openstack-sdks14:17
openstackgerritMerged openstack/python-openstacksdk: Rebase cluster service to resource2/proxy2  https://review.openstack.org/34466214:23
*** e0ne has quit IRC14:27
openstackgerritMerged openstack/python-openstackclient: Use identity fake classes instead of old unit tests data  https://review.openstack.org/34716615:13
*** zhurong has quit IRC15:25
openstackgerritBrian Curtin proposed openstack/python-openstacksdk: Refactor image v2 to use resource2/proxy2  https://review.openstack.org/34745815:37
*** sdague has quit IRC15:58
*** sdague has joined #openstack-sdks16:00
*** RuiChen has quit IRC16:17
*** michaelgugino has quit IRC16:22
*** Romanenko_K has quit IRC16:23
*** cardeois has quit IRC16:38
*** lucasagomes is now known as lucas-dinner16:44
*** cardeois has joined #openstack-sdks16:44
*** bvandewa has joined #openstack-sdks16:51
*** bvandewa has quit IRC16:52
*** michaelgugino has joined #openstack-sdks16:55
*** cleong has joined #openstack-sdks17:03
*** bvandewa has joined #openstack-sdks17:06
*** fzdarsky is now known as fzdarsky|afk17:06
*** josdotso has joined #openstack-sdks17:11
josdotsoHi folks.  I've installed from master branch into a fresh virtualenv clones of keystoneauth and python-openstackclient from review.openstack.org.  I'm getting this auth_ref error whilst attempting v3oidcpassword.  How can I squash this error? http://paste.openstack.org/show/542153/17:15
*** bvandewa has quit IRC17:17
josdotsoIs it best to pose this question here, or would #openstack-keystone be better?17:21
*** cdent has joined #openstack-sdks17:26
*** fzdarsky|afk has quit IRC17:26
*** Krishna has joined #openstack-sdks17:26
*** cdent has quit IRC17:28
stevemarjosdotso: you may also need the latest osc-lib too...17:32
josdotsostevemar: Will try that again. I did a pip install -e . of that (master branch) and got yet another error.  I think the auth plugin lookup was broken.  will scroll up in my term and post the error17:33
josdotsostevemar: http://paste.openstack.org/show/542157/17:35
stevemarjosdotso: i know it doesn't sound encouraging, but we're currently shuffling things around in osc, to put into osc-lib17:36
stevemarjosdotso: i think you're hitting something we may have already fixed, that was broken in that transition17:37
josdotsostevemar: is there any git tag of these repos that might work?17:37
stevemarjosdotso: not really17:37
stevemarjosdotso: if you're keen on testing the oidc plugin, consider using just keystoneauth and keystoneclient?17:37
stevemarcreate a small python app that uses that plugin and create a session from there17:38
stevemarthe CLI bits will work when OSC is ready (which it ain't right now)17:38
josdotsoWe were able to validate using python-openstackclient previously so we're good on PoC.  We're considering UX now17:38
stevemarah17:38
stevemarjosdotso: i think it's just bad timing right now, osc had a broken gate like 2 days ago17:38
josdotsostevemar: is there a mailing list I might join such that I could learn when this will work? I know that's a ridiculous question.  It's a big ecosystem :)17:40
josdotsoFurther, perhaps there are tests lacking if this is failing at python-openstackclient17:40
stevemarjosdotso: not really, you're best chance is to hang out here and bug myself, dtroyer and rtheis17:40
josdotso(but not in a gate)17:40
stevemarjosdotso: but we all work on OSC somewhat part time :(17:41
josdotsofair enough.  Thanks stevemar .. That makes sense.  :)17:41
josdotsoNo worries, just trying to close the loop17:41
*** bvandewa_ has joined #openstack-sdks17:42
*** salv-orlando has quit IRC18:00
*** henrynash has left #openstack-sdks18:03
*** salv-orlando has joined #openstack-sdks18:04
briancurtintimss: https://pypi.python.org/pypi/openstacksdk/0.9.1 was released, which has the import changes you were looking for18:36
*** e0ne has joined #openstack-sdks18:36
timssbriancurtin: cool, thanks for the heads up18:45
timssbriancurtin: on a completely different note; I've been meaning to write a script to map AD user to projects with roles based on AD groups (user1 is in groupA, add with role 'member' to projectA). Tried looking at python-openstacksdk, but it seems to only support roles for the v2.0 API(?) while I use v3. And there doesn't seem to be a 'role add', only 'role create'. What would be my options here?19:00
timssThanks.19:00
*** Krishna has quit IRC19:00
briancurtintimss: well you could add roles to v3 because whoever implemented it just didn’t add them19:02
briancurtini don’t know what “role add” or “role create” are so I’m not sure what’s different about them19:03
*** fifieldt has quit IRC19:03
*** yuanying has quit IRC19:03
dtroyerjosdotso: /me catching up in scrollback19:13
dtroyerone of the problems about timing is that I am in the middle of totally re-vamping the argument/option handling between OSC, osc-lib and os-client-config19:13
dtroyerbefore now some things were done two or more times :(19:13
dtroyerit is possible not every edge case is working in master at the moment19:14
dtroyerwhere edge case == not password or token auth19:14
dtroyerat the moment I am chasing down a case where —os-auth-url isn't getting picked up properly19:14
dtroyerso clearly testing is not exhaustive19:15
dtroyerThe intent is for the actual option handling to not change, so using 2.6.0 to model your UX is not unreasonable, it'll just need to be translated to work in the new setup and via o-c-c19:16
dtroyerhmmm, 'option handling' == option behaviour / user experience19:17
*** fifieldt has joined #openstack-sdks19:18
timssbriancurtin: All right, thanks. Creating a role is like creating any other resource I believe, however adding (or assigning) a role is the act of assigning a role to a user/group for a project (and a whole seperate API operation).19:18
timssThe API operation seems to be specific for the Role class, and therefore not available in the openstack.resource.Resource class it inherits. Haven't looked much into the code, but maybe extending it with an 'add' function could be a possibility.19:19
briancurtintimss: yeah there are a bunch of resources (compute.v2 and image.v2) which have something that sounds like that assigning a role operations. i just added “add_member” and “remove_member” in image.v2, which modifies the member on images19:23
timssbriancurtin: maybe I could look at that for inspiration for role. Tried searching in code/gerrit/launchpad, but couldn't find a reference to add/remove_member. Sorry for the handholding, but could you point me in the right direction?19:30
briancurtintimss: yeah it’d be hard to search, it’s not specific to those calls and is a part of a bigger thing. https://review.openstack.org/#/c/347458/1/openstack/image/v2/_proxy.py is the area, but looking more at the docs it might not be a great parallel. i can try to sketch something out though19:37
briancurtintimss: so looking more at it, that’ll be relatively easy to implement once identity.v3 is refactored with our newer resource class (temp named resource2), as this stuff makes heavy use of URI params which i’d rather not have to do in the old way first and then immediately wipe out in a refactor with the new way19:45
briancurtintimss: i just wrapped up the image.v2 so I’m going to look around and maybe do identity.v3 next and get this role stuff in there19:45
timssbriancurtin: thanks for the thorough explaination! Skimmed through the code and I see what you're getting at. If you'd like, I could try to do some of the smaller bits such as add/assign_role.19:49
timssbriancurtin: btw, identity v3 API docs use 'assign' (and 'create', ..), while openstackclient uses 'add' for assign (and create=create). Don't know what the consensus is here, though.19:51
briancurtinwe would do add and create19:52
timssgreat19:53
*** cardeois has quit IRC20:21
josdotsothanks dtroyer.  I would try to jump in and help you track down the issues, but I'm being tasked to another team so some other folks will be responsible for this workflow (UX for OIDC) going forward20:25
*** cardeois has joined #openstack-sdks20:28
*** cardeois has quit IRC20:37
*** cardeois has joined #openstack-sdks20:37
openstackgerritPolly Zhou proposed openstack/microversion-parse: Convert dict headers and Webob headers into lowercases.  https://review.openstack.org/34754820:39
*** bvandewa_ has quit IRC20:41
*** cardeois has quit IRC20:42
*** josdotso has quit IRC20:46
*** e0ne has quit IRC20:46
*** bvandewa has joined #openstack-sdks20:48
*** bvandewa has quit IRC20:54
*** michaelguigno has joined #openstack-sdks21:02
*** michaelgugino has quit IRC21:05
openstackgerritBrian Haley proposed openstack/python-openstackclient: [WIP] Add Subnet service-types to subnets  https://review.openstack.org/34297621:14
*** bvandewa has joined #openstack-sdks21:15
*** cleong has quit IRC21:16
*** bvandewa_ has joined #openstack-sdks21:19
*** bvandewa has quit IRC21:22
*** bvandewa has joined #openstack-sdks21:23
*** rm_work has quit IRC21:25
*** bvandewa_ has quit IRC21:26
*** rm_work has joined #openstack-sdks21:26
*** michaelguigno has quit IRC21:34
*** rtheis has quit IRC21:50
*** bvandewa has quit IRC21:52
*** bvandewa has joined #openstack-sdks21:52
*** gildub has joined #openstack-sdks21:57
*** bvandewa has quit IRC22:01
*** openstackgerrit has quit IRC22:03
*** openstackgerrit has joined #openstack-sdks22:04
openstackgerritJohn Dennis proposed openstack/python-openstackclient: arguments are not locale decoded into Unicode  https://review.openstack.org/34303522:10
*** bvandewa has joined #openstack-sdks22:14
*** jamielennox|away is now known as jamielennox22:23
*** edmondsw has quit IRC22:24
*** erlon has quit IRC22:26
*** gildub has quit IRC22:35
*** gouthamr has quit IRC22:45
*** openstackgerrit has quit IRC22:48
*** openstackgerrit has joined #openstack-sdks22:49
*** bvandewa has quit IRC23:11
*** bvandew__ has joined #openstack-sdks23:11
*** elmiko is now known as _elmiko23:15
*** salv-orl_ has joined #openstack-sdks23:18
*** salv-orlando has quit IRC23:21
*** bvandewa has joined #openstack-sdks23:24
*** bvandew__ has quit IRC23:28
*** thrash is now known as thrash|g0ne23:38
*** yuanying has joined #openstack-sdks23:45

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