Wednesday, 2019-06-19

*** slaweq has joined #openstack-sdks00:11
*** slaweq has quit IRC00:16
*** tosky has quit IRC00:36
openstackgerrityanpuqing proposed openstack/python-openstackclient master: Client should parse string to boolean for value 'is_domain'  https://review.opendev.org/66562901:34
*** whoami-rajat has joined #openstack-sdks02:08
*** slaweq has joined #openstack-sdks02:10
*** slaweq has quit IRC02:16
*** ricolin has joined #openstack-sdks02:55
*** markvoelker has joined #openstack-sdks03:00
*** markvoelker has quit IRC03:06
*** slaweq has joined #openstack-sdks03:11
*** slaweq has quit IRC03:15
*** markvoelker has joined #openstack-sdks04:01
*** markvoelker has quit IRC04:06
*** markvoelker has joined #openstack-sdks04:21
*** slaweq has joined #openstack-sdks05:11
*** e0ne has joined #openstack-sdks05:15
*** slaweq has quit IRC05:16
*** e0ne has quit IRC05:20
*** christi3k has quit IRC05:27
*** purplerbot has quit IRC05:27
*** purplerbot has joined #openstack-sdks05:28
*** christi3k has joined #openstack-sdks05:28
*** irclogbot_0 has quit IRC05:30
*** irclogbot_3 has joined #openstack-sdks05:32
*** Luzi has joined #openstack-sdks05:50
*** slaweq has joined #openstack-sdks06:11
*** ricolin has quit IRC06:18
*** ricolin has joined #openstack-sdks06:19
*** gtema has joined #openstack-sdks06:29
*** tosky has joined #openstack-sdks07:15
*** ralonsoh has joined #openstack-sdks07:16
*** markvoelker has quit IRC07:22
*** ttsiouts has joined #openstack-sdks07:42
*** jpena|off is now known as jpena07:43
*** dtantsur|afk is now known as dtantsur07:56
*** jpich has joined #openstack-sdks07:59
*** gkadam has joined #openstack-sdks08:00
*** ttsiouts has quit IRC08:06
*** ttsiouts has joined #openstack-sdks08:07
*** ttsiouts has quit IRC08:11
*** ttsiouts has joined #openstack-sdks08:16
*** markvoelker has joined #openstack-sdks08:22
*** markvoelker has quit IRC08:27
*** e0ne has joined #openstack-sdks08:34
*** holser_ has joined #openstack-sdks08:45
*** markvoelker has joined #openstack-sdks08:53
openstackgerritSurya Seetharaman proposed openstack/python-openstackclient master: Microversion 2.73: Support adding the reason behind a server lock  https://review.opendev.org/65912408:57
*** markvoelker has quit IRC08:58
openstackgerrityanpuqing proposed openstack/python-openstackclient master: Client should parse string to boolean for value 'is_domain'  https://review.opendev.org/66562909:03
openstackgerrityanpuqing proposed openstack/python-openstackclient master: Client should parse string to boolean for value 'is_domain'  https://review.opendev.org/66562909:06
openstackgerrityanpuqing proposed openstack/python-openstackclient master: Client should parse string to boolean for value 'is_domain'  https://review.opendev.org/66562909:09
openstackgerrityanpuqing proposed openstack/python-openstackclient master: Client should parse string to boolean for value 'is_domain'  https://review.opendev.org/66562909:12
*** cdent has joined #openstack-sdks09:15
*** yolanda has quit IRC09:41
*** tosky has quit IRC09:47
*** tosky has joined #openstack-sdks09:48
*** markvoelker has joined #openstack-sdks09:53
*** markvoelker has quit IRC09:58
*** gtema has quit IRC10:14
*** gtema has joined #openstack-sdks10:15
*** dave-mccowan has joined #openstack-sdks10:31
*** ttsiouts has quit IRC10:47
*** ttsiouts has joined #openstack-sdks10:48
*** ttsiouts has quit IRC10:52
*** markvoelker has joined #openstack-sdks10:54
*** markvoelker has quit IRC10:59
*** holser_ is now known as holser|lunch11:13
*** yolanda has joined #openstack-sdks11:17
*** jpena is now known as jpena|lunch11:19
*** ttsiouts has joined #openstack-sdks11:32
*** markvoelker has joined #openstack-sdks11:55
*** markvoelker has quit IRC12:00
*** gtema has quit IRC12:00
*** mgariepy has joined #openstack-sdks12:15
*** gtema has joined #openstack-sdks12:21
*** holser|lunch is now known as holser_12:28
*** jpena|lunch is now known as jpena12:29
dtantsurmordred: morning! do I get it right that loading a Connection from an oslo config doesn't allow to set various SDK-specific options, such as retry count?12:33
mordreddtantsur: yeah - I think we don't have support for that. there was discussion about adding support to the oslo.config loading to allow specifying a named cloud profile and then having things get loaded from a clouds.yaml (so that the oslo.config section would ultimately just be a pointer to the clouds.yaml) - but that hasn't been fully specced out yet12:35
dtantsurI see. It makes it harder to switch to this feature (and I wonder what Nova folks are going to do about options, such as retry count. efried?)12:36
mordredwe could also potentially add support for specifying them I imagine12:37
* mordred needs to find coffee- will attempt to say smarter things in a little bit12:38
dtantsurcoffee++12:39
efrieddtantsur: "switch to this feature" -- you mean retrofit something that currently uses clouds.yaml to using oslo.config instead? Or you mean switching something like nova over from its current oslo.config-to-load-ksa to oslo.config-to-load-sdk?12:44
dtantsurefried: the latter. e.g. making https://github.com/openstack/nova/blob/master/nova/conf/ironic.py#L41 still work12:45
efrieddtantsur: oic. Are these options normally available in clouds.yaml?12:46
dtantsurefried: this one is implemented under a different name (something like status_code_retries)12:47
dtantsurhttps://github.com/openstack/nova/blob/master/nova/conf/ironic.py#L54 is not implemented (retries are exponential)12:48
efriedso let me ask you this dtantsur: is it actually important that these values continue to be configurable?12:48
efrieddtantsur: If the options are available to the Connection() constructor, it would be pretty easy to plumb a **kwargs through here: https://review.opendev.org/#/c/643664/20/nova/utils.py@125212:51
dtantsurefried: the api_retries is an important one for ironic, yes. I know that at least tripleo raises it quite significantly.12:51
dtantsurI don't remember if adapter options are available in Connection. mordred?12:51
efriedget_cloud_region...12:53
efriednope12:54
*** markvoelker has joined #openstack-sdks12:56
efrieddtantsur: Okay, I can see a way to make this work, at least for status_code_retries, if there's not something else in place.12:57
efriedbut, ugh, for the ones that aren't supported (like the retry interval), we might have to maintain both code paths in nova, deprecate the option, and remove the old code path and the option at the same time in a future release.12:59
efrieddtantsur, dustinc: How immediate is the need for this? Do you want me to sling something together today?13:00
*** ttsiouts has quit IRC13:00
*** markvoelker has quit IRC13:00
*** ttsiouts has joined #openstack-sdks13:01
dtantsurefried: I'm looking into updating keystoneauth actually13:02
efrieddtantsur: Oh, is this an option that was added to the ksa.Adapter constructor but not to its config opts?13:03
dtantsuryep13:05
*** ttsiouts has quit IRC13:05
mordredah - yeah - that would be a better fix probably13:05
mordredalso - oops13:05
efriedokay, yeah, for sure.13:05
dtantsurand there is a sanity fix required there, hold on13:05
openstackgerritDmitry Tantsur proposed openstack/keystoneauth master: Limit interval between retries to 1 minute  https://review.opendev.org/66628413:10
dtantsurI know tripleo loves enormous retries, so ^^^13:10
*** yolanda has quit IRC13:13
*** yolanda has joined #openstack-sdks13:17
*** ttsiouts has joined #openstack-sdks13:18
*** cdent has quit IRC13:21
openstackgerritDmitry Tantsur proposed openstack/keystoneauth master: Allow setting retry counts for Adapter via configuration options  https://review.opendev.org/66628713:24
dtantsurefried, mordred ^^^13:25
dtantsurnow I wonder if we need an option for retry interval13:27
dtantsurI definitely don't want to maintain two code paths..13:27
mordreddtantsur: -1 on the limit with what would normally be a nit but in this case I think is salient13:27
openstackgerritDmitry Tantsur proposed openstack/keystoneauth master: Limit interval between retries to 1 minute  https://review.opendev.org/66628413:28
dtantsuroh FFS when will I stop confusing these words??13:28
* dtantsur is so ashamed of himself..13:29
dtantsurthanks mordred, updated!13:29
mordreddtantsur: they're more easily distinguishable in german :)13:30
dtantsurdefinitely! I'm confusing other words here :D13:31
dtantsurI cannot make up my mind on whether we should support setting retry intervals (overriding exponential retries)13:32
efrieddtantsur: I'm a proponent of "fewer knobs" wherever possible. I can't imagine a configurable retry interval is really important to anyone (whether they think it is or not).13:36
dtantsurefried: I'm only concerned with upgrades. E.g. if something like tripleo has set api_retries=20 retry_interval=2 (40 seconds totally), which now will turn into many minutes.13:47
dtantsurotherwise "fewer knobs"++13:51
*** markvoelker has joined #openstack-sdks13:57
efriedAre there really scenarios in tripleo where there are more than a couple of retries?14:00
efriedI guess if we're a deployment tool and we're waiting for a service to come up, having a fixed rather than exponential retry makes sense...14:00
efriedso, sigh, yeah, I guess it still makes sense for it to be configurable.14:00
*** markvoelker has quit IRC14:01
dtantsurefried: crazy hardware where BMC can start thinking for a minute about a power on request, locking a node in ironic?14:09
dtantsurit happens less and less frequently, but still happens14:09
*** cdent has joined #openstack-sdks14:11
dtantsurmordred: when you have a minute: https://review.opendev.org/#/c/665645/14:25
mordreddtantsur: I really want a string subclass that is case-insensitive and treats - and _ the same14:27
mordreddtantsur: I feel like it would make so many things easier14:27
dtantsurtotally14:27
mordredI'll write one in all of my copious free time14:27
dtantsurin your WHAT14:28
mordredI mean - actually - requests already has a caseinsensitive dict it uses for headers- we could totally start using it for our internal dicts14:28
mordredand maybe even update oslo.config to do the same (or similar) so that "foo-bar" in config_object would work as seamlessly as it does with response.headers14:29
mordredbut  - yeah - still too much work for now14:29
mordred+A on that patch14:29
*** Luzi has quit IRC14:36
dtantsurthx!14:47
*** mriedem has joined #openstack-sdks14:47
*** mriedem has left #openstack-sdks14:48
*** markvoelker has joined #openstack-sdks14:58
*** markvoelker has quit IRC15:02
dtantsuris keystoneauth CI broken?15:16
dtantsurthe pep8 job tries to run bandit for some reason (and fails)15:17
*** gkadam has quit IRC15:19
*** holser_ has quit IRC15:30
*** holser_ has joined #openstack-sdks15:32
*** holser_ has quit IRC15:37
*** holser_ has joined #openstack-sdks15:46
*** holser_ has quit IRC15:47
*** holser_ has joined #openstack-sdks15:48
openstackgerritMerged openstack/openstacksdk master: from_conf: fix handling service names with dashes  https://review.opendev.org/66564515:57
*** markvoelker has joined #openstack-sdks15:58
*** ttsiouts has quit IRC16:02
*** ttsiouts has joined #openstack-sdks16:03
*** markvoelker has quit IRC16:03
*** ttsiouts has quit IRC16:07
openstackgerritjacky06 proposed openstack/os-client-config master: Sync Sphinx requirement  https://review.opendev.org/66637916:14
*** jpich has quit IRC16:27
openstackgerritjacky06 proposed openstack/os-service-types master: Sync Sphinx requirement  https://review.opendev.org/66638416:29
mordreddtantsur: uh.16:30
mordredcmurphy, kmalloc: ^^ I thought I saw something about bandit a while back or something?16:30
cmurphyum16:31
kmallocuh16:33
kmallocbandit was broken for lots of things.16:33
kmallocbut afaik that was fixed16:33
cmurphydid it release again?16:33
cmurphyyep on friday16:34
mordredhttp://logs.openstack.org/84/666284/2/check/openstack-tox-pep8/77e2cf5/job-output.txt.gz seems unhappy with access_token_type='access_token' in the oidc driver16:35
kmallocand it totally mis-catches that as a password16:35
mordredyeah16:35
kmallocyeah... nope.16:35
kmalloci am less and less impressed with the bandit development16:35
kmalloci am guessing it's doing a crappy match on the word 'password' in the function signature16:36
kmallocas a kwarg.16:36
openstackgerritColleen Murphy proposed openstack/keystoneauth master: Cap bandit  https://review.opendev.org/66638816:36
kmalloccmurphy: +2/+A fast land if it passes zuul.16:37
kmalloccmurphy: feel free to self-approve if subsequent minor changes are needed (Carry my +2/+A) for unbreaking the KSA gate.16:37
cmurphykmalloc: o716:37
* kmalloc drinks coffee and tries to be less curmudgeonly towards external dependencies. 16:39
kmalloc:P16:39
*** jpena is now known as jpena|off16:45
*** tosky has quit IRC16:47
*** ricolin has quit IRC16:48
dtantsurmy API SIG friends, elmiko and edleafe (and everybody who cares): I'll be likely out for the next 2.5 weeks (i.e. 3 Thursdays)16:48
gtemadtantsur: eh, lucky16:49
dtantsurgtema: one week of that is a f2f meeting :)16:49
dtantsurand on Friday I'm out because of the German exam, brrrr16:49
dtantsurso my luck is only for the last week :)16:50
gtemahehehe16:50
gtemagood luck with exam16:50
dtantsurthank you, I feel like I'll need it :)16:50
gtemaDu muss es schaffen16:50
mordredHe must sheep it?16:52
gtemanope - 2 "f" - means - do it (accomplish)16:53
dtantsur:D16:53
gtemaand 1 "f" is a sheep16:54
dtantsurich hoffe, das ich es nicht schafen werde :D16:54
gtemawieso nur??16:54
mordredahhh16:54
dtantsurich wäre nicht ein Schaf :D16:55
dtantsuranyway, enough of my silly German, see you later16:56
mordredich esse Schafen gern16:56
gtemaich auch16:56
* dtantsur nicht16:56
*** dtantsur is now known as dtantsur|afk16:56
dtantsur|afk\o16:56
edleafedtantsur|afk: enjoy!16:57
*** markvoelker has joined #openstack-sdks16:59
*** markvoelker has quit IRC17:04
elmikodtantsur|afk: ack, thanks for the heads up. have fun =)17:08
*** e0ne has quit IRC17:20
*** cdent has quit IRC17:22
*** holser_ has quit IRC17:49
*** holser_ has joined #openstack-sdks17:54
*** gtema has quit IRC17:54
*** melwitt is now known as jgwentworth17:55
*** gtema has joined #openstack-sdks17:59
*** holser_ has quit IRC17:59
*** markvoelker has joined #openstack-sdks18:00
*** holser_ has joined #openstack-sdks18:00
*** markvoelker has quit IRC18:05
*** holser_ has quit IRC18:05
*** e0ne has joined #openstack-sdks18:35
*** e0ne has quit IRC18:36
*** markvoelker has joined #openstack-sdks19:01
*** e0ne has joined #openstack-sdks19:05
*** markvoelker has quit IRC19:20
openstackgerritMatt Riedemann proposed openstack/python-openstackclient master: Remove deprecated compute.v2.fixedip/floatingip  https://review.opendev.org/53853719:36
*** jkulik has quit IRC19:38
*** gtema has quit IRC19:50
*** jgwentworth is now known as melwitt19:52
*** ralonsoh has quit IRC19:53
*** holser_ has joined #openstack-sdks19:56
*** holser_ has quit IRC20:00
*** e0ne has quit IRC20:11
*** markvoelker has joined #openstack-sdks20:17
*** markvoelker has quit IRC20:36
*** whoami-rajat has quit IRC20:47
openstackgerritMerged openstack/keystoneauth master: Cap bandit  https://review.opendev.org/66638820:49
*** e0ne has joined #openstack-sdks20:55
*** e0ne has quit IRC20:59
*** e0ne has joined #openstack-sdks21:00
*** markvoelker has joined #openstack-sdks21:33
*** e0ne has quit IRC21:39
*** markvoelker has quit IRC21:53
*** zbr|ruck has quit IRC22:17
*** markvoelker has joined #openstack-sdks22:50
*** markvoelker has quit IRC23:05
*** slaweq has quit IRC23:47

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