Commit Graph

719 Commits

Author SHA1 Message Date
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