Commit Graph

10335 Commits

Author SHA1 Message Date
Andrei Ozerov 5d6ba4301d OpenStack builder: fix floating_ip_pool validation
Only use "floating_ip_pool" if "floating_ip_network" wasn't set.
Update unit test for the OpenStack builder parameters.
2018-08-17 00:15:18 +03:00
Andrei Ozerov 72de95a7e1 Vendor: add github.com/google/uuid package
Add a package to work with UUIDs. This package is used by the OpenStack
builder to check the provided network reference.
2018-08-16 23:42:35 +03:00
Andrei Ozerov 1af899248b OpenStack builder: allow floating IP network name
Add support for the external network reference by it's name apart from
ID.
Include external network id in a log message of
the openstack/step_allocate_ip.
2018-08-16 23:38:41 +03:00
Andrei Ozerov 511c4fbabe Vendor: update OpenStack floatingips
Fetch latest version of the Gophercloud Neutron floatingips package and
sort vendor.json.
2018-08-16 22:21:05 +03:00
Andrei Ozerov 29c20eae78 Docs: update OpenStack floating IPs notes
Introduce the new "floating_ip_network" parameter and add deprecation
warning for the "floating_ip_pool" parameter.
2018-08-16 22:18:48 +03:00
Andrei Ozerov c9047cbfbe OpenStack builder: update floating IP params
Rename "floating_network" to the "floating_ip_network".
Return old "floating_ip_pool" parameter for backward compatibility with
old configuration files. It's value will be passed to the
"floating_ip_network" parameter.
2018-08-16 22:18:48 +03:00
Andrei Ozerov 0eef9b4292 OpenStack builder: floating IP refactoring
Remove usage of the deprecated OpenStack Compute service floating IP
management and add methods to work with the OpenStack Networking
service floating IPs API.

Remove usage of the deprecated OpenStack Compute service floating IP
pools and add methods to work with the OpenStack Networking service
external networks API.

Move reusable logic of working with the OpenStack Networking service API
to a separate methods in the networking.go file.

Pass error messages from the API services to the ui messages in the
allocate IP step.
2018-08-16 22:15:26 +03:00
Andrei Ozerov 68afd3d8da Vendor: add Gophercloud networking v2 external
Add package that allow to work with OpenStack networks with external
attribute via the Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov f0f1967c9f Vendor: add Gophercloud networking v2 networks
Add package that allow to work with OpenStack networks via the
Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov 71bf67620f Vendor: add Gophercloud compute attachinterfaces
Add package that allows to retrieve and manage network interfaces of the
OpenStack intstance.
2018-08-16 22:14:29 +03:00
Andrei Ozerov 4d17dbd56b Vendor: remove Gophercloud compute floatingips
Remove package to work with floating IPs via the OpenStack Compute API.
Floating IPs support were deprecated in the OpenStack Compute API and
users need to use OpenStack Networking API for that task.
2018-08-16 22:14:29 +03:00
Andrei Ozerov a4d7b3a909 Vendor: add Gophercloud networking floatingips
Add the OpenStack Networking service's extension package to work with
the newest API for floating IPs.
2018-08-16 22:11:50 +03:00
zhuzhih2017 2eafdb33a2
Merge pull request #6588 from xiaozhu36/master
Support describing and checking source image coming from marketplace
2018-08-16 20:58:52 +08:00
Rickard von Essen c574dc98b9
Updated CHANGELOG.md 2018-08-16 12:49:27 +02:00
Rickard von Essen 71c515fda1
Merge pull request #6596 from rickard-von-essen/openstack-cinder-root-volume
OpenStack: Block Storage volumes support
2018-08-16 12:47:57 +02:00
Rickard von Essen 17b368cf8b Fixed vendor.json checksum 2018-08-16 12:40:11 +02:00
Andrei Ozerov 3316d40527 OpenStack builder: make volume type optional
Volume type parameter should be optional as described in API reference:
https://developer.openstack.org/api-ref/block-storage/v3/#create-a-volume

It should be enforced by the OpenStack cluster if not specified.
2018-08-16 12:40:11 +02:00
Andrei Ozerov 357ff19c52 OpenStack docs: add blockstorage volumes info
Add notes, available parameters and basic example of how to use
OpenStack Block Storage volume as a root volume of an instance.
2018-08-16 12:40:11 +02:00
Andrei Ozerov 572cdeecd1 OpenStack builder: create image from blockstorage
Allow to create final image from the Block Storage service volume.
2018-08-16 12:40:11 +02:00
Andrei Ozerov c0ffe7eb89 OpenStack builder: add StepDetachVolume
Add a step of detaching Compute instance volume if it's created using
the Block Storage service.
It is needed to create a final image.

