You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "KuasarCloud (via GitHub)" <gi...@apache.org> on 2025/09/22 23:23:12 UTC

[D] Unable to configure higher threshold for public IP usage [cloudstack]

GitHub user KuasarCloud created a discussion: Unable to configure higher threshold for public IP usage

Hi team,

I’ve reached 85% usage of my public IPs, but I haven’t been able to find an option in the Global Configuration to adjust the threshold. Ideally, I’d like to set it to at least 90%.

Is there a way to configure this, or is the threshold value fixed?

Thanks in advance!

GitHub link: https://github.com/apache/cloudstack/discussions/11698

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Unable to configure higher threshold for public IP usage

@KuasarCloud Below global setting parameters should address your issue (may require management server restart for the changes to take effect)

zone.virtualnetwork.publicip.capacity.notificationthreshold
zone.directnetwork.publicip.capacity.notificationthreshold


GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14487523

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Unable to configure higher threshold for public IP usage

@KuasarCloud  All the public IP's are maintained user_ip_address table and as per the query output you shared there are free IP's. 

_>>I think it's because the free IP are for the System Pool,_

This could be the issue.. Did you dedicate or reserve public IP's for systemVM's? Can you share the output of below queries 

select count(*) from user_ip_address where allocated is null and state='Free' and data_center_id=2 and forsystemvms=1;
select count(*) from user_ip_address where allocated is null and state='Free' and data_center_id=2 and forsystemvms=0;
select count(*) from user_ip_address where allocated is null and state='Free' and data_center_id=2;

If query 2 returns count as 0 then you have no public IP's for user networks consumption. You will need to add more IP's.

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14572573

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Thanks @rajujith 

MariaDB [cloud]> select count(*) from user_ip_address where allocated is null and state='Free' and data_center_id=2;
+----------+
| count(*) |
+----------+
|       14 |
+----------+

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14526560

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

I think it's because the free IP are for the System Pool, not usable for users VPCs

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14567922

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Hi @prashanthr2, 

Please follow the error I'm getting. This is from the public IP range in the the public traffic type. Only happens when reaching 85% of that pool of IPs

`2025-09-23 15:57:16,047 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-2:[ctx-aa9893e9, job-53352, ctx-097236bd]) (logid:289a8fbf) Failed to start vpc VPC {"id":188,"name":"test","uuid":"66cb779f-3ce3-4686-9b16-892679203f0c"} due to com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface com.cloud.dc.DataCenter; id=2
	at com.cloud.network.IpAddressManagerImpl.listAvailablePublicIps(IpAddressManagerImpl.java:1008)
	at com.cloud.network.IpAddressManagerImpl.fetchNewPublicIp(IpAddressManagerImpl.java:858)
	at com.cloud.network.IpAddressManagerImpl.fetchNewPublicIp(IpAddressManagerImpl.java:850)
	at com.cloud.network.IpAddressManagerImpl$3.doInTransaction(IpAddressManagerImpl.java:1152)
	at com.cloud.network.IpAddressManagerImpl$3.doInTransaction(IpAddressManagerImpl.java:1123)
	at com.cloud.utils.db.Transaction.execute(Transaction.java:38)
	at com.cloud.network.IpAddressManagerImpl.assignDedicateIpAddress(IpAddressManagerImpl.java:1123)
	at com.cloud.network.vpc.VpcManagerImpl.assignSourceNatIpAddressToVpc(VpcManagerImpl.java:3357)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
	at jdk.proxy3/jdk.proxy3.$Proxy197.assignSourceNatIpAddressToVpc(Unknown Source)
	at org.apache.cloudstack.network.router.deployment.VpcRouterDeploymentDefinition.findSourceNatIP(VpcRouterDeploymentDefinition.java:132)
	at org.apache.cloudstack.network.router.deployment.RouterDeploymentDefinition.executeDeployment(RouterDeploymentDefinition.java:388)
	at org.apache.cloudstack.network.router.deployment.RouterDeploymentDefinition.findOrDeployVirtualRouter(RouterDeploymentDefinition.java:251)
	at org.apache.cloudstack.network.router.deployment.VpcRouterDeploymentDefinition.findOrDeployVirtualRouter(VpcRouterDeploymentDefinition.java:157)
	at org.apache.cloudstack.network.router.deployment.RouterDeploymentDefinition.deployVirtualRouter(RouterDeploymentDefinition.java:217)
	at com.cloud.network.element.VpcVirtualRouterElement.implementVpc(VpcVirtualRouterElement.java:165)
	at com.cloud.network.vpc.VpcManagerImpl.startVpc(VpcManagerImpl.java:1955)
	at com.cloud.network.vpc.VpcManagerImpl.startVpc(VpcManagerImpl.java:1916)
	at com.cloud.network.vpc.VpcManagerImpl.startVpc(VpcManagerImpl.java:1945)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:105)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
	at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
	at jdk.proxy3/jdk.proxy3.$Proxy197.startVpc(Unknown Source)
	at org.apache.cloudstack.api.command.user.vpc.CreateVPCCmd.execute(CreateVPCCmd.java:227)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
	at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:652)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:600)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)`

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14515754

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Unable to configure higher threshold for public IP usage

