Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新的alicloud-disk-controller有问题 #18

Open
songjinghe opened this issue Dec 22, 2019 · 5 comments
Open

最新的alicloud-disk-controller有问题 #18

songjinghe opened this issue Dec 22, 2019 · 5 comments
Assignees

Comments

@songjinghe
Copy link

镜像版本号:v1.14.8.31-c643bb89-aliyun
我用的是Serverless K8s,所以安装了这个版本(PS:这个仓库里的版本没问题),上面这个版本用起来老是显式无法操作XX区域的磁盘。我就记得这些。

@denverdino
Copy link
Contributor

$  kubectl logs -n kube-system alicloud-disk-controller-58bfd8df59-8fbpl
time="2019-12-28T13:51:39Z" level=error msg="Create Disk error: Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
E1228 13:51:39.803297       1 controller.go:903] Failed to provision volume for claim "default/pvc-essd" with StorageClass "alicloud-disk-essd": Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.
E1228 13:51:39.803401       1 goroutinemap.go:165] Operation for "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]" failed. No retries permitted until 2019-12-28 13:51:47.803368063 +0000 UTC m=+68.310809517 (durationBeforeRetry 8s). Error: "Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
I1228 13:51:54.545897       1 controller.go:1175] scheduleOperation[provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]]
time="2019-12-28T13:51:54Z" level=info msg="Create Disk by PVC: pvc-essd, PVC-Define: {{ } {pvc-essd  default /api/v1/namespaces/default/persistentvolumeclaims/pvc-essd 0b1a37dc-2979-11ea-a5e3-8aa95aae7a23 5731524 0 2019-12-28 13:50:44 +0000 UTC <nil> <nil> map[] map[volume.beta.kubernetes.io/storage-provisioner:alicloud/disk] [] nil [kubernetes.io/pvc-protection] } {[ReadWriteOnce] nil {map[] map[storage:{{21474836480 0} {<nil>} 20Gi BinarySI}]}  0xc0003ba5c0 <nil> <nil>} {Pending [] map[] []}}, Parameters: map[type:cloud_essd]"
time="2019-12-28T13:51:54Z" level=error msg="Create Disk error: Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
E1228 13:51:54.831525       1 controller.go:903] Failed to provision volume for claim "default/pvc-essd" with StorageClass "alicloud-disk-essd": Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.
E1228 13:51:54.831615       1 goroutinemap.go:165] Operation for "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]" failed. No retries permitted until 2019-12-28 13:52:10.83157818 +0000 UTC m=+91.339019644 (durationBeforeRetry 16s). Error: "Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
I1228 13:52:09.546033       1 controller.go:1175] scheduleOperation[provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]]
E1228 13:52:09.546069       1 controller.go:1182] Error scheduling operaion "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]": Failed to create operation with name "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]". An operation with that name failed at 2019-12-28 13:51:54.83157818 +0000 UTC m=+75.339019644. No retries permitted until 2019-12-28 13:52:10.83157818 +0000 UTC m=+91.339019644 (16s). Last error: "Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.".

@songjinghe
Copy link
Author

image: registry.cn-hangzhou.aliyuncs.com/acs/alicloud-disk-controller:v1.12.6.21-54d91d6-aliyun

这里提到的这个版本v1.12.6.21-54d91d6-aliyun可以用

@jovizhangwei
Copy link
Contributor

镜像版本号:v1.14.8.31-c643bb89-aliyun
我用的是Serverless K8s,所以安装了这个版本(PS:这个仓库里的版本没问题),上面这个版本用起来老是显式无法操作XX区域的磁盘。我就记得这些。

可以在storageClass中指定zone信息,参考:https://help.aliyun.com/document_detail/130594.html?spm=a2c4g.11174283.6.711.1aad2ceeIfZ5TY

@jovizhangwei
Copy link
Contributor

$  kubectl logs -n kube-system alicloud-disk-controller-58bfd8df59-8fbpl
time="2019-12-28T13:51:39Z" level=error msg="Create Disk error: Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
E1228 13:51:39.803297       1 controller.go:903] Failed to provision volume for claim "default/pvc-essd" with StorageClass "alicloud-disk-essd": Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.
E1228 13:51:39.803401       1 goroutinemap.go:165] Operation for "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]" failed. No retries permitted until 2019-12-28 13:51:47.803368063 +0000 UTC m=+68.310809517 (durationBeforeRetry 8s). Error: "Aliyun API Error: RequestId: E832EDEC-553A-41DB-99B6-ADDEFC0E9B7C Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
I1228 13:51:54.545897       1 controller.go:1175] scheduleOperation[provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]]
time="2019-12-28T13:51:54Z" level=info msg="Create Disk by PVC: pvc-essd, PVC-Define: {{ } {pvc-essd  default /api/v1/namespaces/default/persistentvolumeclaims/pvc-essd 0b1a37dc-2979-11ea-a5e3-8aa95aae7a23 5731524 0 2019-12-28 13:50:44 +0000 UTC <nil> <nil> map[] map[volume.beta.kubernetes.io/storage-provisioner:alicloud/disk] [] nil [kubernetes.io/pvc-protection] } {[ReadWriteOnce] nil {map[] map[storage:{{21474836480 0} {<nil>} 20Gi BinarySI}]}  0xc0003ba5c0 <nil> <nil>} {Pending [] map[] []}}, Parameters: map[type:cloud_essd]"
time="2019-12-28T13:51:54Z" level=error msg="Create Disk error: Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
E1228 13:51:54.831525       1 controller.go:903] Failed to provision volume for claim "default/pvc-essd" with StorageClass "alicloud-disk-essd": Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.
E1228 13:51:54.831615       1 goroutinemap.go:165] Operation for "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]" failed. No retries permitted until 2019-12-28 13:52:10.83157818 +0000 UTC m=+91.339019644 (durationBeforeRetry 16s). Error: "Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records."
I1228 13:52:09.546033       1 controller.go:1175] scheduleOperation[provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]]
E1228 13:52:09.546069       1 controller.go:1182] Error scheduling operaion "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]": Failed to create operation with name "provision-default/pvc-essd[0b1a37dc-2979-11ea-a5e3-8aa95aae7a23]". An operation with that name failed at 2019-12-28 13:51:54.83157818 +0000 UTC m=+75.339019644. No retries permitted until 2019-12-28 13:52:10.83157818 +0000 UTC m=+91.339019644 (16s). Last error: "Aliyun API Error: RequestId: 174C299D-378E-4E38-B0AB-81CD6E164E4E Status Code: 404 Code: InvalidRegionId.NotFound Message: The RegionId provided does not exist in our records.".

Did you configured AK info in disk-controller.yaml ?

apiVersion: v1 kind: ConfigMap metadata: name: cloud-config namespace: kube-system data: special.keyid: "xxx" special.keysecret: "xxx"

@denverdino
Copy link
Contributor

You are right, there something messed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants