Драйвер CSI для Unity. При создании PVC объемом менее 1,5 Гбайт в Unity при использовании протокола NFS Persistent Volume Claim (PVC) отображается в состоянии «Pending»
Summary: При создании PVC менее 1,5 Гбайт в Unity по протоколу NFS (Network File System) Persistent Volume Claim (PVC) отображается в состоянии «Pending».
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Пользователь не может создать PVC размером менее 1,5 Гбайт в Unity при использовании протокола NFS со следующими сообщениями:
Описание на PVC показывает:
PVC показывает состояние «Pending»:
Журналы драйвера контроллера CSI показывают:
Описание на PVC показывает:
# kubectl describe pvc pvol0 -n test
...
Warning ProvisioningFailed 35m csi-unity.dellemc.com_unity-controller-66c9b748d7-8hxll_456d3759-46b6-42f5-88e0-75ff8036db4a failed to provision volume with StorageClass "unity-nfs": rpc error: code = Unknown desc = runid=170 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]
...
Warning ProvisioningFailed 35m csi-unity.dellemc.com_unity-controller-66c9b748d7-8hxll_456d3759-46b6-42f5-88e0-75ff8036db4a failed to provision volume with StorageClass "unity-nfs": rpc error: code = Unknown desc = runid=170 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]
PVC показывает состояние «Pending»:
# kubectl get pvc -n test
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
pvol0 Pending unity-nfs 37m
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
pvol0 Pending unity-nfs 37m
Журналы драйвера контроллера CSI показывают:
time="2021-05-04T18:05:04Z" level=debug arrayid=apm00180305385 runid=178 msg="Error in response. Method:POST URI:/api/types/storageResource/action/createFilesystem Error: [{The specified file system size is too small. (Error Code:0x6701401)}] JSON Error: [{The specified file system size is too small. (Error Code:0x6701401)}]" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity/unityclient.go:113"
time="2021-05-04T18:05:04Z" level=error arrayid=apm00180305385 runid=178 msg="failed to invoke Unity REST API server" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity/unityclient.go:127"
time="2021-05-04T18:05:04Z" level=debug arrayid=apm00180305385 runid=178 msg="Filesystem create response: Error:[{The specified file system size is too small. (Error Code:0x6701401)}]" func="github.com/dell/csi-unity/service.(*service).CreateVolume()" file="/go/src/csi-unity/service/controller.go:198"
time="2021-05-04T18:05:04Z" level=debug msg="/csi.v1.Controller/CreateVolume: REP 0178: rpc error: code = Unknown desc = runid=178 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]"
time="2021-05-04T18:05:04Z" level=error arrayid=apm00180305385 runid=178 msg="failed to invoke Unity REST API server" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity/unityclient.go:127"
time="2021-05-04T18:05:04Z" level=debug arrayid=apm00180305385 runid=178 msg="Filesystem create response: Error:[{The specified file system size is too small. (Error Code:0x6701401)}]" func="github.com/dell/csi-unity/service.(*service).CreateVolume()" file="/go/src/csi-unity/service/controller.go:198"
time="2021-05-04T18:05:04Z" level=debug msg="/csi.v1.Controller/CreateVolume: REP 0178: rpc error: code = Unknown desc = runid=178 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]"
Cause
Как указано в документации, это ограничение массива.
Примечание. К требуемому размеру тома NFS/pvc добавляется 1,5 Гбайт. Это связано с требованиями к массиву Unity, который потребляет 1,5 Гбайт для хранения метаданных. Таким образом, минимальный размер PVC для протокола NFS через драйвер составляет 1,5 Гбайт, что составляет 3 Гбайт при создании непосредственно в массиве.
Resolution
PVC должен быть создан с минимальным размером 1,5 Гбайт.
Products
Dell EMC UnityArticle Properties
Article Number: 000186132
Article Type: Solution
Last Modified: 08 Apr 2022
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.