Friday, 2020-03-13

*** dave-mccowan has quit IRC00:01
*** tosky has quit IRC00:18
openstackgerritMerged openstack/openstacksdk stable/train: Consistent normalization of Machine objects in the cloud layer  https://review.opendev.org/71229500:20
*** diablo_rojo has quit IRC01:22
*** dave-mccowan has joined #openstack-sdks01:31
*** diablo_rojo has joined #openstack-sdks02:50
*** diablo_rojo has quit IRC03:35
*** dave-mccowan has quit IRC03:42
*** ricolin has quit IRC05:03
*** ricolin has joined #openstack-sdks05:17
*** evrardjp has quit IRC05:35
*** evrardjp has joined #openstack-sdks05:36
*** rpittau|afk is now known as rpittau07:24
*** gtema has joined #openstack-sdks07:30
*** gtema has quit IRC07:46
*** factor has joined #openstack-sdks07:50
*** slaweq has joined #openstack-sdks07:56
*** tkajinam has quit IRC08:31
*** jpich has joined #openstack-sdks08:42
*** tosky has joined #openstack-sdks08:46
*** jpena|off is now known as jpena08:53
*** ralonsoh has joined #openstack-sdks08:59
*** BakaKuna has joined #openstack-sdks09:16
BakaKunaHi, I was trying to change the admin state of a dhcp agent yesterday. Mordred gave me a pointer, but I think I just don't understand the flow yet. Should I be able to change the admin state of a DHCP agent (or any other attribut)? And if so, could anyone tell me how that should be done?10:08
BakaKunaI have looked through the documentation, but I can't seem to find a place where an attribute  is changed without using a dedicated method.10:10
BakaKunaFound it, network.update_agent() did the trick. This is amazing! How can I only find out about this whole project now? I have been immersed in OpenStack literature the last 6 months since I started a new job :D10:29
openstackgerritAlfredo Moralejo proposed openstack/osc-lib master: Replace assertItemsEqual with assertCountEqual  https://review.opendev.org/71290410:39
noonedeadpunkmordred: yeah, I tried to do kinda the same as https://review.opendev.org/#/c/712810/1 but also had local tests failing...10:42
noonedeadpunkso ended up in just fixing exception....10:43
noonedeadpunkalso there are the way more usages _find_identity_resource....10:49
noonedeadpunkactually I'm really wondering why osc thtows the same error for so different exceptions...10:49
*** rpittau is now known as rpittau|bbl11:28
*** senrique_ has joined #openstack-sdks11:35
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: os_nova_host_aggregate: Fixup sanity test failures  https://review.opendev.org/71291711:50
*** senrique_ has quit IRC11:59
*** stingrayza has quit IRC12:01
*** stingrayza has joined #openstack-sdks12:05
*** jpena is now known as jpena|lunch12:30
*** jpich has quit IRC12:36
*** jpich has joined #openstack-sdks12:37
*** rpittau|bbl is now known as rpittau13:04
*** jpich has quit IRC13:16
*** jpich has joined #openstack-sdks13:16
*** jpena|lunch is now known as jpena13:35
*** amoralej has joined #openstack-sdks13:53
amoralejhi, wrt https://review.opendev.org/#/c/712904/, is osc-lib gate broken?13:53
amoralejERROR: Package 'neutron' requires a different Python: 2.7.17 not in '>=3.6'13:54
*** amoralej is now known as amoralej|lunch13:55
*** factor has quit IRC14:00
*** factor has joined #openstack-sdks14:00
*** factor has quit IRC14:03
*** factor has joined #openstack-sdks14:04
mordrednoonedeadpunk: yeah - that's the larger mess I was talking about - the same exception multiple causes thing14:06
mordredBakaKuna: \o/14:06
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Don't look up project by id if given id  https://review.opendev.org/71281014:09
mordrednoonedeadpunk: try that one14:10
mordredamoralej|lunch: might be - let me look14:11
*** factor has quit IRC14:14
openstackgerritMonty Taylor proposed openstack/osc-lib master: Stop using lib-forward-testing  https://review.opendev.org/71296114:14
mordredamoralej|lunch: I think that should do it14:14
*** factor has joined #openstack-sdks14:14
*** factor has quit IRC14:15
noonedeadpunkmordred: smae thing for me14:16
noonedeadpunk*same14:16
mordrednoonedeadpunk: it's still not working?14:18
noonedeadpunknope. I don't have even nothing common to `_is_uuid_like` in dir(openstack.connect())14:20
noonedeadpunkopenstacksdk 0.43.014:20
mordredyeah - sorry - bad patch - one sec14:21
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Don't look up project by id if given id  https://review.opendev.org/71281014:29
mordrednoonedeadpunk: ok. one more try - hopefullyt his time with more coffee14:29
noonedeadpunkyeah, if only I've found _is_uuid_like method...14:31
mordrednoonedeadpunk: I think we need to apply that pattern to many of the places in osc where identity resources are given14:33
mordredfor _most_ things treating input as "name_or_id" works well - but it's actually quite common that users don't have access rights to look up identity resources (like project) by name unless they are an admin14:33
noonedeadpunkmordred: btw, I'd say that search works as well, it just has completely different URL base (so actually client_manager, which is probably do not exist)14:33
mordredso the pattern _completely_ falls apart for things like project14:34
noonedeadpunkthey actually can, with https://keystone:5000/v3/users/USER_UUID/projects?name=vexxhost14:34
noonedeadpunkthe same should work for groups, etc14:34
mordredawesome. good to know - we'll fix that too then14:34
mordrednoonedeadpunk: I think what I'll do is a pass to replace keystoneclient with sdk (similar to the glanceclient patch)14:35
noonedeadpunkyeah, sdk usage is the way cleaner I think14:35
mordredand as part of that we'll add in _is_uuid_like calls and then hopefully fix the project/groups/etc calls14:35
mordredif they aren't already fixed14:35
noonedeadpunkI think it's more workaround rather than fix14:36
mordredis_uuid_like ?14:36
mordredyeah - it's a workaround - although it does also save a roundtrip14:36
noonedeadpunkas api allows regular users to search in projects they have access to by it's name14:37
mordred++14:37
mordredyeah. I think that's the right call to use here14:38
mordredMerged openstack/governance master: Merge SDK and OSC teams  https://review.opendev.org/71126514:54
mordredFYI ^^14:54
openstackgerritAlfredo Moralejo proposed openstack/osc-lib master: Replace assertItemsEqual with assertCountEqual  https://review.opendev.org/71290414:55
*** amoralej|lunch is now known as amoralej14:55
amoralejthanks mordred14:55
smcginnishttps://gph.is/2ax5JZu15:02
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove MANIFEST.json before building  https://review.opendev.org/71297015:15
*** senrique_ has joined #openstack-sdks15:21
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/python-openstackclient master: Optimize adding project to image slightly more  https://review.opendev.org/71281315:33
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: os_nova_host_aggregate: Add support for not 'purging' missing hosts  https://review.opendev.org/71297915:37
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: os_nova_host_aggregate: Fixup sanity test failures  https://review.opendev.org/71291715:49
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: os_nova_host_aggregate: Add support for not 'purging' missing hosts  https://review.opendev.org/71297915:49
openstackgerritMerged openstack/ansible-collections-openstack master: Add option for modules_default groups  https://review.opendev.org/71205716:20
*** openstackgerrit has quit IRC16:31
*** openstackgerrit has joined #openstack-sdks16:54
openstackgerritSean McGinnis proposed openstack/os-client-config master: Use unittest.mock instead of third party mock  https://review.opendev.org/71302916:54
*** rpittau is now known as rpittau|afk16:58
*** jpich has quit IRC17:08
openstackgerritMerged openstack/ansible-collections-openstack master: Remove MANIFEST.json before building  https://review.opendev.org/71297017:14
*** diablo_rojo has joined #openstack-sdks17:27
*** iurygregory has quit IRC17:32
*** evrardjp has quit IRC17:35
*** evrardjp has joined #openstack-sdks17:36
*** sshnaidm|afk has quit IRC17:37
openstackgerritMerged openstack/ansible-collections-openstack master: os_nova_host_aggregate: Fixup sanity test failures  https://review.opendev.org/71291717:37
openstackgerritMerged openstack/ansible-collections-openstack master: os_nova_host_aggregate: Add support for not 'purging' missing hosts  https://review.opendev.org/71297917:43
*** jpena is now known as jpena|off18:07
*** BakaKuna has quit IRC18:13
*** ralonsoh has quit IRC18:36
openstackgerritMerged openstack/openstacksdk master: baremetal: fail-less mode for wait_for_nodes_provision_state  https://review.opendev.org/71263718:46
openstackgerritSean McGinnis proposed openstack/os-client-config master: Use unittest.mock instead of third party mock  https://review.opendev.org/71302918:51
openstackgerritSean McGinnis proposed openstack/os-client-config master: Uncap jsonschema  https://review.opendev.org/71304918:51
*** amoralej is now known as amoralej|off19:06
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305619:51
*** mgariepy has quit IRC19:53
*** diablo_rojo has quit IRC20:19
*** diablo_rojo has joined #openstack-sdks20:34
*** slaweq has quit IRC21:04
*** __ministry has quit IRC21:11
*** slaweq has joined #openstack-sdks21:15
mnasermordred: what do you think of https://review.opendev.org/#/c/708277/3 ? i think having it merge as is with a future of adding it to 'set' and stuff seems reasonable?21:19
*** slaweq has quit IRC21:20
mordredmnaser: I agree21:20
mordredmnaser: I think we should not block on perfectin21:21
mnaserthis is miles better than having to switch to swift client to do this operation anyways21:21
openstackgerritMerged openstack/python-openstackclient master: Incorrect title for service provider  https://review.opendev.org/70360021:23
openstackgerritMerged openstack/python-openstackclient master: Update http links in docs  https://review.opendev.org/56772921:23
*** __ministry has joined #openstack-sdks21:39
*** __ministry has quit IRC22:02
openstackgerritMerged openstack/os-client-config master: Uncap jsonschema  https://review.opendev.org/71304922:02
openstackgerritMonty Taylor proposed openstack/ansible-collections-openstack master: Remove all of the os_ prefixes  https://review.opendev.org/71305622:05
openstackgerritMerged openstack/os-client-config master: Use unittest.mock instead of third party mock  https://review.opendev.org/71302922:12
openstackgerritMerged openstack/python-openstackclient master: Add qos_network_policy_id to network port tests  https://review.opendev.org/70178622:34
*** senrique_ has quit IRC22:49
openstackgerritMerged openstack/openstacksdk master: Fixes get_user when identity responses are paged  https://review.opendev.org/68870422:51
openstackgerritMerged openstack/python-openstackclient master: Add storage policy option to create container command  https://review.opendev.org/70827722:53
openstackgerritMerged openstack/openstacksdk master: Switch to futurist for concurrency  https://review.opendev.org/71130122:57
*** senrique_ has joined #openstack-sdks23:08
*** senrique_ has quit IRC23:14

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!