cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitesh Sarda (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9981) Regression occurs after upgrading to 4.10 while registering a template.
Date Mon, 03 Jul 2017 05:59:00 GMT


Nitesh Sarda commented on CLOUDSTACK-9981:

Raise a PR for this issue. Following are the details :

> Regression occurs after upgrading to 4.10 while registering a template.
> -----------------------------------------------------------------------
>                 Key: CLOUDSTACK-9981
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitesh Sarda
> When an environment is upgraded to 4.10, then while registering template for a zone from
cloudstack UI will fail if it is created in older version(before 3.x). 
> This bug got introduced with the PR#1894 for CLOUDSTACK-9700. In this PR a new parameter
‘zoneIds’ was added to the registerTemplate api and is marked with the ‘since’ attribute
as ‘’. since attribute is suppose to provide version for the containing data,
not about when parameter was introduced. Although the parameter was introduced in 4.10, but
it can contain the information from earlier version, thus it is wrongly marked here as ‘’.
> This issue occurs because zones from older version have UUID parameter value as Integer,
whereas higher version zones have fixed format. So while fetching the ZoneIds for installing
templates, parsing for UUID with integer value fails and hence template is not installed.
> Fix :
> For the sake of backward compatibility, along with UUID, integer is also being parsed
while retrieving ZoneId for the installing templates. Integer value of UUID cannot be converted
into the fixed format because this value is used as a hard coded value in few automation scripts
which runs locally for some customers. Hence, "since" attribute should be removed from a parameter
command for ZoneIds.   

This message was sent by Atlassian JIRA

View raw message