Wednesday, 2023-02-22

opendevreviewArtem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job  https://review.opendev.org/c/openstack/openstacksdk/+/86039909:15
opendevreviewStephen Finucane proposed openstack/python-openstackclient master: Wait for volume being available to set bootable or readonly  https://review.opendev.org/c/openstack/python-openstackclient/+/84599109:55
opendevreviewMerged openstack/python-openstackclient master: doc: Update nova command mapping  https://review.opendev.org/c/openstack/python-openstackclient/+/85895210:03
opendevreviewStephen Finucane proposed openstack/python-openstackclient master: zuul: Merge osc-functional-devstack-base into only child  https://review.opendev.org/c/openstack/python-openstackclient/+/86389810:04
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job  https://review.opendev.org/c/openstack/openstacksdk/+/86039910:05
opendevreviewMark Goddard proposed openstack/ansible-collections-openstack master: Add baremetal_deploy_template module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/87475510:07
opendevreviewStephen Finucane proposed openstack/python-openstackclient master: Add missing documentation for state options for "image set"  https://review.opendev.org/c/openstack/python-openstackclient/+/81339310:15
opendevreviewGaël THEROND proposed openstack/ansible-collections-openstack master: Add module to filter available volume services.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/86848011:03
opendevreviewMerged openstack/python-openstackclient master: Deprecate positional args for 'volume group create'  https://review.opendev.org/c/openstack/python-openstackclient/+/87415112:32
opendevreviewMerged openstack/python-openstackclient master: volume: Remove duplication from 'consistency group create' opts  https://review.opendev.org/c/openstack/python-openstackclient/+/87373012:32
opendevreviewMerged openstack/python-openstackclient master: Add port ranges on floating ip portforwardings cli  https://review.opendev.org/c/openstack/python-openstackclient/+/83687012:32
opendevreviewMerged openstack/python-openstackclient master: Fix really long help strings  https://review.opendev.org/c/openstack/python-openstackclient/+/86727212:32
opendevreviewMerged openstack/python-openstackclient master: Update 'host list' and 'host show' command to use sdk  https://review.opendev.org/c/openstack/python-openstackclient/+/86681812:32
opendevreviewMerged openstack/python-openstackclient master: Wait for volume being available to set bootable or readonly  https://review.opendev.org/c/openstack/python-openstackclient/+/84599112:32
opendevreviewMerged openstack/python-openstackclient master: Drop default from ask_user_yesno question  https://review.opendev.org/c/openstack/python-openstackclient/+/86867412:32
opendevreviewMerged openstack/python-openstackclient master: Add missing documentation for state options for "image set"  https://review.opendev.org/c/openstack/python-openstackclient/+/81339312:53
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: Implement acceptance test job  https://review.opendev.org/c/openstack/openstacksdk/+/86039913:37
opendevreviewGaël THEROND proposed openstack/ansible-collections-openstack master: Add module to filter available volume services.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/86848013:38
ozzzo_workI'm trying to use the SDK to pull a list of security groups with "cloud.network.security_groups()"14:07
ozzzo_workThat works fine for small clusters but on large clusters it times out with: 504 Gateway Time-out: The server didn't respond in time.14:07
ozzzo_workI tried adding --timeout=1000 but it seems to be ignored; the call times out after 60 seconds14:08
ozzzo_workhttps://paste.openstack.org/show/b96XXB9Us8utAlk57DCt/14:08
ozzzo_workWhat am I missing?14:08
gtemathen you either implement some reasonable filter or you analyze your SGs in a loop, since "security_groups()" return generator14:08
ozzzo_workhow do I loop through the generator?14:09
gtemafor sg in cloud.network.security_groups():14:09
ozzzo_workok I'll try that14:09
gtemaif even that doesnot help try adding "limit=100" parameter into the listing call. That should instruct server to only return 100 entries per "page"14:10
ozzzo_workDoes the timeout not work? I see it here: https://github.com/openstack/openstacksdk/blob/master/openstack/config/loader.py#L75514:16
gtemahow do you pass it?14:17
ozzzo_workI'm passing it when I open the connection at line 5714:27
gtemaah, I overseen paste14:29
gtemagenerally it uses it, but it is not able to instruct server (proxy) to wait longer. In your case since you get 504 it means that proxy server of your cloud is not capable to get response in defined time14:30
gtematimeout will not help you further. You need to start using "limit" option to the list14:30
ozzzo_workok14:31
ozzzo_workis there a document on paging?14:31
gtemahttps://docs.openstack.org/api-ref/network/v2/index.html?expanded=list-security-groups-detail#pagination14:35
gtemabut you need to only use "limit" which limits page size, pagination as such is managed by sdk itself14:36
ozzzo_workthat works, ty!14:50
opendevreviewGaël THEROND proposed openstack/ansible-collections-openstack master: Add module to filter available volume services.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/86848015:12
lutimuraHi guys. I've a question about OpenStackClient (OSC) plugins discovery order.17:19
lutimuraI 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
lutimuraSo my question is, currently, is there a way to set the plugin load order in OSC? To ensure all custom plugins are loaded last?17:19
fricklerlutimura: 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 plugins18:48
opendevreviewMerged openstack/os-api-ref master: Fix the 'No such file or directory' error  https://review.opendev.org/c/openstack/os-api-ref/+/87433219:04
gtema+1 to fricler's statement19:04
lutimurafrickler: 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.20:15
opendevreviewChristopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems.  https://review.opendev.org/c/openstack/openstacksdk/+/78312321:21
opendevreviewChristopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems.  https://review.opendev.org/c/openstack/openstacksdk/+/78312321:34
opendevreviewChristopher Parks proposed openstack/openstacksdk master: Add share types to shared file systems.  https://review.opendev.org/c/openstack/openstacksdk/+/78312321:47
opendevreviewArvid Requate proposed openstack/keystoneauth master: New auth plugin v3oidcdeviceauthz  https://review.opendev.org/c/openstack/keystoneauth/+/86987622:28

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!