Earlier  
Posted Nick Remark
#openstack-sdks - 2018-05-04
16:30:12 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Use openstack.config directly for config https://review.openstack.org/566340
16:59:08 openstackgerrit Merged openstack/os-client-config master: Add cache methods back to OpenSackConfig https://review.openstack.org/566322
16:59:58 Shrews dmsimard: regarding my comment about a test for 566359, modifying existing tests should be ok too
17:00:26 dmsimard Shrews: ack
17:02:37 openstackgerrit Nobuto Murata proposed openstack/python-openstackclient master: Support --community in openstack image list https://review.openstack.org/565152
17:17:14 mordred Shrews: remote: https://review.openstack.org/566368 Release 0.13.1 of os-client-config
17:31:45 Shrews mordred: what about https://review.openstack.org/566139 ?
17:32:56 Shrews i guess not as many people affected by that one
17:45:15 mordred Shrews: yah - and it's causing the tests to flap for a reason I can't figure out yet
17:45:54 mordred Shrews: I think it's interactions with globals across test cases - but I can't find which one
18:13:51 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Clean up floating ip tests https://review.openstack.org/566320
18:14:13 mordred slaweq: ^^ that contains a fix related to the question I just asked in #openstack-neutron (the one where I flooded the channel)
18:14:40 mordred Shrews: ^^ that patch should hopefully make the sdk tests not quite so flappy/racey - and also fixes a bug
18:39:04 mordred Shrews: also, https://review.openstack.org/#/c/566340/ is ready for your scorn and derision
18:53:06 openstackgerrit Monty Taylor proposed openstack-infra/shade master: Add nodepool functional tests https://review.openstack.org/566388
19:03:36 openstackgerrit Merged openstack/cliff master: exclude cmd2 0.8.3 and update to 0.8.4 https://review.openstack.org/560121
19:41:36 slaweq mordred: yep, I saw it now :)
19:41:57 slaweq mordred: I will take a look in few minutes
20:19:31 _alastor_ hey folks, how do you set the service version from the ones available under the service's 'valid_versions' in the OSDK?
20:20:52 _alastor_ https://github.com/openstack/openstacksdk/blob/master/openstack/identity/identity_service.py#L19
20:21:08 _alastor_ How does the SDK decide to use v3 vs v2?
20:21:28 _alastor_ It seems like it picks the first one in the list to use, but how can I force it to use the other one?
20:30:42 _alastor_ Is there a better place for these questions?
21:41:46 _alastor_ Is there a mailing list? Maybe I could ask my questions there?
21:51:38 openstackgerrit Merged openstack-infra/shade master: Use openstack.config directly for config https://review.openstack.org/566340
#openstack-sdks - 2018-05-05
13:28:51 openstackgerrit Artem Goncharov proposed openstack/openstacksdk master: add missing attribute in LBaaS v2 Pool API https://review.openstack.org/566434
#openstack-sdks - 2018-05-07
02:40:01 openstackgerrit Tovin Seven proposed openstack/osc-lib master: Add OpenTracing based driver id https://review.openstack.org/566493
06:32:32 openstackgerrit chenyb4 proposed openstack/openstacksdk master: Change clustering example create parameter https://review.openstack.org/566510
06:56:31 openstackgerrit chenyb4 proposed openstack/openstacksdk master: Change clustering example test create parameter https://review.openstack.org/566510
07:56:02 openstackgerrit chenyb4 proposed openstack/openstacksdk master: Change clustering example test create parameter https://review.openstack.org/566510
12:23:59 pooja_jadhav mordred: Can you please guide me how I can add new config option for split_logger so that I am able to enable the split logging functionality in all core projects??
12:24:58 pooja_jadhav mordred: I am trying with various ways but not getting success. :(
15:09:31 openstackgerrit Pavlo Shchelokovskyy proposed openstack/python-openstackclient master: Support locking user password https://review.openstack.org/564200
15:22:48 mordred _alastor_: right now it's config drive- although in the next few weeks we'll get proper discovery in place. you can pass 'identity_api_version' to the constructor for now to force a version
15:24:27 mordred pooja_jadhav: yes - let me look for a little bit and then I can help you out
15:25:05 _alastor_ mordred: Thanks!
16:51:08 _alastor_ mordred: I'm adding volume API 3 support and I'm having trouble getting get_config to set up the correct proxy for 'volume_api_version'. It's always choosing v3 rather than the one passed in. My changes can be seen in this review: https://review.openstack.org/#/c/566355/
16:51:55 _alastor_ I've verified that 'identity_api_version' switches the proxy based on that value, I'm apparently missing the required logic for that switch
16:54:15 openstackgerrit Clark Boylan proposed openstack/python-openstackclient master: Use entrypoints lib instead of pkg_resources https://review.openstack.org/473954
17:03:57 openstackgerrit Matt Smith (_alastor_) proposed openstack/openstacksdk master: Fixing bug where original and new dicts would always be the same https://review.openstack.org/566683
17:06:04 openstackgerrit Clark Boylan proposed openstack/python-openstackclient master: Hack out pbr versioninfo to test entrypoints cost https://review.openstack.org/566685
17:17:19 _alastor_ mordred: It also seems to be ignoring the OS_VOLUME_API_VERSION environment variable and always using v3
17:37:01 _alastor_ This SDK is kind of hard to unravel
17:56:34 _alastor_ It's somewhere in the Connection constructor, because volume_api_version is '2' when returned from 'get_one'
17:56:57 _alastor_ but then it it gets passed into OpenStackCloud and that module is kinda big
18:49:16 openstackgerrit Matt Smith (_alastor_) proposed openstack/openstacksdk master: Adding block_storage v3 API support https://review.openstack.org/566355
20:43:22 openstackgerrit Merged openstack/openstacksdk master: pypy is not checked at gate https://review.openstack.org/564729
21:14:51 openstackgerrit Matt Smith (_alastor_) proposed openstack/openstacksdk master: Bugfix for block_storage not selecting the correct proxy https://review.openstack.org/566740
#openstack-sdks - 2018-05-08
12:02:16 openstackgerrit Merged openstack/keystoneauth master: Implement service_type alias lookups https://review.openstack.org/462218
12:03:53 openstackgerrit Merged openstack/keystoneauth master: Add methods to get all of the version data https://review.openstack.org/559154
14:48:34 mordred _alastor_: thanks for 566355 ... that actually shows a flaw in config loading that I need to fix in https://review.openstack.org/#/c/564494/ ... and also in words I said to you
14:49:39 mordred the correct variable is block_storage_api_version and OS_BLOCK_STORAGE_API_VERSION ... however, we need to honor people using old aliases such as volume_api_Version
14:51:37 mordred _alastor_: i'll land your patch for now then work on alias support
14:51:53 _alastor_ mordred: awesome. Thanks!
15:12:12 openstackgerrit Merged openstack/keystoneauth master: Make VersionData class https://review.openstack.org/564469
15:12:14 openstackgerrit Merged openstack/keystoneauth master: Turn normalize_status into a class https://review.openstack.org/564110
15:40:14 openstackgerrit Merged openstack/keystoneauth master: Use Status variables in tests https://review.openstack.org/564258
15:40:16 openstackgerrit Merged openstack/keystoneauth master: Infer version from old versioned service type aliases https://review.openstack.org/564299
15:47:03 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Honor service-type aliases in config https://review.openstack.org/566929
15:47:18 mordred _alastor_: ^^
15:48:14 mordred there's still one more patch to write for discovery to be fully plumbed through - and with my wrist being hurt I'm going to defer that for a few days
15:50:57 _alastor_ mordred: That's cool. I didn't even realize we had a definition set like that
15:51:14 _alastor_ defition mapping
15:51:32 _alastor_ definition
15:51:35 _alastor_ Can't type today
15:52:42 mordred _alastor_: it's a newish thing that we're still getting rolled out everywhere
15:53:06 mordred https://service-types.openstack.org/ is sort of the root of everything if you haven't seen it
17:27:26 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Unbreak pep8 tests from new pycodestyle https://review.openstack.org/566954
17:27:38 mordred Shrews: ^^ sigh
20:37:20 openstackgerrit Merged openstack/keystoneauth master: Reference class variable in Status https://review.openstack.org/564262
20:39:43 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Clean up floating ip tests https://review.openstack.org/566320
22:41:21 openstackgerrit Harald Jensås proposed openstack/python-openstackclient master: Allow setting network-segment on subnet update https://review.openstack.org/523974
#openstack-sdks - 2018-05-09
01:27:40 chenyb4 Qiming, Can you help me review this patch ? https://review.openstack.org/#/c/566510/
09:27:33 openstackgerrit Nobuto Murata proposed openstack/python-openstackclient master: Support --community in openstack image list https://review.openstack.org/565152
13:44:24 mordred Shrews, slaweq: fell like re-approving https://review.openstack.org/#/c/566320/ ? I bundled in the pep8 fixes too
13:44:56 mordred frickler: ^^ I will do a followup for your comment
13:53:39 frickler mordred: o.k., I'll give you a +2, then ;)
13:55:34 mordred frickler: \o/
14:03:15 mnaser mordred: so i think going by the ML list from gerard about his issues with openstacksdk that they've found a bug
14:03:24 openstack Launchpad bug 1768813 in os-client-config "config.get_cache_expiration_time() function missing in 1.31.0 release" [Critical,Fix committed] - Assigned to Monty Taylor (mordred)
14:03:24 frickler mordred: did you move os-client-config bugs to storyboard now, too? tried to mark https://bugs.launchpad.net/os-client-config/+bug/1768813 as "Fix Released" but that doesn't seem possible anymore
14:03:55 mnaser mordred: comparing a resource to None raises an exception because https://github.com/openstack/openstacksdk/blob/master/openstack/resource.py#L356-L360
14:04:06 mnaser comparand = None, Exception: <class 'AttributeError'> 'NoneType' object has no attribute '_body'
14:04:24 mnaser (if you have if some_resource != None)
14:04:26 slaweq mordred: +W :)
14:04:51 mnaser would simply returning false if comparand = None be an appropriate fix there?
14:04:56 mnaser (i can push up a patch)
14:06:02 mnaser well, i'll do that and then follow up the discussion in reviews :)
14:11:08 openstackgerrit Mohammed Naser proposed openstack/openstacksdk master: Avoid raising exception when comparing resource to None https://review.openstack.org/567230
14:22:33 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Add comment about W503 being skipped https://review.openstack.org/567235
14:22:33 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Fix F405 errors https://review.openstack.org/567234
14:22:34 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Fix H103 Apache license header check https://review.openstack.org/567237
14:22:34 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Remove D exclusions from flake8 config https://review.openstack.org/567236
14:22:47 mordred frickler: ^^ see what you made me go and do :)
14:22:58 mordred frickler: yes! it's in storyboard
14:23:29 mordred mnaser: yes - good call
14:24:21 mordred mnaser: patch looks great - but you should always use 'is' when comparing against None
14:24:33 mnaser mordred: that totally ran through my mind but i was like
14:24:38 mnaser "is none.. that's sql"
14:25:23 mordred :)

Earlier   Later