Obsolete mongod options should be removed from the charm
Bug #1580962 reported by
Mario Splivalo
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-
nocursors = true
root@mario-
error command line: unrecognised option 'nocursors'
use --help for help
The option should be removed from the charm.
Related branches
~aieri/charm-mongodb:bug/1580962
- Alvaro Uria (community): Approve
- Zachary Zehring (community): Approve
-
Diff: 104 lines (+0/-54)2 files modifiedconfig.yaml (+0/-24)
hooks/hooks.py (+0/-30)
affects: | mongodb (Juju Charms Collection) → mongodb-charm |
Changed in charm-mongodb: | |
status: | In Progress → Confirmed |
assignee: | Mario Splivalo (mariosplivalo) → nobody |
importance: | Undecided → High |
Changed in charm-mongodb: | |
assignee: | nobody → Andrea Ieri (aieri) |
Changed in charm-mongodb: | |
status: | Confirmed → In Progress |
Changed in charm-mongodb: | |
status: | In Progress → Fix Committed |
milestone: | none → 20.08 |
To post a comment you must log in.
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.