Closed cosminandreicontu closed 6 years ago
Interesting. Looks like docker is not able connect to the 113th container and configure it properly. The issue might be related to the particular version of the emulator and the actual setup inside the demo VM.
I would suggest to use the latest version of the emulator (which is now called vim-emu
) and part of the OSM project as mentioned in the README.md of this repository:
You should install it in a fresh Ubuntu 16:04 machine with at least 8 GB memory if you want to run so many emulated VNFs. Pretty sure that it should work with the latest version of the emulator since we used it recently to do some experiments with up to 256 VNFs.
Hello Mr. Peuster,
Thank you for your response.
I tried to install vim-emu by following the installation steps:
sudo apt-get install lxd lxd-client
$ wget -O install_osm.sh "https://osm.etsi.org/gitweb/?p=osm/devops.git;a=blob_plain;f=installers/install_osm.sh;hb=HEAD" $ chmod +x install_osm.sh
$ ./install_osm.sh --lxdimages --vimemu
After running the last command, the following error appears
luni 26 februarie 2018, 22:28:47 +0200 container_exec_stderr: exec in RO "curl -sL -w %{http_code}\n http://www.google.com/ -o /dev/null luni 26 februarie 2018, 22:28:47 +0200 wait_container_up: waiting for container RO to start luni 26 februarie 2018, 22:28:47 +0200 wait_container_up: expected '200' in Permission denied, are you in the lxd group?
Could you please tell me the appropriate configuration of lxd and if any other prerequisites are needed?
I also tried the manual installation having the same result.
Thank you!
I guess you do not plan to use OSM, right? So you should go with the manual bare metal installation that installs vim-emu without OSM:
see Option 1: Bare-metal installation (https://osm.etsi.org/wikipub/index.php/VIM_emulator#Option_1:_Bare-metal_installation)
$ sudo apt-get install ansible git aptitude
$ cd
$ git clone https://github.com/containernet/containernet.git
$ cd ~/containernet/ansible
$ sudo ansible-playbook -i "localhost," -c local install.yml
$ cd
$ git clone https://osm.etsi.org/gerrit/osm/vim-emu.git
$ cd ~/vim-emu/ansible
$ sudo ansible-playbook -i "localhost," -c local install.yml
$ cd ~/vim-emu
$ sudo python setup.py install
This is the nightly tested way of installing vim-emu which should work in any case.
Important: This should be performed on a FRESH Ubuntu 16.04 LTS installation.
Hello, I am using the virtual image SONATA Emulator Demo VM 2017 Download (~4-5GB) from https://github.com/sonata-nfv/son-tutorials/tree/master/upb-containernet-emulator-summerschool-demo, and I had encountered the following issue: After creating one datacenter, I was trying to start multiple vnfs (around 150 in the same datacenter), and at the 113th vnf the emulator gave me the following error:
After this error, if I try to create other vnfs in the same datacenter, the following error appears:
This problem appeared each time I had done this test (using other datacenter or restarting the virtual machine)
Could you please provide a feedback and/or a solution regarding this issue?
Thank you!