Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    expploitt
    @expploitt
    It shows a "Not found" when fosctl fim add instance <id>
    In the /var/fos/native-hypervisor/ the folder its created
    Gabriele Baldoni
    @gabrik
    It may be because the RPi has not 200MB of RAM available
    expploitt
    @expploitt
    but there is no .out
    Gabriele Baldoni
    @gabrik
    for available I mean free
    we hit that is some testing, most of raspberry pi usually have very low free RAM
    you can trick the scheduler by setting 0 as ram_size_mb
    expploitt
    @expploitt
    imagen.png
    In the log, apparently the fog05 check is true but, I try what you say then
    Gabriele Baldoni
    @gabrik
    then it this is strange, are you using the latest nightly?
    you can find the debian files here: https://download.eclipse.org/fog05/fog05/nightly/
    expploitt
    @expploitt
    I build it for armhf last week
    maybe I should use aarch64 instead of armhf
    Gabriele Baldoni
    @gabrik
    That will not work on the rpi with raspberryOS
    expploitt
    @expploitt
    Maybe that is the cause of the error
    expploitt
    @expploitt
    If you want to deploy a server?
    Gabriele Baldoni
    @gabrik
    what do you mean by server?
    expploitt
    @expploitt
    How do you achieve that an achievable server?
    for example a flask
    Gabriele Baldoni
    @gabrik

    Can you elaborate please?

    Do you mean deploying something that provide a service, like an HTTP server or a Zenoh router?

    expploitt
    @expploitt
    Sorry, an http server
    Gabriele Baldoni
    @gabrik
    fog05 does not need to know if the FDU it is deploying is a server or not, it just starts it.
    I your case I guess you may want to have some sort of port-forwarding in order to reach the FDU from outside the fog05 virtual networking.
    We are working on it.
    expploitt
    @expploitt
    Yes, in my case is problem of networking, because maybe it is necessary to make "public" the ports (like dockers or containers)
    Gabriele Baldoni
    @gabrik
    Understood, we are working on it.
    expploitt
    @expploitt
    Okey, thats fine, the docke plugin fits well also :)
    Иван Сердюк
    @oceanfish81_twitter
    Could someone explain about integrating Aarch64 servers?
    Gabriele Baldoni
    @gabrik
    You can just install the aarch64 binaries: https://download.eclipse.org/fog05/fog05/nightly/
    2 replies
    Иван Сердюк
    @oceanfish81_twitter

    You can just install the aarch64 binaries: https://download.eclipse.org/fog05/fog05/nightly/

    OK, will try that

    Oliver Layer
    @OliLay
    Hi all. I'm trying to deploy a binary that accesses a bluetooth device, unfortunately, when deploying it via fog05 it will always tell me that it can not use the bluetooth device. (Can't open HCI socket.: Address family not supported by protocol). When executing this binary without fog05, it works.
    When running hcitool dev in the container, no devices are shown, while they are shown when executed without fog05 context. Running hciconfig shows same error (with the HCI socket) as when running my binary.
    What does fog05 use for containerization when deploying binaries? Do you have any idea if it is possible to access the bluetooth device from there? Interestingly, accessing various GPIO port, or USB ports, works.
    Gabriele Baldoni
    @gabrik

    Hi @OliLay, in fog05 we separate using namespacing, in particular those are the flags: https://github.com/eclipse-fog05/fog05-hypervisor-native/blob/0.2.x/containerize.c#L59. we use when creating the namespace.

    It could be that the bluetooth device is available only in the default namespace, we could investigate if it is possible to move it around namespaces

    Oliver Layer
    @OliLay
    "By now kernel only supported creating bluetooth socket in init_net
    net namespace" (see https://lore.kernel.org/patchwork/patch/820786/)
    This patch was never merged, so I guess its still like this.
    I saw that there is the option to use no isolation at all via fog05...do you think this is the last resort?
    Thanks for the answer btw @gabrik
    Gabriele Baldoni
    @gabrik
    Yes, I think use no isolation could work, offcourse in that case the application will be running in the same namespaces of any other application in the host.
    If for your use-case it is not a security issue, you can go for it.
    Oliver Layer
    @OliLay
    Okay thanks. Network virtualization with fog05 then won't work for this FDU/node, as this is also realized via namespaces right?
    Gabriele Baldoni
    @gabrik
    right, it will be outside of the virtual networking.
    Oliver Layer
    @OliLay
    Hi @gabrik, today I tried to deploy the bluetooth fdu without isolation and it worked. Seems really like the bluetooth stack of the linux kernel does not support namespacing. But without isolation it works fine.
    Is there a possibility to describe this in the FDU? Right now I changed the native plugin config to be non-isolated, but this affects also other FDUs deployed on this node.
    Gabriele Baldoni
    @gabrik
    Hi @OliLay not yet, but indeed it would be good to have it.
    Feel free to open an issue on this on the GitHub repo.
    Oliver Layer
    @OliLay
    Sure! Do you want me to put it in the native-plugin issues or main fog05 issues?
    If I have some spare time (and also start working with the master branch instead of 0.22), I can also have a look at how to implement it.
    Gabriele Baldoni
    @gabrik
    Ok the main repo, the description of this “parameter” has to be part of the whole descriptor
    expploitt
    @expploitt
    Hello! The fog05-python API documentation it is deprecated or is correct for the actual code of the repo? https://eclipse-fog05-python3-client-api.readthedocs.io/en/latest/helloworld.html
    Gabriele Baldoni
    @gabrik
    Hi @expploitt it is deprecated, we are rewriting it to be based on the rust code-base
    mjumnir
    @mjumnir

    Good morning. I wanted to get some information related to node communication such as average response time when I noticed that there is a filter implemented in fos_types.atd
    When I plug a second node to the deployment, I can see the informations stored

    Apr 21 10:00:33 debian fos_agent[7001]: agent: [DEBUG] [Yapi]: PUT on /agfos/0/tenants/0/nodes/f55a3de3-93ad-409a-a3e1-3abff85796ef/neighbors/4ccd7a70-cdfc-43fd-93a9-572604e714cf/iface/enp0s3 : {"peer":"4ccd7a70-cdfc-43fd-93a9-572604e714cf","average":0.001546377272117795,"ip":"192.168.0.113","iface":"enp0s3","packet_loss":0.78125,"packet_sent":128,"packet_received":127,"bytes_sent":640,"bytes_received":5207}

    But it suddenly stop after a certain period of time. So my questions are the following:

    • Can you explain me how informations about "neighbors" are gathered and if it is normal that it stops updating information after about ten minutes
    • How can I query the distributed key-value store to access informations such as the status of the node
    Gabriele Baldoni
    @gabrik

    Hi @mjumnir, you are referring to the 0.2.2 version which is based in OCaml and that will not receive any update/support as we are moving the whole codebase into rust.

    There is any reason you need to use that verison?

    If not please use the nightly releases that you can find https://download.eclipse.org/fog05/fog05/

    mjumnir
    @mjumnir
    Hi @gabrik, there is no specific reason of using this version. I did the deployment months ago and was not aware of the evolution.
    I will update to the last version, thank you.
    Oliver Layer
    @OliLay
    Hi, when using the latest nightly version (rust) of the Python API, I've got issues on how to call the methods in the global class (https://github.com/eclipse-fog05/fog05-python/blob/master/src/zconnector.rs#L75) from Python.
    I tried to manually instantiate the Zconnector, but I can't access the global instance that the Zconnector holds. Neither can I construct a Global object, as it is not included in the python module I guess.
    Have I missed something or is it not possible to access these methods currently?
    (I have an established foszenohsession, btw)
    Gabriele Baldoni
    @gabrik
    Hi
    The Python API is under heavy development so it is not currently working
    Oliver Layer
    @OliLay
    Alright, thanks. The code looked quite complete, that's why I was wondering :D