[
https://issues.apache.org/jira/browse/CLOUDSTACK-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940105#comment-14940105
]
ASF GitHub Bot commented on CLOUDSTACK-8931:
--------------------------------------------
GitHub user kansal opened a pull request:
https://github.com/apache/cloudstack/pull/907
CLOUDSTACK-8931: Fail to deploy VM instance when use.system.public.ip…
…s=false - FIXED
Root Cause Analysis:
In the present case, if the IP addresses are dedicated to the account then
on deploying the VM's with shared network (SNAT enabled), it tries to give the
IP addresses from the dedicated pool of account. Ideally it should give it from
IP's assigned for the network. Added an additional check for this.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kansal/cloudstack CLOUDSTACK-8931
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/907.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 #907
----
commit c181750e68672bc03936050c410e877f7f9521b7
Author: Kshitij Kansal <[email protected]>
Date: 2015-10-01T17:26:41Z
CLOUDSTACK-8931: Fail to deploy VM instance when
use.system.public.ips=false - FIXED
----
> Fail to deploy VM instance when use.system.public.ips=false
> -----------------------------------------------------------
>
> Key: CLOUDSTACK-8931
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8931
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Kshitij Kansal
>
> REPRO STEPS
> 1. Create a Shared network with SNAT service offering.
> 2. Assigned a public IP range to a user.
> 3. Created a domain scoped Shared network with the new service offering.
> The user should be under the domain above.
> 4. As a user Acquired Public IP addresses from new shared network.
> 5. Logon as user and deploy a VM instance encounter below error:
> Status: Insufficient address capacity
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)