-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Linux, LinuxBridge and runtime plugins hangs when retrieving IP address of an FDU interface #136
Labels
bug
Something isn't working
Comments
Quick update, seems that using psutil instead of subprocess solves the issue:
Also using direct python access to file solves the issue:
So we will use psutil instead of subprocess in case of |
gabrik
added a commit
to atolab/fog05
that referenced
this issue
Jul 24, 2019
…rder to solve eclipse-fog05#136 Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
gabrik
added a commit
that referenced
this issue
Jul 31, 2019
* Added storage descriptors in the IM, updated CP and VirtualLink to follow ETSI specifications * Added ATD file for atomic entity, using new CP descriptor in FDU * updated IM, using fog05-im modules for python APIs, code reorganization, cleanup, masking the calls to eval in order to make the code easy to read, new classes for FDU differentiated between users and infrastructure, LXD plugin uses new InfraFDU object for managing FDUs * Updates and Fixs in Agent, FDU python classes and API * updates in FDU objects and fixes on linuxbridge and linux plugin in order to solve #136 * updates to KVM and Native Plugin to use the new FDUs objects * Initial implementation of Atomic Entity onboard and instantiation function on the agent * updated APIs, Makefile, CLI to follow separation between FIM components and FAEM components Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
gabrik
added a commit
that referenced
this issue
Nov 26, 2020
* Added storage descriptors in the IM, updated CP and VirtualLink to follow ETSI specifications * Added ATD file for atomic entity, using new CP descriptor in FDU * updated IM, using fog05-im modules for python APIs, code reorganization, cleanup, masking the calls to eval in order to make the code easy to read, new classes for FDU differentiated between users and infrastructure, LXD plugin uses new InfraFDU object for managing FDUs * Updates and Fixs in Agent, FDU python classes and API * updates in FDU objects and fixes on linuxbridge and linux plugin in order to solve #136 * updates to KVM and Native Plugin to use the new FDUs objects * Initial implementation of Atomic Entity onboard and instantiation function on the agent * updated APIs, Makefile, CLI to follow separation between FIM components and FAEM components Signed-off-by: gabrik <gabriele.baldoni@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The monitoring process of an FDU hangs when it tries to retrieve information from the DHCP about the IP Address of an FDU's interface
To Reproduce
Instantiate an FDU connected to a virtual network, with DHCP
Expected behavior
Should not hang
Desktop (please complete the following information):
Additional context
Seems that the LinuxPlugin hangs when trying to read data from the dnsmasq lease file, and so all the chain just hangs
Linux plugin output:
LinuxBridge plugin:
LXD plugin:
The LinuxPlugin acutally, as the parameter root is set to True, should execute this command:
sudo cat /var/fos/linuxbridge/dhcp/net_6cc2aa30_leases
That should not hang, the code that hangs is:
That hangs also if executed in python interpreter
This suggest that we should find another way to read that file
The text was updated successfully, but these errors were encountered: