Could not evalute MongoDB shell command: printjson(rs.conf())
Bug #1536083 reported by
Derek Higgins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Emilien Macchi |
Bug Description
Tripleo CI has been failing since about 2000 UTC on tuesday
Looks like this is the relevant error in the overcloud controller logs
Jan 20 01:28:00 overcloud-
Jan 20 01:28:00 overcloud-
Jan 20 01:28:00 overcloud-
Changed in tripleo: | |
assignee: | Derek Higgins (derekh) → Emilien Macchi (emilienm) |
To post a comment you must log in.
Running puppet with --trace --debug --verbose shows this output
2016-01- 20T12:21: 58.192+ 0000 file [] doesn't exist rs.status( ))' rs.status( ))' returned 253: { "2016-01- 20T12:22: 01Z"),
"_id" : 0,
"name" : "192.0.2.22:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 70984,
"optime" : Timestamp( 1453292495, 60),
"optimeDate" : ISODate( "2016-01- 20T12:21: 35Z"),
"electionTim e" : Timestamp( 1453221546, 2),
"electionDat e" : ISODate( "2016-01- 19T16:39: 06Z"),
"self" : true 20T12:22: 01.260+ 0000 file [] doesn't exist rs.status( )) 2.22:27017" ] main]/Main/ Mongodb_ replset[ tripleo] : Could not evaluate: Can't connect to any member of replicaset tripleo.
failed to load:' Retry: '2'
Debug: Executing '/bin/mongo admin --quiet --host 192.0.2.22:27017 --eval printjson(
Debug: Request failed: 'Execution of '/bin/mongo admin --quiet --host 192.0.2.22:27017 --eval printjson(
"set" : "tripleo",
"date" : ISODate(
"myState" : 1,
"members" : [
{
}
],
"ok" : 1
}
2016-01-
failed to load:' Retry: '3'
Debug: Got an exception: Could not evalute MongoDB shell command: printjson(
Warning: Can't connect to replicaset member 192.0.2.22:27017.
Debug: Alive members: []
Debug: Dead members: ["192.0.
Error: /Stage[
It appears that the josn being output can't be parsed due to the ISODate and Timestamp types.