<div dir="ltr">Hi Miloš,<div><br></div><div>I've added this to the known issues page explaining how to fix it:</div><div><a href="http://opennebula.org/documentation:rel3.8:known_issues#sunstone-logs" target="_blank">http://opennebula.org/documentation:rel3.8:known_issues#sunstone-logs</a><br>


</div><div>(bug #1806)</div><div><br></div><div>cheers,<br>Jaime</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 10, 2013 at 11:56 AM, Miloš Kozák <span dir="ltr"><<a href="mailto:milos.kozak@lejmr.com" target="_blank">milos.kozak@lejmr.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi, is there any progress or any workaround how to show logs in
    sunstone?<br>
    <br>
    <br>
    <div>Dne 7.2.2013 12:11, Andreas Calvo Gómez
      napsal(a):<br>
    </div>
    <blockquote type="cite"><div><div>Daniel,
      <br>
      On 06/02/13 14:22, Daniel Molina wrote:
      <br>
      <blockquote type="cite">On 6 February 2013 12:36, Andreas Calvo
        Gómez <a href="mailto:andreas.calvo@scytl.com" target="_blank"><andreas.calvo@scytl.com></a> wrote:
        <br>
        <blockquote type="cite">Daniel,
          <br>
          <br>
          On 06/02/13 12:34, Daniel Molina wrote:
          <br>
          <blockquote type="cite">On 6 February 2013 12:17, Andreas
            Calvo Gómez <a href="mailto:andreas.calvo@scytl.com" target="_blank"><andreas.calvo@scytl.com></a>
            <br>
            wrote:
            <br>
            <blockquote type="cite">Hi Daniel!
              <br>
              <br>
              On 06/02/13 11:15, Daniel Molina wrote:
              <br>
              <blockquote type="cite">Hi,
                <br>
                <br>
                On 1 February 2013 13:05, Andreas Calvo Gómez
                <a href="mailto:andreas.calvo@scytl.com" target="_blank"><andreas.calvo@scytl.com></a>
                <br>
                wrote:
                <br>
                <blockquote type="cite">We have performed a update of
                  both the OS (CentOS 6.2 to 6.3) and
                  <br>
                  OpenNebula
                  <br>
                  (3.8.1 to 3.8.3), and are facing some errors that
                  weren't in the older
                  <br>
                  release:
                  <br>
                  - Logs can't be viewed from the webUI: selecting the
                  "VM Log" tab shows
                  <br>
                  an
                  <br>
                  error message "Log for VM XXX not available".
                  <br>
                </blockquote>
                There was a bug in previous releases with the vm log
                directory, but it
                <br>
                should be fixed in 3.8.3. Did you restart the
                sunstone-server after
                <br>
                upgrading?
                <br>
              </blockquote>
              Yes, several times because Sunstone or ONE becomes
              unresponsive from time
              <br>
              to
              <br>
              time.
              <br>
            </blockquote>
            Is Sunstone running on the same machine as OpenNebula?
            <br>
          </blockquote>
          Yes, we have a frontend with Sunstone and OpenNebula (using
          NFS to share the
          <br>
          common storage).
          <br>
        </blockquote>
        The new vms logs should be in:
        <br>
                     system-wide: LOG_LOCATION + "/vms/#{id}.log"
        <br>
                     self-contained: LOG_LOCATION + "/vms/#{id}/vm.log"
        <br>
        the former directory was
        <br>
                     system-wide: LOG_LOCATION + "/#{id}.log"
        <br>
                     self-contained: LOG_LOCATION + "/#{id}/vm.log"
        <br>
        <br>
        The logs from vms created in old versions have to be
        moved/linked to
        <br>
        this new directory. I will update the upgrade guide with this
        step,
        <br>
        sorry for the inconvenience..
        <br>
      </blockquote>
      However, logs for new VMs are created under /var/log/one, which I
      thought is where ONE is looking to show them.
      <br>
      <blockquote type="cite">
        <br>
        <br>
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">- One node can't establish
                  network connections: started VMs on one
                  <br>
                  specific
                  <br>
                  node don't have network connectivity, while they get
                  the IP address by
                  <br>
                  context. All other nodes work fine.
                  <br>
                </blockquote>
                Please check the following link:
                <br>
                <br>
                <br>
<a href="http://wiki.opennebula.org/faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong" target="_blank">http://wiki.opennebula.org/faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong</a>
                <br>
                <br>
                Maybe there is something wrong with the host
                configuration.
                <br>
              </blockquote>
              I'll try that link, but all nodes performed the same
              update procedure and
              <br>
              only one is not working.
              <br>
              <br>
              <blockquote type="cite">
                <blockquote type="cite">- Sunstone/ONE seems to be
                  stucked from time to time when performing
                  <br>
                  large
                  <br>
                  operations: as the old version (3.8.1), Sunstone
                  becomes unresponsive
                  <br>
                  and
                  <br>
                  it
                  <br>
                  is necessary to shut down all applications (one,
                  sunstone, occi) and
                  <br>
                  start
                  <br>
                  them again. It usually happens when performing an
                  operation with a
                  <br>
                  large
                  <br>
                  set
                  <br>
                  of VMs.
                  <br>
                  <br>
                  For all errors, no log in /var/log/one give any hint.
                  <br>
                  Is there any other way to try to narrow down the root
                  source of this
                  <br>
                  problems?
                  <br>
                </blockquote>
                What are exactly the actions you performed and with how
                many vms?
                <br>
                Could you send us your sched.conf and oned.conf files?
                <br>
              </blockquote>
              When a batch command is executed (usually deleting 50+
              VMs), Sunstone or
              <br>
              ONE
              <br>
              becomes unresponsive and must be restarted.
              <br>
              Yes, attached you will find our config files.
              <br>
            </blockquote>
            Can you interact with OpenNebula through the cli, or is
            Sunstone the
            <br>
            only one that becomes unresponsive.
            <br>
          </blockquote>
          Everything becomes unresponsive, but not at the same time.
          <br>
          When a user performs a large batch operation, the same user
          can't run more
          <br>
          commands, but other users are fine for a while.
          <br>
          After some time, users can't log into Sunstone and other
          services (such as
          <br>
          OCCI) become unresponsive too.
          <br>
          <br>
        </blockquote>
        Could you send us the oned.log part when this operation is
        performed
        <br>
      </blockquote>
      I've attached a compressed file with all logs (besides VM related
      ones) performing the batch operation.
      <br>
      Hope it's usefull.
      <br>
      <blockquote type="cite">
        <br>
        Cheers
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>
</div></div>