Juju says windows mongo: invalid version

Bug #1596045 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Christian Muirhead

Bug Description

As seen in
    http://reports.vapour.ws/releases/issue/576d7159749a562fd687e505

Most of the unit test will not run on windows because mgo.go it does not like the version
    failed to start mongo: invalid version "2.4.11-pre\r"
or
    failed to start mongo: invalid version "2.6.3\r"

Maybe the trailing \r is not handled properly by mgo.go

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

This failure was first seen in commit 61e062c. Not seen in 90b234d. the suspect commit is
    https://github.com/juju/juju/commit/886a23e950b350e51bed0c5eb00e1a8e212c0f84

The likely cause is detectMongoVersion() which splits on "\n"
    parts := strings.SplitN(string(output), "\n", 2)

Changed in juju-core:
assignee: nobody → Christian Muirhead (2-xtian)
Revision history for this message
Christian Muirhead (2-xtian) wrote :

Sorry, I'll fix that right away!

Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Christian Muirhead (2-xtian) wrote :
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta11 → none
milestone: none → 2.0-beta11
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.