You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/06/11 08:44:20 UTC

[jira] [Commented] (CLOUDSTACK-2891) Management server gets stuck when we try to add only a single vlan as a range , ex- try to add 615-615

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680252#comment-13680252 ] 

ASF subversion and git services commented on CLOUDSTACK-2891:
-------------------------------------------------------------

Commit 7b63894a0a2226c16de6ce2eaa5aa6f62746026c in branch refs/heads/master from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7b63894 ]

CLOUDSTACK-2891. While adding a new vlan range if the new range extends an existing range then CS extends the existing range to include the new range.
This is done by checking if the last vlan in the new range is same as the start vlan of any existing range.
Since for a single vlan the start and the end vlan are the same the check goes to an infinite loop resulting in a java.lang.OutOfMemoryError: Java heap space error.
Remove the check for a single vlan because if an existing range starts with the single vlan then it implies that the range already exists

                
> Management server gets stuck when we try to add only a single vlan as a range , ex- try to add 615-615
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2891
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2891
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: Abhinav Roy
>            Assignee: Likitha Shetty
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Steps :
> =============================
> 1. Deploy a CS setup with advanced network zone.
> 2. Goto Infrastructure -> Zone -> Zone-1 -> Physical Network -> Guest and try to add a vlan range like 100-100 or 200-200 or anything like that
> or 
> Fire this api :   http://10.102.192.125:8096/client/api?command=updatePhysicalNetwork&id=200&vlan=100-100
> Observed behaviour :
> ============================
> 1. The UI gets stuck and we need to restart management server to get it to a working state.
> 2. In the Logs the queryAsyncJobResult API keeps querying the job for a very long time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira