OpenStack driver waits for the machine to reach the expected state. This
is already done in libmachine for most instances of this pattern.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
Waiting for SSH to start or Docker to be available is a step done
directly in the framework (in libmachine). There is no need for the
driver to do that.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
This method is no longer called since
the docker installation has moved out
of the driver (54f3607).
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
where you want to run some prerequisite checks before attempting to
create
the machine. In the case of EC2, this is a check for an existing
keypair. This can be used in the other drivers in the future as well.
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
* Log machine creation.
* Typo in an error message 💅
* Shelve docker install output in /var/log.
* Improve the docker installation error message. Also, keep it from interrupting the host creation, so that you can actually run `machine ssh` or `machine rm` on the host afterward.
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
* checkConfig is no longer a thing.
* Change the default Rackspace image to Ubuntu 14.04.
* Remove an unnecessary Network service.
* Show a nicer error when the Region is omitted.
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Boolean flag to indicate if docker have to
be installed on the machine. Useful when
docker is already installed and configured
in the OpenStack image. Default set to `true`
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
* Use the initialized client
* Fix the endpointType conditional
* Don't die if OS-EXT-IPS is not present
* Only log Openstack creation for Openstack drivers
* There's no option for MachineName, yet
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
Otherwise, because of the way Go does method dispatch, derived versions of
those methods will never be called.
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
* Wrap openstack.Client in an interface.
* Alternate openstack Driver creation method.
* Register the Rackspace driver in commands.go.
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
When sourcing an OpenStack rc file, both variables OS_TENANT_ID
and OS_TENANT_NAME are defined.
Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>