• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Storage Icon WebUI Update Takes 2-5 Minutes when Storage Node Is Off-line

Scheduled Pinned Locked Moved Solved
Bug Reports
2
6
746
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jim Graczyk
    last edited by Jul 26, 2017, 1:35 PM

    Server
    • FOG Version:1.5.0 RC3, today’s working branch on all FOG servers
    • OS: CEntOS 7
    Description

    I found that when a storage node is configured and not working, the webUI Storage Icon takes a long time to update. This delay occurs when you add a new storage node that isn’t connected or if you shut down a storage node that was previously working fine.

    I never connected the new storage node since it was just a test, but the problem more or less goes away when you restart all defined storage nodes. I say more or less because the time to update the screen after clicking the Storage Icon can be 15+ seconds when the nodes are up and working with just 2 storage nodes. If the code in the WebUI is serially contacting each storage node, the normal update time could be lengthy if you have a dozen storage nodes defined (which we will).

    Jim

    1 Reply Last reply Reply Quote 0
    • J
      Jim Graczyk
      last edited by Jul 26, 2017, 1:49 PM

      Sorry - I misspoke -

      It seems the problem is with the entire UI, not any particular action. Having a storage node off appears to negatively impact the entire WebUI. We’re seeing delays of 2 minutes, then some brief time of regular responsiveness, then 2 minute delays, across the WebUI.

      Specifically, hit storage icon, waited 2 minutes, then had enough regular responsiveness to click hosts, then groups, then Snapins. when I click on a particular snapin, it took another 2 minutes to come up.

      Restarting the down storage node returns the WebUI to normal responsiveness.

      Jim

      T 1 Reply Last reply Jul 26, 2017, 2:02 PM Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 26, 2017, 2:02 PM

        I noticed this last night and have been working on a fix for the “delay” as well.

        if you’d like, you can re-pull the working branch and see if it helps you out.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott @Jim Graczyk
          last edited by Jul 26, 2017, 2:02 PM

          @Jim-Graczyk The points of “unresponsiveness” is not the GUI code directly. It’s because of the call that started the 2 minute load time to occur.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          J 1 Reply Last reply Jul 26, 2017, 2:07 PM Reply Quote 0
          • J
            Jim Graczyk @Tom Elliott
            last edited by Jul 26, 2017, 2:07 PM

            @Tom-Elliott

            We’ll update at lunch time. We just ran the update at about 9am Eastern and we need to get work done on the project. We’re good as long as we don’t shut down storage nodes…

            Do want to point out that even with all nodes up, the time after one clicks on a snapin to edit it and the time after clicking on the Storage icon are much longer than other actions and seems unrelated to the amount of data being pulled (heck our database dump was 500K so it’s certainly all in RAM on the server).

            Jim

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 26, 2017, 2:45 PM

              Storage Icon should be a little better. Part of this delay is because of using the backend to get the data. The backend pulls in all the files from the nodes (even if they’re not needed). I could tweak the code base, but I think using the api to get the data is ultimately a smarter method as it makes things “common”.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              193

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project