In my case the issue seems to be that /var/lib/landscape/client/juju-info.json is not getting created and that could be an issue with the relational data and removing/re-adding the relation may fix it.
However, as stated in comment #6 the error message is at the very least unhelpful. Since is_configured_enough depends on three items (computer-title, account-name and juju-info.json) but the error message only mentions two of them, and also the error is in an else clause that behaves effectively as a "catch everything else" clause, it took time and a lot of code debugging to figure out where the issue was (after trying everything else in this bug report).
This considered, and the fact that this is being observed across several customer envs, recurrently and it's a really old bug, it would be quite helpful to try and resolve it once and for all or at least improve the message being returned.
Is this being worked on by any chance?
In my case the issue seems to be that /var/lib/ landscape/ client/ juju-info. json is not getting created and that could be an issue with the relational data and removing/re-adding the relation may fix it.
However, as stated in comment #6 the error message is at the very least unhelpful. Since is_configured_ enough depends on three items (computer-title, account-name and juju-info.json) but the error message only mentions two of them, and also the error is in an else clause that behaves effectively as a "catch everything else" clause, it took time and a lot of code debugging to figure out where the issue was (after trying everything else in this bug report).
This considered, and the fact that this is being observed across several customer envs, recurrently and it's a really old bug, it would be quite helpful to try and resolve it once and for all or at least improve the message being returned.