Commit Graph

120 Commits

Author SHA1 Message Date
Matthew Hooker f1dd0811d8
builders/openstack: fix for finding resource by ID.
Pass server serviceClient to create params so it can look up resources by ID.
Resolves #4299
2016-12-19 13:47:09 -08:00
Matthew Hooker 754ed931e9
be nice if user gets the image visibility case wrong 2016-12-14 16:08:36 -08:00
Matthew Hooker 1408c3fde8
bugfix 2016-12-14 01:01:57 -08:00
Matthew Hooker 00e4585ce5
first pass at adding new members 2016-12-13 16:32:30 -08:00
Matthew Hooker cbe7e9113a
return early if no set visibility 2016-12-13 16:32:15 -08:00
Matthew Hooker 99667df17e
update image visibility own step 2016-12-13 16:28:54 -08:00
Matthew Hooker 7bd211cf61
first attempt at modifying visibility 2016-12-13 15:21:20 -08:00
Matthew Hooker 6a6e735d16
use 404 error type 2016-12-13 14:20:39 -08:00
Zanetti, David 01e3e7f7a3
Second part of resync of gophercloud 2016-12-13 14:06:01 -08:00
Dave Buckley 91562636d4 Allow reauth to keystone after token expiry 2016-12-07 01:36:10 +00:00
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username 2016-11-17 22:30:34 +01:00
Rickard von Essen ba8cfbd222
builder/openstack: Support using SSH password.
This adds support for using ssh_password to connect to a OpenStack
instance. If ssh_password is defined creation of the temporary keypair
is skipped.
2016-10-08 23:18:19 +02:00
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
Resolves #409
2016-09-16 12:15:00 +00:00
Christopher Boumenot bbf286dcbe Fix go fmt issues. (#3463) 2016-04-22 10:44:54 -07:00
Rickard von Essen 88a84f5fb2 Merge pull request #3209 from rickard-von-essen/openstack-get-password
Get admin password of booted instance when using WinRM
2016-02-20 10:29:38 +01:00
Nathan Mische 335a2010bf Moving SSH IP version validation to prepare function. 2016-02-17 10:52:29 +01:00
Nathan Mische 8396a2db1e Adding ability to select IP version for SSH connections to OpenStack instances. Addresses #3047 2016-02-17 10:28:18 +01:00
Rickard von Essen 5368697413 Get admin password of booted instance when using WinRM
Fixes #2663
2016-02-16 11:06:22 +01:00
Rickard von Essen c3bc87cb71 OpenStack: Change some log messages about SSH to connect. 2016-02-16 10:55:21 +01:00
Rickard von Essen 6855c480ad OpenStack: convert SSH keys from BER to DER with OpenSSL, work around for GH-2526.
Try to parse the temporary keypair received from OpenStack, if it fails
try to use OpenSSL to convert it from BER encoding to DER.
2016-02-09 12:50:00 +01:00
Chris Bednarski 2dd8ad9449 Merge pull request #2577 from cybercom-finland/os_source_image_name
Support source_image_name in OpenStack builder
2016-01-28 15:40:13 -08:00
Chris Bednarski b7ba9a507d Merge pull request #3041 from msabramo/GH-3038_openstack_builder_auto_set_image_type_to_image
openstack builder: Set image_type to "image"
2016-01-21 18:39:08 -08:00
Marc Abramowitz 3e0914b6a2 openstack builder: Set image_type to "image"
so that built images are treated as images and not as snapshots.

Fixes: GH-3038
2016-01-06 15:00:31 -08:00
Marc Abramowitz 4b9c4cc3e6 openstack: WaitForImage: treat 404 as retryable
Addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:37:31 -08:00
Marc Abramowitz b08b88b019 openstack: Add maxNumErrors for WaitForImage
This partly addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:27:18 -08:00
Marc Abramowitz 39d6eda370 Make the OpenStack builder more informative
about the servers, images, and keypairs that it's dealing with.
2015-12-17 11:12:52 -08:00
Ian Duffy b57140da47 Add support for using cloud-init via a ConfigDrive
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2015-12-08 12:45:26 +00:00
Toni Ylenius cbb2b538bd Support source_image_name in OpenStack builder
As gophercloud supports source_image_name let's allow that in builder
configuration also. This an alternative way of providing source_image.
2015-08-10 16:37:22 +03:00
Chris Bednarski abb67fdd79 Fix govet issues 2015-08-05 19:41:29 -07:00
Chris Bednarski 28d1295460 Merge branch 'openstack_metadata' of https://github.com/trumant/packer into trumant-openstack_metadata 2015-07-30 14:38:03 -07:00
Chris Bednarski 5cd6e19467 Merge pull request #2451 from monsterzz/b-openstack-ipv6-ssh-support
Fix handling IPv6 when ssh_interface set (openstack builder)
2015-07-30 14:36:17 -07:00
Chris Bednarski c73314cd38 Merge pull request #2514 from hazelesque/rackconnect-v2-update-accessipv4
openstack: store updated accessIPv4 from RackConnect
2015-07-27 16:43:17 -07:00
Chris Bednarski 715662f60b Reformat 2015-07-27 16:42:06 -07:00
Chris Bednarski ff6a091531 Merge pull request #2512 from hazelesque/openstack-support-using-existing-keypair
openstack builder: support using existing keypair
2015-07-27 16:41:17 -07:00
Hazel Smith a7da0ffde1 openstack: store updated accessIPv4 from RackConnect 2015-07-27 23:07:25 +01:00
Hazel Smith b47eb4cea9 openstack builder: support using existing keypair 2015-07-27 23:05:51 +01:00
Hazel Smith ce54dba2d3 openstack builder: log which IP address SSH will use 2015-07-27 23:00:06 +01:00
Travis Truman 988cf2fecf Fixes #2434 by adding OpenStack Glance metadata support 2015-07-15 21:31:13 -04:00
Gleb M Borisov 8495a8c919 Fix handling IPv6 when ssh_interface set (openstack builder) 2015-07-15 02:11:46 +03:00
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context 2015-06-22 09:22:42 -07:00
Mitchell Hashimoto a95408aa21 Merge pull request #2224 from mitchellh/f-os-userdata
builder/openstack: support user data [GH-1867]
2015-06-15 09:35:49 -07:00
Mitchell Hashimoto 3edff00696 Merge pull request #2223 from mitchellh/b-stop-openstack
builder/openstack: load extensions, stop server if supported
2015-06-15 09:35:36 -07:00
Mitchell Hashimoto d8cc24f86e builder/openstack: no more port 2015-06-15 09:34:35 -07:00
Mitchell Hashimoto 5167c65f87 Merge branch 'b-openstack-privage' 2015-06-15 09:33:58 -07:00
Mitchell Hashimoto 115d583cff helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
Mitchell Hashimoto f55e2d2c4b builder/openstack: convert to helper/comm 2015-06-13 18:34:37 -04:00
Mitchell Hashimoto b3a9712402 builder/openstack: support user data [GH-1867] 2015-06-12 22:55:39 -04:00
Mitchell Hashimoto b6d6a71c6e builder/openstack: wait for more states 2015-06-12 22:50:59 -04:00
Mitchell Hashimoto 48b674d331 builder/openstack: load extensions, stop server if supported 2015-06-12 18:04:46 -04:00
Mitchell Hashimoto a3863c3495 builder/openstack: update floating IP messaging 2015-06-12 15:23:05 -04:00