juicedata / docker-volume-juicefs

Docker volume plugin for juicefs
30 stars 8 forks source link

error creating / deleting #24

Closed timfeirg closed 2 years ago

timfeirg commented 2 years ago

error creating:

Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers getPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e7
6e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="time=\"2022-08-29T13:09:59Z\" level=error msg=\"volume jfsvolume not found\"" plugin=6c7e6cb69ef9bd279a1e2f203a
4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers createPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b
8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09+08:00" level=error msg="time=\"2022-08-29T13:10:09Z\" level=error msg=\"exit status 255\"" plugin=6c7e6cb69ef9bd279a1e2f203a4514d160970
7e8731b8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09+08:00" level=error msg="2022/08/29 13:10:09 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09.618470342+08:00" level=error msg="Handler for POST /v1.41/volumes/create returned error: create jfsvolume: VolumeDriver.Create: exit st
atus 255"
Aug 29 21:10:58 xx dockerd[3484157]: time="2022-08-29T21:10:58+08:00" level=error msg="2022/08/29 13:10:58 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872

error deleting:

Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers removePath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="time=\"2022-08-29T13:15:46Z\" level=error msg=\"exit status 1\"" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46.681875874+08:00" level=error msg="Handler for DELETE /v1.41/volumes/jfsvolume returned error: remove jfsvolume: VolumeDriver.Remove: exit status 1"
timfeirg commented 2 years ago

juicefs auth credentials 写错了, 但所有日志里均无提示. 需要解决. 也正因 auth 信息提供错误, runc 进入 plugin container 以后并无 /var/log/juicefs.log. cc @chnliyong

timfeirg commented 2 years ago

可以认为已经被 https://github.com/juicedata/docker-volume-juicefs/pull/25 解决, 之后被动跟进.