Commit Graph

347 Commits

Author SHA1 Message Date
Guillaume Giamarchi
5fa93a0888 Remove dead code
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>
2015-02-27 23:13:12 +01:00
Evan Hazlett
32ed441fbb ec2: use filters for GetSubnets; check subnetId in PreCreate for driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 16:51:48 -05:00
Evan Hazlett
19f5b0cb54 ec2: check subnet exists in vpc
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 15:31:48 -05:00
Evan Hazlett
c99e4f8fe4 Merge pull request #633 from andrewwatson/fix-629-privateip
Fix #629 by adding PrivateIPAddress to config.json
2015-02-27 15:04:28 -05:00
Evan Hazlett
26d09cf300 add hyperv and softlayer tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 12:32:00 -05:00
Evan Hazlett
0b4d58d554 google: enable specifying an auth token
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 12:31:03 -05:00
Fabio Rapposelli
9410b5b208 Add automatic assignments of vCPUs based on host CPUs.
Fixes #535

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli
193e2b1613 Major rework, changes include:
- Use new iso from boot2docker/boot2docker#747
- Make ssh keys persistent across reboots
- Create a tar bundle of ssh keys just like Virtualbox
- Seed ssh keys using VMware Tools
- Added informative messages on stop/start/restart/remove
- Stop command is now gracefully shutting down the VM
- Fixed StopDocker() script
- Added a "not supported" message to upgrade operation

