Commit Graph

3268 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6768ac8115 Merge pull request #100894 from clickyotomy/sk/loop-dev-sysfs
Handle invalid `losetup' options
2021-05-12 05:05:39 -07:00
Kubernetes Prow Robot
160cdbbdca Merge pull request #101534 from kassarl/issue-98281
Use GA topology labels for Azuredisk
2021-05-07 13:32:00 -07:00
Kubernetes Prow Robot
c9bd08a3c4 Merge pull request #101046 from lojies/fixbrokenlink
fix broken link in some files
2021-05-07 13:31:34 -07:00
Kubernetes Prow Robot
c08526c7f7 Merge pull request #100216 from yangjunmyfm192085/run-test29
Fix misspelling of condition.
2021-05-07 00:21:02 -07:00
Jiawei Wang
ce87fc97a1 DAdd some soon-to-be-removed plugins to deprecated volume plugin list 2021-05-06 18:41:37 -07:00
Kubernetes Prow Robot
4ad08fa5b6 Merge pull request #101115 from wangyx1992/capital-log
cleanup: fix log capitalization in volume package
2021-05-06 03:51:16 -07:00
Srinidhi Kaushik
be63462f93 Handle invalid "losetup" options
The non "util-linux" versions of "losetup" don't seem to have
options like "-j" ("--associated") which lists the loop devices
associated with the file, or "--show" which  displays the name
of the assigned loop device for a file.

For instance, when "-j" is used, "GetLoopDevice()" fails with:

    $ losetup -j /path/to/file
    losetup: unrecognized option: j
    BusyBox v1.32.1 () multi-call binary.

Add a fallback option to lookup the device from "sysfs" in cases
where "losetup" fails for an invalid option. This can be done by
reading the backing file from "/sys/block/loop*/loop/backing_file"
for each of the devices listed there.

Signed-off-by: Srinidhi Kaushik <shrinidhi.kaushik@gmail.com>
2021-05-02 20:02:51 +05:30
Kubernetes Prow Robot
dfc91819b7 Merge pull request #101067 from Elbehery/fix-nfs-storage-ipv6_add_square_brackets
Fix mounting NFS resources in IPv6 bare-metal environment #101066
2021-05-01 20:58:00 -07:00
Kubernetes Prow Robot
7f8539ff20 Merge pull request #101441 from dobsonj/101332-deprecate-mount-path-removal
Deprecate removal of CSI nodepublish path by kubelet (#101332)
2021-04-28 10:32:50 -07:00
elbehery
859fe6899c add expectedDevice as arg for testing 2021-04-28 17:25:09 +02:00
elbehery
f9befb90a4 add pointer mutation review 2021-04-28 17:25:09 +02:00
elbehery
e05a8403c8 fix ipv6 test case 2021-04-28 17:25:09 +02:00
elbehery
124b71bd11 add test for ipv4 literal 2021-04-28 17:25:09 +02:00
elbehery
5b52146614 fix-nfs-storage-ipv6_add_square_brackets 2021-04-28 17:25:09 +02:00
Jonathan Dobson
260426bf44 clarify deprecation comment 2021-04-27 17:52:40 -06:00
Jonathan Dobson
75a7966414 move deprecation comment to TearDownAt function 2021-04-27 11:40:12 -06:00
Jonathan Dobson
e92dc8d9be Deprecate removal of CSI nodepublish path by kubelet (#101332) 2021-04-27 08:41:47 -06:00
Laila Kassar
c3b8f242a5 Updated topology labels for Azure
Modified to use v1 labels
2021-04-26 07:35:10 +00:00
Niels de Vos
de3a4429d9 Make type BlockVolume a MetricsProvider 2021-04-22 08:36:20 +02:00
Niels de Vos
e99ced3114 Add support for gethering metrics from CSI block-mode volumes 2021-04-22 08:36:20 +02:00
Kubernetes Prow Robot
7ed02d61d1 Merge pull request #101235 from andyzhangx/azurefile-inline-ns-translation
fix: azure file inline volume namespace issue in csi migration translation
2021-04-21 19:15:44 -07:00
Kubernetes Prow Robot
a5a155aaab Merge pull request #101072 from gavinfish/volume-log
Fix log format in flexvolume
2021-04-21 18:11:41 -07:00
Kubernetes Prow Robot
3e6f244851 Merge pull request #100999 from lojies/cispkgcleanup
code cleanup for pkg volume csi
2021-04-20 00:42:33 -07:00
andyzhangx
e10d3948f5 fix: azure file namespace issue in csi translation
fix build failure

fix comments
2021-04-20 07:23:09 +00:00
Kubernetes Prow Robot
a0e6e491e9 Merge pull request #99069 from phantooom/master
kubelet: fix raw block mode CSI NodePublishVolume stage miss pod info
2021-04-15 14:47:00 -07:00
phantooom
82c2266f25 chore: make csi getPodInfoAttrs func private 2021-04-15 20:51:51 +08:00
Kubernetes Prow Robot
80085be866 Merge pull request #101000 from lojies/ominilcheckforlen
code cleanup: Omit redundant nil check on slices
2021-04-14 07:02:43 -07:00
wangyx1992
7fe934a72d cleanup: fix log capitalization in volume package
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-14 21:58:56 +08:00
Kubernetes Prow Robot
d21753e417 Merge pull request #100775 from mengjiao-liu/fix-nil-order
Fix nil pointer dereference by changing code order
2021-04-14 01:32:42 -07:00
Kubernetes Prow Robot
3c20c5aa2f Merge pull request #100177 from wangyx1992/wrapped-error
fix errors in wrapped format
2021-04-13 23:24:42 -07:00
drfish
63b249b84b Fix log format in flexvolume 2021-04-13 21:42:07 +08:00
卢振兴10069964
b29a5fb074 fix broken link in some files 2021-04-13 08:46:24 +08:00
卢振兴10069964
a36c5f08f4 code cleanup: Omit redundant nil check on slices 2021-04-12 09:00:36 +08:00
卢振兴10069964
b3fea118dc code cleanup for pkg volume csi 2021-04-12 08:36:53 +08:00
Kubernetes Prow Robot
ac3f11f73f Merge pull request #99928 from changshuchao/spell-error-unmount
fix Spelling error for Unmounter
2021-04-11 10:18:01 -07:00
Kubernetes Prow Robot
a55bd63172 Merge pull request #100731 from kassarl/azurefile-InvalidCharacter-issue
Normalize share name to not include capital letters
2021-04-09 05:20:58 -07:00
Kubernetes Prow Robot
4959cd6339 Merge pull request #100671 from Niekvdplas/spelling-mistakes
Fixed several spelling mistakes
2021-04-09 05:19:45 -07:00
Kubernetes Prow Robot
77e73ffbee Merge pull request #100500 from jsafrane/aws-nvme-partitions
Fix mounting partitions on NVMe devices
2021-04-08 22:10:24 -07:00
Kubernetes Prow Robot
67820edf18 Merge pull request #100404 from gnufied/reduce-vsphere-volume-length
reduce volume length for vsphere volumes
2021-04-08 22:08:49 -07:00
Kubernetes Prow Robot
b15859b301 Merge pull request #100100 from maxlaverse/fix_pv_provisioning
fix rounding of volume storage requests
2021-04-08 17:12:04 -07:00
Kubernetes Prow Robot
bb0906dcb2 Merge pull request #99929 from lala123912/lint_clean
Remove unused/dead code
2021-04-08 16:00:34 -07:00
Kubernetes Prow Robot
669016067d Merge pull request #99566 from huchengze/patch-6
migrate log in pkg/volume/volume_linux.go
2021-04-08 14:28:43 -07:00
Mengjiao Liu
5fa7f288ce Fix nil pointer dereference by changing code order 2021-04-07 10:29:53 +08:00
Christian Huffman
3bcf407d2f Addresses nitpicks for FSGroupPolicy 2021-04-05 15:45:40 -04:00
Laila Kassar
a5fdad260f Update pkg/volume/azure_file/azure_provision.go
Co-authored-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-31 22:54:21 -05:00
Laila Kassar
7514ad4467 Normalize share name to not include capital letters 2021-03-31 23:52:36 +00:00
Niekvdplas
fec272a7b2 Fixed several spelling mistakes 2021-03-30 23:02:09 +02:00
wangyx1992
34c2b2360b fix errors in wrapped format
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-03-26 14:57:55 +08:00
Michelle Au
9c169a2122 Revert "fix azure file secret not found issue"
This reverts commit 8d43976b74.

Change-Id: Iefaa0e76489883830ba1c9bdcbc3101bcc33082c
2021-03-25 09:28:50 -07:00
Jan Safranek
408d67dcc5 Fix mounting partitions on NVMe devices 2021-03-23 19:01:47 +01:00