weizhouapache commented on issue #7266:
URL: https://github.com/apache/cloudstack/issues/7266#issuecomment-1695126670

   @kiranchavala 
   I cannot reproduce the issue with 4.18 nightly
   both API and UI work
   ```
   (localcloud) 🐱 > list internalloadbalancervms filter=id,name
   {
     "count": 2,
     "internalloadbalancervm": [
       {
         "id": "18860134-76f6-42b2-8555-60993ce7eefe",
         "name": "b-78-VM"
       },
       {
         "id": "6fbcad0a-5d9b-4200-8e26-dd62b94744ff",
         "name": "b-79-VM"
       }
     ]
   }
   ```
   
   on UI
   
![image](https://github.com/apache/cloudstack/assets/57355700/691e7b23-cc39-4a9e-83ed-cf334d49fcbb)
   ```
   2023-08-28 06:47:45,035 DEBUG [c.c.a.ApiServlet] 
(qtp1955920234-13:ctx-5afb1fac) (logid:1e6f4b7a) ===START===  10.0.3.251 -- GET 
 
listall=true&projectid=-1&page=1&pagesize=20&command=listInternalLoadBalancerVMs&response=json
   2023-08-28 06:47:45,035 DEBUG [c.c.a.ApiServlet] 
(qtp1955920234-13:ctx-5afb1fac) (logid:1e6f4b7a) Two factor authentication is 
already verified for the user 2, so skipping
   2023-08-28 06:47:45,041 DEBUG [c.c.a.ApiServer] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) CIDRs from which 
account 'Account 
[{"accountName":"admin","id":2,"uuid":"19d46742-417f-11ee-bf06-1e007c0000fc"}]' 
is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-08-28 06:47:45,043 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) Account [Account 
[{"accountName":"admin","id":2,"uuid":"19d46742-417f-11ee-bf06-1e007c0000fc"}]] 
is Root Admin or Domain Admin, all APIs are allowed.
   2023-08-28 06:47:45,044 WARN  [o.a.c.a.ProjectRoleBasedApiAccessChecker] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) Project is null, 
ProjectRoleBasedApiAccessChecker only applies to projects, returning API 
[listInternalLoadBalancerVMs] for user [User 
{"username":"admin","uuid":"19d55e1b-417f-11ee-bf06-1e007c0000fc"}.] as allowed.
   2023-08-28 06:47:45,045 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) RoleService is 
enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2023-08-28 06:47:45,046 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) API rate limiting 
is disabled. We will not use ApiRateLimitService.
   2023-08-28 06:47:45,066 DEBUG [c.c.a.ApiServlet] 
(qtp1955920234-13:ctx-5afb1fac ctx-975f411d) (logid:1e6f4b7a) ===END===  
10.0.3.251 -- GET  
listall=true&projectid=-1&page=1&pagesize=20&command=listInternalLoadBalancerVMs&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