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

complete disconnection of the network on the device when an error occurs in "hostname" parameter #226

Open
nikitasavchenko555 opened this issue Jan 16, 2023 · 0 comments

Comments

@nikitasavchenko555
Copy link
Contributor

When I was using chaosd in service mode, I mistakenly sent the following request to the machine where it was running:
curl -X POST localhost:31767/api/attack/network -H "Content-Type:application/json" -d '{"action":"loss","hostnames":"etcd1.ru,etcd2.ru,etcd3.ru","device":"ens2","percent":"100"}'
So I specified "hostnames" instead of "hostname" and ns2 was the only external interface, after executing the request, the machine stopped being accessible via http.
I think this behavior can lead to some inconveniences.

nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 16, 2023
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 16, 2023
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 16, 2023
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 16, 2023
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 16, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 added a commit to ozontech-forks/chaosd that referenced this issue Jan 26, 2023
fix hostname params and add full-disable params (chaos-mesh#226)
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 29, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 30, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 30, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 30, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 added a commit to ozontech-forks/chaosd that referenced this issue Jan 30, 2023
fix hostname params and add full-disable params (chaos-mesh#226)
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 30, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Jan 31, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Feb 1, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Feb 1, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Feb 2, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Feb 2, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
cwen0 pushed a commit that referenced this issue Feb 3, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
Co-authored-by: Nikita Savchenko <nikisavchenko@ozon.ru>
cwen0 added a commit that referenced this issue Feb 8, 2023
nikitasavchenko555 pushed a commit to ozontech-forks/chaosd that referenced this issue Feb 15, 2023
Signed-off-by: Nikita Savchenko <nikisavchenko@ozon.ru>
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