| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2023-02-22 | |||
| 17:19:23 | lutimura | I have a custom plugin that introduces some commands to the OSC's CLI and also overrides some of the entry points defined by other plugins (e.g., python-glanceclient). Due to these entry points overrides, the order in which my plugin is loaded in OSC is extremely important to determine whether the CLI will be able to redirect the Glance-related commands to my entry points or not (for example, to python-glanceclient's entry points instead). | |
| 17:19:44 | lutimura | So my question is, currently, is there a way to set the plugin load order in OSC? To ensure all custom plugins are loaded last? | |
| 18:48:37 | frickler | lutimura: I don't think that we (want to) support that use case. IMO the best solution for your issue would be to also patch the existing plugins to drop the commands you want to override. or even better, submit your changes upstream for those plugins | |
| 19:04:15 | opendevreview | Merged openstack/os-api-ref master: Fix the 'No such file or directory' error https://review.opendev.org/c/openstack/os-api-ref/+/874332 | |
| 19:04:22 | gtema | +1 to fricler's statement | |
| 20:15:23 | lutimura | frickler: Thanks for answering. I agree with you. It really makes more sense to keep the plugins focused on extending the CLI instead of overwriting existing entry points (of other plugins). Anyways, I'll think about some alternatives and I'll definitely consider the possibility of going upstream. Again, thank you. | |
| 21:21:50 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 21:34:17 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 21:47:59 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 22:28:40 | opendevreview | Arvid Requate proposed openstack/keystoneauth master: New auth plugin v3oidcdeviceauthz https://review.opendev.org/c/openstack/keystoneauth/+/869876 | |
| #openstack-sdks - 2023-02-23 | |||
| 01:18:14 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 04:28:58 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 09:09:19 | opendevreview | Arvid Requate proposed openstack/keystoneauth master: New auth plugin v3oidcdeviceauthz https://review.opendev.org/c/openstack/keystoneauth/+/869876 | |
| 09:15:21 | opendevreview | Ke Niu proposed openstack/os-api-ref master: remove unicode prefix from code https://review.opendev.org/c/openstack/os-api-ref/+/852970 | |
| 10:54:43 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adds SDK support for ``glance cache-delete`` https://review.opendev.org/c/openstack/openstacksdk/+/874584 | |
| 11:04:54 | noonedeadpunk | Fun thing about released ansible-collections 2.0 - they can't be used as of today as now SDK in U-C lower version then needed: https://opendev.org/openstack/requirements/src/branch/master/upper-constraints.txt#L453 | |
| 11:05:22 | noonedeadpunk | I bet it was discussed, but is sdk 1.0 will end up in UC for 2023.1? | |
| 11:14:29 | frickler | noonedeadpunk: there are two blockers still if you look at the reqs patch. octaviaclient should get fixed today, not sure about kuryr. also not sure whether it would need and get yet another ffe | |
| 11:15:34 | frickler | we are having the same issue in kolla fwiw | |
| 11:16:35 | noonedeadpunk | Yeah, I truly believe I'm not alone struggling with mathing sdk with collections hehe | |
| 11:17:26 | noonedeadpunk | but it's all fair, I wasn't following closely lately so decided to ask | |
| 11:26:45 | frickler | gtema: did you have any discussion regarding this with reqs or release teams yet? would you want to push that still? | |
| 11:35:01 | gtema | fricler: I wasn't discussing this so far | |
| 11:37:50 | frickler | gtema: so do you think we should keep sdk<1.0 for A? or still bump it despite being in client freeze? https://review.opendev.org/c/openstack/releases/+/874864 should fix the osc docs build issue fwiw | |
| 11:39:17 | gtema | No, we should make it >=1.0 | |
| 11:39:43 | gtema | We had release for quite a while already | |
| 11:40:15 | gtema | Just that UC patch never landed | |
| 11:42:28 | frickler | yes, because of the above mentioned blockers. I would support ignoring the kuryr issue, as there is a patch for them, just their CI seems broken anyway | |
| 11:43:11 | frickler | do you want to pick this up with the release team? I can try to do it myself, but ptl-authority might work better | |
| 12:07:33 | gtema | So what you think I should discuss with them, approval on finally merging UC patch? | |
| 12:13:42 | frickler | gtema: yes, because formally requirements are frozen now until the release | |
| 12:14:45 | frickler | next step would then be discussing the kuryr situation, not sure if that is also release-affecting | |
| 12:16:21 | frickler | oh, seems that stephenfin has that mostly covered, too. so would need just another ffe likely https://review.opendev.org/c/openstack/kuryr-kubernetes/+/874571/4 | |
| 12:20:18 | frickler | I just mentioned the situation in #-release, feel free to chime in as you see fit | |
| 16:20:05 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adding support for glance cache-queue Command https://review.opendev.org/c/openstack/openstacksdk/+/874372 | |
| 16:49:35 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adds Support for ``glance cache-clear`` https://review.opendev.org/c/openstack/openstacksdk/+/874940 | |
| 20:21:57 | opendevreview | Jakob Meng proposed openstack/ansible-collections-openstack master: Respect description option and delete security group rules first https://review.opendev.org/c/openstack/ansible-collections-openstack/+/874960 | |
| 21:40:11 | opendevreview | Merged openstack/python-openstackclient master: zuul: Merge osc-functional-devstack-base into only child https://review.opendev.org/c/openstack/python-openstackclient/+/863898 | |
| 22:00:25 | opendevreview | Merged openstack/ansible-collections-openstack master: Use true and false instead of yes and no for boolean values https://review.opendev.org/c/openstack/ansible-collections-openstack/+/874538 | |
| 23:16:22 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| #openstack-sdks - 2023-02-24 | |||
| 00:14:32 | opendevreview | Christopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 09:50:16 | opendevreview | Christian Kueppers proposed openstack/ansible-collections-openstack master: Fix for AttributeError: 'dict' object has no attribute 'status'. https://review.opendev.org/c/openstack/ansible-collections-openstack/+/874996 | |
| 15:10:34 | opendevreview | OpenStack Release Bot proposed openstack/keystoneauth stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/keystoneauth/+/875104 | |
| 15:10:35 | opendevreview | OpenStack Release Bot proposed openstack/keystoneauth stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1 https://review.opendev.org/c/openstack/keystoneauth/+/875105 | |
| 15:10:36 | opendevreview | OpenStack Release Bot proposed openstack/keystoneauth master: Update master for stable/2023.1 https://review.opendev.org/c/openstack/keystoneauth/+/875106 | |
| 20:01:17 | ozzzo_work | I'm trying to use the SDK to stop a server with: lambda serverID: cloud.compute.update_server(serverID,'status=SHUTOFF'), and then output = argdict[resource]['stop'](key) | |
| 20:01:46 | ozzzo_work | but I get an error TypeError: update_server() takes 2 positional arguments but 3 were given | |
| 20:01:56 | ozzzo_work | is that not the right way to stop a server? | |
| 20:09:44 | ozzzo_work | This is my code: https://bpa.st/2HVQY | |
| 20:12:09 | ozzzo_work | er... bad paste: it's https://bpa.st/MD3K6 | |
| 20:12:43 | ozzzo_work | The relevant lines are 32 and 119 | |
| #openstack-sdks - 2023-02-25 | |||
| 04:35:05 | opendevreview | Reynaldo proposed openstack/openstacksdk master: Add share snapshot instance resource https://review.opendev.org/c/openstack/openstacksdk/+/798464 | |
| #openstack-sdks - 2023-02-27 | |||
| 12:20:09 | opendevreview | Merged openstack/os-api-ref master: remove unicode prefix from code https://review.opendev.org/c/openstack/os-api-ref/+/852970 | |
| 13:48:32 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adds Support for ``glance cache-clear`` https://review.opendev.org/c/openstack/openstacksdk/+/874940 | |
| 14:05:04 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adding support for glance cache-queue Command https://review.opendev.org/c/openstack/openstacksdk/+/874372 | |
| 14:58:10 | opendevreview | Merged openstack/keystoneauth stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/keystoneauth/+/875104 | |
| 15:10:33 | opendevreview | Merged openstack/keystoneauth stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1 https://review.opendev.org/c/openstack/keystoneauth/+/875105 | |
| 15:37:33 | ozzzo_work | What am I doing wrong here? https://bpa.st/MD3K6 | |
| 15:38:11 | ozzzo_work | I'm providing two arguments to update_server but the error says 3 were given | |
| 15:39:29 | ozzzo_work | The 'delete' part where I only pass a variable seems to work - it looks like I may not be passing the text argument correctly | |
| 15:40:46 | gtema | ozzzo_work: you should be using function stop_server(serverID) [https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/compute/v2/_proxy.py#L1092] instead | |
| 15:41:39 | gtema | also - you cannot simply pass parameters as a string into the update. Only passing them as regular function parameters is supported | |
| 15:54:18 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 15:58:49 | ozzzo_work | gtema: ty! I was looking at https://docs.openstack.org/openstacksdk/latest/user/proxies/compute.html but I see that it is missing some things | |
| 16:22:02 | ozzzo_work | how can I change a text argument into a regular function parameter? | |
| 16:44:32 | gtema | update method accepts same parameters as create call (not all of them are allowed to be changed though) | |
| 16:46:37 | ozzzo_work | I tried "statusVar = "status=SHUTOFF"" and then: lambda serverID,statusVar: cloud.compute.update_server(serverID,statusVar) | |
| 16:46:46 | ozzzo_work | but I still get the "3 were given" error | |
| 16:47:35 | gtema | I repeat - you should use stop_server to shut it down, simply setting it's status is a very very wrong way | |
| 16:47:59 | ozzzo_work | Is that because "status" can't be changed? | |
| 16:48:11 | gtema | second, if you want to i.e. change server name you do conn.compute.update_server(MY_SERVER_ID, name='NEW_NAME') | |
| 16:48:17 | ozzzo_work | I get that, but I still want to know how to set status | |
| 16:48:45 | gtema | status is more or less a read only property set by service side and not by client | |
| 16:48:54 | ozzzo_work | ok I'll try it with name | |
| 16:50:30 | ozzzo_work | ok that works, ty! | |
| 19:47:22 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 20:42:45 | ozzzo_work | Is there a similar function for disabling a port? I'm looking here but I don't see it: https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/network/v2/_proxy.py | |
| 20:49:32 | ozzzo_work | oic i had to updaate admin_state_up | |
| #openstack-sdks - 2023-02-28 | |||
| 10:08:34 | opendevreview | Jiri Podivin proposed openstack/cliff master: Removing helper functions providing Python < 3.3 compatibility https://review.opendev.org/c/openstack/cliff/+/862689 | |
| 13:42:17 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add BGPVPN to SDK https://review.opendev.org/c/openstack/openstacksdk/+/875530 | |
| 14:18:37 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 18:11:46 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 19:03:00 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 19:11:09 | opendevreview | Benjamin Alan Beasley proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 19:18:06 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 19:20:17 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 19:20:18 | opendevreview | Reynaldo proposed openstack/openstacksdk master: Add share network subnet resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/783582 | |
| 19:29:04 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 20:38:55 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| 20:57:44 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: [WIP] Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | |
| 22:21:05 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 23:55:57 | opendevreview | Christopher Scott Parks proposed openstack/openstacksdk master: Add share types to shared file systems. https://review.opendev.org/c/openstack/openstacksdk/+/783123 | |
| #openstack-sdks - 2023-03-01 | |||
| 05:39:25 | opendevreview | Goutham Pacha Ravi proposed openstack/openstacksdk master: Add share access rules to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/784162 | |
| 08:15:38 | opendevreview | Jiri Podivin proposed openstack/cliff master: Removing helper functions providing Python < 3.3 compatibility https://review.opendev.org/c/openstack/cliff/+/862689 | |
| 08:18:25 | opendevreview | Jiri Podivin proposed openstack/cliff master: Removing helper functions providing Python < 3.3 compatibility https://review.opendev.org/c/openstack/cliff/+/862689 | |
| 18:43:12 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 18:44:56 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 23:14:23 | 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-02 | |||
| 00:56:36 | opendevreview | Samuel Loegering proposed openstack/openstacksdk master: Add share network resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873363 | |
| 14:10:15 | opendevreview | OpenStack Release Bot proposed openstack/cliff stable/2023.1: Update .gitreview for stable/2023.1 https://review.opendev.org/c/openstack/cliff/+/876125 | |