I marked Trusty as 'Won't Fix' as it reached EOL.

** Description changed:

  [Impact]
  
  The juju plugin will stop and start the juju-db service during data 
collection.
  sosreport should not impact running services, or attempt to recover them.
  
  This has been reported upstream[0] and will be fixed by the juju 2.x
  refactor[1]
  
  This is a stop-gap tracking the removal of the juju-db service restart
  code in existing sosreport releases.
  
  [0] - https://github.com/sosreport/sos/issues/1653
  [1] - https://github.com/sosreport/sos/pull/1670
  
  [Test Case]
  
-  * Make sure you are in the juju controller.
+  * Make sure you are in the juju controller.
   * Install sosreport
   * Look mongod PID before
     ** $ pidof mongod
   * Run sosreport, ensuring that the juju plugin is exercised
   * Confirm the juju-db service was not restarted, and mongoexport data 
captured.
  * Look mongod PID after
     ** $ pidof mongod
- 
  
  Check for errors while running, or in /tmp/sosreport-*/sos_logs/
  
  The offending function ensure_service_is_running() in theory doesn't
  create any harm unless juju plugin is exercised during a sosreport run
  from a juju controller where mongod and/or juju-db resides.
  
  [Regression Potential]
  
   * Risk is low.
   * Change is limited in scope to the juju plugin.
   * Worst-case scenario is that the mongoexport command will fail to collect 
any data, which won't affect core functionality of sosreport itself nor impact 
other sosreport plugins.
+ 
+ [Other information]
+ 
+ We will temporary divert from the juju plugin found upstream and debian,
+ while the refactoring is completed to avoid any situation where
+ sosreport is run on a controller since it may have production impact on
+ Ubuntu juju environment.
+ 
+ Once the refactoring of the juju plugin is completed upstream, we will
+ make sure to update debian and put the juju plugin align with what found
+ upstream and debian.
+ 
+ Actually, sosreport 3.7 micro-release is waiting on this via LP:
+ #1825010.

** Description changed:

  [Impact]
  
  The juju plugin will stop and start the juju-db service during data 
collection.
  sosreport should not impact running services, or attempt to recover them.
  
  This has been reported upstream[0] and will be fixed by the juju 2.x
  refactor[1]
  
  This is a stop-gap tracking the removal of the juju-db service restart
  code in existing sosreport releases.
  
  [0] - https://github.com/sosreport/sos/issues/1653
  [1] - https://github.com/sosreport/sos/pull/1670
  
  [Test Case]
  
   * Make sure you are in the juju controller.
   * Install sosreport
   * Look mongod PID before
     ** $ pidof mongod
   * Run sosreport, ensuring that the juju plugin is exercised
   * Confirm the juju-db service was not restarted, and mongoexport data 
captured.
  * Look mongod PID after
     ** $ pidof mongod
  
  Check for errors while running, or in /tmp/sosreport-*/sos_logs/
  
  The offending function ensure_service_is_running() in theory doesn't
  create any harm unless juju plugin is exercised during a sosreport run
  from a juju controller where mongod and/or juju-db resides.
  
  [Regression Potential]
  
   * Risk is low.
   * Change is limited in scope to the juju plugin.
   * Worst-case scenario is that the mongoexport command will fail to collect 
any data, which won't affect core functionality of sosreport itself nor impact 
other sosreport plugins.
  
  [Other information]
  
  We will temporary divert from the juju plugin found upstream and debian,
  while the refactoring is completed to avoid any situation where
  sosreport is run on a controller since it may have production impact on
  Ubuntu juju environment.
  
  Once the refactoring of the juju plugin is completed upstream, we will
  make sure to update debian and put the juju plugin align with what found
  upstream and debian.
  
- Actually, sosreport 3.7 micro-release is waiting on this via LP:
- #1825010.
+ Actually, sosreport 3.7 micro-release is blocked waiting for this
+ refactoring to be completed (LP: #1825010).

-- 
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1828467

Title:
  [sru] remove juju-db stop/start service interactions

Status in sosreport package in Ubuntu:
  In Progress
Status in sosreport source package in Trusty:
  Won't Fix
Status in sosreport source package in Xenial:
  New
Status in sosreport source package in Bionic:
  New
Status in sosreport source package in Cosmic:
  New
Status in sosreport source package in Disco:
  New
Status in sosreport source package in Eoan:
  In Progress

Bug description:
  [Impact]

  The juju plugin will stop and start the juju-db service during data 
collection.
  sosreport should not impact running services, or attempt to recover them.

  This has been reported upstream[0] and will be fixed by the juju 2.x
  refactor[1]

  This is a stop-gap tracking the removal of the juju-db service restart
  code in existing sosreport releases.

  [0] - https://github.com/sosreport/sos/issues/1653
  [1] - https://github.com/sosreport/sos/pull/1670

  [Test Case]

   * Make sure you are in the juju controller.
   * Install sosreport
   * Look mongod PID before
     ** $ pidof mongod
   * Run sosreport, ensuring that the juju plugin is exercised
   * Confirm the juju-db service was not restarted, and mongoexport data 
captured.
  * Look mongod PID after
     ** $ pidof mongod

  Check for errors while running, or in /tmp/sosreport-*/sos_logs/

  The offending function ensure_service_is_running() in theory doesn't
  create any harm unless juju plugin is exercised during a sosreport run
  from a juju controller where mongod and/or juju-db resides.

  [Regression Potential]

   * Risk is low.
   * Change is limited in scope to the juju plugin.
   * Worst-case scenario is that the mongoexport command will fail to collect 
any data, which won't affect core functionality of sosreport itself nor impact 
other sosreport plugins.

  [Other information]

  We will temporary divert from the juju plugin found upstream and
  debian, while the refactoring is completed to avoid any situation
  where sosreport is run on a controller since it may have production
  impact on Ubuntu juju environment.

  Once the refactoring of the juju plugin is completed upstream, we will
  make sure to update debian and put the juju plugin align with what
  found upstream and debian.

  Actually, sosreport 3.7 micro-release is blocked waiting for this
  refactoring to be completed (LP: #1825010).

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

-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : sts-sponsors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to