Comment 1 for bug 1317896

Revision history for this message
John A Meinel (jameinel) wrote :

I actually don't think using "mongo" is the correct fix here. We already have all the code we need inside of juju-core, we shouldn't depend on a separate client library in order to write stuff to the database.

We *definitely* don't want mongodb-clients as a dependency for juju-core (juju-core is the client package, not what we install on the remote machine).

Instead, we should have a "jujud restore" as a command that we can invoke from remote (like we do 'jujud bootstrap-state" today). Long term it can take over everything that we need to do during restore, potentially even connecting to all the other agents and updating their configuration to point to itself. (We now have an SSH Identity that should allow an API server to SSH to all machines and run commands there.)