[Bug 1447662] [NEW] OpenStack Neutron plugin copies incorrect paths.

Launchpad Bug Tracker 1447662 at bugs.launchpad.net
Thu Apr 23 16:22:14 UTC 2015


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[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

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


** Tags: patch
-- 
OpenStack Neutron plugin copies incorrect paths.
https://bugs.launchpad.net/bugs/1447662
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list