Earlier  
Posted Nick Remark
#openstack-sdks - 2023-01-09
14:07:18 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
14:10:34 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
14:11:15 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
14:12:01 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
15:32:57 opendevreview Gaël THEROND proposed openstack/ansible-collections-openstack master: Add module to filter available volume services. https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868480
15:32:57 opendevreview Gaël THEROND proposed openstack/ansible-collections-openstack master: Add module to filter available volume services. https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868480
15:49:48 opendevreview Arnaud Morin proposed openstack/ansible-collections-openstack master: Add reboot and reboot_hard actions on server https://review.opendev.org/c/openstack/ansible-collections-openstack/+/866550
#openstack-sdks - 2023-01-10
08:08:15 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Volume module: - Add 'is_multiattach' parameter. When it is true, volume will be shareble https://review.opendev.org/c/openstack/ansible-collections-openstack/+/865477
08:08:24 opendevreview Rajat Dhasmana proposed openstack/python-openstackclient master: Add volume revert snapshot command https://review.opendev.org/c/openstack/python-openstackclient/+/869654
08:16:19 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Add reboot and reboot_hard actions on server https://review.opendev.org/c/openstack/ansible-collections-openstack/+/866550
10:02:14 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
10:07:25 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
10:50:33 opendevreview Artem Goncharov proposed openstack/openstacksdk master: Drop _normalize class https://review.opendev.org/c/openstack/openstacksdk/+/865044
12:11:02 opendevreview Merged openstack/ansible-collections-openstack master: Add reboot and reboot_hard actions on server https://review.opendev.org/c/openstack/ansible-collections-openstack/+/866550
12:16:07 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
12:34:06 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added is_multiattach parameter to volume module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/865477
12:34:24 eest i dont know if people recall my problem where openstack-sdk did not allow me to create a server with some specific settings unless i configured compute_api_version: "2.79" in clouds.yaml. I have now discovered that while it fixes my call to create a server, it breaks my call to create a server_group: Additional properties are not allowed (u'policies' was unexpected). It seems that even if i have set
12:34:30 eest my expected API version the code will instead inspect its "session" to see what microversion is supported and since it is 2.1 it tries using the older "policies" field instead of "policy" that it should be using
12:35:38 gtema do you hardcode microversion now? It should not be required, since sdk tries to choose max supported by user and cloud
12:36:47 eest yeah, i set "compute_api_version" in clouds.yaml, it is a bit of a mystery why the automatic microversion stuff does not work for me... i have a hard time figuring out where in the code this is actually discovered, maybe i could find out why
12:38:15 eest not sure if it is the openstack server side stuff that is not reporting the actually supported microversion, or if it is somehow lost in openstacksdk for some reason (i am using application credential auth which incurs extra API lookups for instance)
12:38:18 gtema pls try to figure out which param exactly is causing you issues without specifying MV. Hardcoding it this way is something very tricky and not without consequences
12:38:39 eest btw, i am not setting the "default" microversion, i believe that is another setting
12:38:54 eest right
12:39:00 gtema you should normally not set any version at all
12:40:46 opendevreview Mridula Joshi proposed openstack/openstacksdk master: Add support for glance cache list https://review.opendev.org/c/openstack/openstacksdk/+/869710
12:45:15 opendevreview Merged openstack/ansible-collections-openstack master: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/868923
12:47:27 eest i have went so far as to checking compute/v2/server_group.py where it does "if utils.supports_microversion(session, '2.64'):" to figure out what policy thing to set, and inside supprts_microversion() it calls endpoint_data = adapter.get_endpoint_data(). printing endpoint_data i see:
12:47:46 eest EndpointData{api_version=(2, 1), catalog_url=https://url:port/v2.1/project-id, endpoint_id=someid, interface=public, major_version=None, max_microversion=None, min_microversion=None, next_min_version=None, not_before=None, raw_endpoint={'region_id': 'regionname', 'url': 'https://url:port/v2.1/project-id', 'region': 'regionname', 'interface': 'public', 'id': 'someid'}, region_name=regionname,
12:47:53 eest service_id=someid, service_name=nova, service_type=compute, service_url=None, url=https://url:port/v2.1/projectid}
12:48:31 eest where might the code try to figure out what should be supported? i obviously am able to do calls with a higher version than 2.1 (needed for my compute creation) yet it seems determined that my "session" is 2.1
12:52:54 opendevreview Artem Goncharov proposed openstack/os-client-config master: Update tox to support v4 https://review.opendev.org/c/openstack/os-client-config/+/869712
13:21:33 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack stable/1.0.0: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869717
13:58:36 opendevreview Stephen Finucane proposed openstack/os-client-config master: Add support for tox 4 https://review.opendev.org/c/openstack/os-client-config/+/869723
14:07:23 stephenfin gtema: Need that to unblock openstacksdk gates since the os-client-config-tox-py38-tips job is failing
14:07:46 gtema I know stephenfin
14:08:01 stephenfin Okay, cool :)
14:08:19 gtema I hope your change will pass, since my just failed
14:08:26 gtema but I gave your +2 already
14:08:47 stephenfin oh, I missed yours. Sorry /o\
14:08:53 gtema np
14:20:20 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Fixed docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869726
14:55:40 opendevreview Merged openstack/ansible-collections-openstack master: Added is_multiattach parameter to volume module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/865477
14:55:41 opendevreview Merged openstack/ansible-collections-openstack stable/1.0.0: Updated docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869717
14:55:43 opendevreview Merged openstack/ansible-collections-openstack master: Fixed docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869726
15:13:40 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack stable/1.0.0: Fixed docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869737
15:15:57 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored loadbalancer module breaking backward compatibility https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867558
15:16:14 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored lb_{health_monitor,listener,member,pool} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867560
15:16:44 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored coe_cluster{,_template} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/866796
15:32:53 opendevreview Merged openstack/ansible-collections-openstack stable/1.0.0: Fixed docs https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869737
15:38:25 eest hmm, might actually be closer to a solution, from the debug output i can actually see "No version document at..." errors which appears to be thrown by the keystone auth stuff
15:38:41 eest guessing this is the reason the client is not able to detect microversions, to be continued
15:40:38 gtema yes, this may be really a reason
16:50:07 opendevreview Merged openstack/os-client-config master: Add support for tox 4 https://review.opendev.org/c/openstack/os-client-config/+/869723
17:52:19 opendevreview Tom Weininger proposed openstack/openstacksdk master: Add typing information and documentation https://review.opendev.org/c/openstack/openstacksdk/+/867968
19:08:54 opendevreview Lajos Katona proposed openstack/openstacksdk master: Add BGP Speakers and Peers to SDK https://review.opendev.org/c/openstack/openstacksdk/+/869485
21:39:02 opendevreview Merged openstack/openstacksdk master: Move _normalize_coe_* into _coe class https://review.opendev.org/c/openstack/openstacksdk/+/865043
21:53:58 opendevreview Merged openstack/openstacksdk master: Allow passing more arguments to create_port https://review.opendev.org/c/openstack/openstacksdk/+/868106
#openstack-sdks - 2023-01-11
06:37:06 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored security_group{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867740
06:37:48 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored security_group_rule{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869355
06:38:15 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added parameter for managing rules in security_group module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/863208
06:39:08 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored compute_service_info module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869167
06:39:41 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Refactored project{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869254
07:35:27 opendevreview Artem Goncharov proposed openstack/openstacksdk master: Drop munch dependency https://review.opendev.org/c/openstack/openstacksdk/+/865045
09:01:30 opendevreview Merged openstack/openstacksdk master: Drop _normalize class https://review.opendev.org/c/openstack/openstacksdk/+/865044
09:11:51 opendevreview Merged openstack/openstacksdk master: baremetal: Add Node.inject_nmi method https://review.opendev.org/c/openstack/openstacksdk/+/866569
10:03:06 opendevreview Merged openstack/ansible-collections-openstack master: Refactored loadbalancer module breaking backward compatibility https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867558
10:03:08 opendevreview Merged openstack/ansible-collections-openstack master: Refactored lb_{health_monitor,listener,member,pool} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867560
10:03:10 opendevreview Merged openstack/ansible-collections-openstack master: Refactored coe_cluster{,_template} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/866796
10:03:12 opendevreview Merged openstack/ansible-collections-openstack master: Refactored security_group{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/867740
10:03:14 opendevreview Merged openstack/ansible-collections-openstack master: Refactored security_group_rule{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869355
10:03:15 opendevreview Merged openstack/ansible-collections-openstack master: Added parameter for managing rules in security_group module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/863208
10:03:17 opendevreview Merged openstack/ansible-collections-openstack master: Refactored compute_service_info module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869167
10:03:19 opendevreview Merged openstack/ansible-collections-openstack master: Refactored project{,_info} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869254
10:30:55 whoami-rajat stephenfin, hey, I'm adding a new command which has the parameter '--prefix' but it's ignored by the doc builder, any reason why it's done that way and any workaround for that? https://github.com/openstack/python-openstackclient/blob/master/doc/source/conf.py#L264
10:31:18 whoami-rajat I know i can write down the whole thing but if we could "not ignore" it for specific commands
10:45:24 frickler whoami-rajat: iiuc --prefix is a parameter already defined and used by cliff, so you would need to name your new parameter differently
10:46:12 whoami-rajat frickler, hmm, but in the context of my specific command, it shouldn't be an issue right? openstack volume service get log --prefix
10:46:28 whoami-rajat and it works fine, just causing issue in the doc build
10:49:28 frickler whoami-rajat: it is an issue, as you are overriding a global default option for the shell formatter. what is the semantic for your prefix, can it be called --log-prefix or similar?
10:50:42 stephenfin whoami-rajat: There's no easy way to address that. As frickler notes, that's ignored because it's an argument implied by cliff and we don't want to dump a load of duplicated options for every command
10:50:50 stephenfin It will work, as you note, because cliff (or perhaps argparse) has a hierarchy of options and will map the option to the correct subparser, but we've no way to indicate that we should ignore the option *only from this subparser* for that Sphinx extension
10:51:30 stephenfin So the easiest thing to do would be to come up with a slightly different name for the option
10:52:39 frickler plus we should avoid confusing our users by having identically named options doing completely different things
10:53:54 whoami-rajat frickler, stephenfin ack, thanks for the help, will update that. also note that --prefix is also used in object/v1/object.py file in the ListObject command, not sure if v1 is still in use though (might be added before sphinxext integration)
10:55:16 stephenfin Yeah, I suspect that was just missed
11:00:49 frickler we might add a new option and at least deprecate this one, not sure if we could ever remove it though. also it is no direct conflict because the list actions don't support the shell formatter
11:20:56 opendevreview Rajat Dhasmana proposed openstack/python-openstackclient master: Add volume service {get, set} log commands https://review.opendev.org/c/openstack/python-openstackclient/+/869811
11:30:47 opendevreview Merged openstack/openstacksdk master: Add query mappings for vpnaas resources https://review.opendev.org/c/openstack/openstacksdk/+/868867
13:10:36 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added resource{,s} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869822
13:37:06 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack stable/1.0.0: Refactored coe_cluster{,_template} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869824
13:39:52 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added resource{,s} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869822
14:09:38 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack stable/1.0.0: Refactored coe_cluster{,_template} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869824
14:11:22 opendevreview Merged openstack/openstacksdk stable/zed: Update tox.ini for tox v4 compatibility https://review.opendev.org/c/openstack/openstacksdk/+/869200
14:37:57 opendevreview Merged openstack/openstacksdk stable/yoga: Update tox.ini for tox v4 compatibility https://review.opendev.org/c/openstack/openstacksdk/+/869201
14:37:59 opendevreview Merged openstack/openstacksdk stable/yoga: Replace deprecated inspect.getargspec call https://review.opendev.org/c/openstack/openstacksdk/+/869081
14:49:29 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Inlined network_external variable https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869851
14:49:47 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added resource{,s} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869822
17:45:10 opendevreview Jesse Pretorius proposed openstack/python-openstackclient stable/wallaby: volume: Allow more versions https://review.opendev.org/c/openstack/python-openstackclient/+/869832
19:54:35 opendevreview Jakob Meng proposed openstack/ansible-collections-openstack master: Added resource{,s} modules https://review.opendev.org/c/openstack/ansible-collections-openstack/+/869822

Earlier   Later