Model Upgrade 2.7.6 -> 2.8.6 required mongodb rebuild
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I upgraded a controller model today using
`juju upgrade-model -m controller`
before running i confirmed that mongodb was healthy:
```
juju:SECONDARY> rs.status()
{
"set" : "juju",
"date" : ISODate(
"myState" : 2,
"term" : NumberLong(10),
"syncingTo" : "172.18.
"heartbeatI
"members" : [...],
"ok" : 1
}
```
during the process I saw that mongodb moved its primary to another controller unit and the original primary mongodb went stale. After about an hour, i decided it wasn't going to catch back up and restored by stopping mongo on the unit, removing it's db, then starting mongo again and seeing it replicate in about 5 minutes.
Changed in juju: | |
status: | Incomplete → New |
Changed in juju: | |
importance: | Undecided → Medium |
status: | New → Triaged |
The entire upgrade of ONLY the controller model took about 90 minutes after I dropped mongo on the first unit and re-replicated.