Hi Ondrej,
Thanks a lot for your replying!
Currently I try it on Ubuntu 12.04, I've checked python's version, it is 7.0,
which is enough for me to run LNST. The test case I am using is "ping_icmp",
which I do some modifications such as change the IP address and MAC address.
The issue I have is: I could successfully run the it to get the ping command accomplished;
however, I won't be able to let the rest stops. After I press "Ctrl+C" to
force stop it on controller side, it has some error information.
What's more, when I dig into it ,I found that after the ping command finishing
executing, the slave side's eth interface has been down and could not be re-up. So
when I type "ifconfig" I won't see eth0. I have to manually type
"dhclient eth0" to enable it again.
I took a look at the source code and found that lnst do will down the eth when it starts
running; however, it will up it again at the end of running this test. So I doubt that for
some reasons I don't know, it fails to bring the eth0 up again in my case. And the
whole test hung in certain stage.
Actually I also test it on a pure fedora environment and both controller and slaves are in
Fedora 18, but the result keeps same. So I don't know how to deal with it.
I attached the log for both the controller and slaves when it is running on Ubuntu 12.04
and also the recipe I am using to run this test. Hope they could provide more information
to you.
I am looking forward to hearing from you!
PS:
One more question, I don't really understand some part of the recipe file. The
question is: since I've already set up the host interface:
<info hostname="192.168.1.4"/> <netdevices>
<!-- Change hwaddr here --> <netdevice type="eth"
network="tnet" hwaddr="00:0c:29:04:e0:33"
phys_id="0"/>
Why do I still need to set up a "testifc1" again?
<netconfig> <interface id="testifc1" phys_id="0"
type="eth"> <addresses> <address
value="192.168.1.4/24"/> </addresses>
And, how do I set up this testifc1? Do I need to set it to be different from the real host
name? I did it before but the test fails by reporting "No interface" so I have
to set it exactly same as the host name.
Do I also need to set the eth0 to a static IP address? Currently I am using DHCP. Will it
affect test's running?
Thank you so much!
Yours,
Xing
Date: Sat, 15 Jun 2013 13:55:53 +0200
From: olichtne(a)redhat.com
To: dymfangxing(a)hotmail.com
CC: lnst-developers(a)lists.fedorahosted.org
Subject: Re: can lnst be used on Linux distributions other that Fedora 18?
Hi,
the information available in the first link is correct. Lnst should work
on any Linux distribution with python. The only difference is that we
don't directly test it on other distributions than fedora, but ubuntu
should be fine.
The information in the second link is refering to something else
entirely. The page focuses on creating a recipe step-by-step and in the
begining we describe requirements for the recipe we are creating. This
is contained within the recipe and it will only affect the process
determining which slave machines to use for the recipe.
I would gladly help you with making lnst work for you but I will first
need more information regarding how it failed. The best way to give me
that is to enable debug messages by using the -d parameter (this works
both for lnst-slave and lnst-ctl) and sending me the entire output.
Please add which sources are you using- the rpm or tar archive from
the site, or the current git version.
Finally it will also be useful to know what your testing setup is-
controller, slaves, the connection between the slaves, and to the
controller.
The most obvious problems that I can think of without additional
information is to check if you are using at least python 2.6, then maybe check
the filepaths that lnst-ctl tries to access.
Thank you for your interest and I hope I will be able to help.
-Ondrej
On Thu, Jun 13, 2013 at 09:17:54PM -0700, Xing Fang wrote:
> Hi,
>
>
> I have a question about lnst. The question is: can lnst be used on Linux
> distributions other that Fedora 18?
>
> Currently I set both controller and slaves on different ubuntu 12.04
> virtual machines but they failed to work. I found on the
>
https://fedorahosted.org/lnst/wiki/Documentation/Install that "if you
don't
> use Fedora you will need to install LNST directly from the sources". So I
> suppose it should work OK on Ubuntu too.
>
> However, I also found that "I also found that "All the slave machines
must
> run Fedora 18 " from
>
https://fedorahosted.org/lnst/wiki/Documentation/Recipes.
>
> Does that mean all the slaves should be on Fedora 18, but the controller
> can be any Linux distribution?
>
> Please let me know more about it! Thank you so much!
>
> --
> All the best!
>
> Your sincerely,
> Xing Fang
> _______________________________________________
> LNST-developers mailing list
> LNST-developers(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/lnst-developers