<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 21/09/2016 à 16:28, Yaniv Kaul a
écrit :<br>
</div>
<blockquote
cite="mid:CAJgorsZe0ejnPMUZEVVWUhU+NwvhHUtJtwsghjmMz-dBFfB_uw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 21, 2016 at 5:19 PM,
Nicolas Ecarnot <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:nicolas@ecarnot.net"
target="_blank">nicolas@ecarnot.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><span class="gmail-">
<div>Le 21/09/2016 à 16:11, Yaniv Kaul a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 21, 2016 at
5:07 PM, Nicolas Ecarnot <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nicolas@ecarnot.net"
target="_blank">nicolas@ecarnot.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><span>
<div>Le 21/09/2016 à 15:49, Yaniv Kaul a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">Adding the Lago devel
mailing list.
<div><br>
</div>
<div>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).</div>
<div>Can you share some logs?</div>
</div>
</blockquote>
<br>
</span><a moz-do-not-send="true"
href="http://pastebin.com/nsDFZhuE"
target="_blank">http://pastebin.com/nsDFZhuE</a></div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Perhaps something with the Firewall?</div>
</div>
</div>
</div>
</blockquote>
<br>
</span> I had no idea whether to keep it or not.<br>
I already disabled selinux after having realized it lead
to a read only root file system.<br>
<br>
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.</div>
</blockquote>
<div><br>
</div>
<div>During RPM installation it should add the relevant rule
to the firewalld, btw:</div>
<div>if which firewall-cmd &>/dev/null; then</div>
<div> firewall-cmd --reload</div>
<div> firewall-cmd --permanent --zone=public
--add-service=ovirtlago</div>
<div> firewall-cmd --reload</div>
<div>fi</div>
</div>
</div>
</div>
</blockquote>
<br>
I gave it many tries and only when manually adding your recommended
firewall-cmd command, I was able to go one step further in the run.<br>
<br>
Next issue is there :<br>
<br>
<font face="Courier New, Courier, monospace" size="-1">@ Start
Prefix: <br>
# Start nets: <br>
* Create network lago_basic_suite_3_6_lago: <br>
* Create network lago_basic_suite_3_6_lago: Success (in
0:00:06)<br>
# Start nets: Success (in 0:00:06)<br>
# Start vms: <br>
* Starting VM lago_basic_suite_3_6_engine: <br>
libvirt: QEMU Driver error : internal error: process exited while
connecting to monitor: 2016-09-21T14:50:12.757362Z
qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot
allocate memory<br>
* Starting VM lago_basic_suite_3_6_engine: ERROR (in 0:00:02)<br>
# Start vms: ERROR (in 0:00:02)<br>
# Destroy network lago_basic_suite_3_6_lago: <br>
# Destroy network lago_basic_suite_3_6_lago: ERROR (in 0:00:00)<br>
@ Start Prefix: ERROR (in 0:00:09)<br>
Error occured, aborting<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 691,
in main<br>
cli_plugins[args.verb].do_run(args)<br>
File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py",
line 180, in do_run<br>
self._do_run(**vars(args))<br>
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 488,
in wrapper<br>
return func(*args, **kwargs)<br>
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 499,
in wrapper<br>
return func(*args, prefix=prefix, **kwargs)<br>
File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 255,
in do_start<br>
prefix.start(vm_names=vm_names)<br>
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line
958, in start<br>
self.virt_env.start(vm_names=vm_names)<br>
File "/usr/lib/python2.7/site-packages/lago/virt.py", line 175,
in start<br>
vm.start()<br>
File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
247, in start<br>
return self.provider.start(*args, **kwargs)<br>
File "/usr/lib/python2.7/site-packages/lago/vm.py", line 93, in
start<br>
self.libvirt_con.createXML(self._libvirt_xml())<br>
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3727,
in createXML<br>
if ret is None:raise libvirtError('virDomainCreateXML()
failed', conn=self)<br>
libvirtError: internal error: process exited while connecting to
monitor: 2016-09-21T14:50:12.757362Z qemu-system-x86_64: cannot
set up guest memory 'pc.ram': Cannot allocate memory</font><br>
<br>
So here is the time I have to admit I'm trying to run all this on a
*very* humble machine, with only 4Gb of RAM, that may sound
ridiculous but I am prepared to wait for days between each command
return and mouse click, as long as everything is doing its job
(slowly).<br>
<br>
Not being able to allocate memory is blocking me from even testing
Lago.<br>
<br>
Wouldn't be somewhere I could tweak some limits?<br>
<br>
-- <br>
Nicolas ECARNOT<br>
</body>
</html>