Wednesday, 2016-08-03

*** gildub has joined #openstack-sdks00:00
*** hoangcx has joined #openstack-sdks00:43
*** zhurong has joined #openstack-sdks01:10
*** michaelgugino has quit IRC01:14
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Fix cluster resource in cluster service  https://review.openstack.org/35033101:27
*** tangchen has quit IRC01:33
*** tangchen has joined #openstack-sdks01:39
*** aohuanxuan has joined #openstack-sdks01:48
*** yanyanhu has joined #openstack-sdks01:52
*** fzdarsky_ has joined #openstack-sdks01:58
*** fzdarsky has quit IRC02:02
*** gildub has quit IRC02:17
openstackgerritDean Troyer proposed openstack/os-client-config: Fix precedence for pass-in options  https://review.openstack.org/35034602:18
openstackgerritDean Troyer proposed openstack/python-openstackclient: Add shell integration test  https://review.openstack.org/34907902:20
dtroyerstevemar: ^^^^ o-c-c has had the precedence backwards for auth options when choosing between clouds.yaml and cmd-line/env-var.02:21
*** gouthamr has joined #openstack-sdks02:24
*** gouthamr_ has joined #openstack-sdks02:27
*** gouthamr has quit IRC02:30
*** markvoelker has joined #openstack-sdks02:39
*** zhurong has quit IRC02:39
*** zhurong has joined #openstack-sdks02:40
*** yuanying has quit IRC02:48
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Implement "network rbac set" command  https://review.openstack.org/34994702:50
*** bvandewa_ has joined #openstack-sdks03:05
*** bvandewa_ has quit IRC03:05
*** bvandewa_ has joined #openstack-sdks03:06
*** bvandewa_ has quit IRC03:07
*** bvandewa has quit IRC03:07
*** gildub has joined #openstack-sdks03:15
*** gouthamr_ has quit IRC03:29
stevemardtroyer: i wish Huanxuan Ao would spend time on irc :)03:30
openstackgerritMerged openstack/os-client-config: Update citycloud to list new regions  https://review.openstack.org/33999003:38
*** yuanying has joined #openstack-sdks03:47
*** yuanying has quit IRC03:49
*** yuanying has joined #openstack-sdks03:49
*** bvandewa has joined #openstack-sdks03:49
*** bvandewa has quit IRC03:51
*** bvandewa has joined #openstack-sdks03:52
*** markvoelker has quit IRC03:55
*** aohuanxuan has quit IRC04:04
*** zhurong has quit IRC04:07
stevemardtroyer: the dude is crushing it in picking up patches04:08
*** bvandewa has quit IRC04:10
*** zhurong has joined #openstack-sdks04:12
*** amotoki has joined #openstack-sdks04:20
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add support of setting volume's state  https://review.openstack.org/26890704:21
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--admin-state-up' option to os network list command  https://review.openstack.org/35037104:22
*** aohuanxuan has joined #openstack-sdks04:23
openstackgerritAnh Tran proposed openstack/python-openstackclient: Remove redundant import in common/logs.py  https://review.openstack.org/35037204:26
*** markvoelker has joined #openstack-sdks04:33
*** annp has joined #openstack-sdks04:34
*** markvoelker has quit IRC04:39
*** gildub has quit IRC04:45
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--admin-state' option to os network list command  https://review.openstack.org/35037104:52
*** jaosorior has joined #openstack-sdks05:03
*** njohnston is now known as njohnston|PTO05:04
*** e0ne has joined #openstack-sdks05:12
*** e0ne has quit IRC05:15
*** markvoelker has joined #openstack-sdks05:28
*** rtheis has quit IRC05:32
*** rtheis has joined #openstack-sdks05:32
*** markvoelker has quit IRC05:33
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Remove an overdue directory in tox.ini  https://review.openstack.org/35038305:38
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Remove an outdated directory in tox.ini  https://review.openstack.org/35038305:44
*** gildub has joined #openstack-sdks05:59
*** markvoelker has joined #openstack-sdks06:22
*** markvoelker has quit IRC06:26
*** gildub has quit IRC06:49
*** annp has quit IRC06:59
*** tangchen has quit IRC07:00
*** tangchen_ has quit IRC07:00
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--admin-state' option to os network list command  https://review.openstack.org/35037107:01
*** jaosorior is now known as jaosorior_brb07:15
*** markvoelker has joined #openstack-sdks07:16
*** jpena|off is now known as jpena07:16
*** e0ne has joined #openstack-sdks07:16
*** markvoelker has quit IRC07:21
openstackgerritMerged openstack/python-openstacksdk: Fix cluster resource in cluster service  https://review.openstack.org/35033107:57
*** amotoki has quit IRC08:00
*** bvandewa has joined #openstack-sdks08:02
*** amotoki has joined #openstack-sdks08:04
*** amotoki has quit IRC08:05
*** markvoelker has joined #openstack-sdks08:10
*** jaosorior_brb has quit IRC08:12
*** jaosorior_brb has joined #openstack-sdks08:13
*** markvoelker has quit IRC08:14
*** amotoki has joined #openstack-sdks08:17
*** amotoki_ has joined #openstack-sdks08:18
*** amotoki has quit IRC08:21
*** jaosorior_brb is now known as jaosorior08:23
*** amotoki_ has quit IRC08:29
*** fzdarsky_ is now known as fzdarsky08:32
*** RuiChen has joined #openstack-sdks08:43
*** amotoki has joined #openstack-sdks08:45
*** amotoki has quit IRC08:53
*** eliqiao has quit IRC08:54
*** eliqiao has joined #openstack-sdks08:55
*** aohuanxuan has quit IRC08:59
*** aohuanxuan has joined #openstack-sdks08:59
*** amotoki has joined #openstack-sdks09:02
*** amitkqed has quit IRC09:04
*** markvoelker has joined #openstack-sdks09:04
*** amitkqed has joined #openstack-sdks09:04
*** bvandewa has quit IRC09:06
*** markvoelker has quit IRC09:09
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--admin-state' option to os network list command  https://review.openstack.org/35037109:13
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--admin-state' option to os network list command  https://review.openstack.org/35037109:19
*** tangchen has joined #openstack-sdks09:24
*** Qiming has quit IRC09:46
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add '--name' options to os network list command  https://review.openstack.org/35048609:49
*** Qiming has joined #openstack-sdks09:50
*** markvoelker has joined #openstack-sdks09:58
*** markvoelker has quit IRC10:04
*** amit213 has quit IRC10:10
*** amit213 has joined #openstack-sdks10:12
*** Qiming has quit IRC10:12
*** zhurong has quit IRC10:13
*** Qiming has joined #openstack-sdks10:17
*** hoangcx has quit IRC10:27
*** amotoki has quit IRC10:30
*** amotoki has joined #openstack-sdks10:39
*** amotoki has quit IRC10:41
*** eliqiao has quit IRC10:47
*** eliqiao has joined #openstack-sdks10:51
*** yanyanhu has quit IRC10:53
*** sdague has joined #openstack-sdks10:55
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Implement network agents functionality  https://review.openstack.org/31583411:03
*** lucasagomes is now known as lucas-hungry11:21
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Implement network agents functionality  https://review.openstack.org/31583411:27
*** markvoelker has joined #openstack-sdks11:52
*** aohuanxuan has quit IRC12:09
*** sigmavirus_away is now known as sigmavirus12:14
*** jpena is now known as jpena|lunch12:18
*** edmondsw has joined #openstack-sdks12:19
openstackgerritMerged openstack/python-openstackclient: Remove an outdated directory in tox.ini  https://review.openstack.org/35038312:24
*** gouthamr has joined #openstack-sdks12:30
*** zhurong has joined #openstack-sdks12:33
*** lucas-hungry is now known as lucasagomes12:43
openstackgerritMerged openstack/python-openstackclient: Implement "network rbac set" command  https://review.openstack.org/34994712:54
*** _elmiko is now known as elmiko13:04
*** zhurong has quit IRC13:15
*** jpena|lunch is now known as jpena13:16
*** zhurong has joined #openstack-sdks13:16
*** markvoelker has quit IRC13:19
*** cleong has joined #openstack-sdks13:20
*** zhurong has quit IRC13:25
*** zhurong has joined #openstack-sdks13:27
*** cardeois has joined #openstack-sdks13:34
*** markvoelker has joined #openstack-sdks13:46
*** caswitch has joined #openstack-sdks13:48
*** zhurong has quit IRC13:48
*** zhurong has joined #openstack-sdks13:50
*** zhurong has quit IRC13:57
*** zhurong has joined #openstack-sdks13:58
*** krot_sickleave is now known as krotscheck14:00
*** michaelgugino has joined #openstack-sdks14:16
*** amotoki has joined #openstack-sdks14:18
*** jaosorior has quit IRC14:25
dtroyermordred, Shrews, GheRivero: would you guys have a look at https://review.openstack.org/350346 and https://review.openstack.org/331418 (in o-c-c) for me?  These are to finally get rid of the duplication that started when o-c-c started loading auth plugins.  This should be enough for now to get the OSC 3.0 out the door with the bulk of that duplication gone.14:36
mordreddtroyer: on it14:36
dtroyerthanks14:38
mordreddoh. I've reviewed that seond patch like 4 times and somehow keep not actually submitting the vote14:40
mordredsorry for the delay on that14:40
*** amotoki has quit IRC14:40
openstackgerritMerged openstack/os-client-config: Add support for deprecating cloud profiles  https://review.openstack.org/33998814:42
openstackgerritMerged openstack/os-client-config: Add support for listing a cloud as shut down  https://review.openstack.org/34311214:43
openstackgerritMerged openstack/os-client-config: Refactor fix magic in get_one_cloud()  https://review.openstack.org/33141814:44
openstackgerritMonty Taylor proposed openstack/os-client-config: Add the new DreamCompute cloud  https://review.openstack.org/33998914:45
*** amotoki has joined #openstack-sdks14:45
mordredGheRivero: ^^ I think that addresses your concerns?14:45
dtroyermordred: I just re-read the quota dict patch, did you guys put that into shade?  I'm thinking that osc-lib might be a suitable home if not, but also not sure about how osc-lib and shade overlap (I don't think much?).14:49
mordreddtroyer: we did not - we're currently not validating quota names and assuming the operator is going to get them right :)14:54
mordreddtroyer: I havne't looked much at osc-lib - lemme look at it after this next call so I can comment on that idea more sanely14:54
mordred(yay phonecalls)14:54
mordreddtroyer: but no, on a quick browser, it does not seem that shade and osc_lib overlap much14:56
dtroyermordred: no rush, we're going to do 1.0 without any API-specific bits in osc-lib.  the priority has been to enable plugins to not need osc itself as a dependency and to clean up all this duplicate work14:57
mordred++14:57
dtroyereventually though some of the common stuff like identity.common from osc may migrate to -lib14:57
dtroyerso plugins can use them14:57
mordredif there's any overlap, it would be between clientmanager and shade14:57
dtroyerright14:57
mordredbut even there not much14:57
dtroyerclientmanager and shell are totally optional14:57
openstackgerritMerged openstack/os-client-config: Fix precedence for pass-in options  https://review.openstack.org/35034615:00
*** amotoki has quit IRC15:06
*** cardeois_ has joined #openstack-sdks15:07
*** cardeoi__ has joined #openstack-sdks15:08
*** cardeois has quit IRC15:09
*** cardeois_ has quit IRC15:12
*** cardeois has joined #openstack-sdks15:13
*** cardeoi__ has quit IRC15:17
*** cardeois_ has joined #openstack-sdks15:21
*** amotoki has joined #openstack-sdks15:22
*** sheel has joined #openstack-sdks15:23
*** cardeois has quit IRC15:25
*** cardeois has joined #openstack-sdks15:28
*** cardeois_ has quit IRC15:31
*** zhurong has quit IRC15:33
*** cardeois has quit IRC15:37
*** cardeois has joined #openstack-sdks15:39
*** cardeois has quit IRC15:52
*** bvandewa has joined #openstack-sdks16:09
*** bvandewa has quit IRC16:09
*** Kuwagata has joined #openstack-sdks16:10
dtroyermordred, stevemar: Thanks for the attention this morning on o-c-c.  one more quick thing (relnotes) https://review.openstack.org/350672 then I'd like to do a 1.19.0 release16:13
Shrewswhy isn't that review proposal showing up in here but in #-infra?16:14
*** bvandewa has joined #openstack-sdks16:14
Shrewshas it always been that way and i've just lost my mind?16:14
Shrewsthe "Merged" bot message for 350346 shows up in both channels16:16
dtroyerShrews: not sure16:17
mordredShrews: I proposed an occ change at 14:45:36 UTC that showed up here16:17
Shrews350672 didn't16:17
Shrewsoh well. i don't have brain capacity for that anyway and will just let it be16:18
mordreddtroyer: anywho - ++ on cutting a 1.19.016:23
*** RuiChen has quit IRC16:29
*** jpena is now known as jpena|off16:30
briancurtinstevemar: per my Q the other day about versions, would the prescribed way to get the true version of anything start with what’s in the service catalog, then a call to the root to collect versions, and then take from there? effectively just using the SC as a name-root mapping and not taking what it gives me?16:32
*** sdague has quit IRC16:34
*** corey_ has joined #openstack-sdks16:37
*** cleong has quit IRC16:38
*** sdague has joined #openstack-sdks16:43
*** e0ne has quit IRC16:44
*** lucasagomes is now known as lucas-dinner16:45
*** krotscheck is now known as kro_focused16:53
*** cardeois has joined #openstack-sdks16:53
stevemarbriancurtin: i think that's probably the desired path going forward, yes16:53
stevemarbriancurtin: this goes back to the service catalog wg discussions that were going on16:54
stevemarbriancurtin: ideally we want unversioned endpoints in the catalog and have clients discover what versions are available for each service16:54
stevemarhaving a volume, volume_v2 and volume_v3 endpoint in the catalog makes me sad16:54
briancurtinthat does suck, and maybe this isn’t so bad since i can do those endpoint lookups in the background or something and in a pool, but it also maybe hurts something like openstacksdk that is a client for a bunch of services. mynewserviceclient being 1-1 between itself and mynewservice wouldn’t be so bad, but right now I’m going to have to make calls to 1116:57
briancurtinservices on startup to figure out their versions (or some variation of this as supported services grow)16:57
briancurtin(not saying you did this, just talking out loud)16:57
briancurtinthat’s also kind of frustrating because, as usual, different services return different things off of their root uri, but that’s just another day in openstack17:03
dtroyerbriancurtin: in OSC the clientmanager doesn't do that discovery until the first call is actually made to an API to avoid exactly that situation, so at startup, no version calls are made automatically17:05
dtroyerauth works the same way, and was actually the reason we built it that way17:06
*** openstackgerrit_ has joined #openstack-sdks17:06
briancurtindtroyer: our auth is that same way, but i am thinking about perhaps kicking off a background thread to run through the version stuff so it’s available by request time. or something. who knows, everything is so broken anyway that nothing smart will end up working that well17:07
*** openstackgerrit_ has quit IRC17:08
*** Romanenko_K has quit IRC17:08
*** Romanenko_K has joined #openstack-sdks17:08
*** Romanenko_K has quit IRC17:15
*** rtheis_ has joined #openstack-sdks17:16
*** Romanenko_K has joined #openstack-sdks17:17
*** rtheis has quit IRC17:18
Romanenko_KHello!17:24
Romanenko_Ki need an advice about OpenstackClient CLI commands style17:26
*** e0ne has joined #openstack-sdks17:27
*** e0ne has quit IRC17:28
Romanenko_Ki have described my concern related to ironic OSC plugin spec in this issue: https://bugs.launchpad.net/python-ironicclient/+bug/1609338 Please look is it OK or not.17:28
openstackLaunchpad bug 1609338 in python-ironicclient "Wrong layout of driver-related commands in OSC-plugin spec" [High,Triaged]17:28
*** fzdarsky is now known as fzdarsky|afk17:32
dtroyerRomanenko_K: reply posted.  Let me know if that isn't clear.17:39
Romanenko_Kdtroyer, do you mean to implement 'passthrough' and 'properties ' as arguments for 'driver show' command, not as separate commands, right?17:42
*** e0ne has joined #openstack-sdks17:43
dtroyeryes17:43
dtroyerare those significantly different, or lengthy, to really warrant theor oun output?17:44
dtroyerugh… their own*17:44
Romanenko_KThanks! It look to be a better option17:44
Romanenko_Kthey are not implemented yet ) i`m working on implementation17:45
dtroyerwhat is the motivation for three different output types here?17:45
*** bvandewa has quit IRC17:47
Romanenko_KIn ironic client there are driver-show and driver-properties commands and they have quite different output17:47
Romanenko_Khere is example of their output http://paste.openstack.org/show/547821/17:49
*** craigs has joined #openstack-sdks17:49
dtroyerinteresting, that's really just a list of supported properties in the driver, correct?17:50
dtroyerhow do you get their current values?17:50
Romanenko_Kit depends of driver. For example 'fake' driver has short  properties: http://paste.openstack.org/show/547824/17:52
Romanenko_KBut real drivers have long list of different props17:52
Romanenko_Kthis is just list of supported props, yes.17:54
dtroyerso there is one key difference, you are listing a bunch of similar things.  the definitions of the list and show commands have a subtle difference: list commands have repeating rows of the same fields, show commands have rows of different fields and their values for s single resource17:54
dtroyerthis is really list output17:55
dtroyerwe have this basic problem in many other places, usually also in properties/metadata for a resource, and don't handle it very well right now17:55
openstackgerritMonty Taylor proposed openstack/keystoneauth: Add tests for YamlJsonSerializer  https://review.openstack.org/34494317:56
Romanenko_Kwell, so i should inherit class for properties command not from show.ShowOne but from lister.Lister (from cliff), right?17:57
*** bvandewa has joined #openstack-sdks17:57
*** e0ne has quit IRC18:00
dtroyeryes.  I am thinking though about if it should still use the verb show?18:00
openstackgerritMonty Taylor proposed openstack/keystoneauth: Add tests for YamlJsonSerializer  https://review.openstack.org/34494318:00
dtroyerI'll need to think about that a bit.18:01
dtroyerbut the implementation will need to use cliff's list either way18:01
openstackgerritMonty Taylor proposed openstack/keystoneauth: Add tests for YamlJsonSerializer  https://review.openstack.org/34494318:02
Romanenko_Kdtroyer, thank you. I'll need some advices and reviews in advance while will be working on implementation of OSC plugin driver commands for ironicclient: https://review.openstack.org/#/c/350050/18:09
*** Romanenko_K has quit IRC18:12
*** fzdarsky|afk is now known as fzdarsky18:20
*** sheel has quit IRC18:26
*** jaosorior has joined #openstack-sdks18:29
*** jaosorior has quit IRC18:30
*** cardeois_ has joined #openstack-sdks18:35
*** amotoki has quit IRC18:37
*** cardeois has quit IRC18:38
*** cardeois_ has quit IRC18:44
*** cardeois has joined #openstack-sdks18:45
*** cardeois has quit IRC18:51
*** cardeois has joined #openstack-sdks18:57
*** fifieldt has quit IRC19:07
*** mctaylor has joined #openstack-sdks19:10
openstackgerritMonty Taylor proposed openstack/keystoneauth: Add tests for YamlJsonSerializer  https://review.openstack.org/34494319:17
*** fifieldt has joined #openstack-sdks19:18
*** mctaylor has quit IRC19:22
*** mctaylor has joined #openstack-sdks19:28
*** gouthamr has quit IRC19:35
*** gouthamr has joined #openstack-sdks19:45
openstackgerritBrian Haley proposed openstack/python-openstackclient: Add Subnet service-types to subnets  https://review.openstack.org/34297619:50
*** cardeois_ has joined #openstack-sdks19:58
*** cardeois_ has quit IRC20:00
*** cardeois has quit IRC20:01
*** cardeois has joined #openstack-sdks20:02
openstackgerritJohn Dennis proposed openstack/cliff: Avoid ASCII encoding errors when output is redirected  https://review.openstack.org/34291420:18
*** mctaylor has quit IRC20:43
*** mctaylor has joined #openstack-sdks20:46
*** fzdarsky has quit IRC21:10
*** fifieldt has quit IRC21:15
*** michaelgugino has quit IRC21:16
*** gouthamr has quit IRC21:24
*** fifieldt has joined #openstack-sdks21:25
openstackgerritMerged openstack/os-client-config: Add release notes for 1.19.0 release  https://review.openstack.org/35067221:31
*** michaelgugino has joined #openstack-sdks21:37
*** Qiming has quit IRC21:37
*** Qiming has joined #openstack-sdks21:39
*** mctaylor has quit IRC21:44
*** rtheis_ has quit IRC21:46
*** corey_ has quit IRC21:58
*** markvoelker has quit IRC21:58
*** markvoelker has joined #openstack-sdks21:59
*** markvoelker has quit IRC22:03
*** mctaylor has joined #openstack-sdks22:04
*** mctaylor has quit IRC22:04
*** mctaylor has joined #openstack-sdks22:05
*** cardeois has quit IRC22:10
*** michaelgugino has quit IRC22:26
*** elmiko is now known as _elmiko22:28
*** adriant has joined #openstack-sdks22:35
adriantSo I'm trying to chase down a bug in OpenStackClient. Report is here: https://bugs.launchpad.net/python-openstackclient/+bug/160835422:40
openstackLaunchpad bug 1608354 in python-openstackclient "token authentication does not work" [Undecided,New]22:40
adriantmain jist, by just setting --os-auth-url and --os-token I can't do anything.22:40
adriantalthough obviously pure token auth should work22:40
adriantFor something I'm working on I need token auth, as I can't use username/password since the password has a totp component, and as such is time limited.22:41
*** mctaylor has quit IRC22:47
* dtroyer makes quick guess…22:51
dtroyerthere are two types of token auth, one uses —os-auth-url for an actual keystone endpoint, ther other ises —os-url for a direct API endpoint22:51
adriantneither work for me22:53
adriantalthough ideally what I need is the one that uses os-auth-url22:54
adriantas setting an endpoint manually is a pain22:54
adriantalthough to be fair, I haven't extensively tested for --os-url22:55
dtroyerok, we really haven't spent much time with that one, we used to use —os-url to bootstrap keystone, but that's gone away now.22:58
dtroyerare you using 2.6.0 or master?22:58
dtroyerright now things are just settling down from some major changes in the global option handling, and the auth plugins are part of this22:58
adriant2.6.022:59
adriantI know heatclient, and I think still Neutron client both still support --os-auth-token and --os-auth-url as they still aren't part of openstackclient23:01
adriantheat client does it here: https://github.com/openstack/python-heatclient/blob/master/heatclient/shell.py#L51523:01
dtroyerthey may or may not be using the ksa session and auth plugins23:02
adriantheat client is using KSA session and auth plugins23:02
adrianthttps://github.com/openstack/python-heatclient/blob/master/heatclient/shell.py#L2323:03
dtroyerok, good to know, then it is just option handling in osc that is suspect23:03
adriantthat's what I assumed, but I couldn't figure that out in the code...23:03
adriantand I'm not sure right now if a good time for me to dig into it.23:03
dtroyerit's all changing right now23:03
dtroyerI'll have a clean review of the last changes for the osc shell tomorrow, will ping you to test that23:04
adriantawesome :)23:04
adriantthat would be fantastic, as this is one of my last more annoying requirements for getting MFA working23:05
*** sdague has quit IRC23:29
*** craigs has quit IRC23:33
*** zhurong has joined #openstack-sdks23:45
*** jamielennox is now known as jamielennox|away23:48
*** zhurong has quit IRC23:54

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