Friday, 2018-05-18

*** shu-mutou has joined #openstack-sdks00:22
*** dave-mccowan has quit IRC00:47
*** chenyb4 has joined #openstack-sdks01:08
*** annp has joined #openstack-sdks01:22
*** dave-mccowan has joined #openstack-sdks01:46
*** edmondsw has quit IRC01:51
*** dave-mccowan has quit IRC01:52
*** thrash is now known as thrash|g0ne01:58
*** dave-mccowan has joined #openstack-sdks02:00
openstackgerritChen proposed openstack/python-openstackclient master: Compute: Add description support for server  https://review.openstack.org/56854902:06
openstackgerritChen proposed openstack/python-openstackclient master: Compute: Add description support for server  https://review.openstack.org/56854902:12
openstackgerritChen proposed openstack/python-openstackclient master: Compute: Add description support for server Part 1  https://review.openstack.org/56854902:31
*** dave-mccowan has quit IRC02:37
*** gildub has joined #openstack-sdks02:38
*** edmondsw has joined #openstack-sdks02:56
*** edmondsw has quit IRC03:01
*** pooja-jadhav is now known as pooja_jadhav03:36
*** Jeffrey4l has quit IRC03:48
*** Jeffrey4l has joined #openstack-sdks03:55
*** bobh has joined #openstack-sdks04:25
*** edmondsw has joined #openstack-sdks04:45
*** bobh has quit IRC04:48
*** bobh has joined #openstack-sdks04:48
*** edmondsw has quit IRC04:50
*** bobh has quit IRC04:53
*** annp has quit IRC05:37
*** annp has joined #openstack-sdks05:38
*** edmondsw has joined #openstack-sdks06:33
*** edmondsw has quit IRC06:38
*** e0ne has joined #openstack-sdks07:09
*** gtema has joined #openstack-sdks07:28
*** markvoelker has quit IRC07:55
*** jpena|off is now known as jpena07:58
*** gtema has quit IRC07:59
*** gtema has joined #openstack-sdks08:00
*** gkadam has joined #openstack-sdks08:18
*** markvoelker has joined #openstack-sdks08:56
dtantsurmordred: well, I'd argue with the "no additional effort" bit.. at least for me as rust-openstack developer supporting major versions is a bit of a pain09:21
*** markvoelker has quit IRC09:30
*** chenyb4 has quit IRC10:07
*** edmondsw has joined #openstack-sdks10:10
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: baremetal: refuse to inspect associated machines  https://review.openstack.org/56937510:12
*** edmondsw has quit IRC10:14
*** lbragstad has quit IRC10:15
*** lbragstad has joined #openstack-sdks10:19
*** shu-mutou has quit IRC10:23
*** markvoelker has joined #openstack-sdks10:28
*** thrash|g0ne is now known as thrash10:42
*** annp has quit IRC10:51
*** markvoelker has quit IRC11:00
openstackgerritChen proposed openstack/python-openstackclient master: Compute: Add description support for server Part 2  https://review.openstack.org/56938511:00
openstackgerrittianhui proposed openstack/python-openstackclient master: Compute: Add tags support for server  https://review.openstack.org/56938611:00
fricklerdmsimard|off: do you use the default contrib/inventory/openstack.py from the ansible repo or do you have a modified version? I had a similar issue with the former that was resolved in https://github.com/openstack/os-client-config/commit/e65033910714d6f7d198d8eff6997fdaec10247411:15
*** markvoelker has joined #openstack-sdks11:15
*** edmondsw has joined #openstack-sdks11:26
*** jpena is now known as jpena|lunch11:49
mordreddtantsur: that's fair. I guess what I should have said is that since major versions already exist, clients that want  to support the existing openstack installations have to have major version discovery / handling code today anyway - and we have documentation about how to handle all of the cases of it11:57
mordreddmsimard|off, frickler: I think in this case it's an issue with executing the openstack dynamic inventory from a directory containing the inventory with the inventory script still named 'openstack.py'11:58
mordredsince it causes os-client-config's import of 'openstack.config' to fail by finding the inventory script as "openstack" instead11:58
mordreddmsimard|off, frickler the solutions for now are either to rename the inventory script before running it, or to switch to the new inventory plugin11:59
dmsimard|offmordred: oh yeah that makes sense12:11
dmsimard|offmordred: I've had something similar happen with a json.py file at some point..12:11
fricklermordred: hah, good catch, that explains why I couldn't reproduce this. mine is called 10-openstack.py for $reasons12:11
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Update command test for volume.v3  https://review.openstack.org/56939812:12
mordreddmsimard|off, frickler: I think it just goes to show that the new inventory plugin feature is a much better idea than the old inventory script model :)12:12
mordreddtroyer, dhellmann, amotoki: ^^ the above osc patch is needed to fix osc gate jobs now that the cinder-v3-by-default patch landed12:14
mordreddtroyer, dhellmann, amotoki: I'd love it if y'all could land it - that job not working also breaks occ's gate, and we just got a patch from a saltstack person fixing a regression they're having in production that I'd love to get landed and out the door12:15
amotokimordred: looking12:15
mordredamotoki: thanks12:16
*** EmilienM is now known as EvilienM12:21
dtantsurjroll: good catch re unit testing! I suspect that for some reason the test is not running at all...12:23
jrolldtantsur: yeah, it's strange :)12:23
dtantsurSKIPPED: Ironic operations not supported yet12:24
dtantsuryay, mordred is it expected for all ironic unit tests to be skipped with ^^^?12:24
jrollO_o12:24
*** gildub has quit IRC12:25
* dtantsur suspects an epic fail somewhere12:25
jrollmordred: totally agree that bumping the major version is the right thing to do - though seems like lots of effort to drop e.g. 1.11 and below, when the max is 1.48. 1.12 would become 2.1, 1.13, would become 2.2, etc, besides the code work it feels like lots of mental/docs overhead12:26
mordredjroll: yes, I agree - I was actually thinking cut the new major at the latest max of the current - and keep the old major around for at least the normal deprecation cycle to give people a chance to catch up - so instead of cutting a v2 at 1.11 - just go ahead and cut a new major at 1.48 - but it's possible that's a bad idea for other reasons I haven't realized yet12:29
jrollmordred: yeah, it just feels heavy12:30
jrollmost of this is about getting rid of bad apis or tech debt, right12:30
mordredwell - except that getting rid of bad apis is an illusion12:30
jrollso either you do that in small pieces (and have many major versions in the end), or you have to do it all at once to keep it in a single major version bump12:31
jrollok, ignore "bad apis" for now, we can discuss that bit later :)12:31
mordredI think it should be more about making progress towards a place where the 'default' api people see is nicer than it is about removing things12:31
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: baremetal: refuse to inspect associated machines  https://review.openstack.org/56937512:32
mordredthe reason I've come to like microversions so much is that I can completely and totally ignore them - and for the most part that's what I do12:32
mordredthe problem I have with bumping a min is that it makes caring about microversions cease to be optional - and now microversions become the new major versions and there are 48 of them12:33
mordredI'd rather us add things / change things over a few cycles using microversions until we like where we've got ... and then do a legit new major version based on where we got by iterating over time with the microversions12:34
mordredthat way consumers can continue to ignore microversions if they don't care about a specific feature and just program to the current major api version - and when a new major api version comes out then they can start caring about it12:34
mordredbut if we did new majors too often, it would also cause undue burden on people12:35
mordredso it's certainly a balancing act that would take thought and likely can't be codified in a policy about 'when' a major is cut12:35
jrollwhy are you making so much sense, I want to argue12:35
jroll:)12:35
* mordred hands jroll some meth so that he can argue no matter what12:35
dtantsur:D12:36
jrolllol12:36
jrollI think I'm good with that proposal, though probably needs more thought12:36
mordredjroll: yes. much more thought - and discussion and whatnot12:37
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: Enable bare metal unit tests  https://review.openstack.org/56940112:38
dtantsurmordred: this is quite urgent IMO ^^^12:38
mordreddtantsur: I agree - +A12:39
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: baremetal: refuse to inspect associated machines  https://review.openstack.org/56937512:40
*** jpena|lunch is now known as jpena12:44
mordreddtantsur: there's gonna me a small rabbit hole here - we need to land an osc patch that I pushed up this morning to fix the osc gate so that those patches will be green. but I have confidence we can get it done soon12:51
*** edleafe is now known as figleaf12:59
dtantsurI see13:00
* dtantsur feels like https://docs.openstack.org/openstacksdk/latest/user/guides/baremetal.html could use more text :D13:01
mordreddtantsur: much text is needed in many places :)13:08
dtantsuryep :) since I'm doing some work with openstacksdk now, I may be able to write a few paragraphs there13:09
dtantsur(probably not today though)13:09
*** chenyb4 has joined #openstack-sdks13:09
*** dtantsur is now known as dtantsur|brb13:11
*** dave-mcc_ has joined #openstack-sdks13:18
*** chenyb4 has quit IRC13:27
openstackgerritPavlo Shchelokovskyy proposed openstack/python-openstackclient master: Add --name-lookup option to server list  https://review.openstack.org/56834513:46
*** bobh has joined #openstack-sdks13:50
gtemamordred: in my cloud router enable_snat is False by default. But in both openstacksdk and shade it is assumed to be True and therefore can be only switched off.14:02
gtemamordred: Nice comment in the code "14:02
gtemaSending it can cause a policy violation error14:02
gtema        # on some clouds.14:02
gtemamordred: " makes me wonder how to fix the situation14:02
*** dtantsur|brb is now known as dtantsur14:14
mordredgtema: it looks to me like it defaults to None... ah14:14
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Allow explicitly setting enable_snat to either value  https://review.openstack.org/56942214:16
mordredgtema: how about that ^^ ?14:16
gtemagreat. Was also thinking about that, but was confused by this comment. shade will also need the same, since ansible is having same problem14:18
gtemamordred: what is the plan to switch ansible from shade to sdk?14:19
mordredgtema: yes - we'll need the same patch for shade14:20
mordredgtema: there's two parts to the plane. one is to make shade a thin wrapper around openstacksdk like we just did with os-client-config. the other is to update the ansible modules... I think we could start that transition in the modules before the thin-shim layer is done for ansible 2.6 - as shade for ansible 2.5 already has a dependency on openstacksdk, so people should already have it installed14:22
openstackgerritMonty Taylor proposed openstack-infra/shade master: Allow explicitly setting enable_snat to either value  https://review.openstack.org/56942514:23
mordredgtema: there's the cherry-pick to shade14:23
gtemamordred: thanks14:24
gtemamordred: do you which me to start some work on transition?14:24
gtemamordred: ah those typos: do you wish, that I start?14:26
mordredgtema: :) yes - that would be great - although my brain is totally distracted by the summit next week so I may not be able to provide much help until it's over14:28
mordredgtema: if you wnated to start thinking about the modules though, https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/openstack.py#L111 is probably a good place to start14:29
gtemamordred: no problem. Kurt will ping you if necessary ;-)14:30
mordredmaybe a PR that changes that method to just import openstack and create a connection through sdk - and then update any of the modules that are declaring a minimum shade version or are using the 'shade' return value (usually for exception handling)14:30
mordredgtema: awesome :)14:30
*** dave-mcc_ has quit IRC15:15
*** dave-mccowan has joined #openstack-sdks15:18
*** e0ne has quit IRC15:19
*** knikolla has quit IRC15:21
*** gkadam_ has joined #openstack-sdks15:21
*** knikolla has joined #openstack-sdks15:22
*** jroll is now known as jrollinhatin15:23
*** gkadam has quit IRC15:24
*** thrash is now known as thrash|biab15:40
*** dave-mcc_ has joined #openstack-sdks15:42
*** dave-mccowan has quit IRC15:43
*** melwitt is now known as jgwentworth15:49
*** lbragstad is now known as elbragstad15:50
*** dave-mcc_ has quit IRC16:17
*** e0ne has joined #openstack-sdks16:26
*** e0ne has quit IRC16:32
*** e0ne has joined #openstack-sdks16:33
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Allow explicitly setting enable_snat to either value  https://review.openstack.org/56942216:39
*** dtantsur is now known as dtantsur|afk16:40
*** gkadam_ has quit IRC16:44
*** gtema has quit IRC17:07
*** jpena is now known as jpena|off17:07
*** thrash|biab is now known as thrash17:13
*** e0ne has quit IRC18:10
*** dave-mccowan has joined #openstack-sdks18:20
*** bobh has quit IRC18:21
*** bobh has joined #openstack-sdks18:22
*** bobh has quit IRC18:26
openstackgerritJoshua Harlow proposed openstack-infra/shade master: Add 'on_chunk_cb' param to list_servers  https://review.openstack.org/56949118:42
openstackgerritMonty Taylor proposed openstack/os-client-config master: Turn osc-functional-devstack-tips to nonvoting  https://review.openstack.org/56949218:42
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Turn osc-functional-devstack-tips to nonvoting  https://review.openstack.org/56949318:45
mordreddhellmann: https://review.openstack.org/#/c/569398/ is green after your recheck18:46
mordreddhellmann: well, it's green on voting jobs18:46
openstackgerritJoshua Harlow proposed openstack-infra/shade master: Switch to iterable version of server listing (and expose iterable method)  https://review.openstack.org/56950319:24
openstackgerritJoshua Harlow proposed openstack-infra/shade master: Switch to iterable version of server listing (and expose iterable method)  https://review.openstack.org/56950319:25
*** kuzko has quit IRC19:36
*** kuzko has joined #openstack-sdks19:38
*** e0ne has joined #openstack-sdks19:55
openstackgerritSlawek Kaplonski proposed openstack/python-openstackclient master: Don't display router's is_ha and is_distributed attributes always  https://review.openstack.org/56762020:08
openstackgerritSlawek Kaplonski proposed openstack/python-openstackclient master: Make max_burst_kbps option as optional for bw limit QoS rule  https://review.openstack.org/56782820:17
*** e0ne has quit IRC20:30
openstackgerritMerged openstack/python-openstackclient master: Update command test for volume.v3  https://review.openstack.org/56939820:43
openstackgerritJoshua Harlow proposed openstack-infra/shade master: Switch to iterable version of server listing (and expose iterable method)  https://review.openstack.org/56950321:17
*** slaweq has quit IRC21:20
*** slaweq has joined #openstack-sdks21:20
*** slaweq has quit IRC21:20
*** slaweq has joined #openstack-sdks21:21
*** dave-mccowan has quit IRC21:25
*** slaweq has quit IRC21:26
*** dave-mccowan has joined #openstack-sdks21:35
*** figleaf is now known as edleafe21:40
*** dtroyer has quit IRC21:47
*** dtroyer has joined #openstack-sdks21:47
*** dave-mccowan has quit IRC21:52
*** slaweq has joined #openstack-sdks22:11
*** slaweq has quit IRC22:16
*** edmondsw has quit IRC22:54
*** d0ugal_ has joined #openstack-sdks23:12
*** d0ugal has quit IRC23:13

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