| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2024-07-19 | |||
| 11:30:11 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: mypy: Run under minimum Python version https://review.opendev.org/c/openstack/openstacksdk/+/923663 | |
| 11:30:11 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: Remove redundant code https://review.opendev.org/c/openstack/openstacksdk/+/923664 | |
| 12:48:01 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: block storage: Add 'set_readonly' action to v2 https://review.opendev.org/c/openstack/openstacksdk/+/924507 | |
| 13:18:48 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: volume: Add missing 'find_type' proxy API to v2 https://review.opendev.org/c/openstack/openstacksdk/+/924508 | |
| 13:19:27 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: block storage: Add missing 'find_type' proxy API to v2 https://review.opendev.org/c/openstack/openstacksdk/+/924508 | |
| 15:23:31 | opendevreview | Merged openstack/openstacksdk master: cloud: Fix typo https://review.opendev.org/c/openstack/openstacksdk/+/923212 | |
| 16:49:54 | opendevreview | Merged openstack/openstacksdk master: exceptions: ResourceNotFound -> NotFoundException https://review.opendev.org/c/openstack/openstacksdk/+/921952 | |
| #openstack-sdks - 2024-07-22 | |||
| 09:50:27 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: BGP: return list for get_dragents and get_bgp_speakers_hosted_by_dragent https://review.opendev.org/c/openstack/openstacksdk/+/920670 | |
| 12:06:31 | iurygregory | hey openstacksdk folks, if any core has time can you please check https://review.opendev.org/c/openstack/openstacksdk/+/921890 ? o/ | |
| 15:31:25 | opendevreview | Antonia Gaete proposed openstack/python-openstackclient master: identity: Migrate 'domain' commands to SDK https://review.opendev.org/c/openstack/python-openstackclient/+/923785 | |
| 16:05:35 | opendevreview | Tim Bishop proposed openstack/python-openstackclient master: Respect --skip-resource when deleting. https://review.opendev.org/c/openstack/python-openstackclient/+/924659 | |
| 18:25:49 | opendevreview | Tim Bishop proposed openstack/python-openstackclient master: Respect --skip-resource when deleting. https://review.opendev.org/c/openstack/python-openstackclient/+/924659 | |
| 20:09:45 | opendevreview | Tim Bishop proposed openstack/python-openstackclient master: Respect --skip-resource when deleting. https://review.opendev.org/c/openstack/python-openstackclient/+/924659 | |
| 21:42:32 | opendevreview | Tim Bishop proposed openstack/python-openstackclient master: Respect --skip-resource when deleting. https://review.opendev.org/c/openstack/python-openstackclient/+/924659 | |
| 21:52:48 | opendevreview | Merged openstack/openstacksdk master: baremetal: Enhance VIF attachment with port and portgroup UUIDs https://review.opendev.org/c/openstack/openstacksdk/+/921890 | |
| #openstack-sdks - 2024-07-23 | |||
| 10:16:02 | frickler | gtema: ready for osc 6.7.0? https://review.opendev.org/c/openstack/releases/+/924134 | |
| 10:17:17 | gtema | good that you ask. I see now top of the huge stack has failed and need a recheck | |
| 10:17:49 | gtema | means - no, not ready | |
| 10:22:47 | frickler | gtema: ok, then please -1 the release patch just to be on the safe side | |
| 10:23:49 | gtema | frickler: thks, done | |
| 12:55:09 | gibi | gtema: hi! I need help using the openstacksdk from nova to talk to manila. So far we have https://review.opendev.org/c/openstack/nova/+/831194/50/nova/utils.py#991 that creates the connection based on nova's service user and password from the config. | |
| 12:55:25 | gibi | and that works | |
| 12:55:45 | gibi | but we need to use the user context instead. | |
| 12:56:16 | gibi | As nova should only attach a share to a VM if the user calling nova has the rights to see the share in manial | |
| 12:56:46 | gtema | which info from user do you have? token? | |
| 12:58:00 | opendevreview | Merged openstack/python-openstackclient master: Followup: Reduce LOC in volume v3 service https://review.opendev.org/c/openstack/python-openstackclient/+/923056 | |
| 12:58:02 | opendevreview | Merged openstack/python-openstackclient master: Add DeleteVolumeSnapshot class to v3 https://review.opendev.org/c/openstack/python-openstackclient/+/919611 | |
| 12:58:04 | opendevreview | Merged openstack/python-openstackclient master: Add volume snapshot unmanage support https://review.opendev.org/c/openstack/python-openstackclient/+/894634 | |
| 12:59:28 | gibi | gtema: yeah we have the token in the context object I believe | |
| 12:59:43 | gibi | context = RequestContext | |
| 13:05:12 | gtema | gibi - gimme some minutes to find the right way | |
| 13:06:12 | gibi | yepp I can print the auth_token from the context so we definitly has it | |
| 13:06:17 | gibi | gtema: thank! | |
| 13:06:21 | gibi | thanks | |
| 13:58:45 | gtema | gibi: https://paste.opendev.org/show/bQRC2yqufkeGY5Eu8bXG/ - in principle it can be done like that | |
| 13:59:18 | gtema | a bit nasty thing is that you "should" reauth with the user's token since only token is not enough | |
| 13:59:41 | gtema | you could do token inspection, but that is still the API call, so you save nothing | |
| 14:20:44 | gibi | gtema: thanks I will try it and report back | |
| 14:20:57 | gtema | cool | |
| 15:25:52 | opendevreview | Merged openstack/python-openstackclient master: Add tests for 'default security group rule create' https://review.opendev.org/c/openstack/python-openstackclient/+/922565 | |
| #openstack-sdks - 2024-07-24 | |||
| 12:10:57 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Replace reference to removed variable https://review.opendev.org/c/openstack/openstacksdk/+/924847 | |
| 12:11:49 | stephenfin | gtema: Bugfix for a bug I introduced there ^ | |
| 12:13:09 | gtema | ack | |
| 13:34:10 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: pre-commit: Bump versions https://review.opendev.org/c/openstack/openstacksdk/+/923221 | |
| 13:34:10 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Remove check for nova extensions https://review.opendev.org/c/openstack/openstacksdk/+/923213 | |
| 13:34:11 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: mypy: Enable checks for openstack.tests.fixtures https://review.opendev.org/c/openstack/openstacksdk/+/923225 | |
| 13:34:11 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Make _OpenStackCloudMixin subclass ServicesMixin https://review.opendev.org/c/openstack/openstacksdk/+/923214 | |
| 13:34:12 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Make service mixins subclass _OpenStackCloudMixin https://review.opendev.org/c/openstack/openstacksdk/+/923215 | |
| 13:34:12 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Reorganize _OpenStackCloudMixin, Connection (1/2) https://review.opendev.org/c/openstack/openstacksdk/+/923216 | |
| 13:34:13 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Reorganize _OpenStackCloudMixin, Connection (2/2) https://review.opendev.org/c/openstack/openstacksdk/+/923217 | |
| 13:34:14 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Misc type fixes https://review.opendev.org/c/openstack/openstacksdk/+/923218 | |
| 13:34:14 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Combine networking-related classes https://review.opendev.org/c/openstack/openstacksdk/+/923220 | |
| 13:34:16 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: mypy: Enable checks for openstack.cloud https://review.opendev.org/c/openstack/openstacksdk/+/923219 | |
| 13:34:16 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: tests: Remove TestClustering functional tests https://review.opendev.org/c/openstack/openstacksdk/+/923223 | |
| 13:34:18 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: mypy: Enable checks for openstack.tests.functional https://review.opendev.org/c/openstack/openstacksdk/+/923224 | |
| 13:34:18 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: mypy: Enable warn_return_any https://review.opendev.org/c/openstack/openstacksdk/+/923226 | |
| 13:34:20 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: WIP: mypy: Full typing of openstack.resource https://review.opendev.org/c/openstack/openstacksdk/+/923227 | |
| 13:34:20 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: cloud: Fix annotations for proxy method https://review.opendev.org/c/openstack/openstacksdk/+/924853 | |
| 14:22:44 | opendevreview | Salman Hajizada proposed openstack/openstacksdk master: Add virtual media attachment and detachment support https://review.opendev.org/c/openstack/openstacksdk/+/921957 | |
| 14:54:11 | iurygregory | did something merged in openstack cli that could break swift in devstack? | |
| 14:54:51 | iurygregory | lib/swift:swift_configure_tempurls:847 : openstack --os-cloud '' --os-region-name RegionOne --os-auth-url https://217.182.140.102/identity --os-username=swift --os-password=secretservice --os-user-domain-name=Default --os-project-name=service --os-project-domain-name=Default object store account set --property Temp-URL-Key=secretkey | |
| 14:54:52 | iurygregory | openstack-cli-server: 'object store account set --property Temp-URL-Key=secretkey' is not an openstack-cli-server command. See 'openstack-cli-server --help'. | |
| 14:55:04 | iurygregory | saw this in some of the ironic jobs | |
| 14:56:44 | stephenfin | nothing's changed in openstackclient/object since mid April | |
| 14:56:47 | stephenfin | so I doubt it | |
| 14:57:07 | stephenfin | I suspect that might be broken for a while. Is it causing failures? | |
| 14:58:31 | opendevreview | Mohamed Waiel Shikfa proposed openstack/openstacksdk master: Add virtual media attachment and detachment support https://review.opendev.org/c/openstack/openstacksdk/+/921957 | |
| 14:59:54 | iurygregory | stephenfin, yeah we started to see in some jobs in ironic.. | |
| 15:00:22 | iurygregory | https://zuul.opendev.org/t/openstack/build/39105e3b5251484caf6253213d9ad773 | |
| 15:03:20 | iurygregory | stephenfin, ty! seems like some change to use openstack-cli-server broke us XD | |
| 15:04:46 | stephenfin | Yeah, If628c4627f7c8b8c2ee9bca16ea6db693cf8526a looks a likely candidate, though only if it's been failing with ~12 days | |
| 17:35:19 | opendevreview | Antonia Gaete proposed openstack/python-openstackclient master: identity: Migrate 'domain' commands to SDK https://review.opendev.org/c/openstack/python-openstackclient/+/923785 | |
| 22:11:47 | aviator | Hello - To play with python-openstackclient cli and develop is the standard way to use devstack as the local openstack deployment? or are there public openstack deployments against which you can run commands to get familiar but develop against devstack? | |
| 22:24:42 | JayF | Some individual projects might have easier ways to run *just their project*; e.g. https://docs.openstack.org/ironic/latest/contributor/local-dev-guide.html -- but I would personally use a devstack to implement CLI items. | |
| #openstack-sdks - 2024-07-25 | |||
| 03:03:46 | aviator | Thanks JayF | |
| 06:07:22 | frickler | aviator: there also are public openstack deployments, but they are not free, so you would have to pay for them. also there are often cases where it will be helpful to be able to look at the server side of things, too, while developing client code | |
| 06:08:06 | frickler | another option would be to use an all-in-one deployment from one of the deployment tools, like openstack-ansible or kolla-ansible | |
| 08:34:46 | opendevreview | Valentin Chassignol proposed openstack/python-openstackclient master: Add retrieve password action for Instances with optional decryption https://review.opendev.org/c/openstack/python-openstackclient/+/924909 | |
| 08:46:33 | opendevreview | Valentin Chassignol proposed openstack/python-openstackclient master: Add retrieve password with optional decryption https://review.opendev.org/c/openstack/python-openstackclient/+/923621 | |
| 09:18:46 | frickler | gtema: stephenfin: something is making swift/object commands disappear from OSC. I started to collect some data at https://etherpad.opendev.org/p/osc-swift-issue | |
| 09:19:11 | frickler | the issue does not seem to happen with latest master, but only with 6.6.0 and older versions | |
| 09:19:43 | frickler | I'm expecting this to be caused by some updated library, but failed to find out which one so far | |
| 09:21:16 | frickler | a possible workaround might be to push forward with the release of 6.7.0, but IMO it would be better to root-cause this anyway | |
| 09:23:37 | opendevreview | Kaloyan Kotlarski proposed openstack/ansible-collections-openstack master: Add a list of Neutron port to attach when deploying an Ironic node https://review.opendev.org/c/openstack/ansible-collections-openstack/+/924914 | |
| 10:05:51 | opendevreview | Valentin Chassignol proposed openstack/python-openstackclient master: Add retrieve password with optional decryption https://review.opendev.org/c/openstack/python-openstackclient/+/923621 | |
| 10:54:50 | gtema | fricker: ack | |
| 11:48:54 | opendevreview | Stephen Finucane proposed openstack/python-openstackclient master: Add callback on plugin load failure https://review.opendev.org/c/openstack/python-openstackclient/+/924923 | |
| 11:49:29 | stephenfin | frickler: Do you have a local reproducer? Can you cherry-pick/manually apply that commit ^ to see if it yields any info? | |
| 11:50:18 | stephenfin | I wrote that yesterday due to issues I was seeing with osc-placement (and previously python-ironicclient), both due to use of distutils when installed under Python 3.12 | |
| 11:55:08 | frickler | ah, I was already looking at that code, but didn't know how to add debugging. you can simply rebase your patch onto 6.6.0 and get: WARNING: Failed to import plugin openstack.cli.base:object_store: No module named 'simplejson'. | |
| 11:55:55 | frickler | so the fix is https://review.opendev.org/c/openstack/python-openstackclient/+/920001 | |
| 11:56:15 | frickler | which is also what my git bisect led me to, but I couldn't find the connection | |
| 11:57:15 | stephenfin | frickler: Yeah, I was having commands disappear for seemingly no reason too, which led me to that patch (after a few other attempts at fixes in osc-lib and cliff). Good timing it seems :) | |
| 11:57:43 | frickler | so 6.7.0 will be fine and maybe we need to backport to stable branches | |
| 11:58:50 | stephenfin | Yup. I suspect this is coming about due to https://review.opendev.org/c/openstack/osc-lib/+/920000, which is included in osc-lib 3.1.0 | |
| 12:00:05 | stephenfin | (simplejson was a direct dependency that we were including transitively from osc-lib) | |
| 12:06:55 | frickler | ah, right, downgrading my broken venv to osc-lib-3.0.1 pulls in simplejson and that fixes the whole issue | |
| 12:12:46 | rpittau | so need to wait for osc 6.7.0 to land for the fix ? | |
| 12:13:43 | stephenfin | rpittau: We don't have an easy way to release 6.6.1 so yes | |
| 12:13:53 | frickler | another workaround is to install simplejson into the venv | |