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

    Problems creating deploy (location plugin)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    6
    1.8k
    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.
    • M
      mp12
      last edited by

      Server
      • FOG Version: 1.3.1-RC-6
      • OS: 14.04.1-Ubuntu
      Description

      I created a deploy task with 6 hosts using the location plugin. The hosts get the image from 3 different nodes.
      On two hosts I am getting this error. Both have the same “location node”.

      0_1484220986206_DSC_0040.JPG

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

        The issue is “known” about and I forgot that it may not be immediately apparent as to what’s causing this. The code itself is operationally running properly. It’s the database table (specifically locationAssoc) that’s causing the issue.

        You could try creating a new location association table, and remove all the duplicate entries. You could, also, try just updating the location on each host. (possibly through a group as well?)

        I’ve added code that should correct this issue if you don’t want to uninstall/reinstall, but it would be wise to do so as the schema did change to ensure something like this doesn’t happen in the future accidentally.

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          This appears to me that you have duplicated “FOG” web mount points. This issue was known about and has since been fixed.

          Can you check ls -l /var/www and ls -l /var/www/html

          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
          • M
            mp12
            last edited by

            Here you go.

            0_1484221881264_fog_screen.PNG

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

              Because this is a location, is that location updated to the same?

              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
              • Tom ElliottT
                Tom Elliott
                last edited by

                The issue is “known” about and I forgot that it may not be immediately apparent as to what’s causing this. The code itself is operationally running properly. It’s the database table (specifically locationAssoc) that’s causing the issue.

                You could try creating a new location association table, and remove all the duplicate entries. You could, also, try just updating the location on each host. (possibly through a group as well?)

                I’ve added code that should correct this issue if you don’t want to uninstall/reinstall, but it would be wise to do so as the schema did change to ensure something like this doesn’t happen in the future accidentally.

                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
                • M
                  mp12
                  last edited by

                  Uninstalled and reinstalled the location plugin.
                  Assigned hosts to the locations and deploy now works like a charm.

                  Thanks a lot @Tom-Elliott

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

                  162

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project