Tuesday, 2016-05-10

*** abitha has quit IRC00:31
*** salv-orlando has joined #openstack-sdks00:42
openstackgerritOpenStack Proposal Bot proposed openstack/cliff: Updated from global requirements  https://review.openstack.org/31435000:43
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/31435700:44
*** salv-orlando has quit IRC00:48
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/31437300:49
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstacksdk: Updated from global requirements  https://review.openstack.org/31437400:49
*** gildub has quit IRC01:24
openstackgerritMerged openstack/python-openstacksdk: Updated from global requirements  https://review.openstack.org/31437401:39
*** yanyanhu has joined #openstack-sdks01:42
*** salv-orlando has joined #openstack-sdks01:44
*** salv-orlando has quit IRC01:51
*** khmcgill has quit IRC02:00
*** gildub has joined #openstack-sdks02:01
*** amotoki has quit IRC02:25
*** fangxu has quit IRC02:38
*** coolsvap has joined #openstack-sdks02:41
openstackgerritJamie Lennox proposed openstack/keystoneauth: Add oauth plugin to keystoneauth  https://review.openstack.org/31440102:50
*** yuanying has quit IRC02:51
*** amotoki has joined #openstack-sdks02:52
*** salv-orlando has joined #openstack-sdks02:53
*** salv-orlando has quit IRC02:54
*** amotoki has quit IRC03:00
*** amotoki has joined #openstack-sdks03:10
*** amotoki has quit IRC03:31
*** amotoki has joined #openstack-sdks03:39
*** yuanying has joined #openstack-sdks03:48
*** salv-orlando has joined #openstack-sdks03:58
*** salv-orlando has quit IRC04:02
openstackgerritJamie Lennox proposed openstack/keystoneauth: Expose is_admin_project in AccessInfo  https://review.openstack.org/31440904:13
openstackgerritJamie Lennox proposed openstack/keystoneauth: Add oauth plugin to keystoneauth  https://review.openstack.org/31440104:34
*** sheel has joined #openstack-sdks04:44
*** salv-orlando has joined #openstack-sdks04:57
*** tangchen has quit IRC05:00
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/31437305:17
*** ankit has joined #openstack-sdks05:18
openstackgerritMerged openstack/cliff: Updated from global requirements  https://review.openstack.org/31435005:19
openstackgerritMerged openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/31435705:20
*** coolsvap has quit IRC05:25
*** tangchen has joined #openstack-sdks05:30
*** d0ugal has joined #openstack-sdks05:52
*** tangchen has quit IRC06:03
*** tangchen has joined #openstack-sdks06:03
*** amotoki has quit IRC06:10
*** sanjana has joined #openstack-sdks06:38
openstackgerritMerged openstack/python-openstackclient: Documentation updates  https://review.openstack.org/31428606:45
*** amotoki has joined #openstack-sdks06:59
*** salv-orlando has quit IRC07:05
*** jamielennox is now known as jamielennox|away07:08
*** d0ugal has quit IRC07:23
*** d0ugal has joined #openstack-sdks07:26
*** d0ugal has quit IRC07:26
*** d0ugal has joined #openstack-sdks07:26
*** hieulq has quit IRC07:37
*** reedip__ has joined #openstack-sdks07:40
*** jamielennox|away is now known as jamielennox07:49
*** hieulq has joined #openstack-sdks07:52
*** jaosorior has joined #openstack-sdks08:01
*** e0ne has joined #openstack-sdks08:18
*** lucas-dinner is now known as lucasagomes08:22
*** amotoki has quit IRC08:42
*** amotoki has joined #openstack-sdks08:43
*** salv-orlando has joined #openstack-sdks09:27
*** chlong has quit IRC09:30
*** salv-orlando has quit IRC09:32
*** salv-orlando has joined #openstack-sdks09:38
*** salv-orlando has quit IRC09:38
*** salv-orlando has joined #openstack-sdks09:38
*** coolsvap has joined #openstack-sdks09:58
*** yanyanhu has quit IRC10:04
*** cdent has joined #openstack-sdks10:09
*** jaosorior has quit IRC10:09
*** jaosorior has joined #openstack-sdks10:09
*** sdague has joined #openstack-sdks10:12
*** reedip__ has quit IRC10:33
*** gildub has quit IRC10:41
*** reedip__ has joined #openstack-sdks11:06
*** dims has quit IRC11:20
*** jaosorior has quit IRC11:20
*** jaosorior has joined #openstack-sdks11:20
*** dims has joined #openstack-sdks11:25
*** rtheis has joined #openstack-sdks11:29
*** thrash|g0ne is now known as thrash11:35
*** reedip__ has quit IRC11:40
openstackgerritTang Chen proposed openstack/python-openstackclient: Add unit tests for "server show" command  https://review.openstack.org/31451911:41
*** jaosorior has quit IRC11:42
*** jaosorior has joined #openstack-sdks11:43
*** lucasagomes is now known as lucas-hungry11:52
*** kromanenko has joined #openstack-sdks12:16
*** tangchen has quit IRC12:31
*** tangchen has joined #openstack-sdks12:43
*** coolsvap has quit IRC12:47
*** coolsvap has joined #openstack-sdks12:48
*** salv-orlando has quit IRC12:49
*** coolsvap has quit IRC12:50
*** coolsvap has joined #openstack-sdks12:50
*** lucas-hungry is now known as lucasagomes12:51
*** Qiming has joined #openstack-sdks12:58
*** amotoki has quit IRC13:01
*** salv-orlando has joined #openstack-sdks13:03
*** Qiming has quit IRC13:05
*** Qiming has joined #openstack-sdks13:05
*** Qiming_ has joined #openstack-sdks13:05
*** cdent has quit IRC13:07
*** gildub has joined #openstack-sdks13:08
dtroyerstevemar: when you're awake, https://github.com/dtroyer/osc-lib has my first pass at the osc-lib repo.  At this stage it simply strips out the stuff I know we don' t need and makes the remaining tests pass.  We'll do file-by-file migrations to osc_lib module as we include bits so we maintain history.13:28
*** coolsvap has quit IRC13:54
*** Qiming__ has joined #openstack-sdks14:00
*** amotoki has joined #openstack-sdks14:01
*** Qiming_ has left #openstack-sdks14:02
*** sigmavirus24_awa is now known as sigmavirus2414:04
*** Qiming__ has quit IRC14:09
ankitbriancurtin: hi14:16
briancurtinankit: hi14:17
ankitbriancurtin: just wanted to check the current status of refactoring the sdk modules to use new resource2.py14:18
briancurtinankit: i am stuck on making the tests work right now, but compute is done. after that test work is out of the way, the others will move a lot quicker14:19
ankitbriancurtin: As you suggested I have made request-id chnages to new resource module but in order to test these chnages we need to refactoring modules first14:19
briancurtinyep, well when they’re done you can do that14:20
ankitbriancurtin: sure, if any helping hend is required to complete this refactoring, I would be happy to help14:21
briancurtinankit: once i get compute fully finished and merged, i’ll have a better idea of how people can help14:22
ankitbriancurtin: thanks :)14:22
ankitbriancurtin: IMO there should be some blueprint type of thing for such tasks so that we can track all the related issues at a common place14:23
briancurtinit can just go into an issue on launchpad. once i have more info i can create that and track the needed changes. we’ve done that kind of thing a few times14:23
*** jaosorior has quit IRC14:24
ankitbriancurtin: Yes, for tracking request-id task I have already created a bug report as suggested. Thank you !14:25
ankitbriancurtin: Currenty there is a long pending issue in image module https://bugs.launchpad.net/python-openstacksdk/+bug/1455620 for update image API14:28
openstackLaunchpad bug 1455620 in OpenStack SDK "Image Create and Update Broken" [Critical,In progress] - Assigned to Ankit Agrawal (ankitagrawal)14:28
briancurtinyep14:28
ankitare you going to fix this issue in refactoring or we can fix this separately14:28
briancurtinankit: i don’t know. when i (or whoever looks at the refactor for image) get there, i’ll know14:29
briancurtinif you want to look at it, go ahead14:29
ankitbriancurtin: Thanks, we have already started understaing this update image issue and will submit the patch soon14:31
*** sigmavirus24 is now known as sigmavirus24_awa14:32
*** sigmavirus24_awa is now known as sigmavirus2414:33
*** sigmavirus24 is now known as sigmavirus24_awa14:35
stevemardtroyer: we can probably remove https://github.com/dtroyer/osc-lib/blob/master/osc_lib/exceptions.py#L104-L11714:36
stevemaryay https://github.com/dtroyer/osc-lib/blob/master/osc_lib/cli/parseractions.py14:36
stevemardtroyer: hmm, the API is interesting, it's possible to move it over, but i don't think we need it / have a use case for it yet14:37
*** sigmavirus24_awa is now known as sigmavirus2414:37
dtroyerstevemar: I'm not certain about the base API stuff, but didn't want to cut it out just yet.  I'm not certain we will be totally abandoning it, the common bits would belong here, the API-specific bits not.14:39
dtroyeralso, I'm force-pushing that repo so don't get too cozy with it ;)14:39
*** ankit has quit IRC14:40
dtroyerre the exceptions stuff, yes it can go, later.  I want to keep the move changes down to only that required for the move14:40
stevemaryeah, thats fine, just an observation14:41
dtroyerI had forgotten it was in there too14:41
stevemardtroyer: force pushing which repo?14:41
dtroyerosc-lib14:41
dtroyerin my github14:41
dtroyerI've rebased it all twice since last night14:42
dtroyerhopefully done with that now though14:42
*** jamie_h has joined #openstack-sdks14:42
stevemarah14:42
*** Qiming has quit IRC14:43
stevemarso, osc_lib is something we want the plugins to use. are any of the shell/common/auth bits necessary to drop into osc-lib?14:43
dtroyeryes, for stand-alone CLIs.  that's what actually prompted this ;)14:43
stevemarthe "plugin" magic works via entrypoints right? plugins don't necessarily need to pull in anything about osc?14:44
dtroyerfor the pure command plugins, no14:44
stevemarwhen would it not be a pure command plugin?14:44
dtroyerfor a stand-alone Ironic binary that uses OSC-syntax14:44
stevemarbut wouldn't use the `openstack` prefix for their command?14:45
dtroyerfor a not-standalone install, sure14:45
dtroyerthis is meant to a) leverage the CLI structure for times when all of OSC is not required, abd b) as a last-ditch option against anmespacing14:46
dtroyerand I stille kant tipe14:46
stevemardtroyer: i'd definitely advocate for https://github.com/dtroyer/osc-lib/blob/master/openstackclient/common/command.py14:46
dtroyeroh, yeah… that's why it survived the filter ;)14:47
stevemardtroyer: in my head i've already imagined this as more of an oslo type lib / migration14:47
stevemarbut it's not quite that14:47
dtroyerit is that, plus the shell bits if you also want a CLI14:48
dtroyerall still a lib, no autoloading or anything14:48
stevemardtroyer: probably dont want https://github.com/dtroyer/osc-lib/blob/master/openstackclient/common/timing.py since it is an osc command14:48
dtroyerit's a psuedo-command, like Help is inside cliff14:49
dtroyerbut called by name from the shell to dump the output14:49
dtroyerwe could just do that differently too14:49
stevemardtroyer: https://github.com/dtroyer/osc-lib/blob/master/openstackclient/common/utils.py looks safe to me14:49
stevemarwe haven't change that around too often14:50
*** gouthamr has joined #openstack-sdks14:50
*** gildub has quit IRC14:50
dtroyerright, that's next.  I am looking through tests to be sure we're covered too14:50
stevemardtroyer: https://github.com/dtroyer/osc-lib/blob/master/openstackclient/common/commandmanager.py also looks logical14:51
*** gouthamr_ has joined #openstack-sdks14:51
openstackgerritMatthew Edmonds proposed openstack/python-openstackclient: Use resource id when name given for identity show  https://review.openstack.org/31120614:51
stevemarlogs.py .... maybe? it depends a lot on o-c-c too, so maybe not?14:51
*** cdent has joined #openstack-sdks14:52
dtroyerlogs doesn't depend on occ14:52
stevemari thought it read values from the yaml file?14:53
stevemaror it did optionally?14:53
dtroyerclientmanager is going to get a revamp for this so it'll be close to last14:53
dtroyerthe module itself only does the work, shell does the driving and glue14:53
dtroyerlayers, we like layers14:54
*** gouthamr has quit IRC14:54
*** gamage has joined #openstack-sdks15:00
stevemardtroyer: i'd vote against moving auth into osc-lib, that's still in flux15:00
dtroyernot by default, right, but it's there in case we want it, at least for the parts15:01
dtroyerI'm going to push one more update is a few minutes that includes logs and utils...15:01
dtroyerwould you rather have the moves to osc_lib be included in the import or be the first gerrit review?15:03
dtroyerok, refresh… I just pushed the version containing logs and utils.  That should be all of the bits that move with just renaming15:09
*** gouthamr_ has quit IRC15:10
*** singhj has joined #openstack-sdks15:10
stevemarohhh top level, fancy15:17
stevemardtroyer: so the plan is to keep the openstackclient folder around?15:18
stevemardtroyer: https://github.com/dtroyer/osc-lib/blob/master/openstackclient/common/command.py should be in osc-lib too15:19
stevemardtroyer: is the plan to make a 0.1.0 release with the 'openstackclient' module? and then remove/move as necessary?15:20
stevemari'm worried someone will take that to mean they can use those packages/modules. maybe we should prefix that package with an underscore?15:21
dtroyerI don't want to do a release with openstackclient still there, no15:30
*** khmcgill has joined #openstack-sdks15:33
stevemardtroyer: oh okay, that's good15:34
*** amotoki has quit IRC15:41
*** e0ne has quit IRC16:06
dtroyerstevemar: this time for sure!   I think I just pushed the last of the 'easy' moves, the remaining bits need some more thought and should probably wait until after import16:15
stevemardtroyer: looks golden16:18
*** fangxu has joined #openstack-sdks16:26
gamageI believe there was going to be an update to add security group association to a server in python openstacksdk package. May i know if it is introduced in to the code yet ?16:34
*** abitha has joined #openstack-sdks16:36
*** e0ne has joined #openstack-sdks16:49
*** e0ne has quit IRC17:06
*** e0ne has joined #openstack-sdks17:13
briancurtingamage: i added the code, but need to figure out tests, but it’s not likely to be released for a few more weeks17:20
briancurtinit’s not actually merged anywhere yet, so you can’t use it from master either. i can ping you when that happens if you’re interested in trying that17:20
gamageYes definetly, thank you. Mean while do you have any suggestion to get a custom security group associated with a server ? For now i modify the default sec group which is what get assigned by default.17:21
briancurtingamage: i’m about to walk out the door to grab lunch, i’ll take a look when i get back if there’s anything you an do for right now17:22
gamagesure, no worries. thanks again17:23
*** kromanenko has quit IRC17:24
*** e0ne has quit IRC17:30
*** fzdarsky has joined #openstack-sdks17:34
khmcgillCould someone please point me in the direction of some documentation for python sdk v3 connection. I keep getting SDKError Cann't Auth API client17:40
briancurtinkhmcgill: can you share a full traceback?17:41
khmcgillSure let me get that17:41
*** lucasagomes is now known as lucas-afk17:49
*** lucas-afk is now known as lucasagomes17:55
*** lucasagomes is now known as lucas-dinner17:57
*** e0ne has joined #openstack-sdks18:03
*** lhcheng has joined #openstack-sdks18:06
briancurtingamage: there’s nothing in the currently released SDK that would allow you to associate a security group with a server after creation. seems like you figured out how to do it at creation time, but that’s all for now. perhaps there’s a way with python-novaclient that you could use temporarily, though i’m not familiar with that. alternatively, i could18:24
briancurtinsend you the minimal patch necessary that you could add to your local install of the SDK that would enable the API that i have in-progress for adding security groups right now18:24
*** cdent has quit IRC18:28
*** cdent has joined #openstack-sdks18:38
*** fzdarsky has quit IRC18:41
*** fzdarsky has joined #openstack-sdks18:41
*** lhcheng has quit IRC18:42
*** lhcheng has joined #openstack-sdks18:42
*** salv-orl_ has joined #openstack-sdks19:02
dtroyerrtheis: have a look at https://github.com/dtroyer/osc-lib when you get a chance, it's what I'm going to propose to import as the initial osc-lib repo.19:02
rtheisdtroyer: cool, thanks19:03
dtroyerall of the easy renames are done, the remaindre in the openstack module need a bit more thoguht and there may be opinions so I'd like to send it through the review process19:03
dtroyers/openstack/openstackclient19:03
rtheisok19:03
*** salv-orlando has quit IRC19:05
*** Kuwagata has joined #openstack-sdks19:17
*** fangxu has quit IRC19:20
*** e0ne has quit IRC19:53
*** fzdarsky has quit IRC20:00
*** fzdarsky has joined #openstack-sdks20:07
*** abitha has quit IRC20:26
*** lucas-dinner has quit IRC20:51
*** lucasagomes has joined #openstack-sdks20:58
openstackgerritManjeet Singh Bhatia proposed openstack/python-openstackclient: Add network availability for osc  https://review.openstack.org/30607221:12
*** rtheis has quit IRC21:20
*** Kuwagata has quit IRC21:26
*** singhj has quit IRC21:28
*** singhj has joined #openstack-sdks21:46
*** singhj has quit IRC21:51
*** amotoki has joined #openstack-sdks21:53
*** salv-orl_ has quit IRC22:07
*** markvoelker_ has joined #openstack-sdks22:10
*** fzdarsky has quit IRC22:10
*** sigmavirus24 is now known as sigmavirus24_awa22:10
*** sheel has quit IRC22:15
*** markvoelker_ has quit IRC22:32
*** cdent has quit IRC22:37
*** Qiming has joined #openstack-sdks22:50
*** khmcgill has quit IRC22:52
*** Qiming has quit IRC23:03
*** jamielennox is now known as jamielennox|away23:13
*** salv-orlando has joined #openstack-sdks23:16
*** d0ugal has quit IRC23:21
*** salv-orlando has quit IRC23:21
*** sdague has quit IRC23:21
*** jamielennox|away is now known as jamielennox23:21
*** d0ugal has joined #openstack-sdks23:36
*** Qiming has joined #openstack-sdks23:54
*** fangxu has joined #openstack-sdks23:55
*** crinkle has quit IRC23:55
*** chlong has joined #openstack-sdks23:56

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