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

Ubuntu Foundations Team Bug Bot 1447662 at bugs.launchpad.net
Thu Apr 23 16:22:14 UTC 2015


The attachment "lp1447662_trusty_backports.patch" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff.  If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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

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