mongo client is missing

Bug #1583740 reported by Curtis Hovey
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
trusty-backports
Invalid
Undecided
Unassigned
juju-mongodb3.2 (Ubuntu)
Fix Released
Undecided
Michael Hudson-Doyle
Xenial
Fix Released
Undecided
Nicholas Skaggs

Bug Description

[Impact]
Admins and developers are unable to access to the juju mongodb instance to investigation issues.

The mongo client is built, but not included in the juju-mongodb3.2 package. Juju doesn't need it. Users who need to investigate db issues need to locate and install a third-party binary.

This issue affects both yakkety an xenial.

[Test Case]
ls /usr/lib/juju/mongo3.2/bin

Under the old package, no 'mongo' binary is present. With the new package you should see a mongo binary.

OLD
ls /usr/lib/juju/mongo3.2/bin
mongod mongoperf mongos mongosniff

NEW
ls /usr/lib/juju/mongo3.2/bin
mongo mongod mongoperf mongos mongosniff

[Regression Potential]

The regression potential here is very small and isolated. This package is specific to juju, and the binary is currently non-existent. If the change fails to provide the binary, the bug will still be unfixed, but no further impacts are expected.

[Other Info]
As the current package is already building the mongo binary, we don't forsee any issues. This change merely includes the binary in the package.

Revision history for this message
Curtis Hovey (sinzui) wrote :
tags: added: patch
Changed in juju-mongodb3.2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I can certainly see the problem.

I guess this has a disk space impact? Did you consider making a separate package for this, or do you think that would just be yet another step making diagnosing problems harder? (not trying to be a leading question at all, but would like to know).

Happy to upload this to yakkety next week after an answer to the above.

Changed in juju-mongodb3.2 (Ubuntu Xenial):
assignee: nobody → Nicholas Skaggs (nskaggs)
Changed in juju-mongodb3.2 (Ubuntu):
assignee: nobody → Michael Hudson-Doyle (mwhudson)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju-mongodb3.2 - 3.2.4-0ubuntu4

---------------
juju-mongodb3.2 (3.2.4-0ubuntu4) yakkety; urgency=medium

  * Include mongo client for admins and developer. (LP: #1583740)

 -- <email address hidden> (Curtis C. Hovey) Tue, 17 May 2016 01:58:48 +0000

Changed in juju-mongodb3.2 (Ubuntu):
status: Fix Committed → Fix Released
description: updated
description: updated
Changed in juju-mongodb3.2 (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Curtis, or anyone else affected,

Accepted juju-mongodb3.2 into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/juju-mongodb3.2/3.2.4-0ubuntu1.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in juju-mongodb3.2 (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Binary is present
$ ls /usr/lib/juju/mongo3.2/bin
mongo mongod mongoperf mongos mongosniff

I could invoke the binary
$ /usr/lib/juju/mongo3.2/bin/mongo
MongoDB shell version: 3.2.4

apt-cache show juju-mongodb3.2
Package: juju-mongodb3.2
Priority: optional
Section: universe/database
Installed-Size: 82555
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Laszlo Boszormenyi (GCS) <email address hidden>
Architecture: amd64
Version: 3.2.4-0ubuntu1.2

Looks good!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju-mongodb3.2 - 3.2.4-0ubuntu1.2

---------------
juju-mongodb3.2 (3.2.4-0ubuntu1.2) xenial; urgency=medium

  * Include mongo client for admins and developer. (LP: #1583740)

 -- <email address hidden> (Curtis C. Hovey) Tue, 17 May 2016 16:01:16 +0000

Changed in juju-mongodb3.2 (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for juju-mongodb3.2 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.