Open cse578group29 opened 2 years ago
hello @cse578group29, It is possible that the space added after the comma between 192.168.56.104 and 192.168.56.103 is causing this issue.
can you try if again without the spaces in the --workers parameter?
Hello, @Giuseppe1992 It has the same error after deleting the space. Any other suggestions? Thanks!
Can you run from your master:
ansible all -u root -m raw -a "lxc image ls"
and while you are running the experiment, when you receive the error from the master open another terminal and run:
ansible all -u root -m raw -a "lxc ls"
Here is the output in master VM, the ssh connection tests are successful.
Can you try to clean the environment before starting a new experiment? it may be the issue.
create a clean.sh file on your master i.e.
vim /tmp/clean.sh
and paste the following script:
lxc ls | grep "PER" | awk '{print "lxc delete ", $2 ,"--force"}' > $$; sh $$; rm $$; ip link delete vNone; ip link | grep "MUL" | grep -v "ens5" | tr -d ":" | tr "@" " " | awk '{print "ip link delete ",$2}' > $$ ; sh $$; rm $$
then move the script in all the nodes
ansible all -m copy -a "src=/tmp/clean.sh dest=/root/clean.sh"
and run
ansible all -a "sh clean.sh"
If you run:
ansible all -u root -m raw -a "lxc ls"
Everything should be clean
Hello, when running the example in the tutorial on VirtualBox with VMs, I got the errors as shown in the picture. Do you have any suggestions on solving it? Thank you!