Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
85b0b8f
add POSIX shell to docker image (#2919)
k8s-infra-cherrypick-robot Jul 2, 2025
5aa7841
Temporarily use EOL Bobcat release (#2921)
k8s-infra-cherrypick-robot Jul 2, 2025
a61afc8
Fix clouds.yaml authentication (#2926)
k8s-infra-cherrypick-robot Jul 2, 2025
209f30f
[release-1.31] [cinder-csi-plugin] Don't report topology capability w…
stephenfin Jul 2, 2025
c5712ce
fix lbaas logs (#2925)
k8s-infra-cherrypick-robot Jul 2, 2025
4f8409c
[release-1.31] chore: bump dependencies (#2939)
kayrus Jul 25, 2025
7721e72
[release-1.31] prepare new 1.31.4 release (#2942)
kayrus Jul 28, 2025
6f645a8
[release-1.31] charts: bump manila chart
kayrus Jul 28, 2025
492a867
Update DEBIAN_IMAGE to bookworm (#2944)
k8s-infra-cherrypick-robot Jul 28, 2025
d9937d1
[release-1.31] update alpine to latest patch release (#2947)
kon-angelo Jul 29, 2025
853ad56
tests: create volumev3 service type (#2961)
k8s-infra-cherrypick-robot Aug 1, 2025
1eb090b
tests: fix create volumev3 service type task
kayrus Aug 1, 2025
a9d711e
migrate away from gcr.io/k8s-testimages (#2971)
k8s-infra-cherrypick-robot Aug 6, 2025
7ae2326
do not allow DetachVolume when status is detaching (#2975)
k8s-infra-cherrypick-robot Aug 8, 2025
07d46cc
[release-1.31] tests: Bump DevStack to Epoxy (2025.1) (#2977)
kayrus Aug 28, 2025
04701ad
Merge https://github.com/kubernetes/cloud-provider-openstack:release-…
Sep 1, 2025
34f13e8
Updating and vendoring go modules after an upstream merge
Sep 1, 2025
ca81a13
CARRY: Revert "[release-1.31] update alpine to latest patch release (…
stephenfin Jan 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARG DISTROLESS_IMAGE=registry.k8s.io/build-image/go-runner:v2.3.1-go1.22.2-bookw
ARG ALPINE_IMAGE=alpine:3.17.5

# cinder-csi-plugin uses Debian as a base image
ARG DEBIAN_IMAGE=registry.k8s.io/build-image/debian-base:bullseye-v1.4.3
ARG DEBIAN_IMAGE=registry.k8s.io/build-image/debian-base:bookworm-v1.0.4

################################################################################
## BUILD STAGE ##
Expand Down
4 changes: 2 additions & 2 deletions charts/cinder-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.31.3
appVersion: v1.31.4
description: Cinder CSI Chart for OpenStack
name: openstack-cinder-csi
version: 2.31.7
version: 2.31.8
home: https://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/manila-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: v1.31.3
appVersion: v1.31.4
description: Manila CSI Chart for OpenStack
name: openstack-manila-csi
version: 2.31.3
version: 2.31.5
home: http://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/openstack-cloud-controller-manager/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
appVersion: v1.31.3
appVersion: v1.31.4
description: Openstack Cloud Controller Manager Helm Chart
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
home: https://github.com/kubernetes/cloud-provider-openstack
name: openstack-cloud-controller-manager
version: 2.31.3
version: 2.31.4
maintainers:
- name: eumel8
email: f.kloeker@telekom.de
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ options:
substitution_option: ALLOW_LOOSE
machineType: 'N1_HIGHCPU_8'
steps:
- name: gcr.io/k8s-testimages/gcb-docker-gcloud
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud
entrypoint: bash
env:
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
Expand Down
6 changes: 3 additions & 3 deletions docs/cinder-csi-plugin/multi-region-clouds.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ spec:
- name: liveness-probe
...
- name: cinder-csi-plugin
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.3
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.4
args:
- /bin/cinder-csi-plugin
- --endpoint=$(CSI_ENDPOINT)
Expand Down Expand Up @@ -212,7 +212,7 @@ spec:
- name: liveness-probe
...
- name: cinder-csi-plugin
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.3
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.4
args:
- /bin/cinder-csi-plugin
- --endpoint=$(CSI_ENDPOINT)
Expand Down Expand Up @@ -278,7 +278,7 @@ spec:
- Topology=true
...
- name: cinder-csi-plugin
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.3
image: docker.io/k8scloudprovider/cinder-csi-plugin:v1.31.4
args:
- /bin/cinder-csi-plugin
- --endpoint=$(CSI_ENDPOINT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ it as a service. There are several things we need to notice in the
deployment manifest:

- We are using image
`registry.k8s.io/provider-os/k8s-keystone-auth:v1.31.3`
`registry.k8s.io/provider-os/k8s-keystone-auth:v1.31.4`
- We use `k8s-auth-policy` configmap created above.
- The pod uses service account `keystone-auth` created above.
- We use `keystone-auth-certs` secret created above to inject the
Expand Down
2 changes: 1 addition & 1 deletion docs/magnum-auto-healer/using-magnum-auto-healer.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ user_id=ceb61464a3d341ebabdf97d1d4b97099
user_project_id=b23a5e41d1af4c20974bf58b4dff8e5a
password=password
region=RegionOne
image=registry.k8s.io/provider-os/magnum-auto-healer:v1.31.3
image=registry.k8s.io/provider-os/magnum-auto-healer:v1.31.4

cat <<EOF | kubectl apply -f -
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Here are several other config options are not included in the example configurat
### Deploy octavia-ingress-controller

```shell
image="registry.k8s.io/provider-os/octavia-ingress-controller:v1.31.3"
image="registry.k8s.io/provider-os/octavia-ingress-controller:v1.31.4"

cat <<EOF > /etc/kubernetes/octavia-ingress-controller/deployment.yaml
---
Expand Down
2 changes: 1 addition & 1 deletion examples/webhook/keystone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: k8s-keystone
containers:
- name: k8s-keystone-auth
image: registry.k8s.io/provider-os/k8s-keystone-auth:v1.31.3
image: registry.k8s.io/provider-os/k8s-keystone-auth:v1.31.4
args:
- ./bin/k8s-keystone-auth
- --tls-cert-file
Expand Down
54 changes: 28 additions & 26 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.0

require (
github.com/container-storage-interface/spec v1.9.0
github.com/go-chi/chi/v5 v5.0.8
github.com/go-chi/chi/v5 v5.2.2
github.com/gophercloud/gophercloud/v2 v2.0.0
github.com/gophercloud/utils/v2 v2.0.0-20240701101423-2401526caee5
github.com/hashicorp/go-version v1.6.0
Expand All @@ -29,31 +29,33 @@ require (
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/godo.v2 v2.0.9
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.31.6
k8s.io/apimachinery v0.31.6
k8s.io/apiserver v0.31.6
k8s.io/client-go v0.31.6
k8s.io/cloud-provider v0.31.6
k8s.io/component-base v0.31.6
k8s.io/api v0.31.11
k8s.io/apimachinery v0.31.11
k8s.io/apiserver v0.31.11
k8s.io/client-go v0.31.11
k8s.io/cloud-provider v0.31.11
k8s.io/component-base v0.31.11
k8s.io/klog/v2 v2.130.1
k8s.io/kms v0.31.6
k8s.io/kubernetes v1.31.6
k8s.io/mount-utils v0.31.6
k8s.io/kms v0.31.11
k8s.io/kubernetes v1.31.11
k8s.io/mount-utils v0.31.11
k8s.io/utils v0.0.0-20241210054802-24370beab758
software.sslmate.com/src/go-pkcs12 v0.5.0
)

// the below fixes the "go list -m all" execution
replace (
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.31.6
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.31.6
k8s.io/endpointslice => k8s.io/endpointslice v0.31.6
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.31.6
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.31.6
k8s.io/kube-proxy => k8s.io/kube-proxy v0.31.6
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.31.6
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.31.6
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.31.6
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.31.11
k8s.io/cri-client => k8s.io/cri-client v0.31.11
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.31.11
k8s.io/endpointslice => k8s.io/endpointslice v0.31.11
k8s.io/externaljwt => k8s.io/externaljwt v0.31.11
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.31.11
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.31.11
k8s.io/kube-proxy => k8s.io/kube-proxy v0.31.11
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.31.11
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.31.11
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.31.11
)

require (
Expand Down Expand Up @@ -156,14 +158,14 @@ require (
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.31.6 // indirect
k8s.io/component-helpers v0.31.6 // indirect
k8s.io/controller-manager v0.31.6 // indirect
k8s.io/csi-translation-lib v0.31.6 // indirect
k8s.io/apiextensions-apiserver v0.31.11 // indirect
k8s.io/component-helpers v0.31.11 // indirect
k8s.io/controller-manager v0.31.11 // indirect
k8s.io/csi-translation-lib v0.31.11 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
k8s.io/kubectl v0.31.6 // indirect
k8s.io/kubelet v0.31.6 // indirect
k8s.io/pod-security-admission v0.31.6 // indirect
k8s.io/kubectl v0.31.11 // indirect
k8s.io/kubelet v0.31.11 // indirect
k8s.io/pod-security-admission v0.31.11 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
Expand Down
68 changes: 34 additions & 34 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyT
github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/go-chi/chi/v5 v5.0.8 h1:lD+NLqFcAi1ovnVZpsnObHGW4xb4J8lNmoYVfECH1Y0=
github.com/go-chi/chi/v5 v5.0.8/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/go-chi/chi/v5 v5.2.2 h1:CMwsvRVTbXVytCk1Wd72Zy1LAsAh9GxMmSNWLHCG618=
github.com/go-chi/chi/v5 v5.2.2/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
Expand Down Expand Up @@ -835,43 +835,43 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
k8s.io/api v0.31.6 h1:ocWG/UhC9Mqp5oEfYWy9wCddbZiZyBAFTlBt0LVlhDg=
k8s.io/api v0.31.6/go.mod h1:i16xSiKMgVIVhsJMxfWq0mJbXA+Z7KhjPgYmwT41hl4=
k8s.io/apiextensions-apiserver v0.31.6 h1:v9sqyWlrgFZpAPdEb/bEiXfM98TfSppwRF0X/uWKXh0=
k8s.io/apiextensions-apiserver v0.31.6/go.mod h1:QVH3CFwqzGZtwsxPYzJlA/Qiwgb5FXmRMGls3CjzvbI=
k8s.io/apimachinery v0.31.6 h1:Pn96A0wHD0X8+l7QTdAzdLQPrpav1s8rU6A+v2/9UEY=
k8s.io/apimachinery v0.31.6/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo=
k8s.io/apiserver v0.31.6 h1:FEhEGLsz1PbMOHeQZDbOUlMh36zRZbjgKwJCoMhdGmw=
k8s.io/apiserver v0.31.6/go.mod h1:dpFh+xqFQ02O8vLYCIqoiV7sJIpZsUULeNuag6Y9HGo=
k8s.io/client-go v0.31.6 h1:51HT40qVIZ13BrHKeWxFuU52uoPnFhxTYJnv4+LTgp4=
k8s.io/client-go v0.31.6/go.mod h1:MEq7JQJelUQ0/4fMoPEUrc/OOFyGo/9LmGA38H6O6xY=
k8s.io/cloud-provider v0.31.6 h1:5vVMyf/m/n8ij/GmSJLRcatchmciRr0gs4peBcxqvKk=
k8s.io/cloud-provider v0.31.6/go.mod h1:iT6kIEMEXrTIvRBAaRU5qefRzgPaSV6kwTc6mjhhnEw=
k8s.io/component-base v0.31.6 h1:FgI25PuZtCp2n7AFpOaDpMQOLieFdrpAbpeoZu7VhDI=
k8s.io/component-base v0.31.6/go.mod h1:aVRrh8lAI1kSShFmwcKLhc3msQoUcmFWPBDf0sXaISM=
k8s.io/component-helpers v0.31.6 h1:Af8BcE6pElKlLaerwW9s04jTQVFa66wmI1pkaNfDWzE=
k8s.io/component-helpers v0.31.6/go.mod h1:6CRV6M+7R13eqtz4FBm2ty9eH+QajDcP3y0Bklzh2FA=
k8s.io/controller-manager v0.31.6 h1:HQRUV6nogHo2N7vr3cgVNjZ+wvHIMvxEMjTeCrHitE4=
k8s.io/controller-manager v0.31.6/go.mod h1:0HDNTZVapQFa9G96jNxrU99ht7fQJVEKBXDzqKDMez0=
k8s.io/csi-translation-lib v0.31.6 h1:mBkF3AG8pRcwZv8SY7qT1JWznRsmYjZfT5Lxel9nN4Q=
k8s.io/csi-translation-lib v0.31.6/go.mod h1:I2F51irYJyt78so7wdral65B7PB7jR3keZ2MpB78mWw=
k8s.io/api v0.31.11 h1:jmrs+NBmdyaYMOIhAmi2g2eemugqiMwRSKtdpk0FAFc=
k8s.io/api v0.31.11/go.mod h1:t1/N5KEcY/DCwEzCbtCoJeJt4b00phLCRVgM11Ijb6o=
k8s.io/apiextensions-apiserver v0.31.11 h1:7VSwWgEKI8F4JfX1XLoRV9p5PaSwLUD5BBunq9mk24w=
k8s.io/apiextensions-apiserver v0.31.11/go.mod h1:c9qU0INuaGrRKNeQdyM73GPcgbJmcZeZoDrIT+dLxhs=
k8s.io/apimachinery v0.31.11 h1:QsYPEVrKOTBtuzj0gmfwVkM7RwPB+IbOUceBAuK4ips=
k8s.io/apimachinery v0.31.11/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo=
k8s.io/apiserver v0.31.11 h1:j5K8wj08jZImaZKmmWJg8rlTLL6ewUCW0MSRcBkeOmo=
k8s.io/apiserver v0.31.11/go.mod h1:yGaiSFKV7RXmgxMT9mcBU3hnCl5I63Ala8xM7sCh088=
k8s.io/client-go v0.31.11 h1:uhc+e8vfsGtm9xVoIs0+ajGW0mWNW64VSjej3bXF+WA=
k8s.io/client-go v0.31.11/go.mod h1:y11StjQTOP0nd/o/RHxqwmdr1CWdBvnpvGs9k7MWYnA=
k8s.io/cloud-provider v0.31.11 h1:UAlqOFIHdwCPP/Hvhz46JdgdEYrXaqUFdNXMZkzmsV8=
k8s.io/cloud-provider v0.31.11/go.mod h1:VYXy7JDjEVZKH6vwDR/CqOwDwoK1425ThgIgPruO9jw=
k8s.io/component-base v0.31.11 h1:uPQCr7SJGhk/oFp4YmxG5ctHrDocZRGSOaheFrbAvoM=
k8s.io/component-base v0.31.11/go.mod h1:huE8dXdht4KoOPo8CSb0ifLjpGUc/dh+cmNGplRGZno=
k8s.io/component-helpers v0.31.11 h1:A3UbO910SOVoUmhkbGX8b3V4k5Ed2a02DtNgyTHBtss=
k8s.io/component-helpers v0.31.11/go.mod h1:+APbittkpj1TRGnNiQFUfJvq7zJ0ekvDu7IX+FZpPRg=
k8s.io/controller-manager v0.31.11 h1:zO/+eR9ZpUO7KABQSP5JC++0DnD7x1YrE/NaLcyB9hc=
k8s.io/controller-manager v0.31.11/go.mod h1:E6SvFTBj4QjY8oPDm4omD+u3O+0MPS4dE8flTmp0y0g=
k8s.io/csi-translation-lib v0.31.11 h1:oW9HXySDI3I4JQnH8Y54U3aQQg9GbqkPKPBcTg6NXn0=
k8s.io/csi-translation-lib v0.31.11/go.mod h1:M4nUwDP4AGtoslFXG2Pl/w0q+47j9exBe88xLa04qzk=
k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kms v0.31.6 h1:p7OY+9Hp8nPtgzm0vT9TrERNigQQSu8tkgWqn+GvB2w=
k8s.io/kms v0.31.6/go.mod h1:OZKwl1fan3n3N5FFxnW5C4V3ygrah/3YXeJWS3O6+94=
k8s.io/kms v0.31.11 h1:NjOFtzHMHb8TaxJ2qQNZsFdZ5ofFe8w2HXMjg93dqL0=
k8s.io/kms v0.31.11/go.mod h1:OZKwl1fan3n3N5FFxnW5C4V3ygrah/3YXeJWS3O6+94=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98=
k8s.io/kubectl v0.31.6 h1:ngzql/UugqpEbeeyQX678BlVHXks19JR3CFjwKnWuFI=
k8s.io/kubectl v0.31.6/go.mod h1:m6OXbx9s0sZiaZrfHHSEmJUD5CjWPA5+cVg0GZnVdzM=
k8s.io/kubelet v0.31.6 h1:lxVvyLNDcb/QTpQNkDySk3iscgq4zubeSZs3cF6PmaA=
k8s.io/kubelet v0.31.6/go.mod h1:BPghO52ilF7UzFEVBmYFOxdVtLge0P1gixjz84lBzzc=
k8s.io/kubernetes v1.31.6 h1:zVhgWDFHmIj51o5sNARmjdgNvpq4K2Smya8pS5vxqlc=
k8s.io/kubernetes v1.31.6/go.mod h1:9xmT2buyTYj8TRKwRae7FcuY8k5+xlxv7VivvO0KKfs=
k8s.io/mount-utils v0.31.6 h1:MYRoh63q/fFjSiwPNpDv8H9L1cJDVrSNYzXzNUKANZY=
k8s.io/mount-utils v0.31.6/go.mod h1:HV/VYBUGqYUj4vt82YltzpWvgv8FPg0G9ItyInT3NPU=
k8s.io/pod-security-admission v0.31.6 h1:5WnXyl+UNmQb73O0L1w82uaUEPuvp+sxdhXRiOLdCkY=
k8s.io/pod-security-admission v0.31.6/go.mod h1:b+ZpSSR+XMx3t9Pvy/GdcXoI0CEpiWGT7IGAhcOBcGM=
k8s.io/kubectl v0.31.11 h1:rVr5JrMxSwtteB1n9Dyiy8u5qaRKwuhs7XjhDEpAiE4=
k8s.io/kubectl v0.31.11/go.mod h1:mF36H/0z8PuxC1J3lyLm+ryGuB3nZRwGEnEQ7vpQHYU=
k8s.io/kubelet v0.31.11 h1:HYoj3wiufFOUjIpcCUis+FVxg5AVFInIFLDkL34MaEQ=
k8s.io/kubelet v0.31.11/go.mod h1:nRUoDj5L7pV5uYK0QXjV0Sm3Scxm9S+3bRFhfEjtRa4=
k8s.io/kubernetes v1.31.11 h1:O5iuiUNzOcnhgy4HTYvhyJdGaw8yCFlcuomeojxu2sA=
k8s.io/kubernetes v1.31.11/go.mod h1:9xmT2buyTYj8TRKwRae7FcuY8k5+xlxv7VivvO0KKfs=
k8s.io/mount-utils v0.31.11 h1:gkvBKSlXY7V2hxNDCJZ9kibk6j8qORXDuECw40Mg7h0=
k8s.io/mount-utils v0.31.11/go.mod h1:HV/VYBUGqYUj4vt82YltzpWvgv8FPg0G9ItyInT3NPU=
k8s.io/pod-security-admission v0.31.11 h1:ESxlSHUbvq1v3G1as9uj0NYyIasKeNux0J04Xpn/NRY=
k8s.io/pod-security-admission v0.31.11/go.mod h1:zalSa2Eyl/xf8KY5qd5Z7dpAqJVmr9IJMB4FF6g2owo=
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
2 changes: 1 addition & 1 deletion manifests/barbican-kms/ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: cloud-controller-manager
containers:
- name: barbican-kms
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.31.3
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.31.4
args:
- /bin/barbican-kms-plugin
- --socketpath=$(KMS_ENDPOINT)
Expand Down
2 changes: 1 addition & 1 deletion manifests/barbican-kms/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
containers:
- name: barbican-kms
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.31.3
image: registry.k8s.io/provider-os/barbican-kms-plugin:v1.31.4
args:
- "--socketpath=/kms/kms.sock"
- "--cloud-config=/etc/kubernetes/cloud-config"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- name: cinder-csi-plugin
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.31.3
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.31.4
args:
- /bin/cinder-csi-plugin
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
2 changes: 1 addition & 1 deletion manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.31.3
image: registry.k8s.io/provider-os/cinder-csi-plugin:v1.31.4
args:
- /bin/cinder-csi-plugin
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
serviceAccountName: cloud-controller-manager
containers:
- name: openstack-cloud-controller-manager
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.31.3
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.31.4
args:
- /bin/openstack-cloud-controller-manager
- --v=1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: openstack-cloud-controller-manager
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.31.3
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.31.4
args:
- /bin/openstack-cloud-controller-manager
- --v=1
Expand Down
2 changes: 1 addition & 1 deletion manifests/magnum-auto-healer/magnum-auto-healer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
node-role.kubernetes.io/control-plane: ""
containers:
- name: magnum-auto-healer
image: registry.k8s.io/provider-os/magnum-auto-healer:v1.31.3
image: registry.k8s.io/provider-os/magnum-auto-healer:v1.31.4
imagePullPolicy: Always
args:
- /bin/magnum-auto-healer
Expand Down
2 changes: 1 addition & 1 deletion manifests/manila-csi-plugin/csi-controllerplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.31.3
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.31.4
command: ["/bin/sh", "-c",
'/bin/manila-csi-plugin
--nodeid=$(NODE_ID)
Expand Down
2 changes: 1 addition & 1 deletion manifests/manila-csi-plugin/csi-nodeplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.31.3
image: registry.k8s.io/provider-os/manila-csi-plugin:v1.31.4
command: ["/bin/sh", "-c",
'/bin/manila-csi-plugin
--nodeid=$(NODE_ID)
Expand Down
6 changes: 6 additions & 0 deletions pkg/csi/cinder/openstack/openstack_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
const (
VolumeAvailableStatus = "available"
VolumeInUseStatus = "in-use"
VolumeDetachingStatus = "detaching"
operationFinishInitDelay = 1 * time.Second
operationFinishFactor = 1.1
operationFinishSteps = 10
Expand Down Expand Up @@ -292,6 +293,11 @@ func (os *OpenStack) DetachVolume(instanceID, volumeID string) error {
klog.V(2).Infof("volume: %s has been detached from compute: %s ", volume.ID, instanceID)
return nil
}
// If the volume is already in detaching state, we can return nil
if volume.Status == VolumeDetachingStatus {
klog.V(2).Infof("volume: %s is already in detaching state from compute %s ", volume.ID, instanceID)
return nil
}

if volume.Status != VolumeInUseStatus {
return fmt.Errorf("can not detach volume %s, its status is %s", volume.Name, volume.Status)
Expand Down
Loading