• 0 Votes
    1 Posts
    15 Views
    No one has replied
  • Kea DHCPv6 / IPv6 PXE

    Feature Request
    3
  • iPXE boot doing nothing after update to 1.6.0.158

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    25 Views
    Tom ElliottT

    @MarkG Your screenshot stops at “Start PXE over IPv4.” The firmware never shows a “Station IP address” line. That means the PXE request gets no usable DHCP answer. TFTP and FOG never come into it. Windows can still get an address because a plain lease is not a boot offer.

    FOG’s update does not change your DHCP server. But your server also moved to Ubuntu 26.04 during this upgrade, so check that first.

    Which machine serves DHCP on that network: the FOG server, a router, or Windows DHCP?

    If it is the FOG server, check that the DHCP service still runs:

    sudo systemctl status isc-dhcp-server dnsmasq

    If it is another server, check that it still sends option 66 (the FOG server IP) and option 67 (the boot file, for example snponly.efi for UEFI).

    To see what really reaches the client, run this on the FOG server while the PC tries to boot, and post the output:

    sudo tcpdump -i any -n port 67 or port 68 or port 69 or port 4011
  • Upgrade to 1.6.0.158 fails with mysql 8.4.13

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    93 Views
    M

    @Tom-Elliott Thanks for the detailed reply. That does seem overkill for my needs but I’ll bookmark this for later reading.

  • 0 Votes
    5 Posts
    134 Views
    Tom ElliottT

    @DBailey635 Good questions.

    Release: waiting for stable is sensible. The stable channel gets a release on the 11th of each month, and this feature is in the next one, on December 11.

    Check-ins: both OSes share one host and one hostname. The host list shows the most recent check-in from either OS. The host’s edit page lists each OS on its own line, with its agent version, last check-in, and certificate expiry. So you can see when Windows and Linux each last checked in.

    Separate hostnames for the domain join: not today. FOG applies the host’s one name to every OS, and the domain join follows the Windows install. A per-OS suffix (host01-win / host01-lnx) is a reasonable feature request. It needs a second computer account per machine, so it is not a small change.

    Deploy window: the default is 24 hours after FOG completes a deploy to the host. You can change it in FOG Configuration > FOG Settings > General Settings > FOG_AGENT_ENROLL_DEPLOY_WINDOW (in hours). A longer window does work, but for that whole time any machine that presents that host’s identity enrolls with no approval. For an OS that first boots months later, two better routes:

    Approve it when it shows up. The second OS waits in pending agents until you approve it, and it keeps retrying, so a student’s first boot just queues it. Put an agent enrollment token in the Linux image’s agent install (--token). Give the token enough uses and an expiry past the point where the course switches OS. The agent then enrolls on its first boot, whenever that is, without an approval click.

    No need to walk the room after imaging.

  • AD join problems

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    48 Views
    Tom ElliottT

    @AdamC Hi Adam,

    directory_observation_unknown means the server does not know this PC is in a workgroup. A workgroup PC gets its own join path. Without that flag, the server waits for a domain controller and a secure channel that a fresh image does not have.

    The agent reports workgroup membership only when that report changes. If your agents first reported on 1.6.0 or 1.6.0.14, and you then upgraded to 1.6.0.158, the server never received the report in the form it now needs. That matches “the same for all hosts”.

    Two questions:

    Did you upgrade this server from 1.6.0 or 1.6.0.14? Which fog-agent version do the hosts run?

    This should make each agent send its report again on the next poll. It clears a cached hash only, no host data:

    DELETE FROM hostFactState WHERE hfsKind = 'directory';

    Run it in the fog database, then wait one agent poll. Tell us if the join starts.

    “Current directory observation does not match this host” is expected for a PC that is not joined yet. “Target lookup is unavailable” is a separate check for existing computer accounts. A workgroup join does not use it.

  • 0 Votes
    3 Posts
    75 Views
    Tom ElliottT

    @sgennadi One addition: the installer now also moves FOG_WEB_HOST the same way as FOG_TFTP_HOST. It changes the value only when it still holds the old address. A host name you set there stays.

    This matters because iPXE builds every boot URL after boot.php from FOG_WEB_HOST, and the FOG client uses it as the server address. Before this change, a server on plain HTTP netboot kept the old address there after a move.

    This change is in review now (#2137). It reaches dev-branch when that merges, and stable with the next stable release.

  • 0 Votes
    5 Posts
    121 Views
    Tom ElliottT

    @lperoma The snapin fix is in, in two parts.

    https://github.com/FOGProject/fogproject/pull/2127 (merged)

    Every Deploy, on a single host or a group, now cancels the host’s leftover snapins and snapin tasks when it is queued. This includes Multicast. A Deploy with snapins starts a fresh snapin job. It no longer adds to the old one. A Capture refuses to start while the host has queued snapins, with this message: “Host has queued snapins. Let them finish, or cancel them, before a capture.” The Capture task has a new Cancel queued snapins first option. Tick it, and FOG cancels the snapins and starts the Capture. In the API, send cancelSnapins in the task body. A task that is refused for any reason cancels nothing.

    https://github.com/FOGProject/fogproject/pull/2134 (in review)

    A scheduled Capture keeps the Cancel queued snapins first option, so it behaves the same as an instant one. Without this, a scheduled Capture on a host with stuck snapins would never run. Captures that are already scheduled get the option turned on during the upgrade, because that is how a Capture behaved when they were scheduled.

    Both are on the dev-branch (patches) channel. They will be in the next 1.6 release. The docs are updated too:

    https://docs.fogproject.org/en/latest/management/web/tasks/#queued-snapins-deploy-and-capture https://docs.fogproject.org/en/latest/kb/troubleshooting/snapin-queued-capture-refused/
  • "Join" column empty after reimage + rejoin

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    42 Views
    Tom ElliottT

    @lperoma Thanks, your analysis is correct. A join through the rejoin protocol records its result in hdRejoinState, and the Join column read only hdJoinAt. So a reimaged host that joined correctly showed a blank cell.

    The fix is in https://github.com/FOGProject/fogproject/pull/2125. The Join column now also reads the rejoin result and labels it: “ok (rejoin)”, “rejoin failed”, “rejoin awaiting reboot” or “rejoin result unknown”. A plain join still shows “ok” or its error, so you can tell the two paths apart. Whichever result is newer is the one shown.

    It is merged to dev-branch now, and it reaches stable with the next stable merge.

  • 0 Votes
    2 Posts
    34 Views
    Tom ElliottT

    @sgennadi Thanks for the report. The installer read lsb_release for a value that nothing used. That step is now removed on dev-branch (https://github.com/FOGProject/fogproject/pull/2124). Update to the latest dev-branch and the message is gone. You do not need EPEL or lsb_release for FOG.

  • 0 Votes
    14 Posts
    382 Views
    Tom ElliottT

    @lperoma Thanks for the detail. There are two server fixes and one agent fix.

    Please update instead of copying files this time. This fix changes the database (schema step 465), and the code depends on it. Copied files without that step make enrollment saves fail in a new way. Your server is also now several changes past 1.6.0.158. Run the updater on the patches channel. It installs the files and runs the schema update together. Or wait for the stable release on December 11.

    Server (FOG PRs #2116 and #2118):

    Agent enrollment now follows the boot rule for a shared adapter. The firmware names one host, and the adapter’s MAC is on another host. If that other host’s stored serial differs from the reported serial, the firmware’s host wins. Your laptop then enrolls as its own host, with the normal “known-host-no-agent” reason. The firmware host must match the serial too. A copied UUID alone never wins over a MAC. Any other disagreement stays an identity conflict. The row is now saved with no host, instead of host 0, so the foreign key no longer refuses it. The agent gets “pending”, not 409, and the row shows in All Pending Agents. For a conflict, All Pending Agents now shows which other host has the MAC. After you remove the cause (for example the stray MAC), the next agent poll binds the request to the right host. Then you approve it. A conflict is never approved automatically, not by a token and not by a recent deploy (#2118 closes this for older agents too).

    Agent (fog-agent PR FOGProject/fog-agent#52): a key whose first request went in without the directory feature cannot add the feature later. That is deliberate on the server. The agent now makes a new key once when the server answers enrollment_upgrade_requires_new_key, and enrolls again. This is in agent v0.1.28. Agents update to it on their own.

  • 0 Votes
    6 Posts
    148 Views
    M

    @Tom-Elliott I checked again. I was mistaken; FOG 1.5 was not affected. Thanks again for the help.

  • FOG 1.6 – Dependencies between Software Management and Snapins?

    Unsolved FOG Problems
    6
    0 Votes
    6 Posts
    204 Views
    Tom ElliottT

    @lperoma Run before software is ready to test.

    Agent: FOG Agent v0.1.27 is released. It runs snapins marked Run before software first, then the software set, then the other snapins. Server: the Run before software checkbox is going into dev-branch now. You find it on the snapin’s General tab, under Snapin Arguments Hidden. It reaches stable with the December 11 release.

    For your VM test before then:

    Put the test server on dev-branch. Get the VM on v0.1.27. Set its Agent Update Ring to 0, or set its Desired Agent Version to 0.1.27. On the activation snapin, turn on Run before software, and queue it with the Avast package assigned.

    What you should see in the agent log on that check-in:

    the activation snapin’s result first; then the software lines, Avast included; then any other snapins.

    If the activation snapin comes back as a retry, the agent holds the software until the next check-in, so Avast does not install ahead of it.

    Two things to know:

    An agent older than v0.1.27 ignores the flag and still runs the snapin after the software. So check the agent version before you judge the result. If you import snapins from a CSV with no header row, the new column shifts the columns after Snapin Arguments Hidden. An export from the UI has a header row and is not affected.
  • 0 Votes
    29 Posts
    909 Views
    F

    I set my Master Storage Node and 2 Slave Nodes to 3 clients each. I then imaged 9 computers and everything went smoothly. each Node was imaging 3 clients. This was on Fog Dev 1.6.0.195

  • FOG Agent on new image PC not communicating with server

    Solved FOG Problems
    3
    0 Votes
    3 Posts
    106 Views
    rogalskijR

    @Tom-Elliott I believe that took care of it. As always thank you so much for this product and the wonderful support!

  • 1.6.0.158 unable to approve agent

    Solved FOG Problems
    12
    0 Votes
    12 Posts
    246 Views
    Tom ElliottT

    @chscduo Glad it works, and thanks for running each check so quickly.

    The fix is in dev-branch, so the next FOG update includes it. The update replaces the helper you installed by hand with the same code, so you have nothing to undo.

  • 0 Votes
    4 Posts
    133 Views
    L

    @Tom-Elliott Thanks!

  • 1.6.0.158 Unable to join machine to he domain and change Hostname

    Solved FOG Problems
    5
    0 Votes
    5 Posts
    122 Views
    Y

    @Tom-Elliott So that was all it took, thank you very much, the issue is resolved.

  • 1.6.0.167 Time wrong in logs

    Solved FOG Problems
    2
    0 Votes
    2 Posts
    108 Views
    Tom ElliottT

    @FlareImp yes, this is expected.

    All times are stored in UTC for consistency now and translated to whatever time is configured (by default) and each user can define their own timezone if they want it.

    https://docs.fogproject.org/en/latest/management/web/unadjusted-timestamps/

  • fixparts missing in 1.6.0-beta.5540 and also in 1.5.10

    Solved Bug Reports
    4
    0 Votes
    4 Posts
    321 Views
    D

    @Tom-Elliott

    Sorry for the late answer.

    I downloaded the kernel and init.xz EXP_20261021-160109 directly, via the fog web interface. fixparts is included and the capture of the windows 10 laptop was successful.
    Thank you!