Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bucket not created from bucketclaim #2

Open
Torkolis opened this issue Oct 29, 2024 · 0 comments
Open

bucket not created from bucketclaim #2

Torkolis opened this issue Oct 29, 2024 · 0 comments

Comments

@Torkolis
Copy link

I have installed seaweedfs with the cosi driver using the helm chart. This is my values.yml:

master:
  data:
    type: "existingClaim"
    claimName: "swfs-master-data"
  logs:
    type: "existingClaim"
    claimName: "swfs-master-logs"
volume:
  dataDirs:
  - name: data
    type: "existingClaim"
    claimName: "swfs-volume-data"
    maxVolumes: 0
filer:
  data:
    type: "existingClaim"
    claimName: "swfs-filer-data"
  logs:
    type: "existingClaim"
    claimName: "swfs-filer-logs"
  s3:
    enabled: true
    allowEmptyFolder: true
    enableAuth: true
cosi:
  enabled: true
  bucketClassName: "seaweedfs-bucket"
  enableAuth: true
  existingConfigSecret: "seaweedfs-s3-secret"

The BucketClass and BucketAccessClass objects are created sucessfully. Next I create a BucketAccess using the examples (specifying my bucketAccessClassName) and bucketClaim. But unfortunatelly I get no bucket and no secret. These are the logs of the cosi sidecar container, as you can see it doesn't log anything to the bucketClaim or bucket, only bucketAccess, claiming that bucketClaim is not ready:

I1029 12:37:04.844359       1 shared_informer.go:285] caches populated
I1029 12:37:04.844466       1 bucketaccess_controller.go:77] "Add BucketAccess" name="test4" bucketClaim="test4"
I1029 12:37:04.844488       1 bucketaccess_controller.go:83] "Add BucketAccess" name="test4" BucketAccessClassName="seaweedfs-bucket"
E1029 12:37:04.854795       1 bucketaccess_controller.go:116] "Invalid arguments" err="BucketName cannot be empty or BucketNotReady in bucketClaim" bucketClaim="test4" bucketAccess="test4"
I1029 12:37:04.955766       1 bucketaccess_controller.go:77] "Add BucketAccess" name="test4" bucketClaim="test4"
I1029 12:37:04.955816       1 bucketaccess_controller.go:83] "Add BucketAccess" name="test4" BucketAccessClassName="seaweedfs-bucket"
E1029 12:37:04.964079       1 bucketaccess_controller.go:116] "Invalid arguments" err="BucketName cannot be empty or BucketNotReady in bucketClaim" bucketClaim="test4" bucketAccess="test4"
I1029 12:37:05.164518       1 bucketaccess_controller.go:77] "Add BucketAccess" name="test4" bucketClaim="test4"
I1029 12:37:05.164562       1 bucketaccess_controller.go:83] "Add BucketAccess" name="test4" BucketAccessClassName="seaweedfs-bucket"
E1029 12:37:05.172210       1 bucketaccess_controller.go:116] "Invalid arguments" err="BucketName cannot be empty or BucketNotReady in bucketClaim" bucketClaim="test4" bucketAccess="test4"
I1029 12:37:05.572906       1 bucketaccess_controller.go:77] "Add BucketAccess" name="test4" bucketClaim="test4"
I1029 12:37:05.572953       1 bucketaccess_controller.go:83] "Add BucketAccess" name="test4" BucketAccessClassName="seaweedfs-bucket"
E1029 12:37:05.581819       1 bucketaccess_controller.go:116] "Invalid arguments" err="BucketName cannot be empty or BucketNotReady in bucketClaim" bucketClaim="test4" bucketAccess="test4"

Also I have checked the master, filer and volume seaweedfs components for logs and can't find anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant