tatay188 commented on issue #11825: URL: https://github.com/apache/cloudstack/issues/11825#issuecomment-3392610178
@ustcweizhou I marked in bold What I think maybe the cause, But I have a lot of resources available, And where do I run the reservation if I am missing something that is not in the manual ? cmk you mean cloudmonkey? we are not allowing APIs for now. ERROR LOGS: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. java.lang.NullPointerException: Cannot invoke "com.cloud.vm.DomainRouterVO.getPrivateIpAddress()" because "router" is null at com.cloud.network.router.RouterControlHelper.getRouterControlIp(RouterControlHelper.java:62) at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.fetchAndUpdateRouterHealthChecks(VirtualNetworkApplianceManagerImpl.java:1463) at com.cloud.network.router.VirtualNetworkApplianceManagerImpl$FetchRouterHealthChecksResultTask.runInContext(VirtualNetworkApplianceManagerImpl.java:1171) 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 java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) 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) SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. MANAGEMENT LOGS: 2025-10-10 23:19:55,721 DEBUG [c.c.a.ApiServlet] (qtp1404565079-316530:[ctx-a68ae162]) (logid:5789468d) ===START=== 192.168.168.10 -- GET projectid=17bc80e9-2611-4b81-a37b-9325645fb139&start=true&zoneid=c4ca80dc-c218-4242-89e4-ec2e438cefa6&vpcofferingid=40cee661-36ea-4c88-bdaa-c3b4dd0e56d0&name=Routed-Services&displaytext=Routed-Services&cidr=29&dns1=8.8.8.8&dns2=8.8.4.4&command=createVPC&response=json&sessionkey=G32edL1hLFakYAif2V475VdTLZI 2025-10-10 23:19:55,721 DEBUG [c.c.a.ApiServlet] (qtp1404565079-316530:[ctx-a68ae162]) (logid:5789468d) Two factor authentication is already verified for the user 31, so skipping 2025-10-10 23:19:55,736 DEBUG [c.c.a.ApiServer] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) CIDRs from which account 'Account [{"accountName":"domainadmin","id":xx,"uuid":"32xxxxxxxxx-c4f1-4811-ae9c-250856c92a03"}]' is allowed to perform API calls: 0.0.0.0/0,::/0 2025-10-10 23:19:55,753 INFO [o.a.c.a.ProjectRoleBasedApiAccessChecker] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Account [domainadmin] **_is Root Admin or Domain Admin, all APIs are allowed_**. 2025-10-10 23:19:55,753 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker. 2025-10-10 23:19:55,753 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) API rate limiting is disabled. We will not use ApiRateLimitService. 2025-10-10 23:19:55,757 DEBUG [o.a.c.a.c.u.v.CreateVPCCmd] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) **Ignoring parameter fordisplay as the caller is not authorized to pass it in** 2025-10-10 23:19:55,778 DEBUG [o.a.c.h.H.HAManagerBgPollTask] (BackgroundTaskPollManager-6:[ctx-d90a392b]) (logid:484c05d2) HA health check task is running... 2025-10-10 23:19:55,781 DEBUG [c.c.u.AccountManagerImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Access to Account [{"accountName":"PrjAcct-Services-9","id":61,"uuid":"2c83ba27-047a-47c3-b23d-e4a6b74c267a"}] granted to Account [{"accountName":"domainadmin","id":53,"uuid":"32313560-c4f1-4811-ae9c-250856c92a03"}] by DomainChecker on behalf of user domainadmin 2025-10-10 23:19:55,789 DEBUG [o.a.c.a.c.u.v.CreateVPCCmd] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Ignoring parameter fordisplay as the caller is not authorized to pass it in 2025-10-10 23:19:55,799 DEBUG [c.c.u.AccountManagerImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Access to Account [{"accountName":"PrjAcct-ParicusServices-9","id":61,"uuid":"2c83ba27-047a-47c3-b23d-e4a6b74c267a"}] granted to Account [{"accountName":"domainadmin","id":MM,"uuid":"323xxxxxxxx-c4f1-4811-ae9c-250856c92a03"}] by DomainChecker on behalf of user domainadmin 2025-10-10 23:19:55,832 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Checking if amount of resources of Type = 'vpc', tag = 'null' for Project Name = RoutedServices in Domain Id = 9 is exceeded: Account Resource Limit = 20, Current Account Resource Amount = 0, Current Account Resource Reservation = 0, Requested Resource Amount = 1. 2025-10-10 23:19:55,841 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Checking if domain resource limits of Type 'vpc' for Domain Id = d8af5115-3900-4900-855d-a8fb770b3b9c is exceeded: Domain Resource Limit = -1, Current Domain Resource Amount = 1, Current Resource Reservation = 0, Requested Resource Amount = 1. 2025-10-10 23:19:55,854 DEBUG [c.c.u.AccountManagerImpl] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Access granted to Account [{"accountName":"PrjAcct-Services-9","id":61,"uuid":"2c83ba27-047a-47c3-b23d-e4a6b74c267a"}] to VPCOffering {"id":37,"name":"VPC IPv4 - Dynamic Route","uuid":"40cee661-36ea-4c88-bdaa-c3b4dd0e56d0"} by AffinityGroupAccessChecker 2025-10-10 23:19:55,884 INFO [c.c.a.ApiServer] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) Only root admin can set the gateway/netmask of VPC with ROUTED mode 2025-10-10 23:19:55,886 DEBUG [c.c.a.ApiServlet] (qtp1404565079-316530:[ctx-a68ae162, ctx-a42ca221]) (logid:5789468d) ===END=== 192.168.168.10 -- GET projectid=17bc80e9-2611-4b81-a37b-9325645fb139&start=true&zoneid=c4ca80dc-c218-4242-89e4-ec2e438cefa6&vpcofferingid=40cee661-36ea-4c88-bdaa-c3b4dd0e56d0&name=Carrier-Routed-Services&displaytext=Carrier-Routed-Services&cidr=29&dns1=8.8.8.8&dns2=8.8.4.4&command=createVPC&response=json&sessionkey=G32edL1hLFakYAif2V475VdTLZI 2025-10-10 23:41:17,407 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp1404565079-316800:[ctx-101513b1, ctx-db8b9768]) (logid:6b3765e8) Checking if amount of resources of Type = 'vpc', tag = 'null' for Project Name = RoutedServices in **Domain Id = 9 is exceeded: Account Resource Limit = 20, Current Account Resource Amount = 0, Current Account Resource Reservation = 0, Requested Resource Amount = 1.** 2025-10-10 23:41:17,415 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp1404565079-316800:[ctx-101513b1, ctx-db8b9768]) (logid:6b3765e8) Checking if domain resource limits of Type 'vpc' for Domain Id = d8af5115-3900-4900-855d-a8fb770b3b9c **is exceeded: Domain Resource Limit = -1, Current Domain Resource Amount = 1, Current Resource Reservation = 0**, Requested Resource Amount = 1. 2025-10-10 23:41:17,430 DEBUG [c.c.u.AccountManagerImpl] (qtp1404565079-316800:[ctx-101513b1, ctx-db8b9768]) (logid:6b3765e8) Access granted to Account [{"accountName":"PrjAcct-Services-9","id":61,"uuid":"2c83ba27-047a-47c3-b23d-e4a6b74c267a"}] to VPCOffering {"id":37,"name":"VPC IPv4 - Dynamic Route","uuid":"40cee661-36ea-4c88-bdaa-c3b4dd0e56d0"} by AffinityGroupAccessChecker 2025-10-10 23:41:17,454 INFO [c.c.a.ApiServer] (qtp1404565079-316800:[ctx-101513b1, ctx-db8b9768]) (logid:6b3765e8) **VPC cidr and cidr size are mutually exclusive** 2025-10-10 23:41:17,456 DEBUG [c.c.a.ApiServlet] (qtp1404565079-316800:[ctx-101513b1, ctx-db8b9768]) (logid:6b3765e8) ===END=== 192.168.168.10 -- GET projectid=17bc80e9-2611-4b81-a37b-9325645fb139&start=true&zoneid=c4ca80dc-c218-4242-89e4-ec2e438cefa6&vpcofferingid=40cee661-36ea-4c88-bdaa-c3b4dd0e56d0&name=Carrier-Routed-Services&displaytext=Routed-Services&cidr=29&dns1=8.8.8.8&dns2=8.8.4.4&cidrsize=29&command=createVPC&response=json&sessionkey=G32edL1hLFakYAif2V475VdTLZI That is all. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
