On Wed, Sep 21, 2016 at 5:19 PM, Nicolas Ecarnot <nicolas@ecarnot.net> wrote:
Le 21/09/2016 à 16:11, Yaniv Kaul a écrit :


On Wed, Sep 21, 2016 at 5:07 PM, Nicolas Ecarnot <nicolas@ecarnot.net> wrote:
Le 21/09/2016 à 15:49, Yaniv Kaul a écrit :
Adding the Lago devel mailing list.

The download is the reposync phase - which seems to be OK, but then the connection means that for some reason Lago is not serving those RPMs (8585 is the port it should be listening to).
Can you share some logs?

http://pastebin.com/nsDFZhuE


Perhaps something with the Firewall?

I had no idea whether to keep it or not.
I already disabled selinux after having realized it lead to a read only root file system.

About the issue above, no being able to reach some random port would indeed be caused by the firewall, so I'll give it a try.

During RPM installation it should add the relevant rule to the firewalld, btw:
if which firewall-cmd &>/dev/null; then
    firewall-cmd --reload
    firewall-cmd --permanent --zone=public --add-service=ovirtlago
    firewall-cmd --reload
fi
 





One thing to note : when trying to run again the same command ("./run_suite.sh basic_suite_3.6"), the script is breaking when trying to create the lago network :

    * Create network lago_basic_suite_3_6_lago:
libvirt:  error : internal error: Network is already in use by interface 8938-930e31b

Right - you did not clean the previous run:

lagocli --prefix-path ./deployment-basic_suite_3.6/current cleanup

Nope, I already tried that before answering.
Eventually, it did the trick to run :
# ip link set 8938-930e31b down

After the next run, no more NIC issue, but back to the 192.168.200.1:8585 problem.

I'm going to disable the FW.
Stay tuned.

Nicolas ECARNOT



Y.



    * Create network lago_basic_suite_3_6_lago: ERROR (in 0:00:00)
  # Start nets: ERROR (in 0:00:00)
@ Start Prefix: ERROR (in 0:00:00)
Error occured, aborting
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 691, in main
    cli_plugins[args.verb].do_run(args)
  File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 180, in do_run
    self._do_run(**vars(args))
  File "/usr/lib/python2.7/site-packages/lago/utils.py", line 488, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/lago/utils.py", line 499, in wrapper
    return func(*args, prefix=prefix, **kwargs)
  File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 255, in do_start
    prefix.start(vm_names=vm_names)
  File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 958, in start
    self.virt_env.start(vm_names=vm_names)
  File "/usr/lib/python2.7/site-packages/lago/virt.py", line 170, in start
    net.start()
  File "/usr/lib/python2.7/site-packages/lago/virt.py", line 339, in start
    self.libvirt_con.networkCreateXML(self._libvirt_xml())
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4209, in networkCreateXML
    if ret is None:raise libvirtError('virNetworkCreateXML() failed', conn=self)
libvirtError: internal error: Network is already in use by interface 8938-930e31b





I tried to ifdown this interface, but that does not seem to be enough.


TIA,
Y.

On Wed, Sep 21, 2016 at 4:25 PM, Nicolas Ecarnot <nicolas@ecarnot.net> wrote:
Hello Yaniv,

Following your recommendation, I install a new bare metal host, installed F24, then followed the lago.readthedoc web site.

When running ./run_suite.sh basic_suite_3.6 , things seems to go right (downloading...) for a while, then begin some errors about accessing 192.168.200.1:8585

May you tell me where would be the best place to ask some help about Lago ? (IRC, mailing list, e-mail... ?)

Best regards,

--
Nicolas ECARNOT



-- 
Nicolas ECARNOT



-- 
Nicolas ECARNOT