Questions tagged [chaos]

Anything related to chaotic systems or chaos theory. Chaotic systems are systems that are extremely sensitive to initial conditions (e.g. round-off error in data stored digitally) thus leading to the impossibility of predicting their long-term evolution. The tag is mostly relevant to cases where algorithms show chaotic behavior.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

how do i simulate differential jerk systems in python

I am a beginner in python and I'm trying to simulate a multi scroll chaotic attractor for a project. The details and parameters are in https://sci-hub.se/10.1142/s0218127420501862 [3.2 (i)] im getting ...
Bob Murmu's user avatar
0 votes
0 answers
11 views

How can I block a k8s service (pod) from accessing an external azure redis?

I want to do chaos testing, and I want to inject azure redis failure. So, I need to block my service pod to access the azure redis on port 90000 (not http/https protocol). I tried the networkPolicy, ...
xie james's user avatar
0 votes
0 answers
46 views

Azure Chaos Studio with Chaos Mesh VNET Injection in Private Clusters Unsuccessful

We are beginning to evaluate Azure Chaos Studio usage with Chaos Mesh k8s experiments (AKS Chaos Mesh Pod Chaos for example). Our clusters are private and we've enabled VNET injection when setting ...
tbarkley29's user avatar
2 votes
1 answer
66 views

Chaos Monkey delay test causes tomcat-jdbc connection pool to have huge delay in getting connection

We are running delay test using Chaos Monkey on our service. We introduce 2 second delay using it. During this time the response time of our service goes down to 35-40 seconds also. When we profiled ...
Kumar's user avatar
  • 1,566
1 vote
0 answers
53 views

Getting unexpected values for Characteristic Lyapunov Exponents in Python - What could be going wrong with my implementation of Benettin algorithm?

I wrote a code to calculate the Characteristic Lyapunov Exponents in Python for a Lorenz system. I for sure did something wrong because the CLEs are way off but I cannot figure out what. I am using ...
M409's user avatar
  • 11
0 votes
0 answers
34 views

Does anyone have dataset that can be used for root cause analysis?

I need a lot of data to build a knowledge graph Our team is trying to build a knowledge map but there is enough knowledge data
zc lu's user avatar
  • 1
0 votes
1 answer
138 views

Need help or suggestions to Run Helm install on command prompt

How to run this in command prompt. Any suggestions would be helpful. helm install steadybit-agent --namespace steadybit-agent \ --create-namespace \ --set agent.key=xxxxxxxxxx \ --set ...
sunil hurkadli's user avatar
1 vote
1 answer
71 views

Chaos monkey assault on specific instance in multi-instance environemnt

I tried chaos monkey in a single sping boot application instance and I was successfully able to test all the assaults with it. But now I want to try the same experiment in mulitple intances with Load ...
TWICE's user avatar
  • 33
0 votes
1 answer
28 views

ChaosToolkit --var-file option is fails with error Error: no such option: --var-file /tmp/token.env

We are trying to run a chaos experiment and running into this error: ubuntu@ip-x-x-x-x:~$ kubectl logs -f pod/chaos-testing-hn8c5 -n <ns> [2022-12-08 16:05:22 DEBUG] [cli:70] ###################...
Praveen Tata's user avatar
0 votes
1 answer
3k views

Uncaught ReferenceError: AOS is not defined

I used AOS. I am trying to add the AOS library but it's showing me the error Uncaught ReferenceError: AOS is not defined and the aos-animate class doesn't apply. I have also included files in CSS and ...
Asharf Khosravi's user avatar
0 votes
1 answer
192 views

Unable to to do chaos Experiment on Azure SQL data base

I'm new to Chaos engineering. I'm trying to attach PAAS service hosted in Azure like SSMS(Azure SQL). I'm using LitmusChaos and Gremlin tools to connect and attack but fail. is there any way I can ...
zay9899's user avatar
0 votes
1 answer
155 views