Fixes #507 #542 #430 #532

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli
3442f8e063 Moved VMX options around, major changes:
- Moved to a paravirtualized driver for disk (pvscsi)
- Moved to an enhanced paravirtualized nic (vmxnet3)
- Moved CDROM to SATA
- Reverted default power operations to "soft"

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:08 +01:00
Andy Watson
0d83d89dd2 PR updates
Signed-off-by: Andy Watson <andrewmoorewatson@gmail.com>
2015-02-26 23:26:23 -05:00
Andrew Watson
dac96263be Fix #629 by adding PrivateIPAddress to config.json
Signed-off-by: Andrew Watson <andrew@ionicsecurity.com>
2015-02-26 14:53:36 -05:00
Guillaume Giamarchi
96224409b8 HTTP configuration it done too late
The HTTP transport configuration should be
done before the authentication request.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2015-02-26 09:12:13 -06:00
Ash Wilson
5f20240340 Use --openstack-insecure to disable TLS checking.
At your own risk!

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
2015-02-26 09:12:13 -06:00
Evan Hazlett
a4e634e2dc fixes regression causing intermittent TLS errors in azure
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 21:02:09 -05:00
Evan Hazlett
7a101ac92c refactor directories to machines, certs, cache
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 12:32:41 -05:00
Evan Hazlett
66ed197149 Merge pull request #589 from saturnism/google-scopes
Add google-scopes option to specify Compute Engine scopes
2015-02-24 20:45:05 -05:00
Evan Hazlett
4f5de31d3f Merge pull request #590 from ehazlett/no-debug-for-docker-install
do not show debug for docker install by default
2015-02-24 15:01:20 -05:00
Evan Hazlett
2e527e0448 Merge pull request #601 from ehazlett/logging-updates-rackspace
Logging updates rackspace
2015-02-24 15:00:24 -05:00
Evan Hazlett
bebb2dc718 show detailed messages only in debug for rackspace remove
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 11:02:49 -05:00
Evan Hazlett
c406e1575b common logging for rackspace
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 10:52:40 -05:00
Evan Hazlett
e450a75be4 virtualbox: check state before attempting start
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 09:45:44 -05:00
Simon Thulbourn
52782250d3 Move images dir to stop polluting the docker path
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-02-24 14:11:18 +00:00
Evan Hazlett
54f36078f4 do not show debug for docker install by default; refactor install out of drivers
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-23 17:14:32 -05:00
Evan Hazlett
0b5299bcf0 Merge pull request #575 from andrewwatson/fix-564-govcerr
fixes #564 by surfacing govc errors to end user
2015-02-21 16:32:11 -08:00
Ray Tsang
64544bd1c0 Add google-scopes option to specify Compute Engine scopes
Signed-off-by: Ray Tsang <saturnism@gmail.com>
2015-02-21 17:21:12 -05:00
Andrew Watson
9ff6dbe0b2 Fixes #576 by return the err
Signed-off-by: Andrew Watson <andrewmoorewatson@gmail.com>
2015-02-21 00:15:47 -05:00
Andrew Watson
c481442fe0 fixes #564 by surfacing govc errors to end user
Signed-off-by: Andrew Watson <andrewmoorewatson@gmail.com>
2015-02-20 20:25:35 -05:00
Evan Hazlett
3a3ef6f45e add discovery to machine config; show swarm membership
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Evan Hazlett
a949e12b6e store swarm config in driver; vendor Godeps; generate swarm token
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Evan Hazlett
b996cb7e9e azure: use IP when calling GetIP for proper certs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Evan Hazlett
730f0dc68c google: configure firewall if swarm master
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:20 -08:00
Evan Hazlett
4e95c2760f authorize swarm port when master is in ec2; fix max dns name for azure
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:20 -08:00
Evan Hazlett
557d03a849 tls fixes to support swarm; test updates; improved provisioning logging
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:20 -08:00
Fabio Rapposelli
13b60b19f7 Updated custom ISOs for B2D w/ vmtoolsd and format-blank-drive patches.
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-02-18 11:26:11 +01:00
Nathan LeClaire
3af411ab90 Add needed test file
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-02-16 15:10:23 -08:00
Evan Hazlett
b8ab9300e1 Merge pull request #453 from nathanleclaire/coverage
Add structure to generate code coverage representation
2015-02-16 14:19:01 -08:00
Misha Brukman
a9e468cf67 Update GCE VM images to latest release versions.
Signed-off-by: Misha Brukman <mbrukman@google.com>
2015-02-16 15:15:34 -05:00
Sven Dowideit
de62c65a71 Detect vboxmanage error conditions and pass those on as errors
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com>
2015-02-12 08:46:18 +10:00
Evan Hazlett
e26d48ab5b Merge pull request #519 from ehazlett/fix-restart-vbox
fix bug with attempting to restart vbox instance that is not running
2015-02-11 13:15:39 -05:00
Evan Hazlett
bfdf2d12c5 Merge pull request #526 from reines/sudo_aptget_upgrade
Need to sudo to install the package as well as perform update.
2015-02-11 12:06:01 -05:00
Jamie Furness
d1ccb16a5c Need to sudo to install the package as well as perform update.
Signed-off-by: Jamie Furness <jamie@jamierf.co.uk>
2015-02-11 15:35:38 +00:00
Sven Dowideit
467fc9a2ef Detect the location of VBoxManage.exe - it is often not in the PATH
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com>
2015-02-11 21:30:38 +10:00
Evan Hazlett
87a5b43a93 Merge pull request #505 from saturnism/google-driver-disk-size
Added a Disk Size parameter for Google Compute Engine.
2015-02-10 14:35:34 -05:00
Evan Hazlett
6feb419b73 Merge pull request #506 from ehazlett/use-vmw-iso
use custom vmware b2d iso for fusion and vsphere
2015-02-10 14:35:23 -05:00
Evan Hazlett
9e161fafba fix bug with attempting to restart vbox instance that is not running
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-09 15:36:18 -05:00
Evan Hazlett
e5891fa838 Merge pull request #498 from andrewwatson/457-panic
Fixes panic caused by returning *resp when client.Do fails
2015-02-09 13:27:41 -05:00
Ray Tsang
56d832dd5c Added a Disk Size parameter for Google Compute Engine.
Signed-off-by: Ray Tsang <saturnism@gmail.com>
2015-02-09 13:04:48 -05:00
Sven Dowideit
5c4ee75f4e Add driver names to a few flag descriptions to make is consistent
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-02-09 10:18:55 +10:00
Evan Hazlett
1198cb539a use custom vmware b2d iso for fusion and vsphere
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-08 15:36:39 -05:00
Andrew Watson
87f944a761 Fixes panic caused by returning *resp when client.Do fails
Signed-off-by: Andrew Watson <andrew@ionicsecurity.com>
2015-02-06 15:12:02 -05:00