• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lhovarter
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    lhovarter

    @lhovarter

    0
    Reputation
    321
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    lhovarter Unfollow Follow

    Latest posts made by lhovarter

    • RE: Pie charts on dashboard showing incorrect total and used size for Storage nodes

      Ok, I found the reason. My old nodes are all 32-bit (we run fog on recycled hardware basically), my new node is 64-bit. In the freespace.php a recent change (somewhere within the last few months) made calculating $hdtotal and $hdused use intval(). This made them integers which is not a big deal on 64-bit systems in PHP but in 32-bit systems the harddrive space in bits is higher than the maximum size of an integer. If I restore the old freespace.php file it works fine.

      I don’t know a lot about coding in PHP but is there a way to cast the result of the calculation to a double or long for 32-bit compatibility?

      posted in FOG Problems
      L
      lhovarter
    • RE: Pie charts on dashboard showing incorrect total and used size for Storage nodes

      Oh wait, duh, for some reason it is maxing out on how much memory is assigned to that number (2147483647 maximum for a 32 bit integer). So somewhere there is a memory setting in apache or php that is wrong (on my servers).

      posted in FOG Problems
      L
      lhovarter
    • RE: Pie charts on dashboard showing incorrect total and used size for Storage nodes

      Yeah it is strange, I looked at the permissions and it seems fine so I started poking around in the freespace.php file a bit. When I type in the page ( http://workingserver/fog/status/freespace.php?path=L2ltYWdlcw== ) I get {“free”:56375885824,“used”:15166595072} but on the one that is stuck (the apache log said it was suing the same path parameter in the code) I get {“free”:2147483647,“used”:2147483647}. I think that in that php file it is trying to get some sort of default path that is set wrong in my php config somewhere? I’ll do some more digging

      posted in FOG Problems
      L
      lhovarter
    • Pie charts on dashboard showing incorrect total and used size for Storage nodes

      Hey, I am running into an odd problem that just popped up the other day when I updated. The piecharts on the dashboard for old nodes that I updated to the newest fog show the maximum hard drive size as 4 GB and have used 2 GB of it. If I click the pie chart to see the specs of the node it shows the correct numbers for hard drive size and usage. Here are a few screenshots of the problem 0_1447424328610_fogscreenshot1.png 0_1447424511618_fogscreenshot2.png

      Also this problem does not occur on a node with a fresh install

      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      No problem, thanks for the swift response and fix!

      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      Its a permissions issue for the download, so that’s on my end, it looks like everything is working!

      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      Almost there! I freshly imaged the PC after updating to 4505 and the snapin I was trying to install worked. Then I added a second one for Google Chrome and deployed it but it looks like it isn’t downloading the installer after I added the snapin on the web portal.

      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       8/27/2015 11:45 AM Client-Info Version: 0.9.4
       8/27/2015 11:45 AM SnapinClient Running...
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication Response: Success
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication Response: Success
       8/27/2015 11:45 AM SnapinClient Snapin Found:
       8/27/2015 11:45 AM SnapinClient     ID: 11
       8/27/2015 11:45 AM SnapinClient     RunWith: 
       8/27/2015 11:45 AM SnapinClient     RunWithArgs: 
       8/27/2015 11:45 AM SnapinClient     Name: UltraVNC
       8/27/2015 11:45 AM SnapinClient     File: UltraVNC_1_2_06_X64_Setup_silent.exe
       8/27/2015 11:45 AM SnapinClient     Created: 2015-08-27 11:50:41
       8/27/2015 11:45 AM SnapinClient     Args: 
       8/27/2015 11:45 AM SnapinClient     Reboot: 
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.file.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&taskid=11
       8/27/2015 11:45 AM Bus {
        "channel": "Notification",
        "data": "{\r\n  \"title\": \"UltraVNC\",\r\n  \"message\": \"FOG is installing UltraVNC\",\r\n  \"duration\": 10\r\n}"
      }
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM SnapinClient Starting snapin...
       8/27/2015 11:45 AM SnapinClient Snapin finished
       8/27/2015 11:45 AM SnapinClient Return Code: 1
       8/27/2015 11:45 AM Bus {
        "channel": "Notification",
        "data": "{\r\n  \"title\": \"Finished UltraVNC\",\r\n  \"message\": \"UltraVNC finished installing\",\r\n  \"duration\": 10\r\n}"
      }
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?taskid=11&exitcode=1&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication Response: Success
       8/27/2015 11:45 AM SnapinClient Snapin Found:
       8/27/2015 11:45 AM SnapinClient     ID: 12
       8/27/2015 11:45 AM SnapinClient     RunWith: 'c:\WINDOWS\system32\msiexec.exe
       8/27/2015 11:45 AM SnapinClient     RunWithArgs: /i
       8/27/2015 11:45 AM SnapinClient     Name: Google chrome
       8/27/2015 11:45 AM SnapinClient     File: googlechromestandaloneenterprise.msi
       8/27/2015 11:45 AM SnapinClient     Created: 2015-08-27 11:50:41
       8/27/2015 11:45 AM SnapinClient     Args: 
       8/27/2015 11:45 AM SnapinClient     Reboot: 
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.file.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&taskid=12
       8/27/2015 11:45 AM Bus {
        "channel": "Notification",
        "data": "{\r\n  \"title\": \"Google chrome\",\r\n  \"message\": \"FOG is installing Google chrome\",\r\n  \"duration\": 10\r\n}"
      }
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM Bus Emmiting message on channel: Notification
       8/27/2015 11:45 AM SnapinClient Starting snapin...
       8/27/2015 11:45 AM SnapinClient ERROR: Could not start snapin
       8/27/2015 11:45 AM SnapinClient ERROR: The system cannot find the file specified
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?taskid=12&exitcode=-1&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1
       8/27/2015 11:45 AM Middleware::Communication Response: No snapins
      ------------------------------------------------------------------------------
      
      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      The permissions change did not work for me either

      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      Alright I added a snapin to the default group and added a task to deploy it. The task Manager says queued and the webpage is giving me #!ns still. I double checked that I have snapins enabled on the host and globally as well.

      I checked the SQL tables real quick to see if there was anything and got this:

      
      mysql> Select * from snapinJobs;
      +------+----------+-----------+---------------------+
      | sjID | sjHostID | sjStateID | sjCreateTime        |
      +------+----------+-----------+---------------------+
      |    1 |      391 |         0 | 2015-08-26 10:58:30 |
      |    2 |      392 |         0 | 2015-08-26 10:58:30 |
      |    3 |      393 |         0 | 2015-08-26 10:58:30 |
      |    4 |      394 |         0 | 2015-08-26 10:58:30 |
      |    5 |      395 |         0 | 2015-08-26 10:58:30 |
      |    6 |      396 |         0 | 2015-08-26 10:58:31 |
      |    7 |      399 |         0 | 2015-08-26 10:58:31 |
      |    8 |      400 |         0 | 2015-08-26 10:58:31 |
      |    9 |      401 |         0 | 2015-08-26 10:58:31 |
      |   10 |      402 |         0 | 2015-08-26 10:58:31 |
      |   11 |      404 |         0 | 2015-08-26 10:58:31 |
      |   12 |      405 |         0 | 2015-08-26 10:58:31 |
      |   13 |      406 |         0 | 2015-08-26 10:58:31 |
      |   14 |      407 |         0 | 2015-08-26 10:58:31 |
      |   15 |      408 |         0 | 2015-08-26 10:58:31 |
      |   16 |      409 |         0 | 2015-08-26 10:58:31 |
      |   17 |      410 |         0 | 2015-08-26 10:58:31 |
      |   18 |      411 |         0 | 2015-08-26 10:58:31 |
      |   19 |      412 |         0 | 2015-08-26 10:58:31 |
      |   20 |      413 |         0 | 2015-08-26 10:58:31 |
      |   21 |      414 |         0 | 2015-08-26 10:58:31 |
      |   22 |      415 |         0 | 2015-08-26 10:58:32 |
      |   23 |      416 |         0 | 2015-08-26 10:58:32 |
      |   24 |      417 |         0 | 2015-08-26 10:58:32 |
      |   25 |      418 |         0 | 2015-08-26 10:58:32 |
      |   26 |      419 |         0 | 2015-08-26 10:58:32 |
      |   27 |      420 |         0 | 2015-08-26 10:58:32 |
      |   28 |      421 |         0 | 2015-08-26 10:58:32 |
      |   29 |      422 |         0 | 2015-08-26 10:58:32 |
      |   30 |      423 |         0 | 2015-08-26 10:58:32 |
      |   31 |      463 |         0 | 2015-08-26 12:29:45 |
      +------+----------+-----------+---------------------+
      31 rows in set (0.00 sec)
      
      mysql> Select * from snapinTasks;
      Empty set (0.00 sec)
      
      

      I am currently imaging 30 pcs on another floor but they do not have snapins assigned to them if those could be them.

      posted in FOG Problems
      L
      lhovarter
    • RE: Snapin Problems

      Sure, I will give that a try

      posted in FOG Problems
      L
      lhovarter