Commit Graph

2325 Commits

Author SHA1 Message Date
David Gageot 3988b5fabf Merge pull request #2640 from pottava/2492-awsec2-blockdevicemapping-configurable
Fix amazonec2 initiated shutdown caused by constant DeviceName
2015-12-28 10:41:54 +01:00
David Gageot 3b0f2b06ff Small improvements to the release script
Signed-off-by: David Gageot <david@gageot.net>
2015-12-28 10:40:06 +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
David Gageot 93bc3585a7 Merge pull request #2684 from jeanlaurent/AWS-SDK
Migrate 'amazonec2' driver to AWS SDK
2015-12-28 09:16:29 +01:00
David Gageot c80906a543 Merge pull request #2685 from jeanlaurent/release-followup
Release followup
2015-12-24 16:55:42 +01:00
Jean-Laurent de Morlhon 76923dd156 Remove temporary lines
( they were useful until the relesase template land on master, which is
the case now )

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-24 16:46:43 +01:00
Jean-Laurent de Morlhon cfe6702839 Quieter UI
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-24 16:46:21 +01:00
Jean-Laurent de Morlhon 36cffd958c typos
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-24 16:44:30 +01: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 062a8a4443 Vendor AWS SDK
Signed-off-by: Euan <euank@euank.com>
2015-12-24 15:58:28 +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
David Gageot 7f2e3c1d19 Merge pull request #2611 from jeanlaurent/automate-release
Automate most of the release process
2015-12-24 15:24:50 +01:00
David Gageot 93ebc78487 Merge pull request #2682 from dgageot/controlPath-none
Disable ControlPath on SSH connections
2015-12-24 14:46:52 +01:00
Jean-Laurent de Morlhon 07a0dfdd58 Automate the release
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-24 14:45:32 +01:00
stelcheck 26c68b5c88 Disable ControlPath on SSH connections
Signed-off-by: Marc Trudel <mtrudel@wizcorp.jp>

Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 14:32:31 +01:00
David Gageot b935949c5e Merge pull request #2680 from dgageot/better-swarm-error
Better error when swarm is not started
2015-12-24 14:25:03 +01:00
Jean-Laurent de Morlhon 0ab066eadb Merge pull request #2681 from dgageot/close-drivers
Close drivers on exit
2015-12-24 14:14:20 +01:00
David Gageot 89d9e2fe90 Close drivers on exit
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 13:44:42 +01:00
David Gageot 946712b1f7 Fix vet issues
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 13:30:50 +01:00
David Gageot 6462e7ecfa FIX #2677 better error message if swarm is down
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 13:28:56 +01:00
David Gageot 12bf80fb12 Merge pull request #2679 from dgageot/fix-coreos-google
Fix for coreos provisionning with google driver
2015-12-24 11:11:35 +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 cef64513cb Simplify code
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 11:09:40 +01:00
David Gageot efbec45e2d Merge pull request #2674 from dustinblackman/coreos/swarm
Add swarm configuration to CoreOS provisioner
2015-12-24 10:30:21 +01:00
David Gageot f4bfba96f1 Fix for coreos provisionning with google driver
Signed-off-by: David Gageot <david@gageot.net>
2015-12-24 10:11:34 +01:00
David Gageot fd44d1b1e4 Merge pull request #2658 from dgageot/improve-hyper-v
Improve hyper-v driver
2015-12-24 09:57:53 +01:00
David Gageot 816614cdce Merge pull request #2675 from dgageot/active-swarm
FIX #2653 docker-machine ls need to identify machine or cluster
2015-12-24 09:57:07 +01:00
David Gageot f86274d6ed Merge pull request #2678 from juliengarcia/master
Update docker-machine version in installation docs
2015-12-24 09:17:25 +01:00
juliengarcia 949f3b05e1 Update docker-machine version in installation docs
From 0.5.3 to 0.5.4

Signed-off-by: Julien Garcia Gonzalez <garciagonzalez.julien@gmail.com>
2015-12-24 08:19:18 +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 24a13af61e FIX #2653 docker-machine ls need to identify machine or cluster
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 18:09:24 +01:00
Dustin Blackman 75849b81d4 add swarm config to coreos
Signed-off-by: Dustin Blackman <dev@dustinblackman.com>
2015-12-23 11:48:18 -05: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
Jean-Laurent de Morlhon eeec362ba4 Merge pull request #2673 from dgageot/no-32bits-osx-linux
FIX #2271 don't build 32bits binaries for linux/osx
2015-12-23 16:25:45 +01:00
Jean-Laurent de Morlhon 5bb3d901b9 Merge pull request #2672 from dgageot/golang-1.5.2
FIX #2670 Upgrade to go 1.5.2
2015-12-23 16:19:58 +01:00
David Gageot 8e2ccd996c FIX #2271 don't build 32bits binaries for linux/osx
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 16:09:17 +01:00
David Gageot 12a361c3bc FIX #2670 Upgrade to go 1.5.2
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 15:49:33 +01:00
Jean-Laurent de Morlhon 1db7f13763 Merge pull request #2669 from dgageot/faster-ls
FIX #2663 reduce calls to the driver in ls
2015-12-23 14:50:08 +01:00
David Gageot 670c4808ed FIX #2663 reduce calls to the driver in ls
Signed-off-by: David Gageot <david@gageot.net>
2015-12-23 13:58:06 +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