Obsolete mongod options should be removed from the charm

Bug #1580962 reported by Mario Splivalo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MongoDB Charm
Fix Released
High
Unassigned

Bug Description

There are several options in mongodb charm which are obsoleted in mongodb. For instance:

If one enables 'nocursors' option (available in mongodb charm), mongod fails to start:

root@mario-local-machine-1:~# grep nocurs /etc/mongodb.conf
nocursors = true

root@mario-local-machine-1:~# mongod --config /etc/mongodb.conf
error command line: unrecognised option 'nocursors'
use --help for help

The option should be removed from the charm.

Related branches

Revision history for this message
Mario Splivalo (mariosplivalo) wrote :

Actually, there are more options inside the charm that are not supported any more, for instance:

root@mario-local-machine-1:/var/log/mongodb# mongod --config /etc/mongodb.conf
error command line: unrecognised option 'mms-interval'
use --help for help

I'll get over all of them, list them here, maybe open a new bug for this, and fix the charm.

Revision history for this message
Mario Splivalo (mariosplivalo) wrote :
Revision history for this message
Mario Splivalo (mariosplivalo) wrote :

This also affects precise version of mongodb

Revision history for this message
Mario Splivalo (mariosplivalo) wrote :

"opIdMem" is also obsolete.

summary: - MongoDB fails to start if "nocursors" charm option is enabled
+ Obsolete mongod options should be removed from the charm
description: updated
Revision history for this message
Mario Splivalo (mariosplivalo) wrote :

These are the mongodb options not supported in the current mongodb version in trusty:

nocursors
mms-*
opidmem
nohints

Changed in mongodb (Juju Charms Collection):
assignee: nobody → Mario Splivalo (mariosplivalo)
status: New → In Progress
affects: mongodb (Juju Charms Collection) → mongodb-charm
Changed in charm-mongodb:
status: In Progress → Confirmed
assignee: Mario Splivalo (mariosplivalo) → nobody
importance: Undecided → High
Andrea Ieri (aieri)
Changed in charm-mongodb:
assignee: nobody → Andrea Ieri (aieri)
Andrea Ieri (aieri)
Changed in charm-mongodb:
status: Confirmed → In Progress
Alvaro Uria (aluria)
Changed in charm-mongodb:
status: In Progress → Fix Committed
milestone: none → 20.08
Revision history for this message
Andrea Ieri (aieri) wrote :

released as cs:~llama-charmers-next/mongodb-3

Changed in charm-mongodb:
status: Fix Committed → Fix Released
assignee: Andrea Ieri (aieri) → nobody
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.