cloud-barista / cb-spider

CB-Spider offers a unified view and interface for multi-cloud management.
https://github.com/cloud-barista/cb-spider/wiki
Apache License 2.0
32 stars 48 forks source link

[Alibaba:VM] Error with Default RootDiskType Option When Creating VM #1149

Closed powerkimhub closed 6 months ago

powerkimhub commented 6 months ago
curl -sX POST http://localhost:1024/spider/vm -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-beijing-config", "ReqInfo" : { "Name" : "vm-01", "ImageType" : "PublicImage", "ImageName" : "ubuntu_18_04_x64_20G_alibase_20240223.vhd", "VMSpecName" : "ecs.c7.large", "VPCName" : "vpc-01", "SubnetName" : "subnet-01", "SecurityGroupNames" : ["sg-01"], "DataDiskNames" : [], "KeyPairName" : "keypair-01", "RootDiskType": "cloud_essd"}}'
curl -sX POST http://localhost:1024/spider/vm -H 'Content-Type: application/json' -d '{ "ConnectionName" : "alibaba-beijing-config", "ReqInfo" : { "Name" : "vm-01", "ImageType" : "PublicImage", "ImageName" : "ubuntu_18_04_x64_20G_alibase_20240223.vhd", "VMSpecName" : "ecs.c7.large", "VPCName" : "vpc-01", "SubnetName" : "subnet-01", "SecurityGroupNames" : ["sg-01"], "DataDiskNames" : [], "KeyPairName" : "keypair-01"}}'

[에러 메시지]

{"message":"SDK.ServerError\nErrorCode: InvalidSystemDiskCategory.ValueNotSupported\nRecommend: https://api.alibabacloud.com/troubleshoot?intl_lang=EN_US\u0026q=InvalidSystemDiskCategory.ValueNotSupported\u0026product=Ecs\u0026requestId=CFD81F97-C34D-572F-8495-FFE879EE9B99\nRequestId: CFD81F97-C34D-572F-8495-FFE879EE9B99\nMessage: The specified parameter SystemDisk.Category is not valid.\n.... 중략...
powerkimhub commented 6 months ago

[source] slack

image



[ref]

powerkimhub commented 6 months ago

@SungWoongz

powerkimhub commented 6 months ago

[default RootDiskType 선정 규칙 참고]