nre-learning / antidote-selfmedicate

Configs and scripts for spinning up a local instance of Antidote on your laptop for testing and lesson development
Apache License 2.0
12 stars 19 forks source link

vqfx-snapx images not loading #81

Open crosscacus opened 3 years ago

crosscacus commented 3 years ago

I installed antidote-selfmedicate alongside the nrelabs-curriculum current master branch. After a few tweaks and troubleshooting with the vagrant script, kubectl/docker versions, and some changes in the Docker file of the images in the networkInterfaces: - ' ', I managed to get it up and running accessing through http://antidote-local:30001 with no problems. Lessons with basic Linux utility images are working with no issues as well.

However, I have not been able to boot lessons with vqfx-snapx images. Lessons are validated and pods/containers are created with no apparent issues, but lessons are stuck on loading and then timeout. After some troubleshooting and looking through some logs from Docker, I found that the provisioning script of the images launch.sh fails to execute the first command mount -o rw,remount /sys presenting the error mount: cannot remount sysfs read-write, is write-protected. And from there on, the rest of the script fail because I guess is not finding the expected mounted directory. I even logged in directly to the container to try to execute it and tried other options but is not working.

Looking forward for any recommendations into this issue.

Here is the output of ./selfmedicate.sh debug and screenshot with the pods details for reference as well: https://gist.github.com/crosscacus/2dd26d6bd5f2c74cd09a0337f76e123b
Antidote-Pods