opensand team mailing list archive
-
opensand team
-
Mailing list archive
-
Message #00101
Re: opensand 1.0.0
Hello Julien.
Thank you for your quick response.
Your first advice, about using "sudo opensand_tun; sudo sand-daemon -f"
really helped me a lot. I found that there was a problem with the
daemon.conf file, where I should have added an lan_ipv6 address as well.
Now I'm able to start deamon but lots of warnings arise. Also using
ifconfig I dont see an opensand interface, just eth0, eth1 and lo.
/output of sand-daemon -f:
2012-12-14 13:56:01,691 - sand-daemon - WARNING - IPv4 forwarding on
interface opensand is disabled, you won't be able to route packets toward
WS behind this host [sand-daemon:215]
2012-12-14 13:56:01,692 - sand-daemon - WARNING - IPv4 forwarding on
interface eth1 is disabled, you won't be able to route packets toward WS
behind this host [sand-daemon:215]
2012-12-14 13:56:01,692 - sand-daemon - WARNING - IPv6 forwarding on
interface eth1 is disabled, you won't be able to route packets toward WS
behind this host [sand-daemon:223]
2012-12-14 13:56:01,692 - sand-daemon - WARNING - IPv4 ip_forward is
disabled, you should enable it [sand-daemon:226]
2012-12-14 13:56:01,693 - sand-daemon - WARNING - wmem_max should be set to
a value greater than 1048580 in order to support high bitrates through
OpenSAND [sand-daemon:233]
2012-12-14 13:56:01,693 - sand-daemon - WARNING - rmem_max should be set to
a value greater than 1048580 in order to support high bitrates through
OpenSAND [sand-daemon:233]
2012-12-14 13:56:01,693 - sand-daemon - WARNING - wmem_default should be
set to a value greater than 1048580 in order to support high bitrates
through OpenSAND [sand-daemon:233]
2012-12-14 13:56:01,693 - sand-daemon - WARNING - rmem_default should be
set to a value greater than 1048580 in order to support high bitrates
through OpenSAND [sand-daemon:233]/
You were completely right about the second issue as well.
I have missed the part where I should copy the plugin scripts in manager's
modules directory. As soon as I copied the files, the manager passed this
step. Unfortunately, now crashes when loading the topology file. Below is
the output:
/2012-12-14 14:02:16,418 - sand-manager - ERROR - failed to initialize
OpenSAND Manager: need more than 1 value to unpack
Traceback (most recent call last):
File "/usr/bin/sand-manager", line 110, in __init__
self._model = Model(self._manager_log, options.scenario)
File
"/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py",
line 96, in __init__
self.load()
File
"/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py",
line 144, in load
self.load_topology()
File
"/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py",
line 177, in load_topology
except IOError, (_, strerror):
ValueError: need more than 1 value to unpack/
Finally, Im running 32bit ubuntu release and I would be more than happy to
install openSAND from debs, but I need to use the v.1.0.0 because of this
bug (https://bugs.launchpad.net/opensand/+bug/1015156) and the loss model
plugin.
Thank you a lot for your help.
Yannis
P.S. I noticed that this bug
https://bugs.launchpad.net/opensand/+bug/1015156 status has changed to "Fix
Released" in milestone 0.9.0. This means that deb installation 0.9.0
includes the patch?
Quoting Julien BERNARD <jbernard@xxxxxxxxxxxxxxxxxxx>:
> Hi Thomas,
>
> Le 13/12/2012 19:16, thomasi@xxxxxxx a écrit :
>>
>> Hello,
>> I have just installed opensand 1.0.0 from sources and I m facing 2
problems.
> Thanks for trying our new version so quickly.
>
>>
>> Firstly, I ve faced this bug (Im runnning ubuntu 10.4)
>> https://bugs.launchpad.net/opensand/+bug/1042641
>> which I bypassed using "sudo touch /var/lock/opensand-network", as
>> this thread indicates (although Im not sure if this will work since
>> Im setting up the GW). After that, opensand-daemon seams to start
>> fine, but the problem is that I don't see the process with "ps aux |
>> grep sand-daemon".
> The manual part is not really clear on the daemon installation due to
> the bug you mentioned. If you have already created the
> /etc/opensand/daemon.conf and installed the core part, try to run the
> opensand_tun program as root then launch sand-daemon -f as root as
> well.
> If something goes wrong you should have errors on your terminal which
> would help us to detect your problem.
>
>>
>> Secondly, I can not deploy sand-manager.
>> I get this error:
>>
>> 2012-12-13 20:14:48,683 - sand-manager - ERROR - failed to
>> initialize OpenSAND Manager: You need encapsulation modules to use
>> your platform
>> Traceback (most recent call last):
>> File "/usr/bin/sand-manager", line 110, in __init__
>> self._model = Model(self._manager_log, options.scenario)
>> File
>>
"/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py",
>> line 92, in __init__
>> raise ModelException("You need encapsulation modules to use your "
>> ModelException: You need encapsulation modules to use your platform
>>
>> The problem is that Ive already installed the encapsulation plugins
>> and updated the daemon.conf file.
> Did you run this command on Manager for all plugins:
>
> cp src/$name.py
>
$OPENSAND_BASE_DIR/lib/python2.6/dist-packages/opensand_manager_core/modules/
>
> with name the name of the plugin you are installing ?
>
>>
>> Any help would be truly appreciated.
> I hope this would help.
>
> If I may give you an advice, as you are running OpenSAND on Ubuntu
> 10.04, if this is the 32 bits version you should install the platform
> with debian packages.
> If you are on a 64 bits version you may encounter some errors as it
> has not been tested yet but we would be glad to help you.
>
> Regards,
>
>
> --
> Julien BERNARD
Follow ups
References