API Issue with Lab sharing

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
achelminski
Posts: 5
Joined: Tue May 10, 2022 8:41 am

API Issue with Lab sharing

Post by achelminski » Fri May 05, 2023 3:27 pm

Hi,

I have an issue with the Lab sharing functionality and using EVE-NG API.

Lets suppose that user OWNER create a Lab called TESTLAB and share it to user USER.
When USER log in, it sees 2 times the lab in /Shared, once with name TESTLAB and one with name TESTLAB (OWNER).
When it acts on the TESTLAB, changed are not seen by OWNER, but when he works on TESTLAB(OWNER) then OWNER will see the changes.So I suppose that USER should use TESTLAB(OWNER) and not TESTLAB, problem solved.

But the issue is that both labs have the same path /Shared/TESTLAB.unl, and when accessing the lab via the API to start all node of the lab for example, API is only using the path, and is always choosing TESTLAB and not TESTLAB(OWNER). So if USER starts the nodes using the API, OWNER will not the the nodes running.

Any idea on how to solve this issue ?

Thanks and regards.
Alexandre
Running EVE PRO Version 5.0.1-20 on a cluster of 3 servers

achelminski
Posts: 5
Joined: Tue May 10, 2022 8:41 am

Re: API Issue with Lab sharing

Post by achelminski » Tue May 09, 2023 9:24 am

FYI, I've resolved the issue by moving the Lab from Shared folder to root folder.
USER now see only the Lab TESTLAB (OWNER).

Maybe it will help other people.
Running EVE PRO Version 5.0.1-20 on a cluster of 3 servers

Post Reply