start iam server with docker, request always response 500
zuzuviewer opened this issue · comments
docker pull chrislusf/seaweedfs:3.64
- create /opt/seaweedfs/config.json file and write "{}"
docker run --network=host -v /opt/seaweedfs/config.json:/etc/iam/identity.json chrislusf/seaweedfs:3.64 server -s3 -s3.config=/etc/iam/identity.json
docker run --network=host chrislusf/seaweedfs:3.64 iam
curl -X POST http://localhost:8111/?Action=ListAccessKeys
- request response InternalError
Show error 500 message in logs.
Also not sure if this is the correct request, it seems either POST with body or GET with uri parameters
curl -X POST http://localhost:8111/?Action=ListAccessKeys
Show error 500 message in logs. Also not sure if this is the correct request, it seems either POST with body or GET with uri parameters
curl -X POST http://localhost:8111/?Action=ListAccessKeys
no any log output in iam service and seaweedfs service.
listAccessKeys Doc. And I think POST request is no problem without body.
Also not just this one request response 500. All Iam request response 500.
Maybe iam service has a lot of bug. If someone create user,access_key,secret_key by weed shell s3.configure, iam service don't know it and it will reject right user request. And identity is from s3.config startup parameter or filer store, this is difficult to use, when identity from s3.config startup parameter, how to curd iam and valid forever, if restart, serivce will only read identity from s3.config, or update filer identity store, it will override s3.config in cache.