hashicorp / hashicorp/packer-plugin-cloudstack

CloudStack Builder limits template name to 32 characters

Đang mở
#44 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
5
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When I use packer to create a template, I get the following error if the name exceeds 32 characters:

`==> cloudstack.template: Error creating the new template XXXX XXXXXXX XXXXXXXX XXXXX XXXXX: CloudStack API error 431 (CSExceptionErrorCode: 4350): Template name cannot be null and should be less than 32 characters`

Method “public VMTemplateVO createPrivateTemplateRecord” appears to have the check:

`
String name = cmd.getTemplateName();
if ((name == null) || (name.length() > 32)) {
throw new InvalidParameterValueException("Template name cannot be null and should be less than 32 characters");
}
`

This restriction does not occur in the CloudStack UI. The size of the name column in the database is 255 chars.
``

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.