Commit Graph

12942 Commits

Author SHA1 Message Date
Marin Salinas a4966d9823 add ExpectedRunDevice constant 2019-07-18 09:39:07 -07:00
Marin Salinas c4e69d3169 wip: add bsu plugin acc testing 2019-07-18 09:39:07 -07:00
Marin Salinas 4779b028f1 feature: bsu, run implementation add artifact 2019-07-18 09:39:07 -07:00
Marin Salinas 972dcc2b25 feature: bsu, run implementation add steps after createOMI step 2019-07-18 09:39:07 -07:00
Marin Salinas 83c9a3d4c8 feature: bsu, run implementation add createOMI step 2019-07-18 09:39:07 -07:00
Marin Salinas 4847e79b8d feature: bsu, run implementation add steps before createOMI step 2019-07-18 09:39:07 -07:00
Marin Salinas 1c8e9a7dd8 feature: bsu, run implementation add step prevalidate 2019-07-18 09:39:07 -07:00
Marin Salinas 4c04df26fd feature: bsu, cancel function implementation 2019-07-18 09:39:07 -07:00
Marin Salinas 85d601dd81 feature: bsu, prepare function and test 2019-07-18 09:39:07 -07:00
Marin Salinas 91bdf5c212 feature: bsu, builder structure and test 2019-07-18 09:39:07 -07:00
Marin Salinas d2d794f6dc fix: undefined variable correction 2019-07-18 09:39:07 -07:00
Marin Salinas 996ee89397 change amis to omis in artifact 2019-07-18 09:39:07 -07:00
Marin Salinas ae444a3250 fix: change the debugKeyPath name in osc bsusurrogate builder 2019-07-18 09:39:07 -07:00
Marin Salinas 1c69d55a1f feature: bsusurrogate, run implementation add artifact 2019-07-18 09:39:07 -07:00
Marin Salinas 3bcebc1af6 feature: bsusurrogate, add CreateTags step 2019-07-18 09:39:07 -07:00
Marin Salinas 2c4b2b8657 feature: bsusurrogate, add StepUpdateOMIAttributes step 2019-07-18 09:39:07 -07:00
Marin Salinas b46636a39b feature: bsusurrogate, add RegisterOMI step 2019-07-18 09:39:07 -07:00
Marin Salinas 9c63f4cd92 feature: bsusurrogate, add DeregisterOMI step 2019-07-18 09:39:07 -07:00
Marin Salinas 871df8be85 feature: bsusurrogate, add StepUpdateBSUBackedVm and StepSnapshotVolumes step 2019-07-18 09:39:07 -07:00
Marin Salinas 09b899bb84 fix: change name to keypair key path file 2019-07-18 09:39:07 -07:00
Marin Salinas 52962f2355 feature: bsusurrogate, add stop bsu backed vm step 2019-07-18 09:39:07 -07:00
Marin Salinas 3ed7c7ff33 feature: bsusurrogate, add provision and cleanup temp keys step 2019-07-18 09:39:07 -07:00
Marin Salinas 957bdae441 feature: bsusurrogate, add clean connect step 2019-07-18 09:39:07 -07:00
Marin Salinas b0c4784b96 feature: bsusurrogate, add clean get password step 2019-07-18 09:39:07 -07:00
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
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