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

create k8s pod network delay failed #242

Closed
haowei0515 opened this issue Nov 25, 2019 · 2 comments
Closed

create k8s pod network delay failed #242

haowei0515 opened this issue Nov 25, 2019 · 2 comments
Assignees
Labels
chaosblade-operator chaosblade-operator project type/bug Something isn't working
Milestone

Comments

@haowei0515
Copy link

haowei0515 commented Nov 25, 2019

Issue Description

one error occured in my expriment which is pod network delay expriment, the response is as below
{"code":504,"success":false,"error":"unexpected status, the real value is Error","result":{"uid":"ccd735769e4b0b40","success":false,"error":"unexpected status, the real value is Error","statuses":[{"uid":"eda98894-0f52-11ea-bee3-fa163e37e213","name":"chaosblade-tool-mwbw8","state":"Error","kind":"pod","error":"Error response from daemon: Get https://registry.cn-hangzhou.aliyuncs.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)","success":false,"nodeName":"192.168.0.22"}]}}

then i check the log of operator, the command is as below
/opt/chaosblade/blade create docker network delay --time=3000 --remote-port=8231 --interface=cbr0 --container-id 0f8971f3fff67e95d6a7ab9b9153744fd0e59864b1c33ab82060d32d26d98248}]"

so i guess that the default image-repo is be used, but the pod exception does not support to assign the image-repo like docker expriment

Describe what you expected to happen

how can i resolove the problem?

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

chaosblade 0.4.0

Anything else we need to know?

  1. my machine cannot access the domain of "registry.cn-hangzhou.aliyuncs.com"

  2. command: ./blade create k8s pod-network delay --namespace XXXX --interface cbr0 --remote-port 8231 --labels app=XXX --evict-count 1 --time 3000 --kubeconfig ~/.kube/config

  3. the used image of chaosblade-operator and chaosblade-tool is in my own image-repo

@haowei0515 haowei0515 changed the title create k8s network delay failed create k8s pod network delay failed Nov 25, 2019
@xcaspar
Copy link
Member

xcaspar commented Nov 25, 2019

#232 I have fixed it. We will release it in this week.

@xcaspar xcaspar added this to the 0.4.0 milestone Nov 25, 2019
@haowei0515
Copy link
Author

OK, thanks

@xcaspar xcaspar closed this as completed Dec 5, 2019
@xcaspar xcaspar self-assigned this Feb 18, 2020
@xcaspar xcaspar added type/bug Something isn't working chaosblade-operator chaosblade-operator project labels Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaosblade-operator chaosblade-operator project type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants