Nokia VSR won't start on satellite member

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

mamakos
Posts: 57
Joined: Thu Dec 19, 2019 4:49 pm

Re: Nokia VSR won't start on satellite member

Post by mamakos » Thu Jan 06, 2022 9:31 pm

I'll let it run overnight to make sure it is stable.
It seems to be working on the master also with the same QEMU version

mamakos
Posts: 57
Joined: Thu Dec 19, 2019 4:49 pm

Re: Nokia VSR won't start on satellite member

Post by mamakos » Fri Jan 07, 2022 8:39 am

ok so after a night the system is still working.

I also noticed that the rsync process you use in EVE-NG master to push the qcow2 to the satellite cannot handle the symbolic links properly which prevents the real files to be copied.

master : muztc628
satellite : muztc629

Here is what I have on the satellite when I try to launch a Nokia

Code: Select all

root@muztc629:~# ls -l /opt/unetlab/addons/qemu/
total 16
drwxr-xr-x 2 root root 4096 Jan  6 18:06 timoscpm-20.10.R1
lrwxrwxrwx 1 root root   38 Dec 20 18:51 timoscpm-20.2.R1 -> /opt/unetlab/addons/qemu/timos-20.2.R1  <== there is no "timos-20.2.R1" directory on the satellite (although it is present on the master)
drwxr-xr-x 2 root root 4096 Jan  6 18:06 timosiom-20.10.R1
lrwxrwxrwx 1 root root   38 Dec 20 18:53 timosiom-20.2.R1 -> /opt/unetlab/addons/qemu/timos-20.2.R1
drwxr-xr-x 2 root root 4096 Dec 20 18:50 vmxvcp-21.2R1-S1
drwxr-xr-x 2 root root 4096 Dec 20 18:50 vmxvfp-21.2R1-S1
root@muztc629:~#
On the master side I do have the linked directory with the qcow2

Code: Select all

root@muztc628:/opt/unetlab/addons/qemu# ls -al
total 100
.../...
drwxr-xr-x  2 root root 4096 Jan  6 18:07 timos-20.10.R1
drwxr-xr-x  2 root root 4096 Jan  6 17:24 timos-20.2.R1
.../...
So as I mentioned earlier I solved this issue by just making a regular directory on the master so that the files are copied properly.

Code: Select all

root@muztc628:/opt/unetlab/addons/qemu# ls -al | grep 20.2
drwxr-xr-x  2 root root 4096 Jan  6 17:24 timos-20.2.R1  <== original directory that was used on the master with symb links
drwxr-xr-x  2 root root 4096 Jan  7 10:33 timoscpm-20.2.R1 <=== new copy
drwxr-xr-x  2 root root 4096 Jan  7 10:32 timosiom-20.2.R1 <=== new copy
this is properly copied to the satellite

Code: Select all

root@muztc629:/opt/unetlab/addons/qemu# ls -al
total 28
drwxr-xr-x 7 root root 4096 Jan  7 09:28 .
drwxr-xr-x 4 root root 4096 Dec 19 14:05 ..
drwxr-xr-x 2 root root 4096 Jan  6 18:06 timoscpm-20.10.R1
drwxr-xr-x 2 root root 4096 Jan  7  2022 timoscpm-20.2.R1 <=== new system started on the satellite caused this directory to be created as expected
drwxr-xr-x 2 root root 4096 Jan  6 18:06 timosiom-20.10.R1

As a conclusion :
- we need to have a plain regular directory as symbolic links are copied but not the linked directory ==> this is something you should either modify in your rsync process or document in the Nokia section (do not use symbolic links)
- QEMU 5.1.2 needs to be used on my satellite

kubatroy
Posts: 1
Joined: Wed Mar 23, 2022 9:57 am

Re: Nokia VSR won't start on satellite member

Post by kubatroy » Fri Mar 25, 2022 9:12 am

your sat servver must have enabled nasted virtualization.

Post Reply