← Back to team overview

sts-sponsors team mailing list archive

[Bug 1828467] Re: [sru] remove juju-db stop/start service interactions

 

** Changed in: sosreport (Ubuntu Eoan)
       Status: New => In Progress

-- 
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:
  New
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 and will be fixed by the juju 2.x refactor:
  https://github.com/sosreport/sos/issues/1653

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

   * Install sosreport
   * Run sosreport, ensuring that the juju plugin is exercised.
   * Confirm the juju-db service was not restarted, and mongoexport data captured.

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

  [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.

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