MongoDB Storage Driver Doesn't Use Port Option

Bug #1215553 reported by Allele Dev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Invalid
High
Allele Dev

Bug Description

I'll just put the source in here:

"""
    @property
    def db(self):
        """Property for lazy instantiation of mongodb's database."""
        if self._database is None:
            if options.CFG.uri and 'replicaSet' in options.CFG.uri:
                conn = pymongo.MongoReplicaSetClient(options.CFG.uri)
            else:
                conn = pymongo.MongoClient(options.CFG.uri)

            self._database = conn[options.CFG.database]

        return self._database
"""

Repro: start a mongodb database server on a non-default port and watch marconi crash, regardless of the config file options.

Allele Dev (alleledev)
Changed in marconi:
status: New → Confirmed
assignee: nobody → Alejandro Cabrera (cpp-cabrera)
Kurt Griffiths (kgriffs)
Changed in marconi:
importance: Undecided → High
milestone: none → havana-3
Revision history for this message
Allele Dev (alleledev) wrote :

Nevermind - I've been using an outdated version of the marconi.conf.

Bug invalidated.

Changed in marconi:
status: Confirmed → 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.