Hello,
When a VPC is created, Apache CloudStack assigns a public IP as the VPC's
source NAT IP. During this workflow, an
`InsufficientAddressCapacityException` was thrown, indicating that it was
not possible to acquire an available public IP. Have you checked if there
are any public IPs available?
It's also important to consider the possibility of having public IPs
reserved to a specific account and public IP ranges (configured on the
zones `Public` traffic type section) reserved to system VMs and to accounts.
Hope it helps,
Bernardo De Marco Gonçalves (bernardodemarco)
Em qua., 19 de mar. de 2025 às 07:06, TechnologyRss <
technologyrss.m...@gmail.com> escreveu:
> Hello,
> Can't create vpc. ACS version 4.19.1.3.
>
> error log from mgmt server.
>
> 2025-03-19 11:02:12,338 INFO [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-8:ctx-46d8250c job-194) (logid:6049f168) Add job-194 into
> job monitoring
> 2025-03-19 11:02:12,341 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (qtp660017404-1014:ctx-474aa0fe ctx-cfd1724c) (logid:3d62917f) submit async
> job-194, details: AsyncJobVO: {id:194, userId: 2, accountId: 2,
> instanceType: None, instanceId: 18, cmd:
> org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin, cmdInfo:
>
> {"dns2":"8.8.8.8","dns1":"8.8.4.4","sessionkey":"pkucOFvBFofHYHMOa7AvhNwXC2M","start":"true","httpmethod":"GET","ctxAccountId":"2","uuid":"a8ca9da2-13c0-491b-ad81-7f37e37b52cd","cmdEventType":"VPC.CREATE","vpcofferingid":"8e871618-f0e8-42b8-839c-1894f82bd222","displaytext":"vpc","response":"json","ctxUserId":"2","name":"vpc","zoneid":"971bcf5b-c8d3-4900-9f22-bc861eca1a1b","cidr":"
> 10.0.0.0/16","ctxStartEventId":"585","id":"18","ctxDetails":"{\"interface
>
> com.cloud.dc.DataCenter\":\"971bcf5b-c8d3-4900-9f22-bc861eca1a1b\",\"interface
>
> com.cloud.network.vpc.Vpc\":\"a8ca9da2-13c0-491b-ad81-7f37e37b52cd\",\"interface
>
> com.cloud.network.vpc.VpcOffering\":\"8e871618-f0e8-42b8-839c-1894f82bd222\"}"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 95539006412, completeMsid: null, lastUpdated: null,
> lastPolled: null, created: null, removed: null}
> 2025-03-19 11:02:12,342 DEBUG [c.c.a.m.AgentManagerImpl]
> (AgentManager-Handler-9:null) (logid:) SeqA 4-15519: Sending Seq 4-15519:
> { Ans: , MgmtId: 95539006412, via: 4, Ver: v1, Flags: 100010,
>
> [{"com.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
> }
> 2025-03-19 11:02:12,344 DEBUG [c.c.a.ApiServlet]
> (qtp660017404-1014:ctx-474aa0fe ctx-cfd1724c) (logid:3d62917f) ===END===
> 103.138.190.230 -- GET
>
>
> start=true&zoneid=971bcf5b-c8d3-4900-9f22-bc861eca1a1b&vpcofferingid=8e871618-f0e8-42b8-839c-1894f82bd222&name=vpc&displaytext=vpc&cidr=10.0.0.0%2F16&dns1=8.8.4.4&dns2=8.8.8.8&command=createVPC&response=json&sessionkey=pkucOFvBFofHYHMOa7AvhNwXC2M
> 2025-03-19 11:02:12,346 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-8:ctx-46d8250c job-194) (logid:7ab88eb2) Executing
> AsyncJobVO: {id:194, userId: 2, accountId: 2, instanceType: None,
> instanceId: 18, cmd:
> org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin, cmdInfo:
>
> {"dns2":"8.8.8.8","dns1":"8.8.4.4","sessionkey":"pkucOFvBFofHYHMOa7AvhNwXC2M","start":"true","httpmethod":"GET","ctxAccountId":"2","uuid":"a8ca9da2-13c0-491b-ad81-7f37e37b52cd","cmdEventType":"VPC.CREATE","vpcofferingid":"8e871618-f0e8-42b8-839c-1894f82bd222","displaytext":"vpc","response":"json","ctxUserId":"2","name":"vpc","zoneid":"971bcf5b-c8d3-4900-9f22-bc861eca1a1b","cidr":"
> 10.0.0.0/16","ctxStartEventId":"585","id":"18","ctxDetails":"{\"interface
>
> com.cloud.dc.DataCenter\":\"971bcf5b-c8d3-4900-9f22-bc861eca1a1b\",\"interface
>
> com.cloud.network.vpc.Vpc\":\"a8ca9da2-13c0-491b-ad81-7f37e37b52cd\",\"interface
>
> com.cloud.network.vpc.VpcOffering\":\"8e871618-f0e8-42b8-839c-1894f82bd222\"}"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 95539006412, completeMsid: null, lastUpdated: null,
> lastPolled: null, created: null, removed: null}
> 2025-03-19 11:02:12,425 DEBUG [o.a.c.n.r.d.RouterDeploymentDefinition]
> (API-Job-Executor-8:ctx-46d8250c job-194 ctx-748f2777) (logid:7ab88eb2)
> Verifying router service offering with uuid :
> 2025-03-19 11:02:12,427 DEBUG [o.a.c.n.r.d.RouterDeploymentDefinition]
> (API-Job-Executor-8:ctx-46d8250c job-194 ctx-748f2777) (logid:7ab88eb2)
> Verifying router service offering with uuid :
> 2025-03-19 11:02:12,440 DEBUG [c.c.n.IpAddressManagerImpl]
> (API-Job-Executor-8:ctx-46d8250c job-194 ctx-748f2777) (logid:7ab88eb2)
> lock account 2 is acquired
> 2025-03-19 11:02:12,451 WARN [c.c.n.IpAddressManagerImpl]
> (API-Job-Executor-8:ctx-46d8250c job-194 ctx-748f2777) (logid:7ab88eb2)
> Unable to get ip address in zone id=1, vlanId id=[1, 7]
> 2025-03-19 11:02:12,453 DEBUG [c.c.u.d.T.Transaction]
> (API-Job-Executor-8:ctx-46d8250c job-194 ctx-748f2777) (logid:7ab88eb2)
> Rolling back t