anjanahkarthic commented on issue #9160:
URL: https://github.com/apache/cloudstack/issues/9160#issuecomment-2143305344

   @DaanHoogland NO stacktrace  was generated in the error log . adding the 
full log snippets for your reference
   ~~~
   2024-05-31 14:07:41,528 DEBUG [c.c.a.ApiServlet] 
(qtp931675031-552426:ctx-6dbad892) (logid:601b70d5) ===START===  10.1.1.6 -- 
GET  listall=true&page=1&pagesize=20&command=listVolumesMetrics&response=json
   2024-05-31 14:07:41,528 DEBUG [c.c.a.ApiServlet] 
(qtp931675031-552426:ctx-6dbad892) (logid:601b70d5) Two factor authentication 
is already verified for the user 2, so skipping
   2024-05-31 14:07:41,534 DEBUG [c.c.a.ApiServer] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) CIDRs from 
which account 'Account 
[{"accountName":"admin","id":2,"uuid":"c06d0817-3df7-11ee-922f-824cadec4823"}]' 
is allowed to perform API calls: 0.0.0.0/0,::/0
   2024-05-31 14:07:41,536 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) Account 
[Account 
[{"accountName":"admin","id":2,"uuid":"c06d0817-3df7-11ee-922f-824cadec4823"}]] 
is Root Admin or Domain Admin, all APIs are allowed.
   2024-05-31 14:07:41,537 WARN  [o.a.c.a.ProjectRoleBasedApiAccessChecker] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) Project is 
null, ProjectRoleBasedApiAccessChecker only applies to projects, returning API 
[listVolumesMetrics] for user [User 
{"username":"admin","uuid":"c06e4c2b-3df7-11ee-922f-824cadec4823"}.] as allowed.
   2024-05-31 14:07:41,537 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) RoleService is 
enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2024-05-31 14:07:41,538 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) API rate 
limiting is disabled. We will not use ApiRateLimitService.
   2024-05-31 14:07:41,562 ERROR [c.c.a.ApiServer] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) unhandled 
exception executing api command: [Ljava.lang.String;@2dce6eb3
   java.lang.NullPointerException
   2024-05-31 14:07:41,563 DEBUG [c.c.a.ApiServlet] 
(qtp931675031-552426:ctx-6dbad892 ctx-71659d9e) (logid:601b70d5) ===END===  
10.1.1.6 -- GET  
listall=true&page=1&pagesize=20&command=listVolumesMetrics&response=json
   ~~~


-- 
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]

Reply via email to