Tuesday, 2017-06-27

*** slaweq has joined #openstack-shade03:32
*** slaweq has quit IRC03:37
*** gkadam has joined #openstack-shade03:44
*** gkadam has quit IRC03:48
*** gkadam has joined #openstack-shade04:27
*** jlk` has joined #openstack-shade05:12
*** jlk has quit IRC05:13
*** ianw_ has joined #openstack-shade05:36
*** ianw has quit IRC05:39
*** ianw_ is now known as ianw05:39
*** yfried has joined #openstack-shade05:55
*** slaweq has joined #openstack-shade07:33
*** slaweq has quit IRC07:37
*** ioggstream has joined #openstack-shade08:01
*** iogg has joined #openstack-shade09:27
*** slaweq has joined #openstack-shade09:30
*** rods has joined #openstack-shade09:33
*** ioggstream has quit IRC09:34
*** rods_ has quit IRC09:34
*** slaweq__ has quit IRC09:35
*** mgagne has quit IRC09:35
*** mgagne has joined #openstack-shade09:37
*** mgagne is now known as Guest2879609:37
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Don't remove top-container element for flavors and clusters  https://review.openstack.org/47770811:14
samueldmqmorning11:17
*** yfried has quit IRC11:35
*** yfried has joined #openstack-shade12:05
openstackgerritOpenStack Proposal Bot proposed openstack-infra/shade master: Updated from global requirements  https://review.openstack.org/47791012:07
*** yfried has quit IRC12:18
*** gkadam has quit IRC12:33
*** iogg is now known as ioggstream13:47
*** gkadam has joined #openstack-shade14:52
*** gkadam has quit IRC14:59
samueldmqmordred: I need to talk to you about Oaktree, I wanna restore development there15:17
*** slaweq_ has joined #openstack-shade16:21
*** slaweq_ has quit IRC16:26
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Domain Create  https://review.openstack.org/47822517:37
*** jlk` is now known as jlk17:43
*** jlk has quit IRC17:44
*** jlk has joined #openstack-shade17:44
*** ioggstream has quit IRC18:22
openstackgerritMonty Taylor proposed openstack-infra/shade master: Deal with revision_number in neutron update_port tests  https://review.openstack.org/47717518:38
*** slaweq_ has joined #openstack-shade19:15
*** ioggstream has joined #openstack-shade20:18
*** rcarrill1 has joined #openstack-shade20:33
*** rcarrillocruz has quit IRC20:34
mordredsamueldmq: in https://review.openstack.org/478225 - you can also put enabled into the valid_kwargs decorator21:10
mordredsamueldmq: your patch looks fine as is - just letting you know21:11
samueldmqmordred: kk I will try that21:11
samueldmqmordred: did you see my comments there?21:11
samueldmqI'd like to get your view on the best way to fix them21:11
openstackgerritMonty Taylor proposed openstack-infra/shade master: Deal with revision_number in neutron update_port tests  https://review.openstack.org/47717521:13
mordredsamueldmq: you'll need to add domains to the list of keys in shade/_adapter.py21:14
mordredsamueldmq: in munch_response21:14
mordredor 'domain' rather21:14
samueldmqmordred: so that it won't munch the response automatically?21:15
mordredsamueldmq: we're halfway in the middle of a transition away from having the shade adapter do the get_and_munchfiy part21:15
mordredyes - well, and so that it won't return response['domain']21:15
*** ioggstream has quit IRC21:15
samueldmqmordred: but it's also returning an object of type munch.Munch21:15
rodsmordred I'm very close to it, just need to fix like 20 more tests21:15
mordredright now, adapter looks for a single key in the return json, and if it finds only one, it returns munchify(response[key])21:15
samueldmqnot just getting the domain out of the 'domain' key21:16
mordredsamueldmq: yes - this is what rods is fixing21:16
mordredsamueldmq: same thing - adding 'domain' to that list will do both things21:16
samueldmqok I thought I was doing something really wrong, or being dumb. or both21:16
mordrednope - just in the middle of a transition21:16
mordredrods: \o/21:16
samueldmqnice21:16
mordredyah - it seemed like a good idea to do it in the adapter - but then it turns out pagination breaks that pretty badly21:17
samueldmqmordred: that one passed. there is still my comment in https://review.openstack.org/#/c/478225/1/shade/tests/unit/test_domains.py21:17
mordredsamueldmq: oh - in test_domains ...21:17
mordredyah21:17
mordredit's ok to change the exceptoin type there21:17
mordredOpenStackCloudHTTPError is a subclass of OpenStackCloudException21:18
mordredbut the test suite is strict21:18
samueldmqmordred: but that leads me to think we don;t need those with exception.blah clauses in the create_thing calls21:18
mordredso in the real world it's not breaking an interface, but in our tests we must match exactly21:18
samueldmqbecause HTTP exceptions will never be wrapped in those cases21:18
mordredsamueldmq: that is correct- actually, you should remove the with shade_exceptions piece and instead pass a user-friendly error message to the _identity_client.post call in the error_message parameter21:19
samueldmqsweet!21:19
samueldmqI will do that for the other keystone calls to. and look back at the ones we've already converted21:20
samueldmqmordred: also, we are not translating those messages, dont we want to?21:22
mordredsamueldmq: we're not set up for translation at the moment - and we haven't gotten any requests for it - I don't want to assume the translation team can handle more strings unless someone asks for them21:22
mordredsamueldmq: and awesome - I left the same comments on the review in case they're helpulf21:23
* samueldmq nods21:23
samueldmqmordred: thanks. I want to finish the retification thing, and start OAKTREE!!21:23
samueldmqit'd be great to have a version of it soon. should be doable21:24
mordredsamueldmq: ++21:24
rodsmordred question: the openstackcloud file is like more than 7k lines of code, do we have any plan to split it into multiple modules?21:25
samueldmqmordred: actually ... description has default None. as it can be provided as a "bare" (I dont have a better name) argument21:26
mordredrods: we haven't made a plan for that yet -but I don't think it's a bad idea. once we're done with this restification effort the codebase should be stable enough that reorganzing wouldn't be super disruptive21:27
samueldmqif I use @valid_kwargs, they will need to be passed as named arguments21:27
samueldmqlike description='whatever'21:27
mordredsamueldmq: good point to both21:27
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Domain Create  https://review.openstack.org/47822521:38
*** slaweq_ has quit IRC21:48
*** slaweq_ has joined #openstack-shade21:49
openstackgerritMerged openstack-infra/shade master: Updated from global requirements  https://review.openstack.org/47791021:51
openstackgerritMerged openstack-infra/shade master: Don't remove top-container element for flavors and clusters  https://review.openstack.org/47770821:51
*** slaweq_ has quit IRC21:53
*** ioggstream has joined #openstack-shade21:54
openstackgerritMerged openstack-infra/shade master: Project update to change enabled only when provided  https://review.openstack.org/47691421:55
*** slaweq_ has joined #openstack-shade22:20
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Don't remove top-container element for flavor, zones and server groups  https://review.openstack.org/47830822:24
rods^^ another small step, getting closer :)22:25
*** slaweq_ has quit IRC22:25
mordred\o/22:33
*** slaweq_ has joined #openstack-shade22:34
*** slaweq_ has quit IRC22:34
*** ioggstream has quit IRC23:04
*** slaweq_ has joined #openstack-shade23:35
*** slaweq_ has quit IRC23:41
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Don't remove top-container element for flavor, zones and server groups  https://review.openstack.org/47830823:45
rods^^ so glad we have functional tests23:45
openstackgerritSamuel de Medeiros Queiroz proposed openstack-infra/shade master: De-client-ify Domain Create  https://review.openstack.org/47822523:54

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