This commit also moves common volume functions to a different file and
fixes some messages in the StepCreateVolume.
2018-08-16 12:40:11 +02:00
Andrei Ozerov 005f7e56a7 OpenStack builder: cleanup blockDeviceMappingV2
There is no need to indicate type of the list elements, remove it.
2018-08-16 12:40:11 +02:00
Andrei Ozerov df74951309 Vendor: add Gophercloud BlockStorage volumeactions
Add the Block Storage service extenstion client library to allow
detaching of the Instance root volume.
2018-08-16 12:40:11 +02:00
Andrei Ozerov d51e683bf7 OpenStack builder: add Block Storage volumes
This commit allows user to use the Block Storage v3 volume as the
Compute instance root volume.
Also it adds new volume-related parameters to the builder.
2018-08-16 12:40:11 +02:00
Andrei Ozerov cfa922a180 Vendor: add Gophercloud Compute bootfromvolume
Add the Compute service extenstion client library to allow server to be
created with a remote blockstorage root volume.
2018-08-16 12:36:56 +02:00
Andrei Ozerov d38bd6b5f8 Vendor: add Gophercloud BlockStorage V3 volumes
Add the latest blockstorage v3 volumes client library.
2018-08-16 12:36:56 +02:00
Rickard von Essen 773d116032
Updated CHANGELOG.md 2018-08-16 12:09:44 +02:00
Rickard von Essen 230bdfe10b
Merge pull request #6595 from rickard-von-essen/os-clouds-public
Update gophercloud/utils to add support for clouds-public.yaml
2018-08-16 12:07:47 +02:00
Rickard von Essen b2d6edf76a Update gophercloud/utils to add support for clouds-public.yaml 2018-08-16 12:00:09 +02:00
Megan Marsh ac3554a37f
Merge pull request #6594 from rickard-von-essen/mode-check
Check that only certain files are executable
2018-08-15 13:07:00 -07:00
Megan Marsh 7872cb67b3 update changelog 2018-08-15 11:48:08 -07:00
Megan Marsh 3362897c44
Merge pull request #6585 from hashicorp/do_6584
fix security hole with ami filter
2018-08-15 10:26:40 -07:00
Rickard von Essen 074b170ed4 Fixed exec bit 2018-08-15 16:13:34 +02:00
Rickard von Essen b8adf689fd Check that only certain files are executable 2018-08-15 16:08:50 +02:00
Rickard von Essen fa7b9da808
Updated CHANGELOG.md 2018-08-15 15:55:30 +02:00
Rickard von Essen 25452945d7
Merge pull request #6546 from mzupan/do-add-tags
Add tags to DigitalOcean Droplets
2018-08-15 15:52:32 +02:00
Rickard von Essen 889c89ec79 Validate tags 2018-08-15 15:27:00 +02:00
Rickard von Essen dc111004df
Updated CHANGELOG.md 2018-08-15 13:37:21 +02:00
Rickard von Essen 9e9f0d2ab9
Merge pull request #6570 from cb-oath/openstack-builder-ports
add support for ports to the OpenStack builder
2018-08-15 13:35:48 +02:00
Rickard von Essen c962e7b856 Simplified loop code 2018-08-15 13:12:47 +02:00
Megan Marsh d57b599f3c update docs 2018-08-14 12:33:09 -07:00
Megan Marsh 71cad4f2a9 fix tests 2018-08-14 12:30:05 -07:00
Megan Marsh ce282cee21
Merge pull request #6583 from azr/d-contributing-tweaks
[docs] split go and packer dev setups
2018-08-14 12:26:53 -07:00
He Guimin 1a17b799f1 Support describing and checking source image coming from marketplace 2018-08-15 00:14:02 +08:00
Adrien Delorme 2e151f3cd0
Spelling & checks 2018-08-14 09:49:24 +02:00
Megan Marsh 250da0ab49 fix security hole with ami filter 2018-08-13 17:01:13 -07:00
Adrien Delorme bef5c842af
re add the go 1.7 min version warning 2018-08-13 12:53:41 +02:00
Adrien Delorme 1d025c005f
Link to godocs install steps 2018-08-13 12:50:55 +02:00
Adrien Delorme 51b9065497
split go and packer dev setups 2018-08-13 12:40:42 +02:00
Christopher Boumenot 39fc8593de
Merge pull request #6576 from double16/vagrant-azure
Add to vagrant post-processor support for Azure
2018-08-09 12:36:22 -07:00
Patrick Double 2868971a9b Fixes per code review 2018-08-09 07:14:14 -05:00