Code Monkey home page Code Monkey logo

Comments (5)

sgalgano avatar sgalgano commented on August 30, 2024 1

@WorksWellWithOthers have you taken a look at letce2, letce2-plugin-lxc and letce2-tutorial? letce2 is better suited for authoring experiments than trying to derive from emane-tutorial.

from emane-tutorial.

bullr avatar bullr commented on August 30, 2024

Having a related issue on a new Ubuntu 20.04 LTS server install with emane installed from the git/deb binaries for 20.04. I did not have this issue on the older CentOS7 install that had emane manually installed via source.

emane-tutorial/0# ./demo-start
Creating bridge: emanenode0
waiting for emanenode0...found
kernel.sched_rt_runtime_us = -1
Unsupported LXC version

The bridge is started but no lxc containers are created for the nodes in the demo.

Edit: more info

lxc --version 4.0.4

Must be new syntax for creating the containers since I edited the democtl-host file and changed the majorversion check from 3 to 4 and it provided the following in the node log after attempting startup:

cat 1/var/log/lxc-execute.log.1
lxc-execute node-1 20210118232713.998 ERROR cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.node-1"
lxc-execute node-1 20210118232713.998 ERROR cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.node-1"
lxc-execute node-1 20210118232714.915 ERROR network - network.c:lxc_network_setup_in_child_namespaces_common:3456 - Invalid argument - Failed to set network device "" up
lxc-execute node-1 20210118232714.916 ERROR network - network.c:lxc_setup_network_in_child_namespaces:3556 - Invalid argument - Failed to setup netdev
lxc-execute node-1 20210118232714.916 ERROR conf - conf.c:lxc_setup:3301 - Failed to setup network
lxc-execute node-1 20210118232714.916 ERROR start - start.c:do_start:1231 - Failed to setup container "node-1"
lxc-execute node-1 20210118232714.916 ERROR sync - sync.c:__sync_wait:40 - An error occurred in another process (expected sequence number 5)
lxc-execute node-1 20210118232714.917 ERROR start - start.c:__lxc_start:1952 - Failed to spawn container "node-1"
lxc-execute node-1 20210118232714.145 ERROR lxc_execute - tools/lxc_execute.c:main:226 - Failed run an application inside container

from emane-tutorial.

sgalgano avatar sgalgano commented on August 30, 2024

I do not believe these issues are related. @bullr pull emane-tutorial. I just merged 8763e9c to master.

from emane-tutorial.

bullr avatar bullr commented on August 30, 2024

that got the containers starting, thanks!

from emane-tutorial.

WorksWellWithOthers avatar WorksWellWithOthers commented on August 30, 2024

I'll take a look at the letce2-tutorials. Thank you.

from emane-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.