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

[未知错误码] 格式化时遇到不符合预期的 SKIP #274

Closed
284050768 opened this issue Jul 10, 2023 · 5 comments
Closed

[未知错误码] 格式化时遇到不符合预期的 SKIP #274

284050768 opened this issue Jul 10, 2023 · 5 comments

Comments

@284050768
Copy link

现象如下:
[root@localhost test]# curveadm format -f format.yaml
Start Format Chunkfile Pool: [SKIP]

  • host=server-host1 device=/dev/sdb mountPoint=/data/chunkserver0 usage=90% [1/1] [SKIP]
    [root@localhost test]#
    [root@localhost test]#
    [root@localhost test]# docker ps -a
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    [root@localhost test]#
    [root@localhost test]#
    [root@localhost test]# docker -v
    Docker version 24.0.2, build cb74dfc
    [root@localhost test]#
    [root@localhost test]#
    [root@localhost test]# docker ps --format '{{.ID}}' --filter name=xxx --quiet --all
    WARNING: Ignoring custom format, because both --format and --quiet are set.
    [root@localhost test]#

原因分析:
执行docker ps --format '{{.ID}}' --filter name=xxx --quiet --all时的WARNING误判为容器ID存在,从而SKIP

@Wine93
Copy link
Collaborator

Wine93 commented Jul 11, 2023

Hi @284050768 ,请务必按照提问须知中的格式提供必要的信息,这有助帮助我们管理各类问题,并为之后的检索提供必要历史信息 :)
你可以以 [未知错误码] 格式化时遇到不符合预期的 SKIP 为标题,并根据提问须知提供相应的必要信息。

@mfordjody
Copy link
Contributor

#244 I mentioned this issue on the problem page before, perhaps a suitable solution should be provided. :)

@Cyber-SiKu
Copy link
Collaborator

The reason for this is that the docker version is too high. Please use docker 19 (recommended) or docker20.

@Wine93
Copy link
Collaborator

Wine93 commented Jul 21, 2023

The reason for this is that the docker version is too high. Please use docker 19 (recommended) or docker20.

@mfordjody The bug has fixed in curveadm v0.3.0 tech-preview version, so the another way to solve it is upgrade curveadm to v0.3.0:

$ CURVEADM_VERSION=v0.3.0-rc7 curveadm -u

@Wine93 Wine93 changed the title 格式化磁盘时docker版本过高会出现SKIP的bug [未知错误码] 格式化时遇到不符合预期的 SKIP Jul 21, 2023
@caoxianfei1
Copy link
Contributor

Close it because too long time repose. you can open it again if occur.

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

No branches or pull requests

5 participants