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

[Alibaba] Recheck the default DiskType #782

Closed
powerkimhub opened this issue Oct 4, 2022 · 1 comment
Closed

[Alibaba] Recheck the default DiskType #782

powerkimhub opened this issue Oct 4, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@powerkimhub
Copy link
Member

@MZC-CSC

[ALIBABA: cn-beijing / cn-beijing-a 에서]

  • DiskType cloud_essd의 경우 제공하지 않는 Type으로 생각됩니다.

  • Default DiskType에 대하여 ~_PLn 등 확인 및 의견 부탁 드립니다.

  • 참고

    • default/default 요청시 에러 메시지 사례
    [7:19:56 PM] curl -sX POST http://localhost:1024/spider/disk -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-beijing-config", "ReqInfo" : { "Name" : "spider-disk-02", "DiskType" : "default", "DiskSize" : "default"}}'
    [7:20:00 PM]    ==> {"message":"SDK.ServerError\nErrorCode: InvalidDataDiskCategory.NotSupported\nRecommend: https://next.api.aliyun.com/troubleshoot?q=InvalidDataDiskCategory.NotSupported\u0026product=Ecs\nRequestId: 02C0EA67-5ACD-5579-BBA8-58E6CC11910C\nMessage: the diskCategory [DiskCategoryModel(diskCategory=cloud_essd\nRespHeaders: map[Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[315] Content-Type:[application/json;charset=utf-8] Date:[Tue, 04 Oct 2022 10:19:59 GMT] X-Acs-Request-Id:[02C0EA67-5ACD-5579-BBA8-58E6CC11910C] X-Acs-Trace-Id:[40e1035b67d93bfc5883cb9c3531a419]]"}
    
    
    • cloud_essd/1024 요청시 에러 메시지 사례
    [7:10:59 PM] curl -sX POST http://localhost:1024/spider/disk -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-beijing-config", "ReqInfo" : { "Name" : "spider-disk-02", "DiskType" : "cloud_essd", "DiskSize" : "1024"}}'
    [7:11:01 PM]    ==> {"message":"SDK.ServerError\nErrorCode: InvalidDataDiskCategory.NotSupported\nRecommend: https://next.api.aliyun.com/troubleshoot?q=InvalidDataDiskCategory.NotSupported\u0026product=Ecs\nRequestId: 8DBA053A-69DC-556A-860C-FDC26648453F\nMessage: the diskCategory [DiskCategoryModel(diskCategory=cloud_essd\nRespHeaders: map[Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[315] Content-Type:[application/json;charset=utf-8] Date:[Tue, 04 Oct 2022 10:11:00 GMT] X-Acs-Request-Id:[8DBA053A-69DC-556A-860C-FDC26648453F] X-Acs-Trace-Id:[bda23db9ed5a61c987b5c0df6090b716]]"}
    
@powerkimhub powerkimhub added the enhancement New feature or request label Oct 4, 2022
powerkimhub added a commit that referenced this issue Feb 28, 2025
@powerkimhub
Copy link
Member Author

powerkimhub commented Feb 28, 2025

  • 동일 beijing Region에서도 다음과 같이 Zone별로 제공하는 DiskType이 다름

    • cn-beijing-f

Disk Type Status
cloud_efficiency Available
cloud_essd_entry Available
elastic_ephemeral_disk_standard Available
cloud_auto Available
cloud_essd Available
cloud_ssd Available
  • cn-beijing-a

Disk Type Status
cloud_efficiency Available
cloud_essd_entry Available
cloud Available
cloud_ssd Available

  • 다음처럼 현재 Zone에서 제공 가능한 DiskType을 default disktype으로 설정하도록 반영함

    • 설정 순서는 rootdisksize 설정된 disktype 순서 (in cloudos_meta.yaml)
    • 99ce18b
    • f65070c
  • 사용 test script

    • cn-beijing-f
    curl -sX POST http://localhost:1024/spider/disk -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-beijing-config", "ReqInfo" : { "Name" : "spider-disk-02", "DiskType" : "default", "DiskSize" : "default"}}' |json_pp
    
    • cn-beijing-a
    curl -sX POST http://localhost:1024/spider/disk -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-cn-beijing_cn-beijing-a-credential01", "ReqInfo" : { "Name" : "spider-disk-02", "DiskType" : "default", "DiskSize" : "default"}}' |json_pp
    

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

No branches or pull requests

2 participants