Nathan LeClaire
d87383e8f3
Merge pull request #3121 from nathanleclaire/revert_rax_net_switches
...
Revert "Rackspace/Openstack - Add/enhance --*-net-* create switches."
2016-02-26 13:33:03 -08:00
Nicholas Kinsey
0bdc0c61ce
Fix typo in DigitalOcean driver
...
"defaultSSHUSer" -> "defaultSSHUser"
Signed-off-by: Nicholas Kinsey <pyro@feisty.io>
2016-02-27 06:07:10 +10:00
Nathan LeClaire
a8f00e8ba0
Revert "Rackspace/Openstack - Add/enhance --*-net-* create switches."
...
This reverts commit 07cadc68a5 .
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-02-26 11:24:23 -08:00
Nathan LeClaire
499cd9f201
Merge pull request #2974 from robertjustjones/rackspace-net-switches
...
Rackspace/Openstack - Add/enhance --*-net-* create switches.
2016-02-25 16:20:07 -08:00
Travis Thieman
b57c4c203f
Determine host-only interface dynamically, stop assuming eth1
...
Signed-off-by: Travis Thieman <travis.thieman@gmail.com>
2016-02-25 12:02:26 -05:00
Robert Jones
07cadc68a5
Rackspace/Openstack - Add/enhance --*-net-* create switches.
...
Signed-off-by: Robert Jones <robert@justjones.org>
2016-02-21 11:23:38 -06:00
Stefan Scherer
c40f9f7a21
Add option --longmode on to support Windows 32bit hosts
...
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2016-02-19 08:51:24 +01:00
David Gageot
7070fe863b
Merge pull request #3075 from synfinatic/adt-enable-fusion-timesync
...
Enable syncing time for VMWare Fusion guests
2016-02-18 17:57:18 +01:00
Jean-Laurent de Morlhon
cf7885163c
Merge pull request #2932 from sipicsg/master
...
added hyperv static mac address and vlan option for machine creation
2016-02-18 09:56:34 +01:00
Jean-Laurent de Morlhon
bf12d191e3
Merge pull request #3018 from hypriot/improve-no-vtx-check
...
Improve --virtualbox-no-vtx-check option to allow starting the VM
2016-02-18 09:54:54 +01:00
David Gageot
5918c13d22
Merge pull request #3067 from dgageot/3056-ls-timeout
...
FIX #3056 ls timeout when instance is stopped
2016-02-18 08:41:43 +01:00
Nathan LeClaire
7ec902189d
Merge pull request #3069 from dgageot/3068-dns-proxy-mode
...
VirtualBox: use dns proxy mode
2016-02-17 13:35:55 -08:00
Aaron Turner
e790d9f47a
Enable syncing time for VMWare Fusion guests
...
By default, VMWare Fusion does not sync the guest OS's time to the host
and when running Fusion+docker-machine on a laptop the guest clock will
drift and not resync which can create a variety of problems (such as
authentication issues with AWS, etc)
Signed-off-by: Aaron Turner <synfinatic@gmail.com>
2016-02-17 09:46:39 -08:00
David Gageot
ffb9cbed7a
FIX #3056 ls timeout when instance is stopped
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-17 18:09:39 +01:00
Jerome Loisel
c0d03b928e
Fix: missing AMI for ap-northeast-2
...
Ubuntu Server 14.04 LTS (HVM), EBS General Purpose (SSD) Volume Type. Support available from Canonical (http://www.ubuntu.com/cloud/services ).
Signed-off-by: jloisel <jerome.loisel@grinstone.com>
2016-02-17 16:55:58 +01:00
David Gageot
3e6c3c05ce
FIX #3068 DNS Proxy mode
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-17 15:02:27 +01:00
David Gageot
4c9879dcd5
FIX #3065 Improve VT-X check
...
Signed-off-by: David Gageot <david@gageot.net>
2016-02-17 13:46:05 +01:00
Nathan LeClaire
5a883fd302
Merge pull request #3027 from jeanlaurent/vwsitch-hint
...
Fix #2995
2016-02-09 17:23:57 -08:00
Jean-Laurent de Morlhon
e4ef6d4098
Fix #2995
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-02-09 17:01:26 -08:00
Daniel Hiltgen
c568bb8805
Add retry support to AWS driver
...
Some AWS API failures are retryable, so we should give the option to attempt
retries in these cases. One particular example is the API rate limiting that
kicks in if you try to create many machines in parallel. Without this change,
I can only create ~3 machines in parallel, but with this change I can easily
create 10 or more machines in parallel.
While this change helps `ls`, given the current fan-out model for plugins, once
you get a large number of AWS machines, you'll still wind up seeing
"RequestLimitExceeded: Request limit exceeded." errors.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
2016-02-09 15:08:43 -08:00
Stefan Scherer
78efd68886
Add NoVTXCheck while starting VM
...
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2016-02-08 21:39:10 +01:00
Sipics Gergely
a8625397bc
added hyperv static mac address and vlan option for machine creation (with doc\drivers update)
...
Signed-off-by: Gergely Sipics <gergely.sipics@possible.com>
2016-02-03 22:12:47 +01:00
Vincent Bernat
7a56ddb054
drivers/exoscale: fix configuration of exoscale endpoint
...
The environment variable was `EXOSCALE_ENDPOINT` but the flag was
`--exoscale-url`. When configuring from flags, the wrong name was
used. Therefore, a user was unable to use an alternate endpoint.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2016-02-03 16:25:28 +01:00
David Gageot
b6be1b79bc
Merge pull request #2954 from jeanlaurent/engine-url
...
Fix #2029 - local drivers dont run with engine-install-url
2016-01-28 18:26:01 +01:00
Jean-Laurent de Morlhon
8eb22b411b
Fix #2029 - local drivers dont run with engine-install-url
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-28 18:05:58 +01:00
David Gageot
6f6266e122
FIX #2945 Show a better error message
...
There's not much more we can do.
Signed-off-by: David Gageot <david@gageot.net>
2016-01-28 16:18:17 +01:00
David Gageot
bde3435c07
FIX #2949 Cannot remove stopped vbox VM
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-28 10:38:39 +01:00
S.Çağlar Onur
0aedfd201d
[vmwarevsphere] Start using govmomi provided helpers
...
Also update govmomi to latest revision and call Logout method when needed
Signed-off-by: S.Çağlar Onur <conur@vmware.com>
2016-01-26 10:24:02 -08:00
David Gageot
b9d470f975
Merge pull request #2911 from daehyeok/return_vboxlog
...
return last vbox log instead of error state code
2016-01-25 21:59:06 +01:00
Daehyeok Mun
24eab71d4c
retutn last vbox log instead of error state code
...
return last line in the vbox log file instead of error state code when
virtualbox vm start faile
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2016-01-25 13:22:19 -07:00
Jean-Laurent de Morlhon
dd3b66e3b6
Merge pull request #2916 from dgageot/vbox-logs
...
Add more logs, specially for windows users
2016-01-25 15:52:15 +01:00
David Gageot
b6b99747bf
Add more logs, specially for windows users
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-25 15:02:30 +01:00
David Gageot
01bd88f6a5
Support creating a machine on an existing google VM
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-25 10:34:51 +01:00
Nathan LeClaire
72d9c4d039
Merge pull request #2889 from dgageot/wait-host-only
...
Always wait for the host-only adapter to appear
2016-01-22 12:17:06 -08:00
Koichi Shiraishi
9ea9399fa8
Fix typo
...
Signed-off-by: Koichi Shiraishi <k@zchee.io>
2016-01-22 14:13:24 +09:00
David Gageot
6ed2ab0e79
Always wait for the host-only adapter to appear
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-21 07:55:28 +01:00
Jean-Laurent de Morlhon
e466ee9479
Fix infinite loop when deleting machine in ultra weird state
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-19 16:29:29 +01:00
Henrik Nyh
3b90a2a0a2
vbm.go typo
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-19 08:52:28 +01:00
Fabio Rapposelli
00040796e2
Fix shared folder mount on restart
...
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2016-01-15 22:29:43 +01:00
Jeffrey Ellin
c3131ec3fa
Fixes #1898 . Add parameter to pass private key path to use when creating a machine.
...
It is assumed that the corresponding public certificate will be the same file name + .pub
Signed-off-by: Jeffrey Ellin <jeff@ellin.com>
2016-01-15 15:10:03 -05:00
David Gageot
53c5b1f481
Merge pull request #2845 from jeanlaurent/aws-unit-test-are-unit-again
...
Fix 2829 : aws unit test are unit again
2016-01-15 16:47:29 +01:00
David Gageot
dd5dd5d178
Merge pull request #2790 from daehyeok/vmwarefusion_dhcp
...
VMWARE Fusion get IP from multiple leases files
2016-01-15 16:46:54 +01:00
Jean-Laurent de Morlhon
37c174d25a
Add missing test on SecurityGroupPermission
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-15 15:03:58 +01:00
Jean-Laurent de Morlhon
6023e13169
Fix 2829 : aws unit test are unit again
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-15 15:01:28 +01:00
Jean-Laurent de Morlhon
89f3308088
Use ~/.aws/credentials file when no access/secret is given in cli
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-15 12:04:18 +01:00
Jean-Laurent de Morlhon
599a84b469
Allow stubbing AWS Login
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-15 11:06:30 +01:00
Jean-Laurent de Morlhon
c4e3480c74
Extract const for simple errors
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-14 11:44:24 +01:00
Jean-Laurent de Morlhon
6940dc33ca
If you got a const, use it.
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-14 11:40:39 +01:00
Jean-Laurent de Morlhon
04fd9e7741
Fetching the default vpc id from account
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-14 11:40:26 +01:00
Jean-Laurent de Morlhon
0d2bc08d6e
Adding ec2client interface to allow unit testing.
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2016-01-14 11:08:08 +01:00
Jean-Laurent de Morlhon
c77ffa387a
Merge pull request #2806 from dgageot/unit-test-vb
...
Test VirtualBox VM creation
2016-01-14 09:14:28 +01:00
David Gageot
ea9bbcb367
Test VirtualBox VM creation
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-14 06:56:42 +01:00
Nathan LeClaire
f17cce330c
Check for nil before deferencing pointer in SG config
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-01-13 12:07:45 -08:00
David Gageot
b589eb9475
Merge pull request #2818 from jeffellin/debugaws
...
Allow Debug messages from ec2 driver to include request / response
2016-01-13 09:13:55 +01:00
jellin
6d41d8c1ad
Allow Debug messages from ec2 driver to include request / response data sent to aws.
...
Signed-off-by: Jeffrey Ellin <jeff@ellin.com>
2016-01-12 15:39:07 -05:00
Ash Wilson
3c2aab2abe
Only derive tenant ID if tenant name is supplied.
...
The Rackspace provider authenticates with username and API key rather than
tenant name or ID.
Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
2016-01-11 13:49:16 -05:00
David Gageot
52bd740ad3
Revert "Support creating a machine on an existing google VM"
...
This reverts commit 7cf9ae71be .
Signed-off-by: David Gageot <david@gageot.net>
2016-01-11 15:47:01 +01:00
David Gageot
181367b125
Merge pull request #2797 from dgageot/bug
...
Fix multiple VirtualBox bugs on Windows
2016-01-11 15:41:01 +01:00
David Gageot
8553dd2d6c
Fix multiple bugs with host-only adapterss
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-11 11:09:18 +01:00
jellin
0ff18a7c7d
Add option to create anazon ec2 instances with the EbsOptimized setting.
...
fixes #1904 Non EbsOptimized instances will be created by default but adding the flag
UseEbsOptimizedInstance will create and EBSOptimized Instance if the instance type supports it.
Signed-off-by: Jeffrey Ellin <jeff@ellin.com>
2016-01-10 16:05:14 -05:00
Daehyeok Mun
278cc175a2
VMWARE Fusion get IP from multiple leases files
...
Change to try get IP from multiple dhcp leases files
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2016-01-09 01:26:23 -07:00
David Gageot
c688617f75
Merge pull request #2763 from dgageot/retry-vbox
...
Retry VirtualBox commands
2016-01-07 11:43:59 +01:00
David Gageot
6dc0801674
Add unit tests for vbm
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-07 09:52:26 +01:00
David Gageot
fcb31f99f2
FIX #2762 retry Virtualbox commands
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-07 09:21:25 +01:00
Daehyeok Mun
c33fd0d548
GCE delete instance during rm
...
Delete instance during rm command regardless instance status
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2016-01-06 18:04:50 -07:00
David Gageot
2aebbb8d88
Merge pull request #2708 from dgageot/external
...
Add CI tests for an external driver
2016-01-06 21:54:12 +01:00
Nathan LeClaire
04160e392b
Merge pull request #2760 from dgageot/disable-old-vbox
...
Disable support for VBox <= 4.2
2016-01-06 09:52:22 -08:00
David Gageot
7cf9ae71be
Support creating a machine on an existing google VM
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 16:55:56 +01:00
David Gageot
5e75bf3346
Fix broken VTx detection
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 12:42:46 +01:00
David Gageot
dcc77f8891
FIX #2756 Disable support for VBox <= 4.2
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-06 12:41:39 +01:00
David Gageot
8664af9f9b
Tell the user that Hyperv could cause VBox to fail
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-05 18:40:33 +01:00
Jean-Laurent de Morlhon
42b1f4e811
Merge pull request #2721 from rediceli/master
...
Fix #2717 , Driver vmwarefusion fail because of soft link
2016-01-04 17:34:01 +01:00
rediceli
ccb8c31827
Fix #2717 , Driver vmwarefusion fail because of soft link
...
Signed-off-by: rediceli <redice.li@qq.com>
2016-01-05 00:00:06 +08:00
Jean-Laurent de Morlhon
03171b8d21
Merge pull request #2727 from soleo/1986-aws-optional-tags
...
#1986 aws optional tags for AWS EC2
2016-01-04 16:34:00 +01:00
David Gageot
e143c68cf9
Merge pull request #2732 from dgageot/better-logs
...
Improve Start/Stop/Kill/Restart lifecycle/logs
2016-01-04 16:24:55 +01:00
Xinjiang Shao
c59c8a60c5
Add --amazonec2-tags for extra tags assignment support. Ref #1986
...
Signed-off-by: Xinjiang Shao <shaoxinjiang@gmail.com>
2016-01-04 09:19:36 -06:00
David Gageot
9354fed274
Remove some duplication related to swarm
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:40:04 +01:00
David Gageot
2b96c0656d
Dead code
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:39:52 +01:00
David Gageot
855de0741a
Logs for Kill
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:38:25 +01:00
David Gageot
e9aa75f021
Logs for Restart
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:38:25 +01:00
David Gageot
783d2b124e
Logs for Start
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:38:25 +01:00
David Gageot
bbe76b5a26
Logs for Stop
...
Signed-off-by: David Gageot <david@gageot.net>
2016-01-04 10:38:25 +01:00
Fabrizio Soppelsa
c63d303a2e
Add --openstack-key-pair and --openstack-private-file-name so to
...
import and reuse existing nova keypairs.
Signed-off-by: Fabrizio Soppelsa <fsoppelsa@mirantis.com>
2015-12-29 11:43:00 -08:00
David Gageot
01cc4af89e
Merge pull request #2695 from dgageot/hyperv-vbox-incompatibility
...
Detect VBox/HyperV incompatibility
2015-12-28 12:17:41 +01:00
David Gageot
6fe81d3dd4
Point to working version of vbox
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 11:23:15 +01:00
David Gageot
c36a2711af
Detect VBox/HyperV incompatibility
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 11:18:56 +01:00
ryo nakamaru
28ac085cdd
Fixes aws-ec2 initiated shutdown caused by constant DeviceName (/dev/sda1)
...
Signed-off-by: ryo nakamaru <pottava@gmail.com>
2015-12-28 17:43:41 +09:00
Jean-Laurent de Morlhon
45cf74508a
Better naming & cleanup
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-24 16:11:46 +01:00
Euan
b41ead67ec
Remove unneeded 'amz' package
...
Deprecated by the conversion to the upstream SDK
Signed-off-by: Euan <euank@euank.com>
2015-12-24 15:58:49 +01:00
Euan
8d98d2b7b7
amazonec2: Convert EC2 API calls to official SDK
...
This does an almost 1-to-1 translation of API calls.
The differences are as follows:
1. Use the SDK waiter for spot instance request fulfillment
2. Uses the toplevel private/public ip fields instead of the
networkinterface's fields
3. Recognizes the 'Terminated' state as an error explicitly instead of
implicitly.
4. Uses filters on DescribeSecurityGroups to find the correct one more
efficiently and to limit to a given VPC.
Other than that, it really should be identical apart from the perhaps
obvious error message differences.
Signed-off-by: Euan <euank@euank.com>
2015-12-24 15:57:02 +01:00
Jean-Laurent de Morlhon
1c0a05529f
Merge pull request #1522 from frapposelli/vspheredriver-with-govmomi
...
Full rewrite of the vSphere driver
2015-12-24 11:09:57 +01:00
David Gageot
9d19ecfd27
Add ENV variables for each flag
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 18:12:26 +01:00
David Gageot
22cf29b2ee
FIX #639 and #510 find powershell.exe
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:41 +01:00
David Gageot
fa8fa69e7c
Wait for machine to start/stop
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
8b31854a80
Extract the code to create a b2d disk image
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
0c783976e0
Only get the IP of a running machine
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
af87c000d2
Simplify commands
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
a4995adbc7
Add comments
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
7e7c83427a
VSwitch name should be saved to config.json
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00
David Gageot
40ab483a35
FIX #2457 Add a flag to set the CPU count
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:36:40 +01:00