[Bug 1447662] Re: OpenStack Neutron plugin copies incorrect paths.

Louis Bouchard louis.bouchard at canonical.com
Fri Apr 24 08:05:31 UTC 2015


** Also affects: sosreport (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: sosreport (Ubuntu Trusty)
       Status: New => Triaged

** Changed in: sosreport (Ubuntu Trusty)
     Assignee: (unassigned) => Louis Bouchard (louis-bouchard)

** Changed in: sosreport (Ubuntu Trusty)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1447662

Title:
  OpenStack Neutron plugin copies incorrect paths.

Status in sosreport package in Ubuntu:
  New
Status in sosreport source package in Trusty:
  Triaged

Bug description:
  [Environment]

  Ubuntu 14.04.2
  Sosreport 3.2-2~ubuntu14.04.1 (from ubuntu-backports)

  [Problem]

  The plugin openstack_neutron is using an incorrect name ( openstack_neutron ), and
  also uses this as base for the copy specs for logs and /etc/ configuration.

  Code:

      def setup(self):
          if os.path.exists("/etc/neutron/") and \
                  self.get_option("quantum", False):
              self.component_name = self.plugin_name
          else:
              self.component_name = "quantum"

          self.add_copy_spec([
              "/etc/%s/" % self.component_name,
              "/var/log/%s/" % self.component_name
          ])

  [Solution]

  SRU 2 commits:

  https://github.com/sosreport/sos/commit/ef74a5bd22baea04b292e458de1be6b4980b6999
   https://github.com/sosreport/sos/commit/3f8c4b658c5d702bde59bdd98cb114ea0064eae9

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1447662/+subscriptions



More information about the Ubuntu-sponsors mailing list