Trusty juju-mongodb doesn't support js for the juju-store
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.
[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.checkCoun
server_test.go:190:
c.Assert(err, gc.IsNil)
... value *mgo.QueryError = &mgo.QueryError
Related branches
- Juju Engineering: Pending requested
-
Diff: 173 lines (+62/-0)3 files modifiedCONTRIBUTING (+13/-0)
store/server_test.go (+16/-0)
store/store_test.go (+33/-0)
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 1.17.7 |
tags: | added: regression |
Changed in juju-core: | |
importance: | Low → High |
milestone: | none → 1.18.0 |
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
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