Please backport sosreport fix for OpenStack Neutron plugin

Bug #1447662 reported by Jorge Niedbalski on 2015-04-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trusty-backports
High
Unassigned

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

Changed in sosreport (Ubuntu):
assignee: nobody → Jorge Niedbalski (niedbalski)
importance: Undecided → High
description: updated
description: updated
Jorge Niedbalski (niedbalski) wrote :

Attached is the patch for trusty-backports , please review and sponsor if appropiate.

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
Louis Bouchard (louis) on 2015-04-24
Changed in sosreport (Ubuntu Trusty):
status: New → Triaged
assignee: nobody → Louis Bouchard (louis-bouchard)
importance: Undecided → High
Louis Bouchard (louis) wrote :

This backport request is for a fix to the current backported package.

no longer affects: sosreport (Ubuntu Trusty)
affects: sosreport (Ubuntu) → trusty-backports
Changed in trusty-backports:
assignee: Jorge Niedbalski (niedbalski) → nobody
summary: - OpenStack Neutron plugin copies incorrect paths.
+ Please backport sosreport fix for OpenStack Neutron plugin
Iain Lane (laney) wrote :

Is this because of a difference in Openstack in trusty or is it a bug in newer releases too?

Micah Gersten (micahg) wrote :

Waiting on an answer to Iain's question

Changed in trusty-backports:
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for trusty-backports because there has been no activity for 60 days.]

Changed in trusty-backports:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers