Model Upgrade 2.7.6 -> 2.8.6 required mongodb rebuild

Bug #1902587 reported by Adam Dyess
8
This bug affects 1 person
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("2020-11-02T15:18:31.072Z"),
    "myState" : 2,
    "term" : NumberLong(10),
    "syncingTo" : "172.18.247.83:37017",
    "heartbeatIntervalMillis" : NumberLong(2000),
    "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.

Revision history for this message
Adam Dyess (addyess) wrote :

The entire upgrade of ONLY the controller model took about 90 minutes after I dropped mongo on the first unit and re-replicated.

Revision history for this message
Pen Gale (pengale) wrote :

@addyess do you have logs from the mongodb instance that went stale? Both mongodb and Juju logs would be useful. (I'm guessing that we'll see some sort of hung worker, but without the logs, it's hard to know where to start looking.)

Changed in juju:
status: New → Incomplete
Revision history for this message
Adam Dyess (addyess) wrote :
Pen Gale (pengale)
Changed in juju:
status: Incomplete → New
John A Meinel (jameinel)
Changed in juju:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
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.