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

args error: create container runtime client[cri-o] error: not support container runtime: cri-o #154

Open
liliangsheng8 opened this issue Feb 22, 2024 · 0 comments

Comments

@liliangsheng8
Copy link

liliangsheng8 commented Feb 22, 2024

我在openshift4..11平台上部署了chaosmeta,创建了一个pod 内存填充的实验,运行实验提示不支持cri-o的错误,在钉钉的ChaosMeta开源官方群咨询的结果是:当前只支持docker、containerd、pouch的容器运行时哈,cri-o的还没支持。有这方面需求的话可以提个issue,我们后续跟进一下。
希望chaosmeta在下一个版本可以支持cri-o,谢谢!

实验日志如下:
lALPM5HintT6vHbNA5vNBe8_1519_923

Experiment错误信息如下:

apiVersion: chaosmeta.io/v1alpha1
kind: Experiment
metadata:
  name: inject-fault-pod-mem-e-176056549707140710421708586498node
  namespace: chaosmeta
spec:
  experiment:
    args:
      - key: bytes
        value: 100MB
        valueType: string
      - key: mode
        value: ram
        valueType: string
    duration: 90s
    fault: fill
    target: mem
  scope: pod
  selector:
    - name:
        - bg-chart-generator-fdd46cb6-f7g58
      namespace: dev-finance-bin
      subName: firstcontainer
  targetPhase: recover
status:
  createTime: '2024-02-22 07:22:00'
  detail:
    inject:
      - injectObjectName: >-
          pod/dev-finance-bin/bg-chart-generator-fdd46cb6-f7g58/bg-chart-generator
        message: >-
          experiment inject error: kubectl exec error: exec remote cmd error:
          command terminated with exit code 1 time="2024-02-22 07:22:00"
          level=error msg="args error: create container runtime client[cri-o]
          error: not support container runtime: cri-o"
           
        startTime: '2024-02-22 07:22:00'
        status: failed
        uid: '202402220722003307'
    recover:
      - injectObjectName: >-
          pod/dev-finance-bin/bg-chart-generator-fdd46cb6-f7g58/bg-chart-generator
        message: >-
          kubectl exec error: exec remote cmd error: command terminated with
          exit code 2 time="2024-02-22 07:23:30" level=error msg="query
          experiment by uid[202402220722003307] error: record not found"
           
        startTime: '2024-02-22 07:23:30'
        status: success
        uid: '202402220722003307'
  message: run success
  phase: recover
  status: success
  updateTime: '2024-02-22 07:23:30'
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