DescriptionImplement manual bootstrapping
environs/bootstrap:
- Added BootstrapStorage interface. If an Environ
implements this interface, its BootstrapStorage
will be used by cmd/juju bootstrap.
cmd/juju:
- Updated bootstrap subcommand to use
environs/bootstrap.BootstrapStorage,
as described above.
provider/local/storage:
- Added LocalStorageConfig interface, which an
Environ may implement to describe the configuration
of a "localstorage".
environs/filestorage:
- Added NewFileStorage (i.e. implement StorageWrite)
for testing in environs/manual.
environs/manual:
- Refactored existing code to support bootstrap machines.
- Added "Bootstrap" function to manually bootstrap an
existing machine.
To manually bootstrap, you must provide an environment that
implements the new LocalStorageConfig and BootstrapStorage
interfaces. In other words, you can (currently) only manually
bootstrap a machine which is expected to manage the storage
for its environment. This may be relaxed later if needed.
Next up is the null provider, which uses this new Bootstrap
function. I need to address one last issue with it first:
the null provider mustn't narrow the tools to default-series.
https://code.launchpad.net/~axwalk/juju-core/manual-bootstrap/+merge/184714
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Implement manual bootstrapping #
Total comments: 18
Patch Set 3 : Implement manual bootstrapping #
Total comments: 64
Patch Set 4 : Implement manual bootstrapping #
MessagesTotal messages: 15
|