Juju says windows mongo: invalid version
Bug #1596045 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Christian Muirhead |
Bug Description
As seen in
http://
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
Changed in juju-core: | |
status: | Triaged → In Progress |
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 failure was first seen in commit 61e062c. Not seen in 90b234d. the suspect commit is /github. com/juju/ juju/commit/ 886a23e950b350e 51bed0c5eb00e1a 8e212c0f84
https:/
The likely cause is detectMongoVers ion() which splits on "\n" SplitN( string( output) , "\n", 2)
parts := strings.