6176 Commits

Author SHA1 Message Date
Marin Salinas
1df7f15f53 fix: namming in step keypair 2019-07-18 09:39:07 -07:00
Marin Salinas
7ef09bba13 feature: bsusurrogate, add clean volumes and run source vm step 2019-07-18 09:39:07 -07:00
Marin Salinas
5ef3e81234 feature: bsusurrogate, add security group step 2019-07-18 09:39:07 -07:00
Marin Salinas
cef9a4b9fd feature: bsusurrogate, add network info step 2019-07-18 09:39:07 -07:00
Marin Salinas
c24ee2c9ca feature: bsusurrogate, add keypair step 2019-07-18 09:39:07 -07:00
Marin Salinas
e4405a0c02 feature: bsusurrogate, add Source network Info step 2019-07-18 09:39:07 -07:00
Marin Salinas
fdd3b594b9 fix: add function to validate if image name exists 2019-07-18 09:39:07 -07:00
Marin Salinas
33d1671e4c feature: bsusurrogate, add Source OMI Info step 2019-07-18 09:39:07 -07:00
Marin Salinas
3d8b0e5228 fix: change logs in omi config 2019-07-18 09:39:07 -07:00
Marin Salinas
1281f28f6d add prevalidate step 2019-07-18 09:39:07 -07:00
Marin Salinas
de973fba0e chore: add Bsusurrogate Run function skeleton 2019-07-18 09:39:07 -07:00
Marin Salinas
ca8ab3b5b0 feature: implement Prepare function in bsusurrogate builder 2019-07-18 09:39:07 -07:00
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
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
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
Megan Marsh
2d02ea209d
Merge pull request #7836 from 70k10/vncpassword
QEMU builder - implement VNC password functionality
2019-07-16 16:37:49 -07: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
Megan Marsh
39a4da4d07 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-11 16:56:40 -07:00
Jayson Cofell
4b0a7b0af7 Fix QEMU fmt miss 2019-07-10 13:12:31 -06:00
Jayson Cofell
f1ad385669 Change QMP socket test to join with filepath 2019-07-10 12:55:44 -06:00
Megan Marsh
327cd67557 fix tests 2019-07-09 15:42:48 -07:00
Megan Marsh
4a9d42b78f use box_name instead of source_path when generating vagrant file 2019-07-09 15:26:04 -07:00
Megan Marsh
a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
replace some bespoke google auth code with code from golang's oauth2 …
2019-07-08 09:48:27 -07:00
Megan Marsh
8315da6a12
Merge pull request #7837 from amydutta/master
Fix bug while publishing SIG destination id for every managed image
2019-07-08 09:41:14 -07:00
Megan Marsh
7d48eab11e
Merge pull request #7841 from hbdgr/digitalocean_timeout
builder/digitalocean: increase timeout for Digital Ocean snapshot creation.
2019-07-08 09:40:14 -07:00
hbdgr
6a8f45123a test for snapshotTimeout option 2019-07-04 16:28:09 +02:00
hbdgr
7d723b7c7b builder/digitalocean: add snapshotTimeout option 2019-07-04 16:25:42 +02:00
hbdgr
750e4b0f31 builder/digitalocean: increase timeout for waitForActionState 2019-07-04 09:55:13 +02:00
Li Kexian
b4e70cc0ec fixed tencentcloud builder error strings 2019-07-04 12:15:31 +08:00
Amrita Dutta
4c09dfde87 Fix bug while publishing SIG destination id for every managed image 2019-07-04 00:44:05 +00:00
Jayson Cofell
5c5943b8ba Add VNC Password support to QEMU builder 2019-07-03 18:38:56 -06:00
Jayson Cofell
afe9ba2869 QEMU: Initial QMP support 2019-07-03 18:33:59 -06:00
Megan Marsh
ba66d5d857
Merge pull request #7831 from hashicorp/fix_ssh_interface
Revert "move SSHInterface/SSHIPVersion fields to communitator.Config …
2019-07-03 16:23:00 -07:00
Megan Marsh
617fd18255 supply complete dummy data for googlecompute tests 2019-07-03 15:58:08 -07:00
Megan Marsh
0dfb3cc56f replace some bespoke google auth code with code from golang's oauth2 library 2019-07-03 14:27:33 -07:00
Megan Marsh
242f5b1c9f typos 2019-07-03 13:34:23 -07:00
Megan Marsh
c03c3f4410 replace duplicate commHost functions with a single communicator helper that checks for ssh_host and does a statebag lookup for a given key 2019-07-03 13:30:29 -07:00
Megan Marsh
0cfe8e7070 allow ssh_host override for OpenStack 2019-07-02 14:00:51 -07:00