Trusty juju-mongodb doesn't support js for the juju-store

Bug #1295140 reported by Bodie Solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Casey Marshall
juju-store
New
Undecided
Unassigned

Bug Description

Note: this doesn't happen under Saucy (juju-mongodb setup; mongod --version reports 2.4.6 under Saucy.) juju-mongodb is set up on Trusty and reports version 2.4.9. Tests fail with the following results:

----------------------

FAIL: server_test.go:201: StoreSuite.TestCharmStreaming

[LOG] 36.85478 Resetting stats
[LOG] 36.85478 Cluster 0xc21010c2a0 acquired (refs=2)
[LOG] 36.85478 New session 0xc210123dc0 on cluster 0xc21010c2a0
[LOG] 36.85478 Session 0xc210123dc0: setting mode 0 with refresh=true (master=0x0, slave=0x0)
[LOG] 36.85478 Cluster 0xc21010c2a0 released (refs=1)
[LOG] 36.85478 Cluster has 0 known masters and 0 known slaves.
[LOG] 36.85478 Waiting for servers to synchronize...
[LOG] 36.85478 Socket 0xc210151ee0 to localhost:50017: killed again: read tcp 127.0.0.1:50017: use of closed network connection (previously: Closed explicitly)
[LOG] 36.85478 SYNC Cluster 0xc21010c2a0 is starting a sync loop iteration.

... snip ...

[LOG] 36.85478 Closing session 0xc210061c60
[LOG] 36.85478 Cluster 0xc2101b5620 released (refs=1)
server_test.go:217:
    // Check that it was accounted for in statistics.
    s.checkCounterSum(c, []string{"charm-bundle", curl.Series, curl.Name}, false, 1)
server_test.go:190:
    c.Assert(err, gc.IsNil)
... value *mgo.QueryError = &mgo.QueryError{Code:16149, Message:"exception: cannot run map reduce without the js engine", Assertion:false} ("exception: cannot run map reduce without the js engine")

Related branches

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 1.17.7
tags: added: regression
Revision history for this message
Dave Cheney (dave-cheney) wrote :

This is not a juju bug, this is the store. This does not affect juju-core.

The store should have moved out of the Juju codebase a long time ago, when it does, this error will go away because the store expects to be deployed against the 'real' mongodb-server package, not our specialised version

Revision history for this message
Curtis Hovey (sinzui) wrote :

I understand the store will be separated out in a few weeks. I only see the project for the aborted effort a few weeks ago though.

tags: added: store
removed: regression
Changed in juju-core:
importance: Critical → Low
milestone: 1.17.7 → none
tags: added: tech-debt
tags: removed: js trusty
summary: - Trusty juju-mongodb map-reduce fails due to lacking js engine
+ Trusty juju-mongodb doesn't support js for the juju-store
Revision history for this message
Dave Cheney (dave-cheney) wrote :

I don't think this can be removed from the 1.17 milestone.

Anyone using trusty will

a. be told by juju that they need to install the juju-mongodb package, that change was landed yesterday
b. the juju-mongodb package is incompatible with the store tests

This means juju will not pass CI testing on trusty.

Changed in juju-core:
importance: Low → High
milestone: none → 1.18.0
Curtis Hovey (sinzui)
Changed in juju-core:
assignee: nobody → Casey Marshall (cmars)
status: Triaged → In Progress
Casey Marshall (cmars)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.