| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2023-03-06 | |||
| 15:35:16 | gtema | this is the only use of it in the SDK basis | |
| 15:43:30 | frickler | oh my, I wish I hadn't started looking at this. what at all does connectivity on the host where the sdk is getting executed have to do with connectivity of instances in a remote cloud? | |
| 15:43:55 | gtema | issue was with openstackclient | |
| 15:44:16 | gtema | at least I vaguely remember there were IPv6 issues running OSC on win | |
| 15:46:41 | frickler | let me cool down a bit again and then I'll rethink whether I want to submit a radical patch dropping this | |
| 15:47:38 | gtema | dropping this particular piece of code (single line) - sure. Just that might again brake certain win OSC users so we better find some other way | |
| 15:48:49 | frickler | from what I see, users that are affected can either fix their IPv6 connectivity (which is the correct solution in 2023) or set force_ipv4 | |
| 15:49:15 | frickler | would've been a good thing to fix that for 1.0, but better late than never | |
| 15:49:55 | gtema | don't shut the messenger. Again, if I remember it was for users of some managed corp win laptops where a fix of anything net related was not possible | |
| 15:51:01 | gtema | I think I had myself this issue something like 5 years ago. And since then I simply refused to use corp win laptop | |
| 15:54:32 | frickler | 18.08.2017 https://review.opendev.org/c/openstack/shade/+/494321 | |
| 15:54:49 | frickler | time for a more modern approach, I'd say | |
| 15:55:14 | gtema | yeah, agree | |
| 15:56:09 | frickler | will have to wait until tomorrow, though, time's up for today | |
| 16:57:03 | tobiash[m] | Thanks for checking! | |
| 20:08:01 | opendevreview | Jakob Meng proposed openstack/ansible-collections-openstack master: Fixed private option in inventory plugin https://review.opendev.org/c/openstack/ansible-collections-openstack/+/876630 | |
| 22:34:52 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 22:35:29 | opendevreview | Reynaldo proposed openstack/openstacksdk master: Add share network subnet resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/783582 | |
| #openstack-sdks - 2023-03-07 | |||
| 01:03:47 | opendevreview | Goutham Pacha Ravi proposed openstack/openstacksdk master: [DNM] Testing manila microversion setting https://review.opendev.org/c/openstack/openstacksdk/+/876468 | |
| 01:13:50 | opendevreview | Goutham Pacha Ravi proposed openstack/openstacksdk master: [DNM] Testing manila microversion setting https://review.opendev.org/c/openstack/openstacksdk/+/876468 | |
| 02:07:57 | opendevreview | Goutham Pacha Ravi proposed openstack/openstacksdk master: [DNM] Testing manila microversion setting https://review.opendev.org/c/openstack/openstacksdk/+/876468 | |
| 07:40:39 | opendevreview | Gregory Thiemonge proposed openstack/openstacksdk master: Fix Accept header for deleting Octavia load balancers https://review.opendev.org/c/openstack/openstacksdk/+/876669 | |
| 07:49:08 | opendevreview | Gregory Thiemonge proposed openstack/openstacksdk master: Fix Accept header for deleting Octavia load balancers https://review.opendev.org/c/openstack/openstacksdk/+/876669 | |
| 12:49:00 | opendevreview | Gregory Thiemonge proposed openstack/openstacksdk master: Fix Accept header for deleting Octavia load balancers https://review.opendev.org/c/openstack/openstacksdk/+/876669 | |
| 14:54:46 | opendevreview | Merged openstack/ansible-collections-openstack master: Fixed private option in inventory plugin https://review.opendev.org/c/openstack/ansible-collections-openstack/+/876630 | |
| 14:56:48 | opendevreview | Hiromu Asahina proposed openstack/keystoneauth stable/2023.1: OAuth 2.0 Mutual-TLS Support https://review.opendev.org/c/openstack/keystoneauth/+/876746 | |
| 15:17:16 | opendevreview | Merged openstack/openstacksdk stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/openstacksdk/+/876131 | |
| 15:17:18 | opendevreview | Merged openstack/openstacksdk stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1 https://review.opendev.org/c/openstack/openstacksdk/+/876133 | |
| 18:22:39 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: add methods and tests https://review.opendev.org/c/openstack/openstacksdk/+/876772 | |
| 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: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 | |