Sunday, 2017-04-30

*** slaweq has joined #openstack-shade00:10
*** slaweq has quit IRC00:15
*** purplerbot has quit IRC00:48
*** purplerbot has joined #openstack-shade00:48
*** slaweq has joined #openstack-shade01:11
*** slaweq has quit IRC01:17
*** rcarrillocruz has quit IRC01:20
*** slaweq has joined #openstack-shade02:13
*** slaweq has quit IRC02:18
*** slaweq has joined #openstack-shade03:14
*** slaweq has quit IRC03:19
*** slaweq has joined #openstack-shade04:15
*** slaweq has quit IRC04:20
*** slaweq has joined #openstack-shade05:16
*** slaweq has quit IRC05:21
*** yfried has joined #openstack-shade05:44
*** slaweq has joined #openstack-shade06:17
*** slaweq has quit IRC06:21
*** slaweq has joined #openstack-shade06:35
*** slaweq has quit IRC06:36
*** slaweq has joined #openstack-shade07:36
*** slaweq has quit IRC07:38
*** slaweq has joined #openstack-shade07:38
*** slaweq has quit IRC10:04
*** slaweq has joined #openstack-shade10:04
*** slaweq has quit IRC10:09
*** yfried has quit IRC10:20
*** slaweq has joined #openstack-shade11:05
*** slaweq has quit IRC11:10
*** slaweq has joined #openstack-shade11:55
*** slaweq has quit IRC11:59
*** slaweq has joined #openstack-shade12:04
*** slaweq has quit IRC12:10
*** larainema has quit IRC12:29
*** RuiChen has quit IRC12:29
*** larainema has joined #openstack-shade12:51
*** RuiChen has joined #openstack-shade12:52
*** slaweq has joined #openstack-shade12:58
*** slaweq has quit IRC13:07
*** slaweq has joined #openstack-shade13:35
*** cdent has joined #openstack-shade13:48
mordredmorgan: yay!!!14:28
* mordred hands morgan a pie he may or may not have found sitting over in the corner14:37
mordredmorgan: also, for the record, it's not unreviewable at all - it's actually very nice14:39
mordredI don't need to review each of the call sequences - but the structure is super understandable and I believe by reading each test I gain a better understanding of the REST sequence involved - so yay14:40
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077914:42
rodsmordred I'm updating https://review.openstack.org/#/c/460357/1 to use changes in https://review.openstack.org/#/c/461025/3 and looks like the error_message attribute passing fails in the keystoneauth1 library15:00
rodswhile both post and request accept **kwargs, looks like since the error_message attribute is not passed here https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/session.py#L60015:02
rodskeystoneauth1 fails here https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/session.py#L616 with a TypeError: request() got an unexpected keyword argument 'error_message'15:03
rodshttp://paste.openstack.org/show/608438/15:04
*** slaweq has quit IRC15:09
mordredoh - you know what -...15:10
mordredrods: hrm. my first thought was wrong. that's weird - I'd expect ShadeAdapter.request to intercept error_message and not pass it further15:12
mordredrods: it works for me live ...15:16
mordredc._compute_client.get('/', error_message='foo')15:17
mordredshade.exc.OpenStackCloudURINotFound: foo. (404) Client Error: Not Found for https://compute-ca-ymq-1.vexxhost.net/v2.1/db92b20496ae4fbda850a689ea9d563f/15:17
mordredrods: I wonder if it's something to do with how requests_mock is working?15:17
openstackgerritMerged openstack-infra/shade master: Convert test_role_assignments to requests mock  https://review.openstack.org/44831315:17
openstackgerritMerged openstack-infra/shade master: Add optional error_message to adapter.request  https://review.openstack.org/46102515:17
rodsweird, I'm running this test locally and and looks like error_message is getting to the keystoneauth1 request call15:19
rodshttps://github.com/openstack-infra/shade/blob/master/shade/_adapter.py#L15715:19
mordredrods: are you sure you have 461025 in your history?15:20
rodsmordred doh! stupid me I deleted the branch with that change and forgot to pull it again :(15:22
rodssorry15:22
mordredwhoops!15:22
mordred(well, I did find a bug though - so that's good :) )15:23
rods:)15:23
openstackgerritMerged openstack-infra/shade master: Remove neutronclient mocks from sec groups tests  https://review.openstack.org/46123815:28
openstackgerritMerged openstack-infra/shade master: Remove neutronclient mocks from quotas tests  https://review.openstack.org/46115015:29
openstackgerritMerged openstack-infra/shade master: Remove neutronclient mocks from ports tests  https://review.openstack.org/46114915:29
rodsmordred were you talking about the "global name '_' is not defined" issue before?15:29
mordredyup.15:30
mordredpatching coming :)15:30
openstackgerritMonty Taylor proposed openstack-infra/shade master: Remove two lines that are leftover and broken  https://review.openstack.org/46128815:31
*** cdent has quit IRC15:37
openstackgerritMonty Taylor proposed openstack-infra/shade master: Move REST error_messages to error_message argument  https://review.openstack.org/46129015:37
mordredrods: and there's fixing a bunch of the calls that had already been translated - great catch on this whole topic15:37
rodsmordred thank you for jumping on it :)15:38
mordredwow. we had a unit tests mocking out a rest client16:15
* mordred is ashamed16:15
openstackgerritMonty Taylor proposed openstack-infra/shade master: Move REST error_messages to error_message argument  https://review.openstack.org/46129016:27
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077916:31
*** slaweq has joined #openstack-shade17:00
*** slaweq has quit IRC17:02
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077917:39
openstackgerritMerged openstack-infra/shade master: Remove two lines that are leftover and broken  https://review.openstack.org/46128818:04
*** slaweq has joined #openstack-shade18:33
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077918:39
*** slaweq has quit IRC18:57
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use REST API for volume type_access and volume create  https://review.openstack.org/46035719:05
mordredrods: great. left a -1/comment on it - but looks great mostly19:22
*** slaweq has joined #openstack-shade19:25
rodsmordred yah, splitting it in two makes a lot of sense. I'll fix it19:27
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077919:34
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Replace neutronclient with REST API calls in router commands  https://review.openstack.org/46051819:35
*** pleia2 has quit IRC19:42
*** pleia2 has joined #openstack-shade19:44
*** slaweq has quit IRC20:11
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077920:17
openstackgerritMerged openstack-infra/shade master: Replace neutronclient with REST API calls in router commands  https://review.openstack.org/46051820:44
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Refactor the test_create_volume_invalidates test  https://review.openstack.org/46035720:44
rodsmordred ^^ first commit with the refactoring20:45
mordredrods: looks great!21:15
openstackgerritMonty Taylor proposed openstack-infra/shade master: Add some more debugging to the post_test_hook  https://review.openstack.org/46077921:15
mordredmaybe one day I'll be able to write 4 lines of shell and have them work21:16
openstackgerritMerged openstack-infra/shade master: Refactor the test_create_volume_invalidates test  https://review.openstack.org/46035722:05
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use REST API for volume type_access and volume create  https://review.openstack.org/46131222:16
*** zigo has joined #openstack-shade22:22
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix tips jobs to do what we think they do  https://review.openstack.org/46077922:49
openstackgerritMerged openstack-infra/shade master: Use REST API for volume type_access and volume create  https://review.openstack.org/46131223:23
Shrewsmordred: yeah, i was fine with the approach on 461025, but looks like you already self approved23:53

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