@KuasarCloud  I tested in my lab earlier today and I was able to acquire all the IP's irrespective of the setting. In my case it only generated alert once I crossed the threshold defined. 

Are you trying to acquire the IP's as a user? Have you ruled out any quota issues?Also, What is the version of cloudstack being used 

If possible reproduce the issue share complete management server log.

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14512962

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Unable to configure higher threshold for public IP usage

@KuasarCloud  As per your last response you do have free IP's. However, the log suggests it cannot find a public IP during VPC creation.

Can you please send the full management server log we will need to go through the complete log/job to get to the bottom of this.

Just a FYI, AFAIK there is no setting or config in cloudstack that will restrict assignments of public IP's once it hits a threshold. Looks like something else is happening here.

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14540482

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Hi @prashanthr2, this is complete logid

`sudo cat /var/log/cloudstack/management/management-server.log |grep 1a42b6a5
2025-10-01 16:59:59,595 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1390913202-24:[ctx-96b0833e, ctx-8bbd79a2]) (logid:fb8d0988) submit async job-53744, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin","cmdInfo":"{\"sessionkey\":\"tSWxOjqN17FRLnqqhJNNmf_P7E4\",\"start\":\"true\",\"httpmethod\":\"GET\",\"ctxAccountId\":\"2\",\"uuid\":\"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b\",\"cmdEventType\":\"VPC.CREATE\",\"vpcofferingid\":\"58f2562a-5efc-4db1-8adc-c3dae8a794a3\",\"displaytext\":\"test\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"test\",\"zoneid\":\"d8b68128-960f-474e-9902-5fb7b9370d7b\",\"cidr\":\"10.10.0.0\/16\",\"ctxStartEventId\":\"998320\",\"id\":\"194\",\"ctxDetails\":\"{\\\"interface com.cloud.network.vpc.Vpc\\\":\\\"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"d8b68128-960f-474e-9902-5fb7b9370d7b\\\",\\\"interface com.cloud.network.vpc.VpcOffering\\\":\\\"58f2562a-5efc-4
 db1-8adc-c3dae8a794a3\\\",\\\"interface com.cloud.projects.Project\\\":\\\"f8d476da-9d78-47e0-be78-996f434a5328\\\"}\",\"projectid\":\"f8d476da-9d78-47e0-be78-996f434a5328\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":53744,"initMsid":2199211933721,"instanceId":194,"instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"1a42b6a5-c643-470c-93d5-d4d569b69796"}
2025-10-01 16:59:59,596 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin","cmdInfo":"{\"sessionkey\":\"tSWxOjqN17FRLnqqhJNNmf_P7E4\",\"start\":\"true\",\"httpmethod\":\"GET\",\"ctxAccountId\":\"2\",\"uuid\":\"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b\",\"cmdEventType\":\"VPC.CREATE\",\"vpcofferingid\":\"58f2562a-5efc-4db1-8adc-c3dae8a794a3\",\"displaytext\":\"test\",\"response\":\"json\",\"ctxUserId\":\"2\",\"name\":\"test\",\"zoneid\":\"d8b68128-960f-474e-9902-5fb7b9370d7b\",\"cidr\":\"10.10.0.0\/16\",\"ctxStartEventId\":\"998320\",\"id\":\"194\",\"ctxDetails\":\"{\\\"interface com.cloud.network.vpc.Vpc\\\":\\\"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b\\\",\\\"interface com.cloud.dc.DataCenter\\\":\\\"d8b68128-960f-474e-9902-5fb7b9370d7b\\\",\\\"interface com.cloud.network.vpc.VpcOffering\\\":\\\"58f2562a-5efc-4db1-8adc-c3dae8a794a3
 \\\",\\\"interface com.cloud.projects.Project\\\":\\\"f8d476da-9d78-47e0-be78-996f434a5328\\\"}\",\"projectid\":\"f8d476da-9d78-47e0-be78-996f434a5328\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":53744,"initMsid":2199211933721,"instanceId":194,"instanceType":"None","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"1a42b6a5-c643-470c-93d5-d4d569b69796"}
2025-10-01 16:59:59,637 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-86a69b38]) (logid:1c2ef1ed) ===START===  10.1.2.2 -- GET  jobId=1a42b6a5-c643-470c-93d5-d4d569b69796&command=queryAsyncJobResult&response=json&sessionkey=tSWxOjqN17FRLnqqhJNNmf_P7E4&projectid=f8d476da-9d78-47e0-be78-996f434a5328
2025-10-01 16:59:59,671 DEBUG [o.a.c.n.r.d.VpcRouterDeploymentDefinition] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Verifying router service offering with uuid : 7f3b1a33-a562-4520-b2d1-70836d964b18
2025-10-01 16:59:59,675 DEBUG [o.a.c.n.r.d.VpcRouterDeploymentDefinition] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Service offering Service offering {"id":60,"name":"Kuasar Basic Virtual Router Offering","uuid":"7f3b1a33-a562-4520-b2d1-70836d964b18"}. will be used on virtual router
2025-10-01 16:59:59,680 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-86a69b38, ctx-de980158]) (logid:1c2ef1ed) ===END===  10.1.2.2 -- GET  jobId=1a42b6a5-c643-470c-93d5-d4d569b69796&command=queryAsyncJobResult&response=json&sessionkey=tSWxOjqN17FRLnqqhJNNmf_P7E4&projectid=f8d476da-9d78-47e0-be78-996f434a5328
2025-10-01 16:59:59,685 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) lock account Account [{"accountName":"PrjAcct-61b0cf2797f7a27e92298e45-2","id":31,"uuid":"ba450bc1-8d8c-45e8-a5f3-60c2a955f375"}] is acquired
2025-10-01 16:59:59,705 WARN  [c.c.n.IpAddressManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Unable to get ip address in  zone id=2, vlanId id=[4, 6], vlanId id=[2]
2025-10-01 16:59:59,707 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Rolling back the transaction: Time = 26 Name =  API-Job-Executor-72; called by -TransactionLegacy.rollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:36-IpAddressManagerImpl.assignDedicateIpAddress:1123-VpcManagerImpl.assignSourceNatIpAddressToVpc:3357-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:77-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:569-AopUtils.invokeJoinpointUsingReflection:344-ReflectiveMethodInvocation.invokeJoinpoint:198
2025-10-01 16:59:59,708 DEBUG [c.c.n.IpAddressManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Releasing lock account Account [{"accountName":"PrjAcct-61b0cf2797f7a27e92298e45-2","id":31,"uuid":"ba450bc1-8d8c-45e8-a5f3-60c2a955f375"}]
2025-10-01 16:59:59,713 ERROR [c.c.n.IpAddressManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Unable to get source nat ip address for account Account [{"accountName":"PrjAcct-61b0cf2797f7a27e92298e45-2","id":31,"uuid":"ba450bc1-8d8c-45e8-a5f3-60c2a955f375"}]
2025-10-01 16:59:59,719 DEBUG [o.a.c.n.r.d.VpcRouterDeploymentDefinition] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Lock is released for vpc [id: 194] (VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"}) as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(2)-Pod(null)-Cluster(null)-Host(null)-Storage()]
2025-10-01 16:59:59,719 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Failed to start vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} due to com.cloud.exception.InsufficientAddressCapacityException: Insufficient address capacityScope=interface com.cloud.dc.DataCenter; id=2
2025-10-01 16:59:59,720 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Destroying vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} that failed to start
2025-10-01 16:59:59,720 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Destroying vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"}
2025-10-01 16:59:59,723 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Updating VPC VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} with state Inactive as a part of vpc delete
2025-10-01 16:59:59,726 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Updating resource Type = vpc count for Account = 31 Operation = decreasing Amount = 1
2025-10-01 16:59:59,739 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Shutting down vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"}
2025-10-01 16:59:59,748 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} has been shutdown successfully
2025-10-01 16:59:59,749 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Cleaning up resources for vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"}
2025-10-01 16:59:59,749 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Cleaning up existed site to site VPN connections
2025-10-01 16:59:59,750 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Cleaning up existed site to site VPN gateways
2025-10-01 16:59:59,753 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Releasing ips for vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} as a part of vpc cleanup
2025-10-01 16:59:59,753 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Released ip addresses for vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} as a part of cleanup vpc process
2025-10-01 16:59:59,755 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Found 0 to revoke for the vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"}
2025-10-01 16:59:59,774 DEBUG [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} is destroyed successfully
2025-10-01 16:59:59,783 WARN  [c.c.n.v.VpcManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Successfully destroyed vpc VPC {"id":194,"name":"test","uuid":"993ab48f-cf1e-42a1-9ed5-2ac5d3c5928b"} that failed to start
2025-10-01 16:59:59,783 WARN  [o.a.c.m.w.WebhookServiceImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Skipping delivering event Event {"description":"{\"event\":\"VPC.CREATE\",\"status\":\"Completed\"}","eventId":null,"eventType":"VPC.CREATE","eventUuid":null,"resourceType":"Vpc","resourceUUID":null} to any webhook as account ID is missing
2025-10-01 16:59:59,783 WARN  [o.a.c.f.e.EventDistributorImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744, ctx-1cf995dd]) (logid:1a42b6a5) Failed to publish event [category: ActionEvent, type: VPC.CREATE] on bus webhookEventBus
2025-10-01 16:59:59,808 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Complete async job-53744, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Failed to create VPC"}
2025-10-01 16:59:59,810 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Publish async job-53744 complete on message bus
2025-10-01 16:59:59,810 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Wake up jobs related to job-53744
2025-10-01 16:59:59,810 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Update db status for job-53744
2025-10-01 16:59:59,812 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Wake up jobs joined with job-53744 and disjoin all subjobs created from job- 53744
2025-10-01 16:59:59,823 DEBUG [c.c.a.ApiServer] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Retrieved cmdEventType from job info: VPC.CREATE
2025-10-01 16:59:59,829 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Done executing org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin for job-53744
2025-10-01 16:59:59,829 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-72:[ctx-3827081d, job-53744]) (logid:1a42b6a5) Remove job-53744 from job monitoring
2025-10-01 17:00:02,775 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-0d89fb03]) (logid:010da591) ===START===  10.1.2.2 -- GET  jobId=1a42b6a5-c643-470c-93d5-d4d569b69796&command=queryAsyncJobResult&response=json&sessionkey=tSWxOjqN17FRLnqqhJNNmf_P7E4&projectid=f8d476da-9d78-47e0-be78-996f434a5328
2025-10-01 17:00:02,854 DEBUG [c.c.a.ApiServlet] (qtp1390913202-23:[ctx-0d89fb03, ctx-543447b2]) (logid:010da591) ===END===  10.1.2.2 -- GET  jobId=1a42b6a5-c643-470c-93d5-d4d569b69796&command=queryAsyncJobResult&response=json&sessionkey=tSWxOjqN17FRLnqqhJNNmf_P7E4&projectid=f8d476da-9d78-47e0-be78-996f434a5328`



GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14567906

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Yes, I did. However, the zone.directnetwork.publicip.capacity.notificationthreshold was set to 75%, while my usage was already at 85%. Since the block only occurs when reaching 85%, the 75% threshold doesn’t seem to have any practical effect.

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14512899

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud closed a discussion: Unable to configure higher threshold for public IP usage

Hi team,

I’ve reached 85% usage of my public IPs, but I haven’t been able to find an option in the Global Configuration to adjust the threshold. Ideally, I’d like to set it to at least 90%.

Is there a way to configure this, or is the threshold value fixed?

Thanks in advance!

GitHub link: https://github.com/apache/cloudstack/discussions/11698

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Thanks, @prashanthr2 . I initially thought it was only for notifications, since I have it set at 75%. However, I’ve noticed that assignments are actually being blocked once usage reaches 85%.

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14488796

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
GitHub user rajujith added a comment to the discussion: Unable to configure higher threshold for public IP usage

@KuasarCloud  can you check whether there are free IPs: 
`
select count(*) from user_ip_address where allocated is null and state='Free' and data_center_id=2;`

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14517746

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

it's own explanation 
```
Zone directnetwork publicip capacity notificationthreshold (zone.directnetwork.publicip.capacity.notificationthreshold)
Percentage (as a value between 0 and 1) of Direct Network Public Ip Utilization above which alerts will be sent about low number of direct network public ips.
```

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14490683

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Unable to configure higher threshold for public IP usage

this setting should do the job, did you restart the management server(s)?

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14505602

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Unable to configure higher threshold for public IP usage [cloudstack]

Posted by "KuasarCloud (via GitHub)" <gi...@apache.org>.
GitHub user KuasarCloud added a comment to the discussion: Unable to configure higher threshold for public IP usage

Any clue community? thanks in advance

GitHub link: https://github.com/apache/cloudstack/discussions/11698#discussioncomment-14502942

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org