Tuesday, 2022-06-14

*** rlandy|bbl is now known as rlandy00:57
*** rlandy is now known as rlandy|out01:45
*** ysandeep|sick is now known as ysandeep04:37
*** ysandeep is now known as ysandeep|lunch07:45
opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update role_assignment to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84383009:04
*** ysandeep|lunch is now known as ysandeep09:14
*** rlandy|out is now known as rlandy10:23
*** dviroel|out is now known as dviroel11:22
*** rlandy is now known as rlandy|mtg11:55
*** ysandeep is now known as ysandeep|afk12:15
sshnaidmarxcruz, can you please fix a nit in followup? https://review.opendev.org/c/openstack/ansible-collections-openstack/+/840640  I'd like to merge it12:25
arxcruzsshnaidm sure, give me one sec12:26
opendevreviewArx Cruz proposed openstack/ansible-collections-openstack master: Update endpoint to new proxy layer  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84064012:27
arxcruzsshnaidm done ^12:27
*** ysandeep|afk is now known as ysandeep12:30
sshnaidmarxcruz, ++12:38
*** rlandy|mtg is now known as rlandy13:30
*** ysandeep is now known as ysandeep|out14:25
gtemaguys, question about search_ list_ interface of the SDK (with name_or_id and filters)14:58
gtemaI have some conceptual problems14:58
gtemayou say your can't properly pass id as name_or_id14:59
gtemaso I started to make some rework and faced following question:14:59
gtemawhat should sdk return if name_or_id is passed as ID, but resource is not matching filters?14:59
opendevreviewMerged openstack/ansible-collections-openstack master: Update catalog service for the new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83935215:14
rcastillogtema: it would make more sense to me to not return the resource in that case15:18
rcastilloie you're filtering by domain and you ask for a resource in another domain15:19
rcastillowould be weird to get a result15:19
gtematja, it seems logical, but pretty complex to implement (especially globally). Point is that we can use ID as query param15:19
gtemaso I need to check previously if there is resource by ID15:20
gtemaand this is completely separate branch of code, compared to go list and filter15:20
gtemaon the other side15:20
gtemawhen user uses Ansible I can't imagine usecase of trying to pass ID (which is a unique instance) and try to further filter15:21
rcastilloyou're right about that15:22
rcastilloeven though it'd be surprising when that happens, I wouldn't be opposed to ignoring the filters when an ID is passed 15:23
rcastilloespecially if it makes the implementation significantly simpler15:23
gtemathat's pretty much what I have now15:24
gtemahttps://review.opendev.org/c/openstack/openstacksdk/+/845726 implements basic filtering15:24
rcastilloI can't seem to think of any use case that would *break* from this behavior15:24
gtemaand now I am trying to update list_projects (not the search_projects) to this way15:24
gtemapretty much: https://review.opendev.org/c/openstack/openstacksdk/+/84577615:26
gtemaso pls have a look whether you would be ok with that. If yes - I will work on updating remaining methods so that we can further align the interface for Ansible15:27
rcastilloahh, this is for adding filtering back to the client side15:28
rcastillolooks solid to me, should work for us15:28
gtemayes, that is precisely the scope15:28
gtemajust want to avoid doing huge work again without consensus15:29
gtemathere are now jobs checking with Depends-On of SDK, right?15:30
gtemaI can try playing with project_info module for that case15:30
opendevreviewMerged openstack/ansible-collections-openstack master: Update endpoint to new proxy layer  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84064015:32
rcastillogtema: I believe so. Let me know if that doesn't work for you15:34
gtemaoki, thks15:34
opendevreviewMerged openstack/ansible-collections-openstack master: Update role_assignment to use proxy  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84383015:39
opendevreviewShnaidman Sagi (Sergey) proposed openstack/ansible-collections-openstack master: Moves keypair_info from cloud to proxy object  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/82727415:55
*** dviroel is now known as dviroel|lunch15:58
opendevreviewArtem Goncharov proposed openstack/ansible-collections-openstack master: Switch project_info to new SDK  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84578216:02
*** dviroel|lunch is now known as dviroel17:17
*** rlandy is now known as rlandy|mtg18:15
*** rlandy|mtg is now known as rlandy19:01
*** dviroel is now known as dviroel|afk20:46
*** rlandy is now known as rlandy|bbl21:58
*** rlandy|bbl is now known as rlandy23:59

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