首页 > Web开发 > 详细

WarError syncing load balancer: failed to ensure load balancer: network.SubnetsClient#Get: Failure responding to request: StatusCode=403

时间:2021-03-16 17:30:41      阅读:60      评论:0      收藏:0      [点我收藏+]

Warning SyncLoadBalancerFailed 4m55s (x8 over 15m) service-controller Error syncing load balancer: failed to ensure load balancer: network.SubnetsClient#Get: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client ‘***‘ with object id ‘***‘ does not have authorization to perform action ‘Microsoft.Network/virtualNetworks/subnets/read‘ over scope ‘*****‘ or the scope is invalid. If access was recently granted, please refresh your credentials."

"AuthorizationFailed"
如果patch service失败是因为over scope就是权限不足需要执行
az role assignment create --assignee *** --role "Contributor" --scope *****

WarError syncing load balancer: failed to ensure load balancer: network.SubnetsClient#Get: Failure responding to request: StatusCode=403

原文:https://www.cnblogs.com/Gdavid/p/14544394.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!