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