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

    Fog 1.6 Multiple Sites, Location not working as intended

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 25 Views
    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.
    • F
      FlareImp
      last edited by

      Fog 1.6.0.14
      OS: Ubuntu 24.04
      Hardware: VMs

      I have several locations that I am currently testing the latest release of Fog 1.6.0.14. I have the location plugin on, and by sites setup with corresponding Storage Groups and Storage Nodes. The Main Fog Server with DB is at Site A, A storage node is set to master at Site B. Everything is replicated but when deploying an Image at site B, it will always pull from Site A, unless the Image has its “Image Primary Storage Group” changed to Site B from Site A. After making this change if I deploy at site A then the Image will pull from site B instead of Site A. The images needed to be accessible from all sites at all times but pull from the specific location rather than across our uplink.

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @FlareImp
        last edited by

        @FlareImp I tested this on 1.6.0.14’s code with the location plugin. A host in a location whose storage group is not the image’s primary group gets that location’s group and node, at task creation and at boot. So the plugin does pick the local node when the host has a location.

        In 1.6, “Site” and “Location” are two separate things. A Site (Sites menu) only controls which users can see and manage which hosts. It has no effect on where an image comes from. A Location (location plugin) is what picks the storage group and node.

        Please check these for one Site B host:

        • Open the host, go to its Location tab. Is it set to the Site B location?
        • Open that location. Which storage group and which storage node does it show?
        • Is the image listed in the Site B storage group (Image > Storage Groups tab)?

        If the host has no location, it uses the image’s primary group, which is what you see.

        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
        • First post
          Last post

        49

        Online

        12.8k

        Users

        17.7k

        Topics

        157.3k

        Posts
        Copyright © 2012-2026 FOG Project