• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Tom Elliott
    3. Posts
    • Profile
    • Following 27
    • Followers 83
    • Topics 117
    • Posts 18,954
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: FOG ubuntu image fails to update database

      @JGeear I don’t know who changed what or when or why.

      You can look at the history table to get a guess as to when it might have happened, but I don’t believe it’s as direct an audit of what changed specifically, just that the Storage node was updated.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @mashina I have made an update after being able to replicate the problem you described.

      Issue it seems was an error 500 occuring on line 329 of the taskingelement.class.php element because it couldn’t find a relevant imaging log.

      I’ve added code that seems to be able to address this though not sure what is actually wrong otherwise. WIth the patch I made things seem to complete okay so I think it’d work good for uni and multicast tasks if you’d be willing to update and test?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @mashina Okay so just so I fully understand:

      The database is successfully updating, but for some reason it’s not returning the exit code correctly.

      I don’t know why (I do want to fix the error you’re seeing but it doesn’t appear to be causing a true “problem” just causes the machine to appear like there is a problem when after the reboot actually occurs), however all is perfectly fine just it might take a minute or 2 longer to actually get into a bootable/workable system?

      So your issue is not at all related though the messaging is similar (Failed to update database) but its failing because it believes the task no longer exists (which indeed is true although only in the context that it is successfully completing the task, but not sending the expected code FOS is waiting for.)

      (I know I’m seeming to ramble, just trying to get my thoughts out and help steer the issue toward whats actually wrong so we know where to look to hopefully fix it.)

      The database is updated, but because FOS doesn’t get the code it expects, it thinks it needs to retry. The retry has nothing to associate to any more (Hence the no active task.)

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @mashina The history table issue’s I’m seeing appear to be legitimate:

      You wouldn’t be able to deploy snapins to a host if the snapin isn’t associated to a host. That said, I don’t know exactly what deploy type, nor what actual “version”

      while I can checkout the commit hash, it’s just a hash and not somethign I readily memorize.

      your exact version of FOG would show on the bottom right of the UI when you login.

      I believe your commit hash relates to working-1.6-beta.2273 or something like that.

      That’s within 2 of the actual “current” but also notably it is within the save function rewrite. Which we definitely see in the history writing.

      It appears like you’re trying to do a Multiple Snapin Task and this is failing?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @JGeear I don’t know if anything changed, just I wonder if someone was making an edit in the UI and accidentally changed the password in the UI. I’m having you start with where I know the system is getting the information. Make sure the username/password matches what is on that nodes /opt/fog/.fogsettings file. If they are the same, then I’d ask if you can use that same information and an FTP client to ensure at least connection is there. Then we can try to troubleshoot further.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @mashina Can you get select * from history; out of your database?

      I’m having a sneaking suspicion the issue is likely part of a rewrite to substaintially make save our save to database functions, that has some repercussions on other things because so much had required things that shouldn’t have bene required.

      Similarly, can you provide the exact version?

      “Latest working-1.6” is a shifting target. like i’m pretty sure you were not on the latest since I made pushes today so pretty sure the error you are getting is not related to today.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @JGeear your FOG Storage Node -> username/password is where the ftp_login information comes from.

      @mashina Similarly for you, but I call out about the “same message” becasue working-1.6 is using ssh unless you’re on an older (1 year or so ago) version of working-1.6?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG ubuntu image fails to update database

      @mashina Are you sure it’s giving ftp_login error?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Cannot authenticate FOG in host to proceed deploy

      @Redbob The username/password should match an authentication you use for the FOG GUI.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: All services are globally disabled

      @Greg-Plamondon I’m going to try delving into this but I’ve been very busy with other things and just haven’t gotten around.

      I do appreciate the patience and assistance.

      The changes you were doing that fixed the problem, please implement them again and you should be back to functional

      Once that is done, do you mind doing a diff between that file and the relevant file in the git repository side:

      Files I think you changed were under: <path>/<to>/<installer>/packages/service/<servicename>/<servicefile>

      I’m not seeing any issues on my test systems.

      not really sure why it isn’t working either.

      I believe you were editing the files in /opt/fog/service/<servicename>/<servicefile>

      So you would do:

      diff -u <path>/<to>/<installer>/packages/service/<servicename>/<servicefile> /opt/fog/service/<servicename>/<servicefile>
      
      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: problem with debian/ubuntu images

      @xavier-duthilleul I suspect it’s your /etc/fstab is looking at a UUID instead of a physical medium.

      The one drawback to the uuid method of bootloading (which is great to always ensure you get the same files) is that the UUID’s are not the same between systems.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: All services are globally disabled

      @Greg-Plamondon I’m not sure I fully understand:

      When I look at the dev-branch files I see that the sprintf method you are doing for PingHosts is what is happening for ImageSize/ImageReplicator

      The code you’re changing is within the sprintf stanzas?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Unable to Fast Wipe | Chainloading failed

      @christop Can you post your apache error log (or php-fpm www-error.log if redhat based) showing the message immediately after the HTTP 5xx Server Error.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Automating FOG installfog.sh – setting interface, IP, and hostname

      @raul The -y parameter will allow that to go through. I use it all the time specifically for this one piece.

      posted in General Problems
      Tom ElliottT
      Tom Elliott
    • RE: Quick Registration and Invenotry not working

      @SotY I know roughly when the error was introduced (1.5.10.1748) and I even know where it’s happening, what I don’t always know is the why.

      It seems like the host anmed TEST was created/updated? I don’t see history showing it as successfully created, but maybe there’s just no history log of new host creation.

      (Sorry there’s a lot of code and while I know a lot of it, it’s not all fully committed to memory lol)

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Quick Registration and Invenotry not working

      @SotY Can you get into your mariadb/mysql and run:

      select * from history;

      I suspect there’s some inventory item expected thati"M just missing.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG Client service disconnection, pending snapins are not even being detected

      @Jamaal The client lives on the Machine itself. not on the fog server.

      Those logs live on teh Windows machine I forget the exact path but something like:

      c:\program files\fog client\fog-error.log or something like that?

      posted in General Problems
      Tom ElliottT
      Tom Elliott
    • RE: FOG Client service disconnection, pending snapins are not even being detected

      @mfe Can you provide the FOG Client Logs?

      posted in General Problems
      Tom ElliottT
      Tom Elliott
    • RE: since upgrading to 1.5.10.1754 deploying image from the fog client menu fails (deploying from console is fine)

      @Gordon-Taylor Can you please install the dev-branch version?

      The error (value min() issue you see) has been fixed in the latest dev-branch.

      I hope this would fix the problem you’re seeing of course, but we won’t really know until that’s done.

      1754 is the latest “stable” version, but dev-branch is a bit newer than the stable branch specifically in an attempt to fix other (and this) particular issue(s).

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: since upgrading to 1.5.10.1754 deploying image from the fog client menu fails (deploying from console is fine)

      @Gordon-Taylor If you’re seeing an HTTP 5xx (doesn’t matter the exact number)

      can you please provide your http error logs:

      /var/log/php-fpm/www-error.log (on redhat based)
      /var/log/apache2/error.log (on debian/ubuntu)

      Also, can you get your mysql history:

      sudo mysql -u root fog
      select * from history;
      

      Thank you!

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • 1
    • 2
    • 3
    • 4
    • 5
    • 947
    • 948
    • 1 / 948