"unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

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

"unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

Post by mamakos » Mon Jul 04, 2022 9:30 am

Hello,
We have an EVE-NG Pro cluster running version 4.0.1-86. I am trying to stop/start nodes via the unl_wrapper to automate stuff. I tried with Juniper/Nokia nodes on Master or Satellite. I had a script on a previous EVE community server that worked fine. Now it is failing to start the nodes.

The following actions work : wipe / export /stop
The following action does NOT work : start

The start action output is as if there was a missing parameter. Yet the "help" menu only states -F, -T and -D options.
  • Is there any hidden parameter I am missing ?
  • Is there any thing I should correct somewhere else ?
Thank you :)

Extract of the CLI output when nothing happen.

Code: Select all

root@muztc628:~# /opt/unetlab/wrappers/unl_wrapper -a start -F /opt/unetlab/labs/Users/ICC/LOUIS/test.unl -T 1 -D 1
Usage: /opt/unetlab/wrappers/unl_wrapper -a <action> <options>
-a <s>     Action can be:
           - delete: delete a lab file even if it's not valid
                     requires -T, -F
           - export: export a runnign-config to a file
                     requires -T, -F, -D is optional
           - fixpermissions: fix file/dir permissions
           - linkquality: set link quality
           - platform: print the hardware platform
           - start: start one or all nodes              <<<<<<<
                     requires -T, -F, -D is optional    <<<<<<<
           - stop: stop one or all nodes
                     requires -T, -F, -m, -D is optional
           - wipe: wipe one or all nodes
                     requires -T, -F, -D is optional
           - clone: clone a lab staged
                     require -T -O -F
           - cpu: get cpu usage
                     require -T, -u -D are optional
           - mem: get cpu usage
                     require -T, -u -D are optional
           - savesystemsettings: save system settings
                     require -m 0 ( just update system files)
                             -m 1 ( update system files and restart services)
           - showcluster: show cluster status
           - stopsat: stop satellite
                     require -I <number>
                     where n is the satellite id
           - resetsat: reboot satellite
                     require -I <number>
                     where n is the satellite id
           - savesystemsettings: save system settings
Options:
-F <n>     Lab file
-T <n>     Tenant ID
-m <n>     Stop mode 0:shutdown, 1:poweroff, 2:hibernate, 3:default
-q <n>,<n>,<n>,<n>     delay,jitter,loss,rate
-D <n>     Device ID/Network ID (if not used, all devices will be impacted)
-U <s>     username ( Mandatory to create HTML5Session )
-u <s>     Lab uuid
-O <n>     target Tenant
root@muztc628:~#
note : If I use the API, with curl, I can start the node but this is less convenient and needs to get the login/password ans this logs off the user...

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

Re: "unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

Post by Uldis (UD) » Mon Jul 04, 2022 11:25 pm

simple answer, upgrade to EVE V5

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

Re: "unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

Post by mamakos » Tue Jul 05, 2022 4:37 am

Ok.
I'll do as soon as Nokia vSIM work on V5 :)
Untill then, I'll stick with the curl start as a workaround.

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

Re: "unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

Post by Uldis (UD) » Wed Jul 06, 2022 8:02 pm

Nokia version R21 and R22works like charm on EVE V5

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

Re: "unl_wrapper -a start" does not work (EVE-PRo 4.0.1-86)

Post by mamakos » Thu Jul 07, 2022 6:35 am

Yeah, good news then ! Thanks for letting me know !

Post Reply