<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 21, 2016 at 5:58 PM, Nicolas Ecarnot <span dir="ltr">&lt;<a href="mailto:nicolas@ecarnot.net" target="_blank">nicolas@ecarnot.net</a>&gt;</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:28, 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:19 PM,
            Nicolas Ecarnot <span dir="ltr">&lt;<a href="mailto:nicolas@ecarnot.net" target="_blank">nicolas@ecarnot.net</a>&gt;</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 à 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">&lt;<a href="mailto:nicolas@ecarnot.net" target="_blank">nicolas@ecarnot.net</a>&gt;</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 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&#39;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 &amp;&gt;/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></span>
    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 &#39;pc.ram&#39;: 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)<span class="gmail-"><br>
      Error occured, aborting<br>
      Traceback (most recent call last):<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/cmd.py&quot;, line 691,
      in main<br>
          cli_plugins[args.verb].do_run(<wbr>args)<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/plugins/cli.py&quot;,
      line 180, in do_run<br>
          self._do_run(**vars(args))<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/utils.py&quot;, line 488,
      in wrapper<br>
          return func(*args, **kwargs)<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/utils.py&quot;, line 499,
      in wrapper<br>
          return func(*args, prefix=prefix, **kwargs)<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/cmd.py&quot;, line 255,
      in do_start<br>
          prefix.start(vm_names=vm_<wbr>names)<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/prefix.py&quot;, line
      958, in start<br>
          self.virt_env.start(vm_names=<wbr>vm_names)<br></span>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/virt.py&quot;, line 175,
      in start<br>
          vm.start()<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py&quot;, line
      247, in start<br>
          return self.provider.start(*args, **kwargs)<br>
        File &quot;/usr/lib/python2.7/site-<wbr>packages/lago/vm.py&quot;, line 93, in
      start<br>
          self.libvirt_con.createXML(<wbr>self._libvirt_xml())<br>
        File &quot;/usr/lib64/python2.7/site-<wbr>packages/libvirt.py&quot;, line 3727,
      in createXML<br>
          if ret is None:raise libvirtError(&#39;<wbr>virDomainCreateXML()
      failed&#39;, 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 &#39;pc.ram&#39;: Cannot allocate memory</font><br>
    <br>
    So here is the time I have to admit I&#39;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&#39;t be somewhere I could tweak some limits?</div></blockquote><div><br></div><div>Of course, but I don&#39;t such low value would suffice. You can change the template - basic_suite_3.6/LagoInitFile.in </div><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-HOEnZb"><font color="#888888"><br>
    <br>
    -- <br>
    Nicolas ECARNOT<br>
  </font></span></div>

</blockquote></div><br></div></div>