Earlier  
Posted Nick Remark
#openstack-sdks - 2020-10-06
15:13:21 gtema frickler: ack
15:15:49 gtema dtantsur: I think pick_mv is working correctly, at least wrt "get a new mv if it is higher then default"
15:16:39 gtema if somebody is using it - blame himself and take care of consequences
15:18:15 dtantsur gtema: if we change the behavior, we need to change it in two places
15:18:29 dtantsur otherwise our services will work inconsistently wrt defaults
15:18:37 dtantsur (i.e. compute will respect it, baremetal won't)
15:19:13 gtema in this case I would rather move other services to use "supports"
15:19:34 gtema otherwise the function is doing not what it is describes to be doing
15:20:48 gtema there's only openstack/baremetal/v1/node.py using pick (and one mistakenly openstack/cloud/_compute.py)
15:27:13 dtantsur gtema: you can use pick as a handier wrapper around supports that also handles errors, I guess
15:27:55 gtema not sure. Currently looking to the cloud/_compute.py
15:28:16 gtema it simply wants a MV not even checking it is supported or not
15:28:27 gtema at least verification must be done
15:29:10 gtema so pick is used to enforce using mv other then selected (default)
15:29:30 gtema guess in ironic as well
15:31:42 dtantsur so, the question is: do we want to allow ignoring the default?
15:31:49 dtantsur we used to, with your patch we'll no longer
15:31:59 dtantsur whatever the answer is, we need it to be consistent across services
15:32:11 dtantsur if we think nova shouldn't do it, ironic shouldn't either
15:32:17 gtema I would say in cloud/_copmute I would change it to check whether feature is supported or not
15:32:28 gtema if not supported - ignore setting tags
15:32:50 gtema (I guess this is mostly the ansible usage)
15:35:35 gtema with my patch we will actually start respecting properly default, while currently we don't
15:36:10 gtema I will try to switch all the usages to supports raising error if it feature is not supported
15:36:24 gtema s/it/this/
15:40:37 dtantsur ++
16:21:27 openstackgerrit Merged openstack/cliff master: Bump py37 to py38 in tox.ini https://review.opendev.org/756210
20:07:00 openstackgerrit Artem Goncharov proposed openstack/openstacksdk master: Respect default microversion in the microversion negotiation https://review.opendev.org/756286
#openstack-sdks - 2020-10-07
02:15:42 openstackgerrit Wenping Song proposed openstack/python-openstackclient master: Remove usage of six https://review.opendev.org/756201
06:26:15 openstackgerrit Arthur Dayne proposed openstack/openstacksdk master: Add 'attachment_update' to openstacksdk https://review.opendev.org/756436
06:31:07 openstackgerrit Xuan Yandong proposed openstack/cliff master: Remove Six https://review.opendev.org/754683
06:35:43 openstackgerrit Qiu Fossen proposed openstack/openstacksdk master: add migrate volume completion https://review.opendev.org/756437
06:37:03 openstackgerrit Arthur Dayne proposed openstack/openstacksdk master: Add 'attachment_update' to openstacksdk https://review.opendev.org/756436
06:38:27 openstackgerrit Xuan Yandong proposed openstack/cliff master: Remove six https://review.opendev.org/754683
06:39:57 openstackgerrit Arthur Dayne proposed openstack/openstacksdk master: Add 'attachment_update' to openstacksdk https://review.opendev.org/756436
07:25:29 openstackgerrit Wenping Song proposed openstack/osc-lib master: Check item type for str https://review.opendev.org/756445
07:46:56 openstackgerrit xuyuanhao proposed openstack/openstacksdk master: add attachment interface for sdk https://review.opendev.org/756447
13:33:35 openstackgerrit Rafael Weingärtner proposed openstack/openstacksdk master: Deprecate 'remote_ip_prefix' parameter in metering label rules https://review.opendev.org/746578
13:33:35 openstackgerrit Rafael Weing채rtner proposed openstack/openstacksdk master: Deprecate 'remote_ip_prefix' parameter in metering label rules https://review.opendev.org/746578
13:34:47 openstackgerrit Rafael Weingärtner proposed openstack/openstacksdk master: Add source_ip_prefix and destination_ip_prefix to metering label rules https://review.opendev.org/746586
13:34:47 openstackgerrit Rafael Weing채rtner proposed openstack/openstacksdk master: Add source_ip_prefix and destination_ip_prefix to metering label rules https://review.opendev.org/746586
15:54:19 openstackgerrit Rafael Weingärtner proposed openstack/openstacksdk master: Deprecate 'remote_ip_prefix' parameter in metering label rules https://review.opendev.org/746578
15:54:19 openstackgerrit Rafael Weing채rtner proposed openstack/openstacksdk master: Deprecate 'remote_ip_prefix' parameter in metering label rules https://review.opendev.org/746578
15:57:36 openstackgerrit Rafael Weingärtner proposed openstack/openstacksdk master: Add source_ip_prefix and destination_ip_prefix to metering label rules https://review.opendev.org/746586
15:57:36 openstackgerrit Rafael Weing채rtner proposed openstack/openstacksdk master: Add source_ip_prefix and destination_ip_prefix to metering label rules https://review.opendev.org/746586
17:00:27 stephenfin dtantsur|afk: Could you cast an eye over https://review.opendev.org/#/c/756286/ again at some point this week, please. I really don't have enough context on that yet
#openstack-sdks - 2020-10-08
02:45:08 openstackgerrit Jorhson Deng proposed openstack/openstacksdk master: Add 'unreserve_volume' to openstacksdk https://review.opendev.org/756622
03:05:34 openstackgerrit Jorhson Deng proposed openstack/openstacksdk master: Add 'reserve_volume' to openstacksdk https://review.opendev.org/756625
06:19:24 openstackgerrit Jorhson Deng proposed openstack/openstacksdk master: Add 'unreserve_volume' to openstacksdk https://review.opendev.org/756622
06:28:59 openstackgerrit Wenping Song proposed openstack/python-openstackclient master: Add list tags for server https://review.opendev.org/756019
06:32:49 openstackgerrit Xinxin Shen proposed openstack/openstacksdk master: Add "update flavor description" to openstack sdk https://review.opendev.org/756642
06:48:54 openstackgerrit Xinxin Shen proposed openstack/openstacksdk master: Add "update flavor description" to openstack sdk https://review.opendev.org/756642
07:03:16 openstackgerrit Xuan Yandong proposed openstack/cliff master: Remove six https://review.opendev.org/754683
07:33:06 openstackgerrit Xuan Yandong proposed openstack/cliff master: Remove six https://review.opendev.org/754683
07:39:16 openstackgerrit Jorhson Deng proposed openstack/openstacksdk master: Add 'reserve_volume' to openstacksdk https://review.opendev.org/756625
07:42:04 openstackgerrit Mark Chappell proposed openstack/openstacksdk master: Add "description" to cinder volume types. https://review.opendev.org/756649
07:43:40 openstackgerrit Mark Chappell proposed openstack/openstacksdk master: Add support for updating cinder (v3) volume types https://review.opendev.org/756650
08:23:50 openstackgerrit Mark Chappell proposed openstack/openstacksdk master: Add support for Block Storage (v3) VolumeType Encyption resources https://review.opendev.org/756655
08:49:41 openstackgerrit Wenping Song proposed openstack/python-openstackclient master: Add create tags for server https://review.opendev.org/756664
12:07:28 openstackgerrit yang yawei proposed openstack/openstacksdk master: add list instance action for sdk https://review.opendev.org/756685
12:11:48 stephenfin gtema: I have three patches against OSC open for a while. Any chance you could take a look over what's left of the week? :) https://review.opendev.org/#/q/owner:%22Stephen+Finucane+%253Cstephenfin%2540redhat.com%253E%22+project:openstack/python-openstackclient+is:open
12:12:27 gtema sure. Thanks for reminding. I remember getting notification recently but not able to find it
12:12:35 gtema will try spend some time today/tomorrow
12:12:49 stephenfin thanks. Let me know if I can return the favour
12:12:57 gtema ok
12:19:42 openstackgerrit yang yawei proposed openstack/openstacksdk master: add migration list for sdk https://review.opendev.org/756692
12:42:30 openstackgerrit yang yawei proposed openstack/openstacksdk master: add defaults quotas for sdk https://review.opendev.org/756698
15:53:08 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Add support for 'keypairs list --user' parameter https://review.opendev.org/755073
15:53:09 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Add support for 'keypairs list --project' parameter https://review.opendev.org/755074
15:54:54 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Add support for 'keypairs list --project' parameter https://review.opendev.org/755074
16:10:07 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Switch console url show operations to SDK https://review.opendev.org/751262
16:43:42 dtantsur stephenfin: I'll check the microversions patch, but likely only tomorrow, sorry
#openstack-sdks - 2020-10-09
00:51:29 openstackgerrit yang yawei proposed openstack/openstacksdk master: add defaults quotas for sdk https://review.opendev.org/756698
04:52:20 openstackgerrit Merged openstack/python-openstackclient master: Fix: port attribute name propagate_uplink_status https://review.opendev.org/746716
09:30:17 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Add support for 'keypairs list --project' parameter https://review.opendev.org/755074
09:30:18 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Add 'User' column to 'keypair list' output https://review.opendev.org/757040
10:43:59 openstackgerrit Merged openstack/python-openstackclient master: Add 'openstack server create --use-config-drive' https://review.opendev.org/738182
11:29:59 openstackgerrit Jesper Schmitz Mouridsen proposed openstack/ansible-collections-openstack master: Refactor loadbalancer module * enable check_mode * enable allowed_cidrs on listener if octavia version is >= 2.12 * Only send flavor_id if it is not None https://review.opendev.org/757081
11:32:27 openstackgerrit Jesper Schmitz Mouridsen proposed openstack/ansible-collections-openstack master: Refactor loadbalancer module https://review.opendev.org/757081
12:10:47 openstackgerrit Pavlo Shchelokovskyy proposed openstack/openstacksdk master: Expand user path when loading SSL-related files https://review.opendev.org/757088
14:52:25 dtantsur stephenfin, gtema, I think the microversion patch is doing a slightly wrong thing when default is None. It's not enough to ensure the server supports a microversion, you actually need to pass it.
14:53:03 gtema are you sure? Because in all my tests requests are really going with either the default one or the highest
14:53:53 dtantsur gtema: I'm not sure how it would work, default=None means the lowest, not the highest
14:54:05 dtantsur and you remove passing microversion argument to the calls
14:54:27 gtema in the nova area whenever I am not specifically choosing mv - all requests are going with highest one
14:54:39 dtantsur Oo
14:54:55 dtantsur that's.. not how it was supposed to work..
14:56:15 dtantsur maybe there is more going on with nova
14:56:57 dtantsur gtema: did you test with OSC only or also with pure SDK?
14:57:02 gtema just checked one more time with dummy script - it is using highest supported by the server in compute area
14:57:06 gtema both
14:57:14 gtema but again - only nova part
14:57:22 gtema I have no ironic to verify
14:57:38 dtantsur I wish the ironic job was not broken, we would just know
14:58:54 gtema stephenfin also checked some other pathes of mine also relying to this behaviour and seems to work properly
14:59:22 gtema https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/resource.py#L1191
14:59:40 gtema at least for the basic stuff we should be sending max
14:59:51 dtantsur gtema: yeah, this works, but only for functions that use get_microversion_for_*
15:00:02 dtantsur the ironic ones need to be changed to do that then
15:00:21 gtema okay. That is true

Earlier   Later