← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1326937] [NEW] brocade ml2 mechanism driver depends on templates of brocade plugin

 

Public bug reported:

Brocade ml2 mechanism driver includes  templates from the brocade plugin
directory.

If the brocade plugin is not installed on a system then this file
inclusion will fail for the md.

This was an unfortunate typo, the fix is:

--- INDEX:/neutron/plugins/ml2/drivers/brocade/nos/nosdriver.py
+++ WORKDIR:/neutron/plugins/ml2/drivers/brocade/nos/nosdriver.py
@@ -26,7 +26,7 @@ from ncclient import manager
 
 from neutron.openstack.common import excutils
 from neutron.openstack.common import log as logging
-from neutron.plugins.brocade.nos import nctemplates as template
+from neutron.plugins.ml2.drivers.brocade.nos import nctemplates as template

** Affects: neutron
     Importance: Undecided
     Assignee: Shiv Haris (shh)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Shiv Haris (shh)

** Changed in: neutron
    Milestone: None => juno-1

** Changed in: neutron
    Milestone: juno-1 => juno-2

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

Title:
  brocade ml2 mechanism driver depends on templates of brocade plugin

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Brocade ml2 mechanism driver includes  templates from the brocade
  plugin directory.

  If the brocade plugin is not installed on a system then this file
  inclusion will fail for the md.

  This was an unfortunate typo, the fix is:

  --- INDEX:/neutron/plugins/ml2/drivers/brocade/nos/nosdriver.py
  +++ WORKDIR:/neutron/plugins/ml2/drivers/brocade/nos/nosdriver.py
  @@ -26,7 +26,7 @@ from ncclient import manager
   
   from neutron.openstack.common import excutils
   from neutron.openstack.common import log as logging
  -from neutron.plugins.brocade.nos import nctemplates as template
  +from neutron.plugins.ml2.drivers.brocade.nos import nctemplates as template

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


Follow ups

References