** Description changed:

  [Environment]
  
  Ubuntu 14.04.2
- Sosreport 3.2.2
+ Sosreport 3.2.2 (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"
+     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
-         ])
+         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
+  
https://github.com/sosreport/sos/commit/3f8c4b658c5d702bde59bdd98cb114ea0064eae9

** Description changed:

  [Environment]
  
  Ubuntu 14.04.2
- Sosreport 3.2.2 (from ubuntu-backports)
+ 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

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to