From 8ca8dd5616b1a21110b5f7d49022fb62d703adac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 04:21:16 +0000 Subject: [PATCH] build(deps): bump github.com/gophercloud/gophercloud Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud) from 0.22.0 to 0.24.0. - [Release notes](https://github.com/gophercloud/gophercloud/releases) - [Changelog](https://github.com/gophercloud/gophercloud/blob/master/CHANGELOG.md) - [Commits](https://github.com/gophercloud/gophercloud/compare/v0.22.0...v0.24.0) --- updated-dependencies: - dependency-name: github.com/gophercloud/gophercloud dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 5 +- .../gophercloud/gophercloud/.gitignore | 1 + .../gophercloud/gophercloud/.zuul.yaml | 451 ++++++++++++++++-- .../gophercloud/gophercloud/CHANGELOG.md | 34 +- .../gophercloud/gophercloud/README.md | 24 +- .../gophercloud/gophercloud/errors.go | 3 +- .../github.com/gophercloud/gophercloud/go.mod | 7 +- .../github.com/gophercloud/gophercloud/go.sum | 23 +- .../gophercloud/provider_client.go | 1 + vendor/modules.txt | 2 +- 11 files changed, 485 insertions(+), 68 deletions(-) diff --git a/go.mod b/go.mod index 94dfd9f8b..69d86b8b9 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/google/go-cmp v0.5.7 github.com/google/uuid v1.3.0 - github.com/gophercloud/gophercloud v0.22.0 + github.com/gophercloud/gophercloud v0.24.0 github.com/hashicorp/go-retryablehttp v0.7.0 github.com/jackc/pgtype v1.10.0 github.com/jackc/pgx/v4 v4.15.0 diff --git a/go.sum b/go.sum index 602350379..ce51d9522 100644 --- a/go.sum +++ b/go.sum @@ -320,8 +320,8 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= github.com/googleapis/gax-go/v2 v2.1.1 h1:dp3bWCh+PPO1zjRRiCSczJav13sBvG4UhNyVTa1KqdU= github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/gophercloud/gophercloud v0.22.0 h1:9lFISNLafZcecT0xUveIMt3IafexC6DIV9ek1SZdSMw= -github.com/gophercloud/gophercloud v0.22.0/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4= +github.com/gophercloud/gophercloud v0.24.0 h1:jDsIMGJ1KZpAjYfQgGI2coNQj5Q83oPzuiGJRFWgMzw= +github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY= @@ -731,6 +731,7 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 h1:0es+/5331RGQPcXlMfP+WrnIIS6dNnNRe0WB02W0F4M= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= diff --git a/vendor/github.com/gophercloud/gophercloud/.gitignore b/vendor/github.com/gophercloud/gophercloud/.gitignore index dd91ed205..d7a5e5293 100644 --- a/vendor/github.com/gophercloud/gophercloud/.gitignore +++ b/vendor/github.com/gophercloud/gophercloud/.gitignore @@ -1,3 +1,4 @@ **/*.swp .idea .vscode +testing_*.coverprofile diff --git a/vendor/github.com/gophercloud/gophercloud/.zuul.yaml b/vendor/github.com/gophercloud/gophercloud/.zuul.yaml index 8cba23cb0..1f7ed53bc 100644 --- a/vendor/github.com/gophercloud/gophercloud/.zuul.yaml +++ b/vendor/github.com/gophercloud/gophercloud/.zuul.yaml @@ -7,43 +7,421 @@ nodeset: ubuntu-xenial-ut - job: - name: gophercloud-acceptance-test + name: gophercloud-acceptance-test-base parent: golang-test - description: | - Run gophercloud acceptance test on master branch run: .zuul/playbooks/gophercloud-acceptance-test/run.yaml + description: | + Base job for all gophercloud acceptance tests timeout: 18000 # 5 hours + abstract: true nodeset: ubuntu-focal + irrelevant-files: + - ^.*\.md$ + - ^LICENSE$ + +- job: + name: gophercloud-acceptance-test-compute + parent: gophercloud-acceptance-test-base + description: | + Run gophercloud compute acceptance test on master branch. This runs when any file is patched + except if it's doc. + vars: + # the list of all available tests can generated by: + # find acceptance/openstack -name '*_test.go' -exec dirname {} \; | sort -n | uniq -c | awk '{print $2}' + acceptance_tests: + - acceptance/openstack + - acceptance/openstack/compute/v2 + - acceptance/openstack/container/v1 + - acceptance/openstack/identity/v2 + - acceptance/openstack/identity/v3 + - acceptance/openstack/keymanager/v1 + - acceptance/openstack/orchestration/v1 + - acceptance/openstack/placement/v1 + devstack_services: + - barbican + - heat + - zun + +- job: + name: gophercloud-acceptance-test-networking + parent: gophercloud-acceptance-test-base + description: | + Run gophercloud networking acceptance test on master branch + files: + - ^.*dns.*$ + - ^.*loadbalancer.*$ + - ^.*networking.*$ + vars: + prefetch_amphora: true + devstack_env: + OCTAVIA_AMP_IMAGE_FILE: /opt/octavia-amphora/amphora-x64-haproxy.qcow2 + # the list of all available tests can generated by: + # find acceptance/openstack -name '*_test.go' -exec dirname {} \; | sort -n | uniq -c | awk '{print $2}' + acceptance_tests: + - acceptance/openstack/dns/v2 + - acceptance/openstack/loadbalancer/v2 + - acceptance/openstack/networking/v2 + - acceptance/openstack/networking/v2/extensions + - acceptance/openstack/networking/v2/extensions/agents + - acceptance/openstack/networking/v2/extensions/dns + - acceptance/openstack/networking/v2/extensions/layer3 + - acceptance/openstack/networking/v2/extensions/mtu + - acceptance/openstack/networking/v2/extensions/networkipavailabilities + - acceptance/openstack/networking/v2/extensions/portsbinding + - acceptance/openstack/networking/v2/extensions/qos/policies + - acceptance/openstack/networking/v2/extensions/qos/rules + - acceptance/openstack/networking/v2/extensions/qos/ruletypes + - acceptance/openstack/networking/v2/extensions/quotas + - acceptance/openstack/networking/v2/extensions/rbacpolicies + - acceptance/openstack/networking/v2/extensions/subnetpools + - acceptance/openstack/networking/v2/extensions/trunks + - acceptance/openstack/networking/v2/extensions/vlantransparent + devstack_projects: 'openstack/neutron-dynamic-routing' + devstack_services: + - designate + - neutron-dynamic-routing + - neutron-ext + - octavia + +- job: + name: gophercloud-acceptance-test-storage + parent: gophercloud-acceptance-test-base + description: | + Run gophercloud storage acceptance test on master branch + files: + - ^.*blockstorage.*$ + - ^.*imageservice.*$ + - ^.*objectstorage.*$ + - ^.*sharedfilesystems.*$ + vars: + acceptance_tests: + - acceptance/openstack/blockstorage + - acceptance/openstack/blockstorage/extensions + - acceptance/openstack/blockstorage/v3 + - acceptance/openstack/imageservice/v2 + - acceptance/openstack/objectstorage/v1 + - acceptance/openstack/sharedfilesystems/v2 + - acceptance/openstack/sharedfilesystems/v2/messages + devstack_services: + - manila - job: name: gophercloud-acceptance-test-ironic - parent: golang-test + parent: gophercloud-acceptance-test-base description: | Run gophercloud ironic acceptance test on master branch - run: .zuul/playbooks/gophercloud-acceptance-test-ironic/run.yaml - nodeset: ubuntu-focal + files: + - ^.*baremetal.*$ + vars: + devstack_services: + - ironic + devstack_override_enabled_services: 'g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy' + devstack_projects: 'openstack/ironic-python-agent-builder openstack/ironic' + acceptance_tests: + - acceptance/openstack/baremetal/v1 - job: - name: gophercloud-acceptance-test-ussuri - parent: gophercloud-acceptance-test + name: gophercloud-acceptance-test-compute-ussuri + parent: gophercloud-acceptance-test-compute + nodeset: ubuntu-bionic description: | - Run gophercloud acceptance test on ussuri branch + Run gophercloud compute acceptance test on ussuri branch vars: global_env: OS_BRANCH: stable/ussuri - job: - name: gophercloud-acceptance-test-train - parent: gophercloud-acceptance-test + name: gophercloud-acceptance-test-networking-ussuri + parent: gophercloud-acceptance-test-networking + nodeset: ubuntu-bionic description: | - Run gophercloud acceptance test on train branch + Run gophercloud networking acceptance test on ussuri branch + vars: + global_env: + OS_BRANCH: stable/ussuri + +- job: + name: gophercloud-acceptance-test-storage-ussuri + parent: gophercloud-acceptance-test-storage + nodeset: ubuntu-bionic + description: | + Run gophercloud storage test on ussuri branch + vars: + global_env: + OS_BRANCH: stable/ussuri + +- job: + name: gophercloud-acceptance-test-compute-train + parent: gophercloud-acceptance-test-compute + nodeset: ubuntu-xenial + description: | + Run gophercloud compute acceptance test on train branch vars: global_env: OS_BRANCH: stable/train +- job: + name: gophercloud-acceptance-test-networking-train + parent: gophercloud-acceptance-test-networking + nodeset: ubuntu-xenial + description: | + Run gophercloud networking acceptance test on train branch + vars: + global_env: + OS_BRANCH: stable/train + +- job: + name: gophercloud-acceptance-test-storage-train + parent: gophercloud-acceptance-test-storage + nodeset: ubuntu-xenial + description: | + Run gophercloud storage acceptance test on train branch + vars: + global_env: + OS_BRANCH: stable/train + +- job: + name: gophercloud-acceptance-test-compute-stein + parent: gophercloud-acceptance-test-compute + nodeset: ubuntu-xenial + description: | + Run gophercloud compute acceptance test on stein branch + vars: + global_env: + OS_BRANCH: stable/stein + +- job: + name: gophercloud-acceptance-test-networking-stein + parent: gophercloud-acceptance-test-networking + nodeset: ubuntu-xenial + description: | + Run gophercloud networking acceptance test on stein branch + vars: + global_env: + OS_BRANCH: stable/stein + +- job: + name: gophercloud-acceptance-test-storage-stein + parent: gophercloud-acceptance-test-storage + nodeset: ubuntu-xenial + description: | + Run gophercloud storage acceptance test on stein branch + vars: + global_env: + OS_BRANCH: stable/stein + +- job: + name: gophercloud-acceptance-test-compute-rocky + parent: gophercloud-acceptance-test-compute + nodeset: ubuntu-xenial + description: | + Run gophercloud compute acceptance test on rocky branch + vars: + global_env: + OS_BRANCH: stable/rocky + +- job: + name: gophercloud-acceptance-test-networking-rocky + parent: gophercloud-acceptance-test-networking + nodeset: ubuntu-xenial + description: | + Run gophercloud networking acceptance test on rocky branch + vars: + global_env: + OS_BRANCH: stable/rocky + +- job: + name: gophercloud-acceptance-test-storage-rocky + parent: gophercloud-acceptance-test-storage + nodeset: ubuntu-xenial + description: | + Run gophercloud storage acceptance test on rocky branch + vars: + global_env: + OS_BRANCH: stable/rocky + +- job: + name: gophercloud-acceptance-test-compute-queens + parent: gophercloud-acceptance-test-compute + description: | + Run gophercloud compute acceptance test on queens branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/queens + +- job: + name: gophercloud-acceptance-test-networking-queens + parent: gophercloud-acceptance-test-networking + description: | + Run gophercloud networking acceptance test on queens branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/queens + +- job: + name: gophercloud-acceptance-test-storage-queens + parent: gophercloud-acceptance-test-storage + description: | + Run gophercloud storage acceptance test on queens branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/queens + +# NOTE: A Pike-based devstack environment is currently +# not building correctly. This might be a temporary issue. +- job: + name: gophercloud-acceptance-test-compute-pike + parent: gophercloud-acceptance-test-compute + description: | + Run gophercloud compute acceptance test on pike branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/pike + +- job: + name: gophercloud-acceptance-test-networking-pike + parent: gophercloud-acceptance-test-networking + description: | + Run gophercloud networking acceptance test on pike branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/pike + +- job: + name: gophercloud-acceptance-test-storage-pike + parent: gophercloud-acceptance-test-storage + description: | + Run gophercloud storage acceptance test on pike branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/pike + +- job: + name: gophercloud-acceptance-test-compute-ocata + parent: gophercloud-acceptance-test-compute + description: | + Run gophercloud compute acceptance test on ocata branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/ocata + +- job: + name: gophercloud-acceptance-test-networking-ocata + parent: gophercloud-acceptance-test-networking + description: | + Run gophercloud networking acceptance test on ocata branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/ocata + +- job: + name: gophercloud-acceptance-test-storage-ocata + parent: gophercloud-acceptance-test-storage + description: | + Run gophercloud storage acceptance test on ocata branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/ocata + +# NOTE: A Newton-based devstack environment is currently +# not building correctly. This might be a temporary issue. +- job: + name: gophercloud-acceptance-test-compute-newton + parent: gophercloud-acceptance-test-compute + description: | + Run gophercloud compute acceptance test on newton branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/newton + +- job: + name: gophercloud-acceptance-test-networking-newton + parent: gophercloud-acceptance-test-networking + description: | + Run gophercloud networking acceptance test on newton branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/newton + +- job: + name: gophercloud-acceptance-test-storage-newton + parent: gophercloud-acceptance-test-storage + description: | + Run gophercloud storage acceptance test on newton branch + nodeset: ubuntu-xenial + vars: + global_env: + OS_BRANCH: stable/newton + +# The following jobs are maintained because they are parents +# for gophercloud v0.4.0 acceptance tests in theopenlab/openlab-zuul-jobs. +# TODO(emilien) update the childs to use the new variants. +- job: + name: gophercloud-acceptance-test-legacy + parent: gophercloud-acceptance-test-base + description: | + THIS JOB REMAINS FOR LEGACY. Will be removed soon to be replaced by its variants. + Run gophercloud acceptance test on the master branch. This runs when any file is patched + except if it's doc. + vars: + # the list of all available tests can generated by: + # find acceptance/openstack -name '*_test.go' -exec dirname {} \; | sort -n | uniq -c | awk '{print $2}' + acceptance_tests: + - acceptance/openstack + - acceptance/openstack/blockstorage + - acceptance/openstack/blockstorage/extensions + - acceptance/openstack/blockstorage/v3 + - acceptance/openstack/compute/v2 + - acceptance/openstack/container/v1 + - acceptance/openstack/dns/v2 + - acceptance/openstack/identity/v2 + - acceptance/openstack/identity/v3 + - acceptance/openstack/imageservice/v2 + - acceptance/openstack/keymanager/v1 + - acceptance/openstack/loadbalancer/v2 + - acceptance/openstack/networking/v2 + - acceptance/openstack/networking/v2/extensions + - acceptance/openstack/networking/v2/extensions/agents + - acceptance/openstack/networking/v2/extensions/dns + - acceptance/openstack/networking/v2/extensions/layer3 + - acceptance/openstack/networking/v2/extensions/mtu + - acceptance/openstack/networking/v2/extensions/networkipavailabilities + - acceptance/openstack/networking/v2/extensions/portsbinding + - acceptance/openstack/networking/v2/extensions/qos/policies + - acceptance/openstack/networking/v2/extensions/qos/rules + - acceptance/openstack/networking/v2/extensions/qos/ruletypes + - acceptance/openstack/networking/v2/extensions/quotas + - acceptance/openstack/networking/v2/extensions/rbacpolicies + - acceptance/openstack/networking/v2/extensions/subnetpools + - acceptance/openstack/networking/v2/extensions/trunks + - acceptance/openstack/networking/v2/extensions/vlantransparent + - acceptance/openstack/objectstorage/v1 + - acceptance/openstack/orchestration/v1 + - acceptance/openstack/placement/v1 + - acceptance/openstack/sharedfilesystems/v2 + - acceptance/openstack/sharedfilesystems/v2/messages + devstack_services: + - designate + - manila + - neutron-ext + - octavia + - zun + - job: name: gophercloud-acceptance-test-stein - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy + nodeset: ubuntu-xenial description: | Run gophercloud acceptance test on stein branch vars: @@ -52,7 +430,8 @@ - job: name: gophercloud-acceptance-test-rocky - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy + nodeset: ubuntu-xenial description: | Run gophercloud acceptance test on rocky branch vars: @@ -61,7 +440,7 @@ - job: name: gophercloud-acceptance-test-queens - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy description: | Run gophercloud acceptance test on queens branch nodeset: ubuntu-xenial @@ -73,7 +452,7 @@ # not building correctly. This might be a temporary issue. - job: name: gophercloud-acceptance-test-pike - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy description: | Run gophercloud acceptance test on pike branch nodeset: ubuntu-xenial @@ -83,7 +462,7 @@ - job: name: gophercloud-acceptance-test-ocata - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy description: | Run gophercloud acceptance test on ocata branch nodeset: ubuntu-xenial @@ -95,7 +474,7 @@ # not building correctly. This might be a temporary issue. - job: name: gophercloud-acceptance-test-newton - parent: gophercloud-acceptance-test + parent: gophercloud-acceptance-test-legacy description: | Run gophercloud acceptance test on newton branch nodeset: ubuntu-xenial @@ -108,29 +487,47 @@ check: jobs: - gophercloud-unittest - - gophercloud-acceptance-test + - gophercloud-acceptance-test-compute + - gophercloud-acceptance-test-networking + - gophercloud-acceptance-test-storage - gophercloud-acceptance-test-ironic recheck-newton: jobs: - - gophercloud-acceptance-test-newton + - gophercloud-acceptance-test-compute-newton + - gophercloud-acceptance-test-networking-newton + - gophercloud-acceptance-test-storage-newton recheck-ocata: jobs: - - gophercloud-acceptance-test-ocata + - gophercloud-acceptance-test-compute-ocata + - gophercloud-acceptance-test-networking-ocata + - gophercloud-acceptance-test-storage-ocata recheck-pike: jobs: - - gophercloud-acceptance-test-pike + - gophercloud-acceptance-test-compute-pike + - gophercloud-acceptance-test-networking-pike + - gophercloud-acceptance-test-storage-pike recheck-queens: jobs: - - gophercloud-acceptance-test-queens + - gophercloud-acceptance-test-compute-queens + - gophercloud-acceptance-test-networking-queens + - gophercloud-acceptance-test-storage-queens recheck-rocky: jobs: - - gophercloud-acceptance-test-rocky + - gophercloud-acceptance-test-compute-rocky + - gophercloud-acceptance-test-networking-rocky + - gophercloud-acceptance-test-storage-rocky recheck-stein: jobs: - - gophercloud-acceptance-test-stein + - gophercloud-acceptance-test-compute-stein + - gophercloud-acceptance-test-networking-stein + - gophercloud-acceptance-test-storage-stein recheck-train: jobs: - - gophercloud-acceptance-test-train + - gophercloud-acceptance-test-compute-train + - gophercloud-acceptance-test-networking-train + - gophercloud-acceptance-test-storage-train recheck-ussuri: jobs: - - gophercloud-acceptance-test-ussuri + - gophercloud-acceptance-test-compute-ussuri + - gophercloud-acceptance-test-networking-ussuri + - gophercloud-acceptance-test-storage-ussuri diff --git a/vendor/github.com/gophercloud/gophercloud/CHANGELOG.md b/vendor/github.com/gophercloud/gophercloud/CHANGELOG.md index c32412a67..25b52a4fb 100644 --- a/vendor/github.com/gophercloud/gophercloud/CHANGELOG.md +++ b/vendor/github.com/gophercloud/gophercloud/CHANGELOG.md @@ -1,4 +1,36 @@ -## 0.23.0 (Unreleased) +## 0.24.0 (December 13, 2021) + +UPGRADE NOTES + +* Set Go minimum version to 1.14 [GH-2294](https://github.com/gophercloud/gophercloud/pull/2294) + +IMPROVEMENTS + +* Added `blockstorage/v3/qos.Get` [GH-2283](https://github.com/gophercloud/gophercloud/pull/2283) +* Added `blockstorage/v3/qos.Update` [GH-2283](https://github.com/gophercloud/gophercloud/pull/2283) +* Added `blockstorage/v3/qos.DeleteKeys` [GH-2283](https://github.com/gophercloud/gophercloud/pull/2283) +* Added `blockstorage/v3/qos.Associate` [GH-2284](https://github.com/gophercloud/gophercloud/pull/2284) +* Added `blockstorage/v3/qos.Disassociate` [GH-2284](https://github.com/gophercloud/gophercloud/pull/2284) +* Added `blockstorage/v3/qos.DisassociateAll` [GH-2284](https://github.com/gophercloud/gophercloud/pull/2284) +* Added `blockstorage/v3/qos.ListAssociations` [GH-2284](https://github.com/gophercloud/gophercloud/pull/2284) + +## 0.23.0 (November 12, 2021) + +IMPROVEMENTS + +* Added `networking/v2/extensions/agents.ListBGPSpeakers` [GH-2229](https://github.com/gophercloud/gophercloud/pull/2229) +* Added `networking/v2/extensions/bgp/speakers.BGPSpeaker` [GH-2229](https://github.com/gophercloud/gophercloud/pull/2229) +* Added `identity/v3/roles.Project.Domain` [GH-2235](https://github.com/gophercloud/gophercloud/pull/2235) +* Added `identity/v3/roles.User.Domain` [GH-2235](https://github.com/gophercloud/gophercloud/pull/2235) +* Added `identity/v3/roles.Group.Domain` [GH-2235](https://github.com/gophercloud/gophercloud/pull/2235) +* Added `loadbalancer/v2/pools.CreateOpts.Tags` [GH-2237](https://github.com/gophercloud/gophercloud/pull/2237) +* Added `loadbalancer/v2/pools.UpdateOpts.Tags` [GH-2237](https://github.com/gophercloud/gophercloud/pull/2237) +* Added `loadbalancer/v2/pools.Pool.Tags` [GH-2237](https://github.com/gophercloud/gophercloud/pull/2237) +* Added `networking/v2/extensions/bgp/speakers.List` [GH-2238](https://github.com/gophercloud/gophercloud/pull/2238) +* Added `networking/v2/extensions/bgp/speakers.Get` [GH-2238](https://github.com/gophercloud/gophercloud/pull/2238) +* Added `compute/v2/extensions/keypairs.CreateOpts.Type` [GH-2231](https://github.com/gophercloud/gophercloud/pull/2231) +* When doing Keystone re-authentification, keep the error if it failed [GH-2259](https://github.com/gophercloud/gophercloud/pull/2259) +* Added new loadbalancer pool monitor types (TLS-HELLO, UDP-CONNECT and SCTP) [GH-2237](https://github.com/gophercloud/gophercloud/pull/2261) ## 0.22.0 (October 7, 2021) diff --git a/vendor/github.com/gophercloud/gophercloud/README.md b/vendor/github.com/gophercloud/gophercloud/README.md index 95539563a..b429f0905 100644 --- a/vendor/github.com/gophercloud/gophercloud/README.md +++ b/vendor/github.com/gophercloud/gophercloud/README.md @@ -11,30 +11,18 @@ Gophercloud is an OpenStack Go SDK. ## How to install -Before installing, you need to ensure that your [GOPATH environment variable](https://golang.org/doc/code.html#GOPATH) -is pointing to an appropriate directory where you want to install Gophercloud: +Reference a Gophercloud package in your code: -```bash -mkdir $HOME/go -export GOPATH=$HOME/go +```Go +import "github.com/gophercloud/gophercloud" ``` -To protect yourself against changes in your dependencies, we highly recommend choosing a -[dependency management solution](https://github.com/golang/go/wiki/PackageManagementTools) for -your projects, such as [godep](https://github.com/tools/godep). Once this is set up, you can install -Gophercloud as a dependency like so: +Then update your `go.mod`: -```bash -go get github.com/gophercloud/gophercloud - -# Edit your code to import relevant packages from "github.com/gophercloud/gophercloud" - -godep save ./... +```shell +go mod tidy ``` -This will install all the source files you need into a `Godeps/_workspace` directory, which is -referenceable from your own source files when you use the `godep go` command. - ## Getting started ### Credentials diff --git a/vendor/github.com/gophercloud/gophercloud/errors.go b/vendor/github.com/gophercloud/gophercloud/errors.go index 1f504ea83..79271d3be 100644 --- a/vendor/github.com/gophercloud/gophercloud/errors.go +++ b/vendor/github.com/gophercloud/gophercloud/errors.go @@ -277,10 +277,11 @@ func (e ErrTimeOut) Error() string { type ErrUnableToReauthenticate struct { BaseError ErrOriginal error + ErrReauth error } func (e ErrUnableToReauthenticate) Error() string { - e.DefaultErrString = fmt.Sprintf("Unable to re-authenticate: %s", e.ErrOriginal) + e.DefaultErrString = fmt.Sprintf("Unable to re-authenticate: %s: %s", e.ErrOriginal, e.ErrReauth) return e.choseErrString() } diff --git a/vendor/github.com/gophercloud/gophercloud/go.mod b/vendor/github.com/gophercloud/gophercloud/go.mod index 8c83df234..c51d7daaa 100644 --- a/vendor/github.com/gophercloud/gophercloud/go.mod +++ b/vendor/github.com/gophercloud/gophercloud/go.mod @@ -1,9 +1,8 @@ module github.com/gophercloud/gophercloud -go 1.13 +go 1.14 require ( - golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad - golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect - gopkg.in/yaml.v2 v2.3.0 + golang.org/x/crypto v0.0.0-20211202192323-5770296d904e + gopkg.in/yaml.v2 v2.4.0 ) diff --git a/vendor/github.com/gophercloud/gophercloud/go.sum b/vendor/github.com/gophercloud/gophercloud/go.sum index c91f7ee22..dec4af3cd 100644 --- a/vendor/github.com/gophercloud/gophercloud/go.sum +++ b/vendor/github.com/gophercloud/gophercloud/go.sum @@ -1,18 +1,15 @@ -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad h1:DN0cp81fZ3njFcrLCytUHRSUkqBjfTo4Tx9RJTWs0EY= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 h1:nxC68pudNYkKU6jWhgrqdreuFiOQWj1Fs7T3VrH4Pjw= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e h1:MUP6MR3rJ7Gk9LEia0LP2ytiH6MuCfs7qYz+47jGdD8= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221 h1:/ZHdbVpdR/jk3g30/d4yUL0JU9kksj8+F/bnQUVLGDM= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/vendor/github.com/gophercloud/gophercloud/provider_client.go b/vendor/github.com/gophercloud/gophercloud/provider_client.go index faa421fdd..207ab88af 100644 --- a/vendor/github.com/gophercloud/gophercloud/provider_client.go +++ b/vendor/github.com/gophercloud/gophercloud/provider_client.go @@ -475,6 +475,7 @@ func (client *ProviderClient) doRequest(method, url string, options *RequestOpts if err != nil { e := &ErrUnableToReauthenticate{} e.ErrOriginal = respErr + e.ErrReauth = err return nil, e } if options.RawBody != nil { diff --git a/vendor/modules.txt b/vendor/modules.txt index dcf327da8..26fb8ed1c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -259,7 +259,7 @@ github.com/google/uuid github.com/googleapis/gax-go/v2 github.com/googleapis/gax-go/v2/apierror github.com/googleapis/gax-go/v2/apierror/internal/proto -# github.com/gophercloud/gophercloud v0.22.0 +# github.com/gophercloud/gophercloud v0.24.0 ## explicit github.com/gophercloud/gophercloud github.com/gophercloud/gophercloud/openstack