← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1700651] [NEW] Neutron fails to initialize with a core plugin not based on the Neutron DB model

 

Public bug reported:

Since patch [1], Neutron server load a default service plugins list which all of them depends on the Neutron DB model. So for a core plugin which implements only the NeutronPluginBaseV2 interface [2] and not the NeutronDbPluginV2 interface [3], most of the service plugins of that list will be initialized without any errors (only the timestamp plugin fails to initialize because it tries to do DB stuff in its constructor [4] on master (future Pike release)).
And all API extensions of that service plugins are listed as supported but none of them works. Resources are not extended (tag, revision, auto-allocate) or some API extensions returns 404 (network-ip-availability or flavors).

[1] https://github.com/openstack/neutron/commit/aadf2f30f84dff3d85f380a7ff4e16dbbb0c6bb0#diff-9169a6595980d19b2649d5bedfff05ce
[2] https://github.com/openstack/neutron/blob/master/neutron/neutron_plugin_base_v2.py#L30
[3] https://github.com/openstack/neutron/blob/master/neutron/db/db_base_plugin_v2.py#L124
[4] https://github.com/openstack/neutron/blob/master/neutron/services/timestamp/timestamp_plugin.py#L32

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1700651

Title:
  Neutron fails to initialize with a core plugin not based on the
  Neutron DB model

Status in neutron:
  New

Bug description:
  Since patch [1], Neutron server load a default service plugins list which all of them depends on the Neutron DB model. So for a core plugin which implements only the NeutronPluginBaseV2 interface [2] and not the NeutronDbPluginV2 interface [3], most of the service plugins of that list will be initialized without any errors (only the timestamp plugin fails to initialize because it tries to do DB stuff in its constructor [4] on master (future Pike release)).
  And all API extensions of that service plugins are listed as supported but none of them works. Resources are not extended (tag, revision, auto-allocate) or some API extensions returns 404 (network-ip-availability or flavors).

  [1] https://github.com/openstack/neutron/commit/aadf2f30f84dff3d85f380a7ff4e16dbbb0c6bb0#diff-9169a6595980d19b2649d5bedfff05ce
  [2] https://github.com/openstack/neutron/blob/master/neutron/neutron_plugin_base_v2.py#L30
  [3] https://github.com/openstack/neutron/blob/master/neutron/db/db_base_plugin_v2.py#L124
  [4] https://github.com/openstack/neutron/blob/master/neutron/services/timestamp/timestamp_plugin.py#L32

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1700651/+subscriptions


Follow ups