mongodb formula cannot run a single node only

Bug #826949 reported by Ahmed Kamal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Fix Released
Undecided
Juan L. Negron

Bug Description

ensemble deploy mongodb

deploys a single instance, however it is not ready to be used. Trying to create data on it yields

 for (var i = 1; i <= 20; i++) db.ubuntu.save({'ubuntucloud rox':i});
not master

Using ensemble add-unit, seems to cause hooks to correctly configure the master node, then it becomes fine

Related branches

Revision history for this message
Ahmed Kamal (kim0) wrote :

Also,

rs.status()
{
 "startupStatus" : 3,
 "info" : "run rs.initiate(...) if not yet done for the set",
 "errmsg" : "can't get local.system.replset config from self or any seed (EMPTYCONFIG)",
 "ok" : 0
}

Revision history for this message
Juan L. Negron (negronjl) wrote :

I'll check this out.

-Juan

Changed in principia:
assignee: nobody → Juan L. Negron (negronjl)
Changed in principia:
status: New → Confirmed
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 826949] Re: mongodb formula cannot run a single node only

Excerpts from Juan L. Negron's message of Tue Aug 16 20:35:04 UTC 2011:
> ** Changed in: principia
> Status: New => Confirmed
>

I don't want to split hairs, but mongodb isn't technically in principia yet.

That said, I'm sure Juan will add it soon enough. :)

Revision history for this message
Juan L. Negron (negronjl) wrote :

Fixed in the latest lp:principia/mongodb

-Juan

Changed in principia:
status: Confirmed → Fix Released
Revision history for this message
amir sanjar (asanjar) wrote :

.

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.