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
David Gageot
6a5cc751bb
FIX #2232 Check that the user is an Administrator
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 12:04:44 +01:00
David Gageot
d5e11fb961
FIX #512 Check the virtual switch in PreCreateCheck()
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 12:04:39 +01:00
David Gageot
aa3a4e4498
Simplify code
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 11:38:51 +01:00
David Gageot
2311fd69c9
Format code
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 11:36:40 +01:00
David Gageot
19fc64d583
Remove redundant code
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 11:31:38 +01:00
Fabio Rapposelli
2e90b7cb55
Update vSphere driver to work with govmomi instead of wrapping govc.
...
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-22 19:00:45 +01:00
David Gageot
ee8c9abed2
Merge pull request #2654 from dgageot/2140_driver_restart
...
Change host restart to use the driver implementation
2015-12-22 14:32:49 +01:00
Jean-Laurent de Morlhon
e22f1db4bf
Merge pull request #2657 from dgageot/improve-generic-driver
...
Improve generic driver
2015-12-22 14:13:22 +01:00
Jean-Laurent de Morlhon
643df3c0a7
Merge pull request #2589 from boyvinall/mv/filter-openstack-floating
...
Filter openstack floating IPs by tenant ID
2015-12-22 14:12:21 +01:00
David Gageot
cdfa729f36
Simplify code
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 12:04:46 +01:00
David Gageot
181a1d47b4
The generic driver shouldn't support kill since stop is not supported
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:59 +01:00
David Gageot
4bfd8ab4c1
Remove dead code in generic driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:14 +01:00
David Gageot
1c6ceed28e
Fix Restart() for some drivers
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 10:32:57 +01:00
David Gageot
6f8a6dd272
FIX #2641 Digital Ocean Custom SSH port
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 16:16:33 +01:00
David Gageot
df30a135b2
Merge pull request #2644 from dgageot/nathanleclaire-xtra_vbox_logs
...
Add extra logging to VirtualBox driver
2015-12-21 09:46:31 +01:00
David Gageot
c584b8e641
Merge pull request #2625 from dgageot/2624-reject-duplicate-hostonlyifs
...
FIX #2624 reject duplicate hostonlyifs name/IP
2015-12-21 09:29:25 +01:00
Nathan LeClaire
54bda622d3
Add extra logging to VirtualBox driver
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-21 09:20:53 +01:00
David Gageot
352d28220c
Merge pull request #2620 from dgageot/2619-hardware-virtualization-test
...
Don't create the VM if no hardware virtualization
2015-12-21 09:18:49 +01:00
David Gageot
3c4fd63f93
FIX #2624 reject duplicate hostonlyifs name/IP
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 09:15:01 +01:00
Nathan LeClaire
204af9fe5e
Merge pull request #2618 from dgageot/2189-update-b2d-cache-in-precreatecheck
...
Update b2d cache in PreCreateCheck
2015-12-18 16:51:56 -08:00
David Gageot
dd379d33c8
FIX #2617 Check hostonlyif after its creation
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 17:44:52 +01:00
David Gageot
ac45f88ce3
Don't create the VM if no hardware virtualization
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 12:27:04 +01:00
David Gageot
a7bd9e06d2
Update B2D cache in PreCreateCheck phase
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 11:14:59 +01:00
Matt Vinall
0815379c26
Filter openstack floating IPs by tenant ID
...
Merge j2sol:filter-openstack-floating and fix up for comments in PR #1809 .
Signed-off-by: Matt Vinall <matt.vinall@imgtec.com>
2015-12-15 22:30:49 +00:00
David Gageot
b995a4d65a
FIX #2561 SSH pubkey should have username comment
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-15 11:12:53 +01:00
Nathan LeClaire
d29a42ebc6
Merge pull request #1299 from hairyhenderson/ssh-agent-support-1291
...
Allowing generic driver to use ssh-agent to get identities
2015-12-11 17:31:55 -08:00
David Gageot
f3775f774c
FIX #2553 Fusion Driver is supported only on darwin
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-11 15:46:47 +01:00
David Gageot
42ad416c0a
FIX #2479 Warn on VirtualBox version
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 16:10:52 +01:00
Jean-Laurent de Morlhon
cc6dc7c1be
Merge pull request #2545 from dgageot/1432-google-update-firewall
...
Google driver - Update firewall open ports
2015-12-10 14:31:08 +01:00
David Gageot
82edc1d174
FIX #1432 open all the ports need for google driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 14:20:46 +01:00
David Gageot
58b4cce392
Remove dead code and other cosmetic changes
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 14:20:46 +01:00
David Gageot
8a64fd4716
Merge pull request #2528 from jhoos/vmwarefusion-umask
...
Explicitly set umask before invoking vmrun in vmwarefusion
2015-12-10 09:24:09 +01:00
Dave Henderson
cf6136fed0
Allowing generic driver to use ssh-agent to get identities
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2015-12-09 09:36:08 -05:00
Jason Hoos
d5ff6b21ea
Explicitly set umask before invoking vmrun in vmwarefusion
...
For some reason, invoking vmrun with the nogui option doesn't
work right if umask is set to not allow world-readable permissions
by default. This seems to be true at least in VMware Fusion 7.0.x
through 8.0.1. As a workaround, the driver now explicitly sets
the umask to 022 before invoking vmrun.
Signed-off-by: Jason Hoos <jhoos@maestrohealth.com>
2015-12-08 11:45:38 -06:00
David Gageot
52128128fd
Detect Yet Another Virtualization issue
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-08 17:43:39 +01:00
Jean-Laurent de Morlhon
1079735af8
Remove withFields
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-07 10:34:43 +01:00
Jean-Laurent de Morlhon
760e814d43
Merge pull request #2501 from fsoppelsa/2478-sanitizekey
...
Sanitize keynames by replacing dots with underscores
2015-12-07 09:41:34 +01:00
Lars Kanis
850e2646a6
Fix detection of virtualisation support on AMD CPU.
...
This also changes the amd test case to /proc/cpuinfo content of
a real AMD CPU.
Signed-off-by: Lars Kanis <lars@greiz-reinsdorf.de>
2015-12-07 07:39:24 +01:00
Fabrizio
6e43436a3d
Sanitize keynames by replacing dots with underscores
...
Signed-off-by: Fabrizio Soppelsa <fsoppelsa@mirantis.com>
2015-12-05 16:04:35 -08:00
Nathan LeClaire
dac327f167
Merge pull request #2488 from trecloux/2361-ubuntu-15.10-base-images
...
Update default images to ubuntu 15.10
2015-12-04 13:51:59 -08:00
Thomas Recloux
bd12140d6b
Google : update default image to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux
697b543789
Rackspace : update default image to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux
ca7ea324c4
Exoscale : update default image to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux
73ddbe02ac
DigitalOcean : update default image to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux
977fa7e48f
Azure : update default image to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:08 +01:00
Thomas Recloux
0408378332
AWS : update default images to ubuntu 15.10
...
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 14:50:21 +01:00
Fabio Rapposelli
2dcfcf2b06
Fix for vSphere driver boot2docker ISO issues
...
Fixes #2279 #2060
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-03 07:24:26 -05:00
David Gageot
029b39ee62
Merge pull request #2141 from janeczku/digitalocean-userdata
...
Digitalocean driver: Support for creating Droplets with Cloud-init User Data
2015-12-03 10:53:06 +01:00
Joe Friedl
b2c9366245
Add the --virtualbox-host-dns-resolver flag
...
Signed-off-by: Joe Friedl <joe@joefriedl.net>
2015-12-01 21:03:51 -05:00
Jan Broer
59d7c3ca61
Enhances Digitalocean driver to support creating Droplets with user-data
...
Signed-off-by: Jan Broer <janeczku@yahoo.de>
2015-12-01 21:22:26 +01:00