Sunday, 2017-05-07

*** slaweq has joined #openstack-shade00:28
*** slaweq has quit IRC00:33
*** slaweq has joined #openstack-shade02:29
*** slaweq has quit IRC02:33
*** slaweq has joined #openstack-shade04:29
*** slaweq has quit IRC04:35
*** gkadam has joined #openstack-shade04:55
*** gkadam has quit IRC05:35
*** gouthamr has quit IRC06:28
*** slaweq has joined #openstack-shade06:30
*** slaweq has quit IRC06:35
*** yfried has joined #openstack-shade06:40
*** slaweq has joined #openstack-shade07:52
*** slaweq has quit IRC07:53
*** slaweq has joined #openstack-shade08:40
*** slaweq has quit IRC08:55
*** gkadam has joined #openstack-shade09:05
*** slaweq has joined #openstack-shade10:14
*** gkadam has quit IRC10:37
*** gkadam has joined #openstack-shade10:37
*** gkadam has quit IRC10:38
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Replace neutronclient with REST API calls in FIP commands  https://review.openstack.org/46312611:07
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Enable neutron service in server create and rebuild tests  https://review.openstack.org/46312711:16
slaweqmordred: hello11:16
slaweqwhen https://review.openstack.org/#/c/463126/ will be merged then we are done with replacing neutronclient by REST calls :)11:17
mordredwow! :)11:18
slaweqthere is one more thing todo IMHO11:20
slaweqthere is still _neutron_client() property in openstackcloud11:21
slaweqand it's used e.g. in shade/tests/functional/test_floating_ip.py11:21
slaweqshould we replace it with network_client() and make raw REST calls in functional tests?11:21
slaweqor how You see it?11:21
mordredhrm. that's a good question.11:24
mordredslaweq: it looks like the use of neutron_client in the functional test is for add_interface_router, delete_interface_router and update_router with a note that shade doesn't have methods exposing those ... but we do have methods for those now11:25
mordredslaweq: maybe we should just update the functional tests to use the shade functions for those things - I think that was an oversight at some point11:26
slaweqyes, that sounds good11:26
slaweqok, I will do it11:26
slaweqhow I can test functional tests in shade locally? can it be done on "normal" devstack?11:26
slaweqor there are some special requirements for that?11:27
mordredit should work just great ona  normal devstack - by default it expects there to be a cloud named devstack and a cloud named devstack-admin in the clouds.yaml file - but devstack writes such a file already11:29
slaweqok, thx11:30
slaweqso I will do it soon :)11:30
slaweqand thx for +2 to my today's patches11:30
*** slaweq has quit IRC11:44
*** yfried has quit IRC11:53
*** slaweq has joined #openstack-shade12:23
openstackgerritMerged openstack-infra/shade master: Add assert_calls check testing volume calls with timeout enabled  https://review.openstack.org/46310412:23
openstackgerritMerged openstack-infra/shade master: Enable neutron service in server create and rebuild tests  https://review.openstack.org/46312712:33
*** yfried has joined #openstack-shade12:34
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use REST API for volume snapshot calls  https://review.openstack.org/46313012:37
*** cdent has joined #openstack-shade13:04
*** yfried has quit IRC13:15
*** slaweq has quit IRC13:40
openstackgerritMerged openstack-infra/shade master: Replace neutronclient with REST API calls in FIP commands  https://review.openstack.org/46312613:55
*** slaweq has joined #openstack-shade14:34
*** slaweq has quit IRC14:48
*** slaweq has joined #openstack-shade15:11
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Remove usage of neutron_client from functional tests  https://review.openstack.org/46314615:28
slaweqmordred: one more question, should we remove neutronclient completly from shade?15:35
slaweqbecause for now it is still in requirements and us used e.g. in neutron_exception function in shade/_utils.py15:36
slaweqbut I'm not sure if we need it in fact15:36
slaweqbecause we will not have neutron exceptions raised as we switched to REST calls, right?15:37
mordredslaweq: we should remove it from requirements and from shade/_utils (_utils is private so it's fine)15:50
slaweqok, thx, I will do it then15:51
mordredfor neutron_client in shade/openstackcloud.py - there is a pattern for the other ones we've removed (you can look at glance_client) where we do the import inside of the method in a try - and if we can't import neutronclient we'd throw an exception with an error message15:51
slaweqok, I will check glance_client - thx15:52
slaweqonce https://review.openstack.org/463146 will be merged it will be not used anywhere except those exceptions :)15:52
*** cdent has quit IRC15:59
* mordred hands slaweq a nice fuzzy bunny rabbit16:10
slaweq:)16:11
* mordred was totally going to hack on ironicclient while slaweq was doing neutron and rods cinder - but got sucked down the hole of figuring out service version discovery which is now a set of like 8 API-WG documents ... hopes to climb back out soon16:11
slaweqso now will be time to remove nova client probably16:15
slaweqbut there will be a lot of work to do16:15
slaweqI have some presentation to do this week but later I will probably continue this work with nova or something else16:15
slaweqmordred: thx for quick review :)16:16
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use REST API for volume snapshot calls  https://review.openstack.org/46313016:41
rods^^ had to rebase16:41
rodsapparently I lied, trying to remove the cinderclient I realized there are a few more tests and call that need restification16:42
rodsworking on it16:42
rods*calls16:42
*** slaweq has quit IRC16:59
*** slaweq has joined #openstack-shade17:00
*** slaweq has quit IRC17:04
openstackgerritMerged openstack-infra/shade master: Remove usage of neutron_client from functional tests  https://review.openstack.org/46314617:06
*** yfried has joined #openstack-shade17:12
mordredrods: whoops :)17:14
rodsforgot about those https://github.com/openstack-infra/shade/blob/master/shade/tests/unit/test_quotas.py#L73-L101 :)17:15
mordredrods: I have a question about https://review.openstack.org/#/c/463130/2/shade/_normalize.py17:16
mordredrods: do the rest calls just not return those fields or something?17:16
mordredrods: wow - yah. it sure does look like those aren't in the REST api at all. yay cinderclient17:18
rodsmordred yeah, those fields are added by the cinderclient, so I had to add them when I switched to requests-mock17:20
mordredrods: an oops and another thing in there17:20
mordredrods: ++ makes sense17:20
mordredso strange17:20
rodsmordred oh, my bad, fixing them17:24
*** yfried has quit IRC17:45
*** cdent has joined #openstack-shade17:47
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Use REST API for volume snapshot calls  https://review.openstack.org/46313017:59
*** slaweq has joined #openstack-shade18:04
*** slaweq has quit IRC18:05
*** slaweq has joined #openstack-shade18:18
*** slaweq has quit IRC18:36
*** slaweq has joined #openstack-shade18:36
*** slaweq has quit IRC18:40
*** cdent has quit IRC19:10
*** cdent has joined #openstack-shade19:11
*** slaweq has joined #openstack-shade19:14
*** yolanda has joined #openstack-shade19:14
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Fix Neutron floating IP test  https://review.openstack.org/46319919:52
slaweqmordred: plop19:53
slaweqI just found one bug in floating ips test19:53
slaweqI fixed it in https://review.openstack.org/46319919:53
slaweqif You will have a while, please look on it19:54
slaweqI need it to finish removing neutronclient from requirements19:54
*** slaweq has quit IRC19:59
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Remove cinderclient mocks from quotas tests  https://review.openstack.org/46320120:05
openstackgerritRosario Di Somma proposed openstack-infra/shade master: Remove cinderclient mocks from quotas tests  https://review.openstack.org/46320120:19
mordredslaweq_: looks great20:31
*** cdent has quit IRC21:03
openstackgerritMerged openstack-infra/shade master: Fix Neutron floating IP test  https://review.openstack.org/46319921:15
*** slaweq has joined #openstack-shade22:08
*** cdent has joined #openstack-shade22:15
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Remove neutronclient from shade's dependencies  https://review.openstack.org/46321322:19
slaweqmordred: thx, ^^ with this one all should be done with neutronclient22:19
slaweqI hope I didn't forget anything :)22:20
*** ianw_ has joined #openstack-shade22:21
*** slaweq has quit IRC22:22
*** jroll has quit IRC22:22
*** ianw has quit IRC22:22
*** dtroyer has quit IRC22:22
*** ianw_ is now known as ianw22:22
*** dtroyer has joined #openstack-shade22:23
*** slaweq has joined #openstack-shade22:31
*** slaweq has quit IRC22:32
*** jroll has joined #openstack-shade22:42

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