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

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

Commit 3d213b66e78f4a11af4847dbec41c4bae0c50586 in cloudstack's branch 
refs/heads/master from [~remibergsma]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3d213b6 ]

Merge pull request #916 from kansal/CLOUDSTACK-8940

CLOUDSTACK-8940: Wrong value is inserted into nics table netmask field when 
creating a VM - Fixed

Problem: When creating a VM in shared network with no service, the value of 
netmask is added in the table in the CIDR format unlike other cases where it is 
added as normal string in the format xxx.xxx.xxx.xxx. The netmask column in the 
nics table has a length of 15 chars which gets violated if the CIDR exceeds 
it(Max CIDR length can be 18).

Fix: Before storing the netmask convert from CIDR to native format.

* pr/916:
  CLOUDSTACK-8940: Wrong value is inserted into nics table netmask field when 
creating a VM - Fixed

Signed-off-by: Remi Bergsma <git...@remi.nl>


> Wrong value is inserted into nics table netmask field when creating a VM
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8940
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8940
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Kshitij Kansal
>            Priority: Critical
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to