| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2023-03-07 | |||
| 18:22:39 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share access rules to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/784162 | |
| 18:22:39 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: add methods and tests https://review.opendev.org/c/openstack/openstacksdk/+/876772 | |
| 18:30:54 | opendevreview | Goutham Pacha Ravi proposed openstack/openstacksdk master: [DNM] Testing manila microversion setting https://review.opendev.org/c/openstack/openstacksdk/+/876468 | |
| 19:02:54 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 19:44:05 | opendevreview | Merged openstack/openstacksdk master: Fix Accept header for deleting Octavia load balancers https://review.opendev.org/c/openstack/openstacksdk/+/876669 | |
| 20:28:58 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share access rules to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/784162 | |
| #openstack-sdks - 2023-03-08 | |||
| 13:59:11 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 16:26:46 | opendevreview | Christian Berendt proposed openstack/ansible-collections-openstack master: Fix typo in openstack.cloud.lb_pool https://review.opendev.org/c/openstack/ansible-collections-openstack/+/876879 | |
| 16:33:52 | opendevreview | Christian Berendt proposed openstack/keystoneauth stable/zed: New auth plugin v3oidcdeviceauthz https://review.opendev.org/c/openstack/keystoneauth/+/876809 | |
| 17:49:49 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 20:18:57 | ozzzo_work | Is it possible to create a connection object in a python script, and then output that object and allow other python scripts to use it? | |
| 20:20:17 | gtema | No | |
| 20:20:36 | ozzzo_work | the connection object only exists while the script is running? | |
| 20:21:59 | gtema | It contains tokens, sessions and other sensitive data. On the other side only very basic structures in python can be serialized | |
| 20:22:13 | gtema | Connection is a very complex thing | |
| 20:22:51 | ozzzo_work | The problem I'm trying to solve is, I have a perl script that is creating a bunch of VMs and timing various operations, as a non-admin user. The script uses the credentials from my env so it doesn't have to auth. I need to perform one operation on each VM as admin | |
| 20:23:34 | ozzzo_work | I was thinking maybe it could call a python script to do the admin operation, but I don't want it to have to auth every time | |
| 20:24:53 | gtema | You can invoke OSC as shell. And you can enable token caching (requires KeePass to be installed) and then you will reuse existing auth | |
| 20:25:05 | gtema | This will have a huge performance impact | |
| 20:25:24 | gtema | But best would be to rethink use case to avoid that | |
| 20:32:46 | ozzzo_work | I'm not sure how I would do that in Jenkins. | |
| 20:33:11 | ozzzo_work | maybe I should ssh to the local DNS server instead of using Designate | |
| 20:42:13 | opendevreview | Arvid Requate proposed openstack/keystoneauth master: Add RFC required haders and data to the request https://review.opendev.org/c/openstack/keystoneauth/+/876893 | |
| 20:42:41 | opendevreview | Arvid Requate proposed openstack/keystoneauth master: Add RFC required headers and data to the request https://review.opendev.org/c/openstack/keystoneauth/+/876893 | |
| #openstack-sdks - 2023-03-09 | |||
| 16:42:26 | opendevreview | OpenStack Release Bot proposed openstack/python-openstackclient stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877001 | |
| 16:42:30 | opendevreview | OpenStack Release Bot proposed openstack/python-openstackclient stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877002 | |
| 16:42:35 | opendevreview | OpenStack Release Bot proposed openstack/python-openstackclient master: Update master for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877003 | |
| 18:42:04 | opendevreview | Merged openstack/python-openstackclient stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877001 | |
| 18:42:06 | opendevreview | Merged openstack/python-openstackclient stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877002 | |
| 18:42:08 | opendevreview | Merged openstack/python-openstackclient master: Update master for stable/2023.1 https://review.opendev.org/c/openstack/python-openstackclient/+/877003 | |
| 20:35:30 | opendevreview | Merged openstack/cliff master: Removing helper functions providing Python < 3.3 compatibility https://review.opendev.org/c/openstack/cliff/+/862689 | |
| #openstack-sdks - 2023-03-10 | |||
| 05:28:55 | mrjoshi | Hi gtema, could you please have a look at these patches https://review.opendev.org/c/openstack/openstacksdk/+/874584, https://review.opendev.org/c/openstack/openstacksdk/+/874940, https://review.opendev.org/c/openstack/openstacksdk/+/874372 | |
| 07:37:18 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 10:15:14 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 11:18:00 | dtantsur | hey folks, does anyone remember what happened with the effort to move Nova away from ironicclient? | |
| 11:18:05 | dtantsur | stephenfin maybe ^^ | |
| 13:55:38 | opendevreview | sean mooney proposed openstack/python-openstackclient master: Revert "Use the SDK for server show" https://review.opendev.org/c/openstack/python-openstackclient/+/877017 | |
| 15:39:29 | lajoskatona | gtema: Hi, just a note that Neutron has a topic for the PTG which is related to SDK/OSC (https://etherpad.opendev.org/p/neutron-bobcat-ptg#L39 ) | |
| 15:40:11 | lajoskatona | gtema: it is the topic of python-neutronclient deprecation and where we are and how we shall continue | |
| 15:41:32 | gtema | good, thks for headsup lajoskatona | |
| 15:41:38 | gtema | which day is it going to be? | |
| 15:46:59 | lajoskatona | gtema: I don't know, we are waiting for the topics at the moment, if we have a rough schedule I will come back | |
| 15:47:08 | gtema | ok | |
| #openstack-sdks - 2023-03-13 | |||
| 08:39:47 | stephenfin | dtantsur: https://review.opendev.org/q/topic:bp/openstacksdk-in-nova+is:open | |
| 10:30:49 | dtantsur | I see, thanks! | |
| 10:31:37 | dtantsur | context: I want to discuss deprecating the Python API in python-ironicclient, see the bottom of https://etherpad.opendev.org/p/ironic-bobcat-ptg | |
| 13:22:30 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| #openstack-sdks - 2023-03-14 | |||
| 13:30:27 | opendevreview | sean mooney proposed openstack/python-openstackclient stable/wallaby: network: Add support for vnic-type vdpa https://review.opendev.org/c/openstack/python-openstackclient/+/877268 | |
| 17:43:44 | opendevreview | Dmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Fix mistake in compute_flavor_access notes https://review.opendev.org/c/openstack/ansible-collections-openstack/+/877418 | |
| #openstack-sdks - 2023-03-15 | |||
| 07:42:29 | opendevreview | Artem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job https://review.opendev.org/c/openstack/openstacksdk/+/860399 | |
| 07:44:30 | viks__ | hi, how do i list projects if i have more than say 1000 projects either using openstack sdk or openstackclient(commandline)... i do not see any `marker` option? | |
| 07:45:36 | gtema | 1) using sdk you do not need to do it - it fetches automatically everything for you 2) marker and limit are "magic" params in sdk and are available pretty much everywhere | |
| 07:54:03 | opendevreview | Artem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job https://review.opendev.org/c/openstack/openstacksdk/+/860399 | |
| 07:55:09 | viks__ | gtema: thanks... when i check my db on project table it lists around `2142` rows.. but using sdk, when i do `print(len(conn.list_projects()))` it gives me 1000.. what am i missing here? | |
| 07:55:54 | gtema | try print(len(conn.connection.projects())) | |
| 07:56:19 | gtema | sorry, conn.identity.projects() | |
| 07:59:42 | viks__ | gtema: gives same result.. i mean 1000 | |
| 08:01:01 | gtema | then a deeper debugging is required. What you can try is after ìmport openstackaddopenstack.enable_logging(debug=True)` - this will print you out all the requests going to the server | |
| 08:01:01 | gtema | then a deeper debugging is required. What you can try is after ìmport openstackaddopenstack.enable_logging(debug=True)` - this will print you out all the requests going to the server | |
| 08:01:53 | gtema | so if you see that few requests are going to the server - sdk is doing all right. If not - maybe keystone gives some wrong information back why it is not trying to fetch next page | |
| 08:08:26 | viks__ | gtema: i have set `list_limit = 1000` in keystone identity section.. is this the issue? | |
| 08:09:20 | gtema | it depends. If Keystone in the response identifies there are more - SDK will try to fetch next page. But if KS is not even giving this page by hardly limiting - may be | |
| 08:14:04 | viks__ | gtema: i see in respose `"previous": null, "next": null`.. so what should i be doing to fix this? | |
| 08:15:06 | gtema | hard question | |
| 08:15:44 | gtema | it is most likely then a misimplementation of keystone, but honestly you should NEVER have so many projects in single domain - I guess it was never designed to be working properly in such case | |
| 08:19:05 | viks__ | gtema: ok.. let me investigate further.. i have created 1 project for each user... tht is why so many projects.. let me check more on this | |
| 11:00:46 | opendevreview | Artem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job https://review.opendev.org/c/openstack/openstacksdk/+/860399 | |
| 11:15:33 | jkulik | Could someone take another look at https://review.opendev.org/c/openstack/openstacksdk/+/866008 please? python-openstackclient seems to support "openstack port list --security-group" now, but openstacksdk still doesn't | |
| 11:16:05 | jkulik | additionally, openstackclient implements this filter as `security_groups` while that patch mapped the attribute to `security_group_ids` because the Port already contains that attribute | |
| 11:16:24 | jkulik | so I'm wondering whether we need to change it now in the new patch or rather in openstackclient | |
| 11:26:28 | jkulik | or maybe we can support both `security_groups` and `security_group_ids` as query parameters in openstacksdk | |
| 11:27:47 | opendevreview | Artem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job https://review.opendev.org/c/openstack/openstacksdk/+/860399 | |
| 13:49:34 | opendevreview | Artem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job https://review.opendev.org/c/openstack/openstacksdk/+/860399 | |
| 14:31:39 | opendevreview | Merged openstack/openstacksdk master: Revert "Revert "Add "security_group_ids" to Port's query parameters"" https://review.opendev.org/c/openstack/openstacksdk/+/866008 | |
| #openstack-sdks - 2023-03-16 | |||
| 07:55:46 | mrjoshi | Hi gtema, I will add the documentation as a separate patch , could you please have a look at these patches https://review.opendev.org/c/openstack/openstacksdk/+/874584, https://review.opendev.org/c/openstack/openstacksdk/+/874940, https://review.opendev.org/c/openstack/openstacksdk/+/874372 | |
| 11:26:47 | jkulik | what would be the next version released for openstacksdk? I'd like to create a review-request that relies on a commit currently only in master | |
| 12:01:59 | frickler | jkulik: with https://review.opendev.org/c/openstack/openstacksdk/+/876134 in (not sure why that wasn't merged yet), it will very likely be 1.1.0, unless there's a reason to go for 2.0.0. but testing unreleased versions may be difficult, are you talking about a review in sdk or some other project? | |
| 12:02:48 | jkulik | frickler: I'm talking about changing python-openstackclient to use a feature from openstacksdk which just got merged yesterday. | |
| 12:04:05 | jkulik | I'll look out for the release of 1.1.0 then and prepare my branch for the review-request already for it. Thank you :) | |
| 12:06:10 | frickler | jkulik: best option would be to assure the code can also work with older sdk, I'm not sure we'd want to immediately bump min reqs to a version that was just released. but maybe gtema has more insight, also in regards on the expected timeframe for a release | |
| 12:09:54 | jkulik | hm ... makes sense. the code in question will start working with that version, but will not break if an older version is present. so I could as well leave bumping the requirements out of the review-request. | |
| 12:10:11 | jkulik | it's a fix for already-not-breaking but also doing-nothing code | |
| 12:16:11 | opendevreview | Merged openstack/openstacksdk master: Update master for stable/2023.1 https://review.opendev.org/c/openstack/openstacksdk/+/876134 | |
| 12:19:41 | frickler | stephenfin: do you want to re-review https://review.opendev.org/c/openstack/python-openstackclient/+/864497 ? would be nice to finally get that in, too | |
| 14:02:24 | opendevreview | Johannes Kulik proposed openstack/python-openstackclient master: Fix --security-group for port list https://review.opendev.org/c/openstack/python-openstackclient/+/877662 | |
| 14:03:15 | jkulik | FYI, ^ is the patch I was talking about earlier | |
| 23:04:24 | opendevreview | Tim Burke proposed openstack/keystoneauth master: Fix up some packaging metadata https://review.opendev.org/c/openstack/keystoneauth/+/877722 | |
| 23:04:25 | opendevreview | Tim Burke proposed openstack/keystoneauth master: Add project URLs from README as packaging metadata https://review.opendev.org/c/openstack/keystoneauth/+/877723 | |
| #openstack-sdks - 2023-03-20 | |||
| 12:07:45 | opendevreview | Merged openstack/python-openstackclient master: Add auto-approve option to project cleanup https://review.opendev.org/c/openstack/python-openstackclient/+/864497 | |
| 12:59:19 | opendevreview | Merged openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 13:22:22 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adds Support for ``glance cache-clear`` https://review.opendev.org/c/openstack/openstacksdk/+/874940 | |
| 13:26:58 | jhartkopf | Hey there, I am currently looking into this story: https://storyboard.openstack.org/#!/story/2010370 Before I start working on it, would you think this would be a welcome feature? What do you think? | |
| 13:29:24 | gtema | jhartkopf - yes, but as a resource specifier please use _resource_registry names, so that user would pass skip_resources=['block_storage.backup', 'network.subnet'] | |
| 13:29:57 | gtema | https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/block_storage/v3/_proxy.py#L34 - every proxy now has a "registry" of how to refer resource types from outside of the sdk | |
| 13:35:15 | jhartkopf | gtema: great, thanks for the hint | |
| 13:45:22 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 14:39:05 | opendevreview | Johannes Kulik proposed openstack/python-openstackclient master: Fix --security-group for port list https://review.opendev.org/c/openstack/python-openstackclient/+/877662 | |
| 14:39:40 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adds SDK support for ``glance cache-delete`` https://review.opendev.org/c/openstack/openstacksdk/+/874584 | |
| 18:40:27 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share access rules to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/784162 | |
| 18:44:24 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share access rules to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/784162 | |