diff --git a/pkg/util/huawei/storagecache.go b/pkg/util/huawei/storagecache.go index 0237a559e2..4f060f973e 100644 --- a/pkg/util/huawei/storagecache.go +++ b/pkg/util/huawei/storagecache.go @@ -159,6 +159,7 @@ func (self *SStoragecache) uploadImage(ctx context.Context, userCred mcclient.To // create bucket input := &obs.CreateBucketInput{} input.Bucket = bucketName + input.Location = self.region.GetId() _, err = obsClient.CreateBucket(input) if err != nil { return "", err