hashicorp / hashicorp/packer-plugin-cloudstack

CloudStack Builder limits template name to 32 characters

オープン
#44 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
5
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

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.
``

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。