| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2023-11-28 | |||
| 09:24:31 | lajoskatona | gtema: thanks for your time | |
| 09:24:48 | gtema | perfect, thanks | |
| 14:49:24 | opendevreview | Stephen Finucane proposed openstack/openstacksdk master: RFC: Statically typed resources https://review.opendev.org/c/openstack/openstacksdk/+/902087 | |
| 14:51:01 | stephenfin | gtema: Think you might be interested in ^. It could work quite nicely with your OpenAPI stuff, either as a source or (more likely now) as an output of the OpenAPI schemas | |
| 14:51:13 | stephenfin | super WIP! | |
| 14:59:02 | gtema | stephenfin - if you end up in a better design of individual resources we can definitely generate it new style from openapi | |
| 14:59:11 | gtema | that is what I was roughly thinking of | |
| 15:00:15 | gtema | I actually thought of starting using pydantic for resources and generate as a code all the parameter mapping (for every api call, since the dynamics of attributes_iterator are too expensive | |
| 15:01:25 | stephenfin | Yeah, I think we'd be able to do that with the above example, since the base class only describes the resource while the nested classes describe the various request parameters (CRUD) | |
| 15:02:01 | stephenfin | It's just a case of figuring out a way to (a) implement it and (b) have a gradual transition that doesn't necessitate us rewriting everything at once | |
| 15:02:21 | stephenfin | unless I can learn how to use codepilot and train it to do that for me | |
| 15:02:23 | stephenfin | :) | |
| 15:02:39 | gtema | :) | |
| 15:03:25 | gtema | I think it should not be a big deal even having multiple iterations of the regeneration (step-by-step) | |
| 15:04:20 | gtema | I now already have experience (lol) of using inspect.getcode/obj) and looking at the code | |
| 15:04:46 | gtema | so generally we could gradually regenerate code by slowly adding bits into the existing code | |
| 15:27:22 | opendevreview | Merged openstack/keystoneauth master: Fix "dictionary changed size during iteration" https://review.opendev.org/c/openstack/keystoneauth/+/900530 | |
| 15:52:02 | opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adding CLI support for ``glance image-create-via-import`` https://review.opendev.org/c/openstack/python-openstackclient/+/893022 | |
| 16:54:59 | opendevreview | Stephen Finucane proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 17:00:27 | opendevreview | Benjamin Alan Beasley proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 17:08:07 | opendevreview | Benjamin Alan Beasley proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| #openstack-sdks - 2023-11-29 | |||
| 05:54:37 | opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adding CLI support for ``glance image-create-via-import`` https://review.opendev.org/c/openstack/python-openstackclient/+/893022 | |
| 13:12:12 | opendevreview | Takashi Kajinami proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 13:12:55 | opendevreview | Takashi Kajinami proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 13:13:49 | opendevreview | Takashi Kajinami proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | |
| 16:40:37 | opendevreview | Jan Hartkopf proposed openstack/openstacksdk master: Allow project switching for Designate API https://review.opendev.org/c/openstack/openstacksdk/+/899027 | |
| 18:19:44 | opendevreview | Merged openstack/python-openstackclient master: tests: Handle missing extensions in network tests https://review.opendev.org/c/openstack/python-openstackclient/+/901340 | |
| #openstack-sdks - 2023-11-30 | |||
| 03:41:15 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: This is an update to the openstack port module to fix the issue described in https://storyboard.openstack.org/#!/story/2010606 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 13:33:51 | opendevreview | Lucas de Ataides Barreto proposed openstack/python-openstackclient stable/2023.1: Fix output for "openstack volume backup restore" https://review.opendev.org/c/openstack/python-openstackclient/+/902294 | |
| #openstack-sdks - 2023-12-01 | |||
| 01:12:12 | opendevreview | Takashi Kajinami proposed openstack/openstacksdk master: Remove importlib-metadata from requirements https://review.opendev.org/c/openstack/openstacksdk/+/897647 | |
| 03:14:42 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: Fix port fixed_ips idempotency issue This is an update to the openstack port module to fix the issue described in https://storyboard.openstack.org/#!/story/2010606 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 03:15:29 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: Fix port fixed_ips idempotency issue https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 16:29:26 | opendevreview | Merged openstack/keystoneauth master: Allow setting retriable status codes for Adapter via configuration options https://review.opendev.org/c/openstack/keystoneauth/+/898826 | |
| 16:30:25 | opendevreview | Artem Goncharov proposed openstack/ansible-collections-openstack master: Prepare release 2.2.0 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902429 | |
| #openstack-sdks - 2023-12-04 | |||
| 09:16:11 | opendevreview | Merged openstack/ansible-collections-openstack master: Prepare release 2.2.0 https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902429 | |
| 12:45:02 | opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adding CLI support for ``glance image-create-via-import`` https://review.opendev.org/c/openstack/python-openstackclient/+/893022 | |
| 16:14:37 | opendevreview | Rajat Dhasmana proposed openstack/python-openstackclient master: Quota: correct warning message in quota show https://review.opendev.org/c/openstack/python-openstackclient/+/902579 | |
| 20:09:54 | opendevreview | Jay Faulkner proposed openstack/python-openstackclient master: DNM: testing CI; trying to repro local failure https://review.opendev.org/c/openstack/python-openstackclient/+/902590 | |
| 20:31:41 | JayF | stephenfin, others: https://bugs.gentoo.org/918417 was pointed out to me by gentoo packagers (they ensure unit tests pass since they don't follow our constraints). It looks like this was fixed in fb2e0ced6e2413f5641e65bdc44ff1350a172a24 -- it's not really backportable, but I think we'd earn a little goodwill if we could cut a quick additional release. | |
| 20:45:46 | JayF | (for now they are taking that commit as a patch on the package) | |
| #openstack-sdks - 2023-12-05 | |||
| 05:34:18 | frickler | gtema: ^^ seems we collected a lot of bug fixes since 6.3.0, not sure if it should still be a minor bump? | |
| 05:34:43 | frickler | also nice to see people in gentoo care about this | |
| 06:56:15 | gtema | fricker, ack. Will look today | |
| 07:59:54 | opendevreview | Mridula Joshi proposed openstack/openstacksdk master: Adding SDK support for ``glance md-namespace-properties-delete`` https://review.opendev.org/c/openstack/openstacksdk/+/902612 | |
| 10:38:21 | stephenfin | frickler: JayF: gtema: 1da22d0de41ee83be8f290d72d7cdcc65ccffafd | |
| 10:38:28 | stephenfin | whoops, https://review.opendev.org/c/openstack/releases/+/902630 | |
| 10:39:31 | gtema | stephenfin, thks | |
| 10:44:57 | frickler | oh, right, needed a new minor version anyway since it is the first release in caracal, thx | |
| 12:58:43 | opendevreview | Markus Hentsch proposed openstack/python-openstackclient master: Implement image encryption commands https://review.opendev.org/c/openstack/python-openstackclient/+/902653 | |
| 13:05:43 | opendevreview | Lajos Katona proposed openstack/python-openstackclient master: Router flavor_id can be a name https://review.opendev.org/c/openstack/python-openstackclient/+/902654 | |
| 14:14:36 | opendevreview | Markus Hentsch proposed openstack/python-openstackclient master: Implement image encryption commands https://review.opendev.org/c/openstack/python-openstackclient/+/902653 | |
| 14:27:21 | opendevreview | Markus Hentsch proposed openstack/python-openstackclient master: Implement image encryption commands https://review.opendev.org/c/openstack/python-openstackclient/+/902653 | |
| 18:15:08 | opendevreview | Merged openstack/python-openstackclient master: compute: Address bug in shelve offload logic https://review.opendev.org/c/openstack/python-openstackclient/+/901019 | |
| 18:35:47 | opendevreview | Merged openstack/python-openstackclient master: Use CommandError, not SystemExit, to exit https://review.opendev.org/c/openstack/python-openstackclient/+/901020 | |
| 18:35:49 | opendevreview | Merged openstack/python-openstackclient master: Remove unnecessary file https://review.opendev.org/c/openstack/python-openstackclient/+/901021 | |
| 18:42:59 | opendevreview | Merged openstack/python-openstackclient master: parseactions: Use ArgumentError, not ArgumentTypeError https://review.opendev.org/c/openstack/python-openstackclient/+/901022 | |
| 18:43:01 | opendevreview | Merged openstack/python-openstackclient master: tests: Remove unused flag https://review.opendev.org/c/openstack/python-openstackclient/+/900917 | |
| 18:43:03 | opendevreview | Merged openstack/python-openstackclient master: test: Ignore 'OS_' environment variables https://review.opendev.org/c/openstack/python-openstackclient/+/900918 | |
| 18:43:12 | opendevreview | Merged openstack/python-openstackclient master: tests: Remove prints https://review.opendev.org/c/openstack/python-openstackclient/+/900813 | |
| 18:43:13 | opendevreview | Merged openstack/python-openstackclient master: tests: Enable logging fixture https://review.opendev.org/c/openstack/python-openstackclient/+/860477 | |
| 18:43:15 | opendevreview | Merged openstack/python-openstackclient master: compute: Add 'server create --server-group' option https://review.opendev.org/c/openstack/python-openstackclient/+/899975 | |
| 18:53:56 | frickler | does it make sense to update the release patch with all that ^^? at least two of the patches seem to be user-facing | |
| 21:11:46 | stephenfin | Probably does, yes | |
| #openstack-sdks - 2023-12-06 | |||
| 08:23:35 | lajoskatona | gtema: Hi, regarding openapi, what should be my 1st step to go a round for one of the Neutron stadiums like bgpvpn or dynamic-routing? | |
| 08:25:32 | gtema | lajoskatona - I do not have any preference. I don't think there is any order in reality | |
| 08:29:04 | lajoskatona | gtema: ack, and which tool I should use? Is there some doc in these patches: https://review.opendev.org/q/topic:%22openapi%22 ? | |
| 08:29:42 | gtema | neah. It is not so easy, and therefore I was asking for help to get the config done | |
| 08:30:20 | gtema | for now I moved generator to gh: https://github.com/gtema/openstack-codegenerator | |
| 08:30:40 | gtema | so you can check it out and try to setup virtenv | |
| 08:31:09 | gtema | (sorry for being broken now, I am restructuring the generator from openapi to rust and as such can't handle docs now) | |
| 08:32:00 | gtema | certain imrpvements in the tool are currently in my sandbox | |
| 08:33:15 | gtema | so basically, `tox -e py311` && `source .tox/bin/activate` | |
| 08:33:29 | gtema | then you can look into https://github.com/gtema/openstack-codegenerator/blob/main/tools/generate_openapi_specs.sh for the invocation | |
| 08:33:37 | gtema | from there only the neutron part is interesting for you | |
| 08:34:20 | gtema | and once you have "something" running you may want to play around with requirements (to get those stadiums installed) and https://github.com/gtema/openstack-codegenerator/blob/main/tools/generate_openapi_specs.sh for the config | |
| 08:46:19 | lajoskatona | gtema: ok, so I need an env where the APi endpoints are up am I recall well from the meeting? | |
| 08:46:51 | gtema | yes. As you see the requirements currently installs all services into the env | |
| 08:47:03 | gtema | in your case you can skip that and only get the neutron things | |
| 08:47:29 | gtema | I am planning also to split requirements into the service oriented parts | |
| 08:47:36 | lajoskatona | gtema: ok, I check it out | |
| 08:47:47 | gtema | so that if you only care about neutron things you do not need to install Nova | |
| 08:48:13 | gtema | cool. I hope today I would be able to push some restructure that makes project more user friendly | |
| 09:01:43 | lajoskatona | gtema; I hope I can check it this week, but I am in the office for 2 days and that is worse to productivity that shepharding my sons to school :-) | |
| 09:02:06 | gtema | yeah, and the laziest time of the year is also there | |
| 09:02:09 | gtema | no hurry | |
| 10:30:12 | opendevreview | Lajos Katona proposed openstack/python-openstackclient master: Router flavor_id can be a name https://review.opendev.org/c/openstack/python-openstackclient/+/902654 | |
| 11:53:35 | opendevreview | Rajat Dhasmana proposed openstack/python-openstackclient master: Quota: Ignore '--class' argument in quota set https://review.opendev.org/c/openstack/python-openstackclient/+/902579 | |
| 12:13:14 | opendevreview | Rajat Dhasmana proposed openstack/python-openstackclient master: volume list: Don't call nova if no volume is attached https://review.opendev.org/c/openstack/python-openstackclient/+/902763 | |
| 17:25:21 | opendevreview | Markus Hentsch proposed openstack/python-openstackclient master: Implement image encryption commands https://review.opendev.org/c/openstack/python-openstackclient/+/902653 | |
| #openstack-sdks - 2023-12-07 | |||
| 14:04:52 | opendevreview | Rajat Dhasmana proposed openstack/python-openstackclient master: Deprecate '--retype-policy' in favor of '--migration-policy' https://review.opendev.org/c/openstack/python-openstackclient/+/903085 | |
| 16:31:06 | opendevreview | Pavlo Shchelokovskyy proposed openstack/python-openstackclient master: Fix availability zone list command https://review.opendev.org/c/openstack/python-openstackclient/+/903093 | |
| 22:28:49 | opendevreview | Merged openstack/python-openstackclient master: Fix availability zone list command https://review.opendev.org/c/openstack/python-openstackclient/+/903093 | |
| 23:29:11 | opendevreview | Pavlo Shchelokovskyy proposed openstack/python-openstackclient stable/2023.2: Fix availability zone list command https://review.opendev.org/c/openstack/python-openstackclient/+/902889 | |
| #openstack-sdks - 2023-12-08 | |||
| 06:41:48 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: Fix port fixed_ips idempotency issue https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 08:29:44 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: Fix port fixed_ips idempotency issue https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 19:43:33 | opendevreview | Lajos Katona proposed openstack/openstacksdk master: Add Tap Mirrors to SDK https://review.opendev.org/c/openstack/openstacksdk/+/886084 | |
| #openstack-sdks - 2023-12-12 | |||
| 05:54:49 | opendevreview | Rajat Dhasmana proposed openstack/python-openstackclient master: Deprecate '--retype-policy' in favor of '--migration-policy' https://review.opendev.org/c/openstack/python-openstackclient/+/903085 | |
| 06:08:24 | opendevreview | Robert Cohen proposed openstack/ansible-collections-openstack master: Fix port fixed_ips idempotency issue https://review.opendev.org/c/openstack/ansible-collections-openstack/+/902218 | |
| 13:04:05 | Nihar | import openstack.compute.v2.server_action throws import error | |
| 13:04:37 | Nihar | Need to get server event list using Openstack Python SDK. Right channel ? | |