You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Bharat Kumar (JIRA)" <ji...@apache.org> on 2013/02/27 17:03:13 UTC

[jira] [Comment Edited] (CLOUDSTACK-1410) Overcommit feature breaks compatibility between 4.0/4.1 management server and 4.2 agent

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

Bharat Kumar edited comment on CLOUDSTACK-1410 at 2/27/13 4:01 PM:
-------------------------------------------------------------------

Thanks for fixing this Wido
                
      was (Author: bharat.kumar):
    Thanks for fixing this widodh
                  
> Overcommit feature breaks compatibility between 4.0/4.1 management server and 4.2 agent
> ---------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1410
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1410
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM, Management Server
>    Affects Versions: 4.1.0, 4.2.0
>         Environment: Ubuntu 12.04. 4.0 management server, 4.2 agent
>            Reporter: Wido den Hollander
>            Assignee: Bharat Kumar
>             Fix For: 4.2.0
>
>
> I just updated one of my agents to the 4.2 (master) code and it failed to start the new instance.
> I got a NullPointerException on this piece of code in LibvirtComputingResource:
> ctd.setShares(vmTO.getCpus() * vmTO.getMinSpeed());
> getMinSpeed() is new, this used to be getSpeed()
> The VirtualMachineTO was however changed and getSpeed() was removed.
> A 4.0/4.1 management server however sends only the "speed" value instead of "minSpeed" and "maxSpeed".
> This leads to a 4.2 agent not working with 4.0 or 4.1 code.
> A couple of suggestions:
> - Add getSpeed() (and int speed) back to VirtualMachineTO
> - Check if getMinSpeed is empty and fall back to getSpeed if it's NULL
> Would that be a acceptable solution?

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