Commit Graph
18526 Commits
Author SHA1 Message Date
Marin Salinas 24d1d886f8 feature: add root volume run tags config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas 837aada415 feature: add root block device config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas f6372e8ac6 feature: add omi config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas bb848366b6 feature: add block devices config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas be36a2159e feature: add run config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas 1c3939fcd3 add access config to bsusurrogate config struct 2019-07-18 09:39:07 -07:00
Marin Salinas c1fc2801ef add access_config struct and test 2019-07-18 09:39:07 -07:00
Marin Salinas c29816f496 chore: add bsusurrogate builder structure 2019-07-18 09:39:07 -07:00
Megan Marsh e658a50880 refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
fix race condition caused by variable declaration outside of loop
2019-07-18 09:39:06 -07:00
WilliamB f1d782e6f4 Correct HTTPIP == FALSE on HyperV builder 2019-07-18 09:39:06 -07:00
Megan Marsh 42f7cbc30b add code to deduplicate the region list, and to make sure that the original region's kms key id is in the map. 2019-07-18 09:39:06 -07:00
John-Paul Robinson 038e9f316c Clean patch formatting with make fmt 2019-07-17 17:10:52 -05:00
John-Paul Robinson 5fe9f3980d Fix #7171: select instance network on which to assign floating ip
Add config parameter instance_floating_ip_net to control
floating ip assignment for a multi-homed instances.  This ensures
the floating ip can be correctly assigned to the instance port
that is connected to the preferred network for floating ip assignment.

This avoids the default first-returned selection method which may
choose a network to which floating ip's can't be assigned,
e.g. because that network is not reachable from the floating ip
network.
2019-07-17 17:00:28 -05:00
Megan Marsh 6b1a407e2a Merge pull request #7870 from hashicorp/fix_7673
Fix bugs in region encryption, copy, skipping logic
2019-07-17 14:07:37 -07:00
Megan Marsh e4a689c69e Merge pull request #7880 from williamb1024/fix-hyperv-httpip
Correct HTTPIP == FALSE on HyperV builder
2019-07-17 14:07:09 -07:00
Megan Marsh 54d2ad5028 refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
fix race condition caused by variable declaration outside of loop
2019-07-17 11:30:20 -07:00
WilliamB aef77771c0 Correct HTTPIP == FALSE on HyperV builder 2019-07-17 03:41:41 -05:00
Megan Marsh 2d02ea209d Merge pull request #7836 from 70k10/vncpassword
QEMU builder - implement VNC password functionality
2019-07-16 16:37:49 -07:00
Megan Marsh b4130fdd41 Merge pull request #7877 from VladRassokhin/vmware-intense-cpu
Fix intense cpu usage in vmware plugin
2019-07-16 14:14:53 -07:00
Vladislav Rassokhin 69e31bc126 A bit debugging for CD-ROM creation problems 2019-07-16 23:23:17 +03:00
Jayson Cofell 7f5fd4851e QEMU: Remove QMPEnable and depend upon VNC password usage for QMP enablement. 2019-07-16 08:56:22 -06:00
Vladislav Rassokhin 991cf22504 Prevent endless reading of closed file in vmware plugin 2019-07-16 16:02:57 +03:00
Vladislav Rassokhin 483df213fd Ensure no goroutines leak from StepWaitForIP in concurrent cases 2019-07-13 21:02:15 +03:00
Vladislav Rassokhin b6cc2f01c7 Fix inspections 2019-07-13 20:56:43 +03:00
Vladislav Rassokhin ddbc7bb631 Add goroutine leak detection in tests 2019-07-13 18:23:04 +03:00
Megan Marsh 2eb80a81e3 Merge pull request #7867 from rongoro/fix-virtualbox-version-file-docs-grammar
minor grammar fix and paragraph re-wrapping
2019-07-12 13:59:48 -07:00
Vladislav Rassokhin 4cf9ff78a2 Increase 'ip_wait_timeout' default value to 30 minutes
Often copying VM (vsphere-clone) takes more than 5 minutes.
Creating VM from scratch (vsphere-iso) time expensive too.
2019-07-12 13:22:28 +03:00
Vladislav Rassokhin b8ed1bd576 Fix copy-pasta error 2019-07-12 13:07:59 +03:00
Vladislav Rassokhin 19e8f150a3 Use context for timeouts, interruption in ssh and winrm communicators
Also don't waste 5 seconds waiting before first winrm connection attempt
Minor code cleanup as well
2019-07-12 13:04:00 +03:00
Vladislav Rassokhin a9ffa1559e Don't wait for IP till heat death of the universe
Introduced 'ip_wait_timeout' parameter with '5m' (five minutes) default value.
2019-07-12 12:44:40 +03:00