Startup-config : increase timeout for vcp >=21.4R1

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

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

Startup-config : increase timeout for vcp >=21.4R1

Post by mamakos » Fri Jan 14, 2022 8:44 pm

Hello again,
I run EVE PRO 4.0.1-65 and we are encountering slight issue with startup-config on JunOS VCP as of 21.4R1.
I promise my cluster and satellite are not overloaded with heavy labs. I shut all the labs but mine and i only started 2 nodes. This is a vendor-version related issue.

JunOS 21.2 and lower are getting their startup-config loaded without any problem.

JunOS 21.4 images take longer to start and the timeout value that is used by the wrapper (300sec) is too short. The box hasn't finished to boot when 300sec timer expires. Therfore startup-config is not loaded :)

For teh reccord, here is the unl_wrapper log that shows the 300sec timer.

Code: Select all

Jan 14 20:46:53 INFO: importing nohup  sh -c '/opt/unetlab/config_scripts/config_vmxvcp.py -a put -p 36809 -f /opt/unetlab/tmp/1/6bc93f36-b1dd-4695-b124-8043b3665d18/10/startup-config -t 300 > /dev/null 2>&1 && rm /opt/unetlab/tmp/1/6bc93f36-b1dd-4695-b124-8043b3665d18/10.lock' >/dev/null  &

QUESTION:

Is there a clean way to increase this timeout value in EVE for a specific vendor (Juniper) or in general in an official release/update ? Or to modify the value for a specific vendor version (or a list of versions) ?

For the time being, i modified the config_vmxvcp.py script itself by making it forget about the <-t> option value given in argument and override it with 600sec but I assume this could lead to other issues in other scenarios, couldn't it ? And anyway, after the next EVE upgrade, the modification could be overwritten :mrgreen: Furthermore, other customers might also be facing this issue sooner or later I guess, nope ?

PS : When I manually launch the same CLI (when the box is fully loaded), this works fine but I cannot tell every user to log as root the the master and look for the port and launch the CLI :oops:

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Startup-config : increase timeout for vcp >=21.4R1

Post by Uldis (UD) » Sat Jan 15, 2022 12:22 am

You can increase timeoout per lab
it is fair enought for any version you are uning in it
EVE Pro cookbook chapter 11.3.16
1800 should be fine then

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

Re: Startup-config : increase timeout for vcp >=21.4R1

Post by mamakos » Sat Jan 15, 2022 9:08 am

Damn it. I promise I did look into the cookbook but couldn't find it. Let's have more sleep
Thank you ! This is perfect. You rock !

Post Reply