DumpModels failing for newly deployed models

Bug #1871056 reported by Stuart Bishop
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Confirmed
Low
Unassigned

Bug Description

We are unable to dump a few recently created models, Juju 2.6.10. We make the DumpModels API call, but get back the error:

    missing relation scope for candid:postgres postgresql:db and postgresql/0

'juju status --format=yaml' works fine, and everything looks normal. Nothing unusual about that relation at either end.

Revision history for this message
Stuart Bishop (stub) wrote :

(the remaining 300 odd models are being dumped fine, beyond the usual failure of DumpModels failing when provisioning is in progress)

tags: added: canonical-is
Revision history for this message
Richard Harding (rharding) wrote :

Any chance of a db dump that would include the models we can investigate what it is in the model state that's causing the API call to choke? We can make this bug private if needed.

Revision history for this message
Haw Loeung (hloeung) wrote :

Rick, it's the main shared juju 2.x controllers. I think probably best to just reach out to IS on IRC and perform the required MongoDB queries.

Changed in juju:
status: New → Confirmed
Revision history for this message
Tim Penhey (thumper) wrote :

If you call dump-model with --simplified does it still give all you need?

The validation is skipped if the simplified flag is used.

Revision history for this message
Joel Sing (jsing) wrote :

No, same failure:

$ JUJU_DEV_FEATURE_FLAGS=developer-mode juju dump-model
ERROR missing relation scope for candid:postgres postgresql:db and postgresql/0
$ JUJU_DEV_FEATURE_FLAGS=developer-mode juju dump-model --simplified
ERROR missing relation scope for candid:postgres postgresql:db and postgresql/0

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Undecided → 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.