Public bug reported:

[Environment]

Ubuntu 14.04.2
Sosreport 3.2.2

[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

** Affects: sosreport (Ubuntu)
     Importance: High
     Assignee: Jorge Niedbalski (niedbalski)
         Status: New

** Changed in: sosreport (Ubuntu)
     Assignee: (unassigned) => Jorge Niedbalski (niedbalski)

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

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

Title:
  OpenStack Neutron plugin copies incorrect paths.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to