"Please check the configuration, the workflow was not able to start " error in litmus chaosCenter portal after opening the status of workflow

"Please check the configuration, the workflow was not able to start " error in litmus chaosCenter portal after opening the status of workflow"
aT6's user avatar
  • 1
1 vote
1 answer
60 views

Configuring RBAC for kubernetes

I used the following guide to set up my chaostoolkit cluster: https://chaostoolkit.org/deployment/k8s/operator/ I am attempting to kill a pod using kubernetes, however the following error: HTTP ...
Kenny Jefferson's user avatar
5 votes
1 answer
501 views

Error "cannot allocate memory block of size 67108864 Tb" in the R function false.nearest

The R function tseriesChaos::false.nearest(series, m, d, t, rt=10, eps=sd(series)/10) realizes the false nearest neighbours algorithm to help deciding the optimal embedding dimension. I would like to ...
Mark's user avatar
  • 1,593
0 votes
1 answer
216 views

Azure chaos studio experiment deployment name failure

I'm trying to crate an Azure Chaos studio experiment and deploy it to my resource group. I set the name of the experiment as PG Cosmos Chaos, but am getting the error: "The provided deployment ...
Patrick Goode's user avatar
1 vote
1 answer
97 views

Chaos Game fractal not rendering correctly

I'm attempting to write code that will generate fractals according to the Chaos game In particular, I'm trying to debug the faulty generation/rendering of this fractal: I'm doing this with Javascript ...
David Bandel's user avatar
0 votes
0 answers
109 views

how to restrict the kubemonkey/chaoskube to get the cluster-wide permissions?

in order to make a high availability test in kubernetes cluster, i use a tool such as chaoskube or kube-monkey , which kills random pods in namespaces to create a "chaos" and to see how the ...
D.MO's user avatar
  • 1
1 vote
1 answer
88 views

chaostoolkit rollbacks not happening unless --rollback-strategy explicitly specified

I am using chaostoolkit tool and earlier the rollbacks used to happen if the hypothesis fails after the method injects failure. Now I see a different behaviour and the rollbacks happen only if i ...
mgn's user avatar
  • 141
0 votes
1 answer
280 views

Chaostoolkit experiment failing when run as a Job from within a k8s cluster

I am using chaostoolkit and am able to run a chaos experiment successfully from command line. However, when i try to run the same as a job in k8s it is throwing up 'connection refused' error. What I ...
mgn's user avatar
  • 141
0 votes
0 answers
73 views

How to get a bigger mantissa in Python programming language?

I'm trying to make an animation of Feigenbaum's chaos. I try to program 600 images where I dive into the chaos of the image and then make them animated with MakeAvi. I have an mpmath library from ...
Petri Keckman's user avatar
0 votes
0 answers
165 views

Average Directional Unit Vectors - Determinism Test

Say I take this box as an example: I want to calculate the average directional vectors in the embedding phase space. The average direction vector V_k is calculated at each pass p of the trajectory ...
DomIsAwesomee's user avatar
0 votes
1 answer
59 views

How to apply a complex function to every row of a .csv file in MATLAB?

