Thursday, 2015-09-17

*** steveortiz is now known as zz_steveortiz00:06
*** stevemar has joined #openstack-sdks00:11
*** stevemar has quit IRC00:15
*** Qiming has joined #openstack-sdks00:20
openstackgerritgreghaynes proposed openstack/os-client-config: Convert auth kwargs '-' to '_'  https://review.openstack.org/22436800:27
*** thrash is now known as thrash|g0ne00:31
*** sigmavirus24 is now known as sigmavirus24_awa00:48
openstackgerritgreghaynes proposed openstack/os-client-config: Convert auth kwargs '-' to '_'  https://review.openstack.org/22436800:49
greghaynesjamielennox: dtroyer Shrews if any of you folks are around ^ is breaking nodepool and mordred is asleep so would be awesome if we could get review / release00:51
jamielennoxgreghaynes: i have no powers on occ, but i'm ok with that - though i'd prefer if we could figure out what occ needs so that it doesn't have to mess with options like that directly00:52
greghaynesjamielennox: not sure I follow00:54
greghaynesjamielennox: oscc already does that munging in some places, just not for kwargs00:54
greghaynesalso, any idea who else has oscc powers?00:54
dtroyergreghaynes: just saw this, will look in a sec00:55
jamielennoxgreghaynes: yea, i would just prefer to somehow make oscc an extension of keystoneauth rather than trying to replicate stuff00:55
openstackgerritgreghaynes proposed openstack/os-client-config: Convert auth kwargs '-' to '_'  https://review.openstack.org/22436800:55
jamielennoxno idea how yet00:55
dtroyerjamielennox: this munging is what lets us go between CLI args and clouds.yaml key names00:55
jamielennoxyep00:55
greghaynesjamielennox: ah, that. I agree, I wanted to mess with that but way too many other things :(00:55
jamielennoxright, always other stuff and this works 99%00:56
dtroyerjamielennox: FWIW, I still don't think this stuff (occ) should be part of ksa…ksa needs to be concerned with performing auth and that's it.  occ handles app-layer interfaces for getting configuration.00:58
jamielennoxdtroyer: i was ok with splitting this all out, the decision came down to the fact that people will almost always want to use the loading part as well so they would always be installing two libs01:00
dtroyergreghaynes: +2, but I didn't run it.  I'm fine with the idea01:00
greghaynesdtroyer: awesome, ty01:00
jamielennoxso at least they are no longer on the plugins itself01:00
jamielennoxif we eventually move the whole loading part out so be it01:00
greghaynesdtroyer: I flipped the test on and off and it fixed the issue so somewhat confident it works01:00
*** gildub has quit IRC01:02
*** gildub has joined #openstack-sdks01:03
*** Yanyanhu has joined #openstack-sdks01:37
*** Qiming has quit IRC01:42
*** Yanyan has joined #openstack-sdks01:43
*** Yanyanhu has quit IRC01:46
*** chlong has joined #openstack-sdks01:46
*** chlong_ has joined #openstack-sdks01:53
openstackgerritMerged openstack/os-client-config: Properly handle os- prefixed args in fix_args  https://review.openstack.org/22435201:54
openstackgerritMerged openstack/os-client-config: Convert auth kwargs '-' to '_'  https://review.openstack.org/22436801:58
*** gildub has quit IRC02:00
*** stevemar has joined #openstack-sdks02:12
*** stevemar has quit IRC02:16
*** david-lyle has joined #openstack-sdks02:34
*** gildub has joined #openstack-sdks02:45
*** chlong_ has quit IRC02:50
openstackgerritMerged openstack/keystoneauth: Use option dest rather than name in missing error  https://review.openstack.org/22434803:09
*** Shrews has quit IRC03:19
*** Shrews has joined #openstack-sdks03:19
*** boris-42 has quit IRC03:50
*** boris-42 has joined #openstack-sdks03:51
*** pratikmallya has joined #openstack-sdks04:12
*** stevemar has joined #openstack-sdks04:12
*** chlong has quit IRC04:16
*** stevemar has quit IRC04:16
*** stevemar has joined #openstack-sdks04:23
*** chlong has joined #openstack-sdks04:33
*** terrylhowe has quit IRC04:37
*** chlong has quit IRC04:48
stevemarmordred: new occ release?05:24
stevemaryep05:25
stevemarlooks like it broke osc :(05:25
stevemarsadness05:25
*** stevemar has quit IRC05:28
*** stevemar has joined #openstack-sdks05:29
mordredstevemar: just cut it05:34
mordredoh - wait05:34
mordredthere was a new occ release which had an issue. we fixed that - and I just cut a new release05:35
stevemarmordred: oh, two in 1 day?05:35
stevemarlol, yes 2 minutes ago05:36
stevemarmordred: yep, i think that should fix my problem05:36
stevemarmordred: hmm, occ 1.7.1 still makes osc unit tests fail: http://paste.openstack.org/show/465775/05:44
mordredstevemar: that's sad making05:47
stevemarindeed05:47
mordredstevemar: hrm. that's a weird error05:47
mordredstevemar: maybe something went south with a mock?05:48
stevemari know we setup the cloud values here: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/shell.py#L225-L23805:48
stevemarmordred: confirmed its not mock, i just installed occ 1.7.1 and master osc, and tried to do `openstack user list --cloud devstack` and it blew up05:51
stevemarhttp://paste.openstack.org/show/465781/05:51
stevemari'll file a bug with osc for now05:51
stevemarahhh it might be keystoneauth related...05:52
stevemarwhere the jamie-bat-man-signal?05:52
mordredstevemar: fingers crossed it's him not me06:01
mordred:)06:01
mordredstevemar: oh, do get_one_cloud is maybe returning none06:02
stevemari shall see06:06
stevemarjust responding to the ML06:06
mordredstevemar: k. I'm back on laptop and looking06:09
mordredstevemar: ERROR: openstack The plugin osc_password could not be found06:10
stevemarmordred: yep, its all about our weird little plugin06:11
mordredstevemar: I have an idea for a patch - one sec06:11
mordredstevemar: yup. it's the passing of osc's auth_type to get_one_coud06:12
stevemaryep, osc_password06:12
mordredsince keystoneauth1 does notknow anything about osc_plypassword06:13
stevemarloading.get_plugin_loader(config['auth_type'])06:13
stevemaryep06:13
stevemari'm just stumped as far as a solution goe06:13
stevemars06:13
stevemaraside from make ksa know the plugin, or osc register the plugin earlier?06:13
mordrednah - that's going to take more work - (just tried that)06:14
stevemaroh06:15
stevemarmaybe...06:15
openstackgerritMonty Taylor proposed openstack/python-openstackclient: Don't pass osc_password to occ/ksa  https://review.openstack.org/22444406:16
mordredstevemar: ^^06:16
mordredstevemar: that fixes it for me06:16
stevemarcould we double up on the entrypoints in setup.cfg?06:16
mordredI tried that - the plugin interface is a little different06:17
mordredso we'll need to do more than a 5 second patch for that06:17
mordredbut the problem is that occ uses ksa to do argument validation now06:17
stevemar++06:17
stevemari just had the setup.cfg changes06:17
stevemarcan you add the tokenendpoint one too?06:17
mordredjust skipping that until we've got a ksa enablement patch for osc06:17
mordredyup06:17
*** chlong has joined #openstack-sdks06:17
mordredstevemar: piddle - what are the parameters for token_endpoint?06:18
* mordred looks06:18
openstackgerritMonty Taylor proposed openstack/python-openstackclient: Don't pass osc_password to occ/ksa  https://review.openstack.org/22444406:21
mordredstevemar: there ya go06:21
mordredoh. absolute piddle mess06:22
mordredthat's not going to work06:22
mordredbecause osc token_endpoint takes "url" and not "endpoint"06:23
stevemarblah06:26
mordred(working on patch)06:26
stevemarMissingRequiredOptions: Auth plugin requires parameters which were not given: auth-url06:26
*** Qiming has joined #openstack-sdks06:26
stevemari was still getting that06:26
mordredyou updated occ?06:27
mordred1.7.1 should fix that error06:27
openstackgerritMonty Taylor proposed openstack/python-openstackclient: Don't pass osc_password to occ/ksa  https://review.openstack.org/22444406:28
mordredstevemar: ok. I think that should do the token_endpoint/admin_token thing06:28
stevemarmordred: i thought it was related to the 1.7.0 -> 1.7.1 bug, but i'm looking at pip freeze and its 1.7.106:31
mordredhrm06:31
stevemarmaybe my env is special06:31
mordredthat's unhapy making -06:32
mordredI don't want your env to be special06:32
stevemarif its working for you06:32
stevemartrue, it would be a stinky fish06:32
mordredopenstack --os-cloud=rax server list06:32
mordredthis works for me06:32
mordredand env vars work06:32
stevemaropenstack user list --cloud devstack --debug06:33
stevemaris still resulting in the auth-url missing thing for me06:33
stevemarenv vars work for me too06:33
mordredstevemar: --os-cloud not --cloud06:33
stevemarmordred: d'oh fiddlesticks06:34
mordredstevemar: --cloud devstack is resulting in no config being passed in, which results in that error :)06:34
mordredit's a bad error - but that's secondary06:34
stevemaryessum06:34
mordredor, it's an accurate error, but misleading as to what's wrong in this case06:34
stevemaryep06:35
stevemarnow do i just push this through06:35
mordredI'm goin to add verify=False to get_oneloud06:35
stevemaroh?06:35
stevemarseparate patch06:35
stevemari assume06:35
openstackgerritMonty Taylor proposed openstack/python-openstackclient: Pass validate=False to get_one_cloud  https://review.openstack.org/22445106:36
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Don't pass osc_password to occ/ksa  https://review.openstack.org/22444406:37
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Pass validate=False to get_one_cloud  https://review.openstack.org/22445106:37
mordredstevemar: there ya go - that should avoid things dying because ksa execeptions06:37
stevemarupdated commit msg to close the bug ^06:37
mordredwoot06:37
stevemari'm tempted to push things through, since we're so close to client release deadline06:38
stevemarand dtroyer is offline06:38
stevemaroh wait, jamielennox is around yay06:38
stevemarhe can give it a quick review06:38
jamielennoxoh, o06:39
mordredjamielennox: yay!06:39
mordredjamielennox: ksa/osc plugin carnage :)06:39
jamielennoxwha...?06:40
mordredjamielennox: osc passed auth_type to occ which was set to things like token_endpoint or osc_password - neither of which are ksa plugins06:41
jamielennoxand please lets not register them as plugins this time06:41
mordredjamielennox: nah. I worked around both I think06:42
mordreddo we still need osc_password?06:42
jamielennoxi don't mind if it exists for a while, just not registered as an entrypoint for everyone to use06:42
jamielennoxbut hopefully no06:42
jamielennoxso i get the first bit06:43
jamielennoxswap token_endpoint for admin_token06:43
jamielennoxwhat's this06:43
jamielennox        if auth_type == 'osc_password' or auth_type == 'token_endpoint':24206:43
jamielennox            self.cloud.config['auth_type'] = auth_type06:43
mordredjamielennox: I'm not 100% sure it's needed - I just wanted to mess with as few of osc's assumptions about what values would be where06:44
*** e0ne has joined #openstack-sdks06:56
*** e0ne has quit IRC07:03
stevemarjamielennox: mordred - i'm bailing, sorry guys07:09
stevemarfalling asleep here07:09
stevemari'll check this in ~7hs07:09
*** stevemar has quit IRC07:10
GheRiveromorning!07:12
jamielennoxmordred: hmm, that's quite a problem, going AFK for a bit but will have a go at it later07:16
jamielennoxi don't know if there's a good solution07:16
jamielennoxbut i should have followed through on that occ functional testing thing07:16
jamielennoxmordred, dtroyer: however i'm inclined to say that for liberty we should not ship anything that relies on keystoneauth including new occ and osc - shade doesn't really matter there07:21
*** aufi has joined #openstack-sdks07:31
*** gildub has quit IRC07:55
-openstackstatus- NOTICE: Gate is currently stuck, failing grenade upgrade tests due the release of oslo.utils 1.4.1 for Juno.08:02
*** pratikmallya has quit IRC08:41
mordredmorning GheRivero09:23
*** terrylhowe has joined #openstack-sdks09:24
*** Yanyan has quit IRC09:41
*** e0ne has joined #openstack-sdks09:51
*** e0ne has quit IRC10:00
*** e0ne has joined #openstack-sdks10:11
*** Qiming has quit IRC10:12
-openstackstatus- NOTICE: Gate back to normal, thanks to the backlisting of the problematic version10:16
dtroyerjamielennox: so OSC may be doing it wrong in a ksa world, but the idea that we can't add plugins bothers me a bit.  I hope I'm misunderstanding what happened, I just woke up…11:09
*** Qiming has joined #openstack-sdks11:10
*** e0ne has quit IRC11:23
jamielennoxdtroyer: i think we should not touch ksa for this release - it's getting too close and is likely to cause problems11:28
jamielennoxit's just not tested enough11:28
dtroyerjamielennox: agreed there11:28
jamielennoxso my goal here has always been standards, i want OSC to be used by everyone but until then i want all the different service CLIs to use the same options11:29
jamielennoxocc throws a wrinkle in all this that i'm still not sure how it fits11:30
openstackgerritMonty Taylor proposed openstack/keystoneauth: There is no token_endpoint.TokenEndpoint  https://review.openstack.org/22458011:30
jamielennoxdtroyer: case in point ^11:31
dtroyerI need to wake up a bit more before trying to sort this out, but my gut feel is we're still violating separation of duties here11:32
jamielennoxdtroyer: they are definetly more split than they used to be, i'm still trying to figure out how to make it so occ kind of fits in the same way as the loaders do '11:35
jamielennoxi think the plugins telling options is correct11:35
dtroyerFTFY: I think plugins telling their config requirements is correct11:35
dtroyerI don't think they should know where they came from, ie option/config file names11:35
jamielennoxi would be fine with saying the keystoneauth loaders are sample/example11:36
jamielennoxi just want to get the way occ handles this into a bit better state before we send it everywhere11:36
jamielennoxdtroyer: i want this merged - what do we need to do: https://review.openstack.org/#/c/220846/211:40
dtroyerkick the DevStack cores in the…. oh wait…11:43
dtroyer+2 here11:43
jamielennoxwe merged it, then some outside project complained and it got reverted11:43
jamielennoxit's going to break someone11:43
jamielennoxfor sure, there's just too many people using it and we've got plugins and stuff11:44
dtroyeroutside?11:44
jamielennoxthat was not supposed to be negative just not reviews i follow11:44
jamielennoxtrove or one of the ceilometer spin offs11:44
jamielennoxwhere i was pretty sure we could just say "fix it"11:44
dtroyerlooks like it was Ironic.  Yeah, their tests need to be fixed11:45
jamielennoxthere was a swift problem - because swift - but i think the fix stevemar did solved that11:46
jamielennoxdtroyer: can you convince probably sdague to not revert it again and i'll write up a big warning/how to fix email we can send to -dev11:48
dtroyerhe's on vacation, but I'll make sure he knows11:49
jamielennoxlast time it got merged was right on one of the freezes11:49
dtroyeryeah, timing right now is fun ;)11:49
jamielennoxit's going to piss someone off whenever it happens11:49
jamielennoxbut feature freeze has happened and it's a month before liberty release11:51
jamielennoxi'll write up an email tomorrow, always better to do this stuff at the start of the week so maybe we can +A it on monday (US)11:52
jamielennoxalright - night11:55
*** trown|outttypeww is now known as trown11:55
*** thrash|g0ne is now known as thrash12:01
*** e0ne has joined #openstack-sdks12:04
openstackgerritOpenStack Proposal Bot proposed openstack/cliff: Updated from global requirements  https://review.openstack.org/21714212:11
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/22461912:12
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/22468112:17
openstackgerritOpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/22469912:18
*** openstackgerrit has quit IRC13:31
*** openstackgerrit has joined #openstack-sdks13:32
*** sigmavirus24_awa is now known as sigmavirus2413:46
*** stevemar has joined #openstack-sdks13:50
openstackgerritMerged openstack/keystoneauth: There is no token_endpoint.TokenEndpoint  https://review.openstack.org/22458013:53
*** e0ne has quit IRC14:01
*** pratikmallya has joined #openstack-sdks14:03
*** e0ne has joined #openstack-sdks14:06
*** jose4183 has joined #openstack-sdks14:22
*** pratikma_ has joined #openstack-sdks14:27
*** pratikmallya has quit IRC14:29
*** Qiming has quit IRC15:07
*** aufi has quit IRC15:11
openstackgerritMerged openstack/keystoneauth: Updated from global requirements  https://review.openstack.org/22461915:39
*** e0ne has quit IRC15:59
*** e0ne has joined #openstack-sdks16:00
*** hitalia has joined #openstack-sdks16:03
*** woodster_ has joined #openstack-sdks16:04
*** e0ne has quit IRC16:15
*** karimb has joined #openstack-sdks16:20
*** david-lyle has quit IRC16:36
*** pratikma_ has quit IRC16:43
*** david-lyle has joined #openstack-sdks16:47
*** david-lyle has quit IRC17:03
*** trown is now known as trown|lunch17:10
*** hitalia has quit IRC17:12
*** pratikmallya has joined #openstack-sdks17:17
*** karimb has quit IRC17:17
*** hitalia has joined #openstack-sdks17:18
*** pratikma_ has joined #openstack-sdks17:19
*** pratikmallya has quit IRC17:23
*** rm_work has quit IRC17:43
*** rm_work has joined #openstack-sdks17:45
*** trown|lunch is now known as trown18:03
*** jamielennox is now known as jamielennox|away18:05
*** e0ne has joined #openstack-sdks18:07
*** e0ne has quit IRC18:17
*** e0ne has joined #openstack-sdks18:21
*** greghaynes has quit IRC18:49
*** david-lyle has joined #openstack-sdks19:11
*** david-lyle has quit IRC19:25
*** fifieldt has quit IRC20:19
*** fifieldt has joined #openstack-sdks20:20
*** pratikma_ has quit IRC20:21
*** pratikmallya has joined #openstack-sdks20:21
*** pratikma_ has joined #openstack-sdks20:22
*** pratikmallya has quit IRC20:26
*** karimb has joined #openstack-sdks20:29
*** e0ne has quit IRC20:50
*** pratikma_ has quit IRC21:05
*** david-lyle has joined #openstack-sdks21:06
*** david-lyle has quit IRC21:09
*** trown is now known as trown|outttypeww21:11
*** jamielennox|away is now known as jamielennox21:24
*** pratikmallya has joined #openstack-sdks21:33
*** pratikma_ has joined #openstack-sdks21:34
*** pratikmallya has quit IRC21:37
*** karimb has quit IRC21:53
*** thrash is now known as thrash|g0ne21:55
*** stevemar has quit IRC22:05
*** jose4183 has quit IRC22:08
*** stevemar has joined #openstack-sdks22:11
*** stevemar has quit IRC22:14
*** sigmavirus24 is now known as sigmavirus24_awa22:21
*** gildub has joined #openstack-sdks22:55
*** david-lyle has joined #openstack-sdks22:59
*** trown|outttypeww is now known as trown23:25
*** Qiming has joined #openstack-sdks23:38
*** pratikma_ has quit IRC23:51
*** pratikmallya has joined #openstack-sdks23:57

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