Kubernetes Prow Robot
aa343fa632
Merge pull request #108628 from RomanBednar/attach-detach-message
...
csi_attacher: improve attach/detach timeout message
2022-03-16 11:05:15 -07:00
Kubernetes Prow Robot
9642a1f84b
Merge pull request #108662 from dobsonj/issue89290
...
CSI inline volumes should support fsGroup
2022-03-14 09:34:10 -07:00
Roman Bednar
f17f00363b
csi_attacher: improve attach/detach timeout message
...
If we time out waiting for volume to be attached the message given
to user is not informative enough:
"Attach timeout for volume vol-123"
It would be better if we provide more information on what's going on
and even include name of the driver that's causing the problem, e.g.:
"timed out waiting for external-attacher of ebs.csi.aws.com CSI driver to attach volume vol-123"
2022-03-14 11:00:22 +01:00
Jonathan Dobson
88a1962e56
CSI inline volumes should support fsGroup
2022-03-11 16:14:06 -07:00
Hemant Kumar
7fe33bfb7c
Remove needless checks for nodestage during expansion
2022-03-10 09:55:06 -05:00
Hemant Kumar
e24219d27b
Remove support for previously deprecated nodeExpand call
...
between staging and publish
2022-03-09 14:50:18 -05:00
Davanum Srinivas
91ade9f318
Switch pv-recycler container image to debian-base
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-03 13:37:17 -05:00
Kubernetes Prow Robot
e9ba9dc4e4
Merge pull request #107201 from pacoxu/add-metrics-volume-stats-cal
...
add VolumeStatCalDuration metrics for fsquato monitoring benchmark
2022-02-28 16:07:46 -08:00
Kubernetes Prow Robot
06e107081e
Merge pull request #104732 from mengjiao-liu/remove-flag-experimental-check-node-capabilities-before-mount
...
kubelet: Remove the deprecated flag `--experimental-check-node-capabilities-before-mount`
2022-02-24 07:56:30 -08:00
Kubernetes Prow Robot
eacbf87bfe
Merge pull request #108156 from jsafrane/rename-selinuxsupport
...
Rename SupportsSELinux to SELinuxRelabel
2022-02-22 20:12:20 -08:00
Kubernetes Prow Robot
37a0b1a321
Merge pull request #108066 from marseel/dont_check_type_in_hostvolule_in_kubemark
...
Turn off volumehost type check in kubemark clusters
2022-02-18 00:38:24 -08:00
Jan Safranek
525b8e5cd6
Rename SupportsSELinux to SELinuxRelabel
...
The field in fact says that the container runtime should relabel a volume
when running a container with it, it does not say that the volume supports
SELinux. For example, NFS can support SELinux, but we don't want NFS
volumes relabeled, because they can be shared among several Pods.
2022-02-16 10:54:08 +01:00
Kubernetes Prow Robot
4033355d29
Merge pull request #107909 from sebastiansterk/master
...
🤓 simple grammar fix
2022-02-15 12:15:18 -08:00
Kubernetes Prow Robot
1659924a97
Merge pull request #108070 from jsafrane/remove-selinux
...
Remove util/selinux package
2022-02-11 18:19:47 -08:00
Kubernetes Prow Robot
1f041ccd54
Merge pull request #107887 from bertinatto/fix-panic-kubelet
...
Fix panic in Kubelet
2022-02-11 12:58:07 -08:00
Jan Safranek
77aa06d0c8
Remove util/selinux package
...
The package says:
> the libcontainer SELinux package is only built for Linux, so it is
> necessary to have a NOP wrapper which is built for non-Linux platforms
This is not true, Kubernetes now imports
github.com/opencontainers/selinux/go-selinux and it has proper
multiplatform support (i.e. NOOP on non-Linux platforms).
Removing the whole package and calling go-selinux directly.
2022-02-11 15:20:35 +01:00
Marcel Zięba
66ab60dcf6
Turn off volumehost type check in kubemark clusters
2022-02-11 11:45:33 +00:00
Cheng Xing
b152fa9b6c
Remove verult from OWNERS files
2022-02-10 18:25:38 -08:00
Kubernetes Prow Robot
6a5b3da1d8
Merge pull request #107236 from cyclinder/fix_bug_WaitForAttach
...
GCEPD: fix incorrect return value in WaitForAttach
2022-02-08 09:59:02 -08:00
Hemant Kumar
4b589dfd7a
fix flake in detach tests
2022-02-02 17:28:13 -05:00
Sebastian Sterk
8e9ea7b481
simple grammar fix
2022-02-02 00:04:35 +01:00
Fabio Bertinatto
eb2adaa32f
Fix panic in Kubelet
...
Currently, the Kubelet panics when it's started with the
`enable-controller-attach-detach=false` option set and a
volume is attached to a node.
This patch adds a check that prevents the Kubelet from trying to attach
or detach CSI volumes and report a proper error warning the user that this
use case is not supported.
2022-01-31 17:29:25 -03:00
Hemant Kumar
ff765210d5
Mark device as uncertain if unmount device succeeds
...
If unmount device succeeds but somehow unmount operation
fails because device was in-use elsewhere, we should mark the
device mount as uncertain because we can't use the global
mount point at this point.
2022-01-26 07:49:49 -05:00
Monokaix
96702a89b2
replace filepath.Walk with filepath.WalkDir in doCleanSubPaths
2022-01-25 09:56:32 +08:00
Kubernetes Prow Robot
c175418281
Merge pull request #107065 from saikat-royc/fix-node-stage-path
...
change node staging path for csi driver to PV agnostic
2022-01-21 01:31:58 -08:00
Saikat Roychowdhury
80e0501e89
change staging path for csi driver to pv agnostic
2022-01-20 22:59:29 +00:00
-e
3967f03bb1
set metric_source to du or fsquota accordingly
2022-01-20 10:56:02 +08:00
Paco Xu
6611c36372
add volume type and seperated histogram for volume stat collection
2022-01-19 22:33:37 +08:00
Kubernetes Prow Robot
874ce66d19
Merge pull request #107279 from NikhilSharmaWe/pathCheck
...
added devicePath check for fcDisk
2022-01-18 03:05:08 -08:00
Kubernetes Prow Robot
3bd422dc76
Merge pull request #107293 from dims/jan-1-owners-cleanup
...
Cleanup OWNERS files - Jan 2021 Week 1
2022-01-13 10:30:30 -08:00
Kubernetes Prow Robot
42436c877e
Merge pull request #107462 from dims/next-step-in-csi-migration-for-openstack-take-2
...
Next step in CSI migration for openstack
2022-01-12 19:57:07 -08:00
Kubernetes Prow Robot
e22ec17057
Merge pull request #99441 from CKchen0726/csi-client
...
migrate volume/csi/csi-client.go logs to structured logging
2022-01-12 11:52:13 -08:00
Patrick Ohly
9eaa2dc554
avoid klog Info calls without verbosity
...
In the following code pattern, the log message will get logged with v=0 in JSON
output although conceptually it has a higher verbosity:
if klog.V(5).Enabled() {
klog.Info("hello world")
}
Having the actual verbosity in the JSON output is relevant, for example for
filtering out only the important info messages. The solution is to use
klog.V(5).Info or something similar.
Whether the outer if is necessary at all depends on how complex the parameters
are. The return value of klog.V can be captured in a variable and be used
multiple times to avoid the overhead for that function call and to avoid
repeating the verbosity level.
2022-01-12 07:48:36 +01:00
Davanum Srinivas
7fd97433f0
Next step in CSI migration for openstack
...
delete/modify tests that use intree cinder as well.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 22:07:44 -05:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 08:14:29 -05:00
Kubernetes Prow Robot
475644ccd8
Merge pull request #106073 from ping035627/k8s-21110202
...
Cleanup FindPluginByName() in VolumePluginMgr
2022-01-07 07:52:29 -08:00
Nikhil Sharma
4eaa533777
added devicePath check for fcDisk
2022-01-07 20:10:03 +05:30
Kubernetes Prow Robot
d1a5513cb0
Merge pull request #107006 from gnufied/add-total-mount-time-metrics
...
Add metric for reporting total end-to-end mount time
2022-01-07 06:19:31 -08:00
Hemant Kumar
c9177f3083
rename volume_mount to overall_volume_mount for total metric time
2022-01-06 12:51:05 -05:00
Mengjiao Liu
beda4cafb6
kubelet: Remove the deprecated flag --experimental-check-node-capabilities-before-mount
2022-01-06 11:47:11 +08:00
Kubernetes Prow Robot
31898fc504
Merge pull request #101856 from prateekpandey14/fix-staticcheck
...
fix static check of importing the same package multiple times
2022-01-05 14:55:47 -08:00
Kubernetes Prow Robot
4f35d80f4e
Merge pull request #107302 from pacoxu/fix/empty-dir-quota-monitoring
...
assignQuota checks if the underlying medium supports quotas and if so setting it
2022-01-05 09:23:18 -08:00
Kubernetes Prow Robot
0f5e3d14bd
Merge pull request #106421 from houjun41544/20211115-volume
...
Fix the wrong log
2022-01-04 23:03:05 -08:00
PingWang
075adb308d
Cleanup FindPluginByName() in VolumePluginMgr
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update typo
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update import
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2022-01-05 11:42:26 +08:00
Paco Xu
3946e6c8c2
assignQuota checks if the underlying medium supports quotas and if so, sets
2022-01-05 09:33:07 +08:00
cyclinder
3ff8a86f20
GCEPD: fix incorrect return value in WaitForAttach
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io >
2021-12-28 09:48:35 +08:00
Kubernetes Prow Robot
f0dbc32ed9
Merge pull request #106853 from gnufied/disable-exp-backoff-volume-not-inuse
...
When volume is not marked in-use, do not backoff
2021-12-22 19:46:37 -08:00
Hemant Kumar
7989f27044
use node informer to check volumes attachment status before backoff
...
fix unit tests
2021-12-20 11:57:05 -05:00
Kubernetes Prow Robot
489fb9bee3
Merge pull request #107025 from jsafrane/remove-attach-match
...
Remove AttachID matching from Detach
2021-12-17 18:41:24 -08:00
Kubernetes Prow Robot
1426587e08
Merge pull request #106436 from dims/cleanup-owners-files-no-activity-in-a-year
...
Cleanup OWNERS files (No Activity in the last year)
2021-12-15 12:07:51 -08:00