I would like to apply an external code with a particualr function (chaos; https://figshare.com/s/80891dfb34c6ee9c8b34) from a paper by Toker et al. 2020 (https://www.nature.com/articles/s42003-019-...
galojzybarbanach's user avatar
2 votes
1 answer
2k views

Drawing Poincare Section using Python

I was about to plot a Poincare section of the following DE, which is quite meaningful to have a periodic potential function V(x) = - cos(x) in this equation. After calculating the solution using RK4 ...
ToBY's user avatar
  • 123
0 votes
1 answer
138 views

Chaos toolkit not renaming a file

I am learning chaos engineering and I am following a tutorial, but my code is not running as it should. The service I am testing. service.py import io import time import threading from wsgiref....
evanstjabadi's user avatar
0 votes
1 answer
542 views

4D chaotic system Lyapunov exponent

I am trying to work on the 4 dimensional chaotic attractor Lyapunov spectrum and there values so far the code mention below works well for three dimensional system but errors arise in 4D and 5D system ...
Zewo's user avatar
  • 153
0 votes
1 answer
72 views

Sierpinksi Triangle using Chaos Game - Incorrect Plot (missing points)

I am trying to generate a Spierpinki Triangle in Python using the Chaos game. The computations of the points to plot seem correct however, instead of thousands of points plotted, only 10 or so are ...
karlembeast's user avatar
0 votes
1 answer
162 views

NIST Suite Test for Nonlinear dynamical system

In my following code i m running a lorentz chaotic equation from which i will get random numbers in terms of xs , ys and zs import numpy as np def lorenz(x, y, z, a=10,b=8/3,c=28 ): x_dot =...
Zewo's user avatar
  • 153
1 vote
1 answer
153 views

Experiment to create node in kubernetes cluster(AKS) using chaos toolkit

I am trying to create an experiment for creating a node using chaostoolkit yaml for experiment version: 1.0.0 title: What happens if we create a node description: All the instances are distributed ...
Ginni's user avatar
  • 11
0 votes
0 answers
98 views

How can I fix this error : 'Tensor' object has no attribute 'numpy' [duplicate]

I'm new in Python and neural networks. I have been trying to fix the anomaly residing in the code below but without finding a track. How can I correct it? It should be noted that the code is ...
red shift plus's user avatar
0 votes
0 answers
157 views

Neural network training using chaotic sequences with Keras, tensorflow or other libraries

I would like to train a neural network to mimic the behavior of a 3D chaotic Lorenz system of differential equations : I use the following steps : Find vectors X,Y,Z from the numerical solution of ...
YIdirm's user avatar
  • 21
1 vote
1 answer
341 views

Is there a way to take down a Bigtable instance (or a cluster) without deleting it, kinda chaos testing

Similar how we do chaos testing, I want a Bigtable instance (or a cluster) to be down. Like it goes down in any outage/catastrophic event.
Anuraj Jain's user avatar
0 votes
1 answer
251 views

why the image that i am downloading from drive is not getting detected?

!wget https://drive.google.com/file/d/1BeeBFUY6BS-H66NMcx3hF1rwE3Yi3p3z/view?usp=sharing !mv view?usp=sharing HorizonZero.png # Downloading lena.bmp !wget https://drive.google.com/file/d/...
 Ragini's user avatar
-1 votes
2 answers
327 views

Kube-monkey interval (Chaos Testing)

I'm implementing Kube-monkey in my dev Kubernetes cluster, and can see that the PODs are getting terminated every 30 seconds. Could someone please help me to set POD termination interval in Kube-...
Tina's user avatar
  • 1
0 votes
1 answer
358 views

error when launch the chaosblade-box in local

something wrong when run the chaosblade-box web project with the command: nohup java -Duser.timezone=Asia/Shanghai -jar chaosblade-box-web-0.3.2.jar --spring.datasource.url=jdbc:mysql://localhost:3306/...
xgyeqingshan's user avatar
0 votes
2 answers
205 views

How to generate chen's hyperchaotic sequence. I have tried to code it in python, but something is wrong. I am getting many nan and infinity

I want to generate Chen's hyperchaotic sequence. Formulas are given as:Chen's hyperchaotic sequence equations Code I have written is attached. import math a = 36 b = 3 c = 28 d = 16 k = 0.2 def chen(...
Amit Agrawal's user avatar
0 votes
1 answer
422 views

Create a coordinate vector based on the string of elements of a data frame R

I am trying to create a coordinate vector to later plot with ggplot. Suppose I have a data frame that looks like: keys = c("aa", "aa", "ac", "ag", "gg"...
Pablo Rodriguez's user avatar
-1 votes
1 answer
1k views

i am getting an error as " failed: AttributeError: 'ServicePrincipalCredentials' object has no attribute 'get_token"

While Running Chaos Toolkit Azure related Playbooks , i am getting an error as " failed: AttributeError: 'ServicePrincipalCredentials' object has no attribute 'get_token" though i have ...
Ayan's user avatar
  • 1
0 votes
0 answers
172 views

Bifurcation diagram by C++ of the non-local elastica

I have tried to do a simulation using C++ of the equation of non-local elastica defined by the following system Using the following discretization with the boundary condition and by sitting lc=1/(6*...
Hariz Khaled's user avatar
0 votes
0 answers
98 views

Chaostoolkit istio extension hangs when playing experiment

I'm trying to use the chaos toolkit istio extension, my problem is as follows: I have a experiment.json file which contains a single probe to retrieve a virtual service. The file looks similar to the ...
user15001945's user avatar
0 votes
1 answer
693 views

trying to runjavascript code from aws lambda to list or kill ecs task

I have been trying hard to run the following code from aws lambda but I am not seeing any error neither I am seeing any ECS task getting killed. Roles are all good. Is it possible to connect to ECS ...
John Ch's user avatar
0 votes
1 answer
670 views

Litmus chaos Experiment Status Fail Step: failed in chaos injection phase

I am running a cpu-hog experiment on my pod and seeing that its failing Fail Step: failed in chaos injection phase. not seeing any logs as to why its failing. appreciate any help. The experiment, ...
sbolla's user avatar
  • 681
0 votes
2 answers
2k views

SDK to Kill Pods, Restart Pods

I am writing an experiment of killing or restarting pod on AKS as a part of chaos engineering initiative. Is there any python sdk available for the same? Sdk in other language is also fine.
Batman22's user avatar
  • 376
3 votes
3 answers
7k views

Restart VMs in scale set in AKS Node Pool

I have a kubernetes cluster with node pools and as a part of Chaos Engineering Initiative,I need to restart the VM. Is there any code for the same using azure resource graph?
Batman22's user avatar
  • 376
0 votes
1 answer
401 views

Chaos Mesh on AKS

Can chaos mesh (https://chaos-mesh.org/docs/) run on AKS for Windows Image? Is there anyway to do it?
Batman22's user avatar
  • 376
6 votes
2 answers
10k views

Simple way to delete existing pods from Python

I have end-to-end tests written in pytest, running on a Kubernetes cluster in Namespace foo. Now I want to add simple chaos engineering to the tests to check the resilience of my services. For this, I ...
DaveFar's user avatar
  • 7,217
0 votes
1 answer
261 views

Plotting a Bifurcation Diagram with different functions

I'm working on plotting a bifurcation diagram for a couple different functions of x. My confusion lies in trying to use the numpy arrays and passing them to the conditionals in the sequence function. ...
abyssmu's user avatar
  • 165
0 votes
1 answer
333 views

Using Pumba to shutdown the container connection permanently

I am trying to use Pumba to isolate a container from the docker network. I am on Windows, and the command I am using is the following. docker run \ -d \ --name pumba \ --network ...
riccardo.cardin's user avatar
0 votes
0 answers
1k views

Lyapunov exponents spectrum for a 3 D system

I Have been searching for a Python code to compute Lyapunov exponents and finally found a code LyapunovExponets but it is very long and not vectorized and not using python 3 and ODE solvers. I need ...
SVV's user avatar
  • 1
1 vote
1 answer
130 views

Manifold visualization in 2D maps

I am trying to implement in C the algorithm by Parker and Chua as described in the book "Practical Numerical Algorithms for Chaotic Systems" (chapter 6). In that chapter, the authors ...
baseaxis's user avatar
0 votes
1 answer
123 views

How to apply ODE45 solver correctly

What is the relationship between number of datapoints and the time step and integration step? How to determine the step size so that I can generate N number of points? For example, when N=1000 ...
Sm1's user avatar
  • 560