Comment 43 for bug 2056193

Revision history for this message
Caner Derici (cderici) wrote :

I noticed in the engine report (one that John shared https://pastebin.canonical.com/p/BGXRjzYvNF/) that the in-peer field for one of the relations for the unit is true. So I'm wondering if we have a stale peer relation for that unit that hasn't been cleaned up during redeploy. Maybe that's something we could take a look at the db during the meeting.

```
      relations:
        "7":
          application-members:
            httprequest-lego-provider: 1
          dying: false
          endpoint: secret-storage
          is-peer: true
          members: {}
          relation: httprequest-lego-provider:secret-storage
```

https://github.com/juju/juju/blob/de682d4a80a1d0c104b2cfd31e58e149aaede9a1/state/application.go#L1387 should've cleaned it up.