Friday, 2022-07-15

opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: [DNM] Build and install latest RPM for openstacksdk in TripleO jobs  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84965707:12
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Refactored server and server_info modules  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84942307:44
opendevreviewmbu proposed openstack/osc-lib stable/yoga: Do not output log on bash autocomplete generation  https://review.opendev.org/c/openstack/osc-lib/+/84982208:38
opendevreviewmbu proposed openstack/osc-lib stable/xena: Do not output log on bash autocomplete generation  https://review.opendev.org/c/openstack/osc-lib/+/84982308:38
opendevreviewmbu proposed openstack/osc-lib stable/wallaby: Do not output log on bash autocomplete generation  https://review.opendev.org/c/openstack/osc-lib/+/84982408:38
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996709:03
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Refactored router module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84979309:27
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Replaced code in routers_info module with openstacksdk function  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84997509:56
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Replaced code in routers_info module with openstacksdk function  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84997510:13
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996710:16
elodillesgtema: hi, release team is approving zed-2 release patches and i remember that openstacksdk latest release was a bit 'bigger' than usual, so now that we generated the zed-2 release patch for it, it would be good if you could double check the release, before we merge it (deadline was yesterday): https://review.opendev.org/c/openstack/releases/+/84955410:17
gtemauhm, I somehow again missed the email, need to check spam rules. Looking now10:18
elodillesthis is the general countdown mail that contains the info about zed-2: https://lists.openstack.org/pipermail/openstack-discuss/2022-July/029465.html10:20
gtemathks, approved10:20
elodillesgtema: thanks \o/10:21
elodillesjust a question: do you plan to release 1.0.0 @ zed-3?10:21
elodillesor it is not planned yet / will be released in the next cycle after Zed?10:24
elodilles(i'm just asking this out of curiosity, no official statement is needed or something like that [4~:))10:25
gtemaI fear zed-3 will not be reachable - there are still lots of issues fron Ansible collections side10:25
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996710:26
elodillesgtema: ack, i see, thanks!10:28
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Replaced code in routers_info module with openstacksdk function  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84997510:34
jm1gtema: having issues with unit tests for this one here https://review.opendev.org/c/openstack/openstacksdk/+/84996710:48
jm1gtema: any idea how to change the mock uris? https://291f4451bebc670e507b-a999ae1d5baedde86711d4f3bf719537.ssl.cf1.rackcdn.com/849967/3/check/openstack-tox-py38/863c9c3/job-output.txt10:48
jm1gtema: that is the error: requests_mock.exceptions.NoMockAddress: No mock address: GET https://network.example.com/v2.0/ports?device_id=57076620-dcfb-42ed-8ad6-79ccb4a79ed210:48
jm1gtema: this is the location where mock is created: https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/tests/unit/cloud/test_router.py#L37710:49
gtemahehe, I admit I reworked how mocks are filled here10:50
gtemawhy do you delete device_id filter?10:52
jm1gtema: i dont, do i?10:53
gtemaneed to look deeper, but that should be the reason for mock not being recognized10:54
gtemaah, this is vice versa, this is the only one remaining now10:55
gtemai will update your change after lunch if you don't mind10:55
jm1gtema: yes, instead of doing 4 api calls with different device_owner's i am doing just a single one10:55
gtemasure, makes sense. There are too many places to simplify - that is the whole sense of breaking ansible ;-)10:57
jm1gtema: maybe you can give me a hint on how to remove the device_owner from the mock url?10:59
gtemahttps://opendev.org/openstack/openstacksdk/src/branch/master/openstack/tests/unit/cloud/test_router.py#L37411:00
gtemamaybe extend the function _get_mock_dict to not to include it in the QS if param is empty11:01
opendevreviewPavlo Shchelokovskyy proposed openstack/python-openstackclient master: Fix server evacuate command  https://review.opendev.org/c/openstack/python-openstackclient/+/84999011:24
jm1gtema: omg, of course 😂 wood and all those trees, you know.. 12:42
gtemayeah12:42
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996712:46
anskiygtema: hello! I've made this thing: https://review.opendev.org/c/openstack/openstacksdk/+/848095, it's not thoroughly tested (I'm using a bit less functionality: just basic create/delete/find and ...s(), without extensive filters and such), but it works as expected from what I can see now. Can you take a look and tell me what's left for it to be merged?12:54
gtemaok, will try to get some time for that12:54
anskiyI'm gonna remove the "WIP" in the heading, CI should be fine as those issues look temporary. Thank you!12:56
opendevreviewDanila Balagansky proposed openstack/openstacksdk master: Cron Triggers proxy  https://review.opendev.org/c/openstack/openstacksdk/+/84809512:58
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996714:02
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996714:49
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996715:06
opendevreviewStephen Finucane proposed openstack/cliff master: Remove final use of pkg_resources  https://review.opendev.org/c/openstack/cliff/+/84235015:08
gtemastephenfin, I feel nearly ashamed, but how have you found syntax from https://review.opendev.org/c/openstack/openstacksdk/+/846214/2/openstack/resource.py#1303?15:14
stephenfingtema: https://peps.python.org/pep-3102/15:14
gtemaugh15:14
stephenfinthat's for kwarg-only arguments15:14
gtemaI've never seen single "*"15:15
stephenfinwhich I think make sense here. No one should ever be passing those args positionally. It also means we can opt to move things around down the line if we like15:15
stephenfinYeah, it's a Python 3-only thing afaik15:15
stephenfinso we could only use it in the last two years or so15:15
gtemayeah, feels now totally "weird". Moving more and more into the static languages with pointers and so on15:16
stephenfinyou've also got positional-only arguments since Python 3.8, though I've yet to find a reason for those https://peps.python.org/pep-0570/15:19
gtemaoh man, going into rust direction nearly15:20
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996715:29
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update router for 2.0.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84644615:56
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: block storage: Add support for the Group resource  https://review.opendev.org/c/openstack/openstacksdk/+/78201316:11
stephenfingtema: Nice find on ^16:33
gtemathks16:33
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update router for 2.0.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84644617:49
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Adds mechanisms to extend OpenstackModule behaviors  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84332418:24
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_inspect to be compatible with new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84333418:24
opendevreviewMerged openstack/openstacksdk master: Add VPNaaS Endpoint Group resource  https://review.opendev.org/c/openstack/openstacksdk/+/84601618:24
opendevreviewMerged openstack/openstacksdk master: Reorg existing vpnaas content  https://review.opendev.org/c/openstack/openstacksdk/+/84601718:24
opendevreviewMerged openstack/openstacksdk master: Add VPNaaS IpsecPolicy resource  https://review.opendev.org/c/openstack/openstacksdk/+/84659518:24
opendevreviewMerged openstack/openstacksdk master: Allow unknown attributes in project resources  https://review.opendev.org/c/openstack/openstacksdk/+/84396418:24
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996719:04
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996719:18
opendevreviewJakob Meng proposed openstack/openstacksdk master: Reduce list_router_interfaces() to necessary API calls  https://review.opendev.org/c/openstack/openstacksdk/+/84996719:28
jm1gtema: unit tests for list_router_interfaces fixed. it took me a while until i realized that network.ports() returns a generator and those are iterable only once of course 🙄😂 https://review.opendev.org/c/openstack/openstacksdk/+/84996719:41
gtemaYes, sdks (and working with apis) is always full of fun19:45
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: [WIP] Update compute flavor module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85006919:47
jm1gtema: at least its working now and we can get rid of some more code in aoc :)19:47
gtemaThat's awesome 19:47
jm1gtema: that is it for today, have a nice weekend 🍻19:47
gtemaThanks, you too19:48
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_inspect to be compatible with new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84333420:19
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update compute flavor module for 2.0.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85006920:27
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update compute flavor module for 2.0.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/85006922:38

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