Tuesday, 2016-12-06

morganmordred: I am expecting to be cranking out some shade stuff over the holidays.01:14
morganmordred: as I settle into the new place. (I also think I'll get stuff done this week)01:14
morganbut... lots of time to break in the new house... also woot possibly found a place with radiant heating01:14
mordredmorgan: woot!02:36
*** mordred has quit IRC04:26
*** greghaynes has quit IRC04:26
*** Shrews has quit IRC04:27
*** Shrews has joined #openstack-shade05:03
*** greghaynes has joined #openstack-shade05:04
*** mordred has joined #openstack-shade05:04
*** mordred has quit IRC05:18
*** Shrews has quit IRC05:18
*** Shrews has joined #openstack-shade05:26
*** mordred has joined #openstack-shade05:27
*** mordred has quit IRC07:25
*** Shrews has quit IRC07:30
*** mordred has joined #openstack-shade07:34
*** Shrews has joined #openstack-shade07:35
*** abregman has joined #openstack-shade08:17
*** larainema has quit IRC09:14
*** larainema_ has joined #openstack-shade09:14
*** abregman has quit IRC12:04
*** larainema_ has quit IRC12:46
*** larainema_ has joined #openstack-shade12:46
*** abregman has joined #openstack-shade13:02
*** gouthamr has joined #openstack-shade13:10
*** gouthamr has quit IRC13:10
*** gouthamr has joined #openstack-shade13:12
*** yfried has joined #openstack-shade14:06
yfriedShrews: is this better?14:06
Shrewssure14:07
yfriedhttps://storyboard.openstack.org/#!/story/2000820 https://storyboard.openstack.org/#!/story/200081914:07
yfriedShrews: ^ these will break os_floating_ip trying to use nat_destination14:08
Shrewsi saw those get created, but haven't had any time to look into them. mordred would likely know more about that area than i would, anyway14:10
yfriedAlso,14:11
yfriedhttps://github.com/ansible/ansible-modules-core/blob/devel/cloud/openstack/os_floating_ip.py#L7114:11
yfriedShrews: if "internal_network" alias is used14:11
yfriedhttps://github.com/ansible/ansible-modules-core/blob/devel/cloud/openstack/os_floating_ip.py#L18714:12
yfriedfails with some weird shade error re "internal_network" depracated, use networks[dict(name=net, external=False)]14:12
Shrewsdoes it fail, or just give the deprecation warning? and can't you just use the suggested new key?14:16
yfriedShrews: it fails14:16
Shrewsyfried: ok. have you submitted any fixes for these things?14:17
yfriedShrews: and the problem is that it's a module key, but the are all passed down to shade14:17
yfriedShrews: https://github.com/rhosqeauto/InfraRed/commit/ac77fc7e0cbdcf5585f028245f692533da81cfa5#diff-eac831ad0f353d4b5c59e72430f2ae8214:17
yfriedShrews: ^ that's a possible fix. but it's ugly14:18
Shrewsthe os_floating_ip change seems reasonable to me, unless mordred has another idea14:19
Shrewsthough we might should check what's happening with shade first14:21
mordredShrews, yfried: I'll look at it in a bit - still waking up14:55
mordredthat ansible commit is a bad idea. we should just fix shade - but I don't have enough coffee yet to present thoughts on that14:57
yfriedmordred: the commit is my own private module14:59
mordredyfried: yah - totally - just saying that's a bad idea for updating in the actual ansible modules when we can fix shade- I'm sure it's a good workaround for you for now15:02
yfriedmordred: keep in mind that we have a problem if using shade keywords in ansible module requires shade fix15:10
*** larainema_ is now known as larainema15:11
mordredwell - there is definitelya problem here and definitely also a bug in the ansible module15:14
mordredI have a hunch there may be a bug to fix in both the module and in shade15:15
*** abregman has quit IRC15:36
*** abregman has joined #openstack-shade15:37
mordredyfried: ok. for first thing, it seems that passing nat_destination in was simply not plumbed through for the case where an ip_pool is provided15:58
openstackgerritMonty Taylor proposed openstack-infra/shade: Plumb nat_destination through for ip_pool case  https://review.openstack.org/40757815:59
mordredyfried, Shrews: ^^ there is a patch to fix that. I need to afk for a sec, I'll follow up with more in a little bit15:59
Shrewsb 1216:13
*** cdent has joined #openstack-shade16:26
*** yfried has quit IRC16:57
mordredShrews: https://github.com/ansible/ansible-modules-core/pull/5845 - I'll re-submit after the repo merge17:09
mordredShrews: but that should fix the yfried issue17:09
Shrewsmordred: left a comment for yfried to test it17:12
mordredShrews: he'll also need the shade change17:14
*** abregman has quit IRC17:40
openstackgerritMerged openstack-infra/shade: Remove test of having a thundering herd  https://review.openstack.org/40649418:26
openstackgerritMonty Taylor proposed openstack-infra/shade: Plumb nat_destination through for ip_pool case  https://review.openstack.org/40757819:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Move image tests from caching to image test file  https://review.openstack.org/40766819:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Remove caching config from test_image  https://review.openstack.org/40766919:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Convert test_create_image_put_v2 to requests_mock  https://review.openstack.org/40767019:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Convert test_create_image_put_v2 to requests_mock  https://review.openstack.org/40767019:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Move image tests from caching to image test file  https://review.openstack.org/40766819:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Remove caching config from test_image  https://review.openstack.org/40766919:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Plumb nat_destination through for ip_pool case  https://review.openstack.org/40757819:24
mordredShrews, morgan: ^^ the changes there that are not the nat_destination change are starting to migrate image tests that mocked the clients to mocking the requests instead19:26
morganahh19:26
morganmordred: will review today19:26
mordredmorgan: I think there are things that we can likely streamline - but I tried to not think about that _too_ much yet19:27
morganmordred: yeah not worried about cleanup19:27
mordredmorgan: but luckily there are enough moving parts with image stuff that we can likely figure out all of the patterns we need for the requests_mock stuff19:27
morganworried about basic "does it do the job"19:27
morganshade has enough cases of "we should clean up" at this point, moving this around is functionally more important than "is it super slick code"19:28
mordredmorgan: ++19:29
mordredmaking sure it's the most elegant code is going to be a failing endeavor :)19:29
morgannah.19:30
morganit can be done19:30
morganjust kindof low on the requirement list atm19:30
*** pleia2 has quit IRC19:34
*** pleia2 has joined #openstack-shade19:34
morganmordred: just had ghe mfa spec in keystone oopse merged. going to focus on addressing issues with it then review your code19:43
morganmordred: in case we need to revert the spec merge19:43
mordred\o/19:45
morganookay we haeve a reasonable MFA spec now :)19:53
morganand (thankfully) should be relatively small code amounts to land (except the whole self-service API bit)19:53
morganmordred: https://review.openstack.org/#/c/362473/ needs docs.19:54
morganmordred: and it can land.19:54
morganmordred: that is context manager for session19:54
mordredwoot19:55
morganmordred: how did that nat_destination thing ever work before?20:00
mordredmorgan: it didn't20:00
morganahahahaha20:00
mordredwait - which one the shade one?20:00
morganthe shade one20:00
morganyeah20:00
mordredyah - it did not work if you used the ip_pool option20:00
morganLOL20:00
morganyep20:00
mordred(which, as you might gather, we do not use in infra :) )20:00
morganthat is what this change looks like it fixes20:00
mordredyuppers20:01
morganthat's pretty funny imo20:01
morganthrough a couple of them20:03
morganfwiw, I don;'t have +2 on shade, so just +1'ing20:03
morganmost are very straight forward so far20:03
morganmordred: looks like https://review.openstack.org/#/c/407670/2 has a copy-paste error in it. using NO_MD5 for NO_sha25620:06
mordredmorgan: oh good20:07
morganotherwise this is all looking pretty good across the board20:08
mordredmorgan: oh - look at the python35 unit test failure in 40767020:16
morganoh interesting20:17
mordredmorgan: I'm guessing because we're passing a file object to put20:18
mordredmorgan: but have not investigated yet20:19
morganyeah20:19
morganthat sounds correct20:19
mordred(especially since the calls before the PUT succeeded and the PUT did not)20:19
morganinteresting issue20:19
morgani can dig into that in a bit here, need to re-review a spec in keystone then lunch20:22
morgani'll happlily play some cleanup here20:22
*** gouthamr has quit IRC20:39
openstackgerritMonty Taylor proposed openstack-infra/shade: Convert test_create_image_put_v2 to requests_mock  https://review.openstack.org/40767021:19
Shrewsmordred: sorry, been too busy with nodepool things today. will try to review some shade stuff tomorrow21:34
mordredShrews: no worries at all!21:38
mordredShrews: you do nodepool things - they're important21:38
*** yolanda has quit IRC22:52
*** cdent has quit IRC22:53
*** yolanda has joined #openstack-shade22:54
*** yolanda has quit IRC23:04
*** yolanda has joined #openstack-shade23:13
*** yolanda has quit IRC23:22
*** yolanda has joined #openstack-shade23:35
*** yolanda has quit IRC23:43
openstackgerritJamie Lennox proposed openstack-infra/shade: Convert test_create_image_put_v2 to requests_mock  https://review.openstack.org/40767023:48
openstackgerritMonty Taylor proposed openstack-infra/shade: Convert test_create_image_put_v2 to requests_mock  https://review.openstack.org/40767023:57
openstackgerritMonty Taylor proposed openstack-infra/shade: Change register_uri to use the per-method calls  https://review.openstack.org/40776723:57
mordredmorgan: ^^ jamielennox found the requests_mock issue - and a thing he's going to add a test for in requests_mock23:57

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