Commit Graph

10359 Commits

Author SHA1 Message Date
Matthew Hooker 31fcfe4bc2 PoC for filtering logs 2018-08-20 15:20:21 -07:00
Christopher Boumenot a1fa35dff5
Merge pull request #6590 from abhinaykumar/patch-1
bug-fix: syntax error in createApplication()
2018-08-20 13:56:56 -07:00
Megan Marsh ca743514b7
Merge pull request #6603 from hashicorp/revert-6593-iso_inplace
Revert "allow to use ISO images in-place v.s. copying them #6593" & only update logs
2018-08-20 11:35:47 -07:00
Adrien Delorme a5587e30ec log wether the file was transfered or is just being inplace referenced 2018-08-20 11:45:57 +02:00
Adrien Delorme 6b3844a64f
Revert "allow to use ISO images in-place v.s. copying them" 2018-08-20 10:48:06 +02:00
Rickard von Essen 3e00ca3608
Merge pull request #6600 from rickard-von-essen/os-dep-fix
Added missing gophercloud files
2018-08-17 21:24:40 +02:00
Rickard von Essen 3b7e23e7f9 Added missing gophercloud files 2018-08-17 20:33:14 +02:00
Megan Marsh 5dbd71b857
Merge pull request #6593 from hashicorp/iso_inplace
allow to use ISO images in-place v.s. copying them
2018-08-17 10:27:50 -07:00
Rickard von Essen b85756c01e
Updated CHANGELOG.md 2018-08-17 15:40:31 +02:00
Rickard von Essen d4c34159f4
Merge pull request #6373 from ozerovandrei/openstack-neutron-floatingips
OpenStack builder: floating IP refactoring
2018-08-17 15:38:33 +02:00
Rickard von Essen 3b535cbcbc
Merge pull request #6598 from hashicorp/docs_gcp_winrm_update
Small updates on the googlecompute website docs
2018-08-17 13:39:12 +02:00
Adrien Delorme 3ea8f9f50d
Small updates on the googlecompute website docs 2018-08-17 12:41:37 +02:00
Adrien Delorme c744e8b2bb make download messages less redudant and more simple 2018-08-17 09:29:39 +02:00
Andrei Ozerov 6bf442f039 OpenStack builder: fix floating IP docs
Update website documentation about "floating_ip_network" parameter.
Add new inline comment about alghoritm that is used for checking
floatingIP-related configuration parameters.
2018-08-17 07:55:31 +03:00
Andrei Ozerov 103403db48 OpenStack builder: do not always use floating IPs
Only associate floating IPs if user provided "floating_ip_network" or
"floating_ip".
Remove FindExternalNetwork helper method because it won't be used.
2018-08-17 00:49:06 +03:00
Megan Marsh f00260e293
Merge pull request #6597 from mprince/docfix
Add env template function to doc
2018-08-16 14:27:45 -07:00
Marcel Prince 2cde0d6132 Add env template function to doc 2018-08-16 14:23:29 -07:00
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
Adrien Delorme d7d4aed51c be even more precise 2018-08-16 18:56:28 +02:00
Adrien Delorme 2b3ea29970 show more precise error download/copy/referencing messages 2018-08-16 18:41:44 +02: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