hashicorp / hashicorp/packer-plugin-cloudstack

CloudStack Builder limits template name to 32 characters

Abierto
#44 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
5
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.