Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvz committed Aug 26, 2024
1 parent 870dc9c commit 51bb2d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/blob/controllerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ func (d *Driver) getAzcopyAuth(ctx context.Context, accountName, accountKey, sto
if testErr != nil {
return "", nil, fmt.Errorf("azcopy list command failed with error(%v): %v", testErr, out)
}
klog.Errorf("==========out: %s===========", out)
if strings.Contains(out, authorizationPermissionMismatch) {
klog.Warningf("azcopy list failed with AuthorizationPermissionMismatch error, should assign \"Storage Blob Data Contributor\" role to controller identity, fall back to use sas token, original output: %v", out)
useSasToken = true
Expand Down

0 comments on commit 51bb2d8

Please sign in to comment.