]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't fatal error during initialization for missing service providers
authorDoug Wiegley <dougw@a10networks.com>
Mon, 17 Aug 2015 15:17:46 +0000 (09:17 -0600)
committerDoug Wiegley <dougwig@parkside.io>
Mon, 17 Aug 2015 19:26:01 +0000 (19:26 +0000)
commit805496dd5ce85c9280342f1702b12dd30b201bbb
tree747da1a89a3093b21749715d7a21bf3bd280566e
parent976dbe2084e632c8d357ef0611f02a006610d266
Don't fatal error during initialization for missing service providers

Sometime during the split, code was added to fixup driver paths,
which imports service providers even for plugins which are not
in use. That, combined with neutron including default service
providers for VPN and LOADBALANCER, resulted in a really messy
mess in terms of removing VPN from the main neutron test suites.

This change stops the imports, so that if one of the services is
missing, neutron server can still start. It likely breaks the driver
path fixup, which can be fixed outside of this gate blockage.

Closes-Bug: #1483266
Change-Id: I23f9007357d8cbbae599997c244561a4e2f32ce1
neutron/services/provider_configuration.py