juicedata / docker-volume-juicefs

Docker volume plugin for juicefs
28 stars 7 forks source link

add command output to plugin log #25

Closed timfeirg closed 2 years ago

timfeirg commented 2 years ago

自测显示能正常打印 command output:

Aug 30 15:06:02 juicefs-demo1 dockerd[187689]: time="2022-08-30T15:06:02+08:00" level=error msg="time=\"2022-08-30T07:06:02Z\" level=error msg=\"juicefs auth error: 2022/08/30 07:06:02.858632 juicefs[17] <FATAL>: Storage oss (endpoint: https://juicefs-xxxaliyun.oss-cn-beijing.aliyuncs.com) is not configured correctly: Failed to create oss://juicefs-xxxaliyun/xxxaliyun/: oss: service returned error: StatusCode=403, ErrorCode=SignatureDoesNotMatch, ErrorMessage=\\\"The request signature we calculated does not match the signature you provided. Check your key and signing method.\\\", RequestId=xxx,  previous error: oss: service returned error: StatusCode=403, ErrorCode=SignatureDoesNotMatch, ErrorMessage=\\\"The request signature we calculated does not match the signature you provided. Check your key and signing method.\\\", RequestId=xxx\\nplease create bucket oss://juicefs-xxxaliyun/xxxaliyun/ manually, then mount again\\n\"" plugin=3dea603741f58726d65b273d095f2bc01d1a1c8954a5498f5592041df8cdcd6c

@chnliyong

timfeirg commented 2 years ago

related: https://github.com/juicedata/docs/pull/190