Commit Graph

223 Commits

Author SHA1 Message Date
Evan Hazlett aae1cb35e7 Merge pull request #748 from ahmetalpbalkan/azure/syntax
drivers/azure: idiomatic syntax fixes
2015-03-10 16:20:48 -04:00
Evan Hazlett 3351f8c58d Merge pull request #726 from hairyhenderson/openstack-net-id-usage-fix
Fixing inaccurate Usage message for the `--openstack-net-id` option
2015-03-09 22:42:24 -04:00
Evan Hazlett 790d0cbf49 Merge pull request #751 from slashk/750-virtualbox-saved-paused-support
fixes Issue #750 by allowing virtualbox driver
2015-03-09 22:41:19 -04:00
Evan Hazlett 2f853ee671 Merge pull request #667 from ggiamarchi/openstack-dead-code
Openstack driver - Remove dead code
2015-03-09 22:39:09 -04:00
Ken Pepple bfd83eebbe fixes Issue #750 by allowing virtualbox driver
start command to start VMs in saved state and
resume VMs in paused state.

Signed-off-by: Ken Pepple <ken@solinea.com>

converted to switch statement per @nathanleclaire suggestion

Signed-off-by: Ken Pepple <ken@solinea.com>

small typo

Signed-off-by: Ken Pepple <ken@solinea.com>
2015-03-10 00:32:39 +01:00
Evan Hazlett 96b660d5b7
softlayer: fix provisioning bug where curl is not available
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 18:31:41 -04:00
Ahmet Alp Balkan e78269c287 drivers/azure: idiomatic syntax fixes
This change includes some shorthand syntax refactoring and dead code removal.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-06 23:38:57 -08:00
Evan Hazlett 989db1bf96 Merge pull request #690 from nathanleclaire/universal_poll_retries
Introduce universal poll retries function
2015-03-06 13:55:33 -05:00
Dave Henderson 093914cbd5 Fixing inaccurate Usage message for the `--openstack-net-id` option
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-03-06 07:04:06 -05:00
Evan Hazlett 2121382d08 Merge pull request #718 from cheng--zhang/wording
Modify description of StartDocker and StopDocker
2015-03-05 06:47:05 -08:00
Cheng Zhang b756be37eb Modify description of StartDocker and StopDocker
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-05 16:09:19 +08:00
Nathan LeClaire 1e983d5ff6 Introduce universal poll retries function
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-04 16:41:48 -08:00
Evan Hazlett 66664f8b25 Merge pull request #695 from knarz/add_digitalocean_flags
add flags for ipv6, backups and private networking to the DigitalOcean driver
2015-03-04 13:06:25 -08:00
Nathan LeClaire 8d0bf21c6d Fix panic when instance doesn't exist remotely
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-03 14:48:04 -08:00
Nathan LeClaire a7d1a70442 Fix IP address not being set correctly due to race
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-03 14:47:06 -08:00
Nathan LeClaire 3a030c9ccb Clean up unused function
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-03 11:18:08 -08:00
Sascha Hanse 17b928fac0 add flags for ipv6, backups and private networking to the DigitalOcean driver
Signed-off-by: Sascha Hanse <shanse@gmail.com>
2015-03-03 12:22:11 +01:00
Evan Hazlett 7bf67e41c9 Merge pull request #615 from ehazlett/integration-testing
switch to bats for integration testing
2015-03-02 17:24:47 -05:00
Evan Hazlett 2ea5a976d8
ec2: fix iam test
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-02 17:20:47 -05:00
Evan Hazlett 5f01d4cda5 Merge pull request #449 from sthulb/aws-assign-roles
IRC Req: EC2 IAM Instance Profile
2015-03-02 17:12:27 -05:00
Evan Hazlett 2792f1ec89
ec2: update tests for configuring ip permissions
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-02 16:21:14 -05:00
Simon Thulbourn 2ce70bf5ac adds the ability to set an instance role for ec2 instances
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-03-02 19:01:22 +00:00
Evan Hazlett f0c70ee8ed ec2: do not try to auth swarm port if exists
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-02 13:14:41 -05:00
Evan Hazlett c3878a9285 Merge pull request #664 from ehazlett/ec2-fix-subnet-check
ec2: check subnet exists in vpc
2015-03-02 13:06:35 -05:00
Fabio Rapposelli 28fff16745 Driver rework to use upcoming boot2docker/boot2docker#747 patch:
- Aligned VMX template to Fusion (vmxnet3, pvscsi)
- Bundle ssh keys in a tar and upload it through vmtools
- Power operations moved to graceful shutdown and restart

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-03-01 17:46:30 +01:00
Evan Hazlett 10b3d7fd9a
ec2: remove unneeded subnetid var
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 18:08:33 -05:00
Guillaume Giamarchi 5fa93a0888 Remove dead code
This method is no longer called since
the docker installation has moved out
of the driver (54f3607).

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2015-02-27 23:13:12 +01:00
Evan Hazlett 32ed441fbb
ec2: use filters for GetSubnets; check subnetId in PreCreate for driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 16:51:48 -05:00
Evan Hazlett 19f5b0cb54
ec2: check subnet exists in vpc
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 15:31:48 -05:00
Evan Hazlett c99e4f8fe4 Merge pull request #633 from andrewwatson/fix-629-privateip
Fix #629 by adding PrivateIPAddress to config.json
2015-02-27 15:04:28 -05:00
Evan Hazlett 26d09cf300 add hyperv and softlayer tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 12:32:00 -05:00
Evan Hazlett 0b4d58d554 google: enable specifying an auth token
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 12:31:03 -05:00
Fabio Rapposelli 9410b5b208 Add automatic assignments of vCPUs based on host CPUs.
Fixes #535

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli 193e2b1613 Major rework, changes include:
- Use new iso from boot2docker/boot2docker#747
- Make ssh keys persistent across reboots
- Create a tar bundle of ssh keys just like Virtualbox
- Seed ssh keys using VMware Tools
- Added informative messages on stop/start/restart/remove
- Stop command is now gracefully shutting down the VM
- Fixed StopDocker() script
- Added a "not supported" message to upgrade operation

Fixes #507 #542 #430 #532

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli 3442f8e063 Moved VMX options around, major changes:
- Moved to a paravirtualized driver for disk (pvscsi)
- Moved to an enhanced paravirtualized nic (vmxnet3)
- Moved CDROM to SATA
- Reverted default power operations to "soft"

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:08 +01:00
Andy Watson 0d83d89dd2 PR updates
Signed-off-by: Andy Watson <andrewmoorewatson@gmail.com>
2015-02-26 23:26:23 -05:00
Andrew Watson dac96263be Fix #629 by adding PrivateIPAddress to config.json
Signed-off-by: Andrew Watson <andrew@ionicsecurity.com>
2015-02-26 14:53:36 -05:00
Guillaume Giamarchi 96224409b8 HTTP configuration it done too late
The HTTP transport configuration should be
done before the authentication request.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2015-02-26 09:12:13 -06:00
Ash Wilson 5f20240340 Use --openstack-insecure to disable TLS checking.
At your own risk!

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>
2015-02-26 09:12:13 -06:00
Evan Hazlett a4e634e2dc
fixes regression causing intermittent TLS errors in azure
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 21:02:09 -05:00
Evan Hazlett 7a101ac92c
refactor directories to machines, certs, cache
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 12:32:41 -05:00
Evan Hazlett 66ed197149 Merge pull request #589 from saturnism/google-scopes
Add google-scopes option to specify Compute Engine scopes
2015-02-24 20:45:05 -05:00
Evan Hazlett 4f5de31d3f Merge pull request #590 from ehazlett/no-debug-for-docker-install
do not show debug for docker install by default
2015-02-24 15:01:20 -05:00
Evan Hazlett 2e527e0448 Merge pull request #601 from ehazlett/logging-updates-rackspace
Logging updates rackspace
2015-02-24 15:00:24 -05:00
Evan Hazlett bebb2dc718
show detailed messages only in debug for rackspace remove
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 11:02:49 -05:00
Evan Hazlett c406e1575b
common logging for rackspace
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 10:52:40 -05:00
Evan Hazlett e450a75be4
virtualbox: check state before attempting start
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 09:45:44 -05:00
Simon Thulbourn 52782250d3 Move images dir to stop polluting the docker path
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-02-24 14:11:18 +00:00
Evan Hazlett 54f36078f4 do not show debug for docker install by default; refactor install out of drivers
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-23 17:14:32 -05:00
Evan Hazlett 0b5299bcf0 Merge pull request #575 from andrewwatson/fix-564-govcerr
fixes #564 by surfacing govc errors to end user
2015-02-21 16:32:11 -08:00