[
https://issues.apache.org/jira/browse/CLOUDSTACK-9016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984884#comment-14984884
]
ASF GitHub Bot commented on CLOUDSTACK-9016:
--------------------------------------------
GitHub user bvbharatk opened a pull request:
https://github.com/apache/cloudstack/pull/1020
CLOUDSTACK-9016 Fail to create VM instance within VPC
bug link https://issues.apache.org/jira/browse/CLOUDSTACK-9016.
CS doe not allocate the ip of the form x.x.x.1 to a guest VM. We seem to
incorrectly assume that the first ip in the subnet belongs to the gateway.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bvbharatk/cloudstack CLOUDSTACK-9016
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1020.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1020
----
commit 475fc38481d55a846150937c126b91d1b0879bcb
Author: Bharat Kumar <[email protected]>
Date: 2015-10-07T11:05:28Z
CLOUDSTACK-9016 Fail to create VM instance within VPC
----
> Fail to create VM instance within VPC
> --------------------------------------
>
> Key: CLOUDSTACK-9016
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9016
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.6.0
> Reporter: Sanjeev N
> Priority: Critical
>
> REPRO STEPS
> ==================
> 1. Create a VPC with
> i) Super CIDR for Guest Networks: 192.168.1.0/24
> 2. Create network "HTTP Server"
> i) Network Offering: DefaultIsolatedNetworkOfferingForVPCNetworks"
> ii) Gateway: 192.168.1.6
> iiI) Netmask: 255.255.255.248
> 3. Deploy 4 VM instance succeed, unable to create 5th vm.
> If we set Gateway to 192.168.1.1, it works fine.
> Root Cause:
> ===========
> CS is not allocating the first IP address in the CIDR to guest vm. It treats
> that IP address as gateway IP address.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)