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

Can't set image's primary group

Scheduled Pinned Locked Moved Solved
Bug Reports
2
7
1.4k
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.
  • W
    Wayne Workman
    last edited by Wayne Workman Nov 7, 2016, 7:51 AM Nov 7, 2016, 1:40 PM

    Server
    • FOG Version: RC-20
    • OS: CentOS 7
    Description

    When I go to an image’s storage group area, click the checkbox to show groups not associated, and add one of those, that group gets added.

    Then, I go to set the storage group that was already there as primary, and it doesn’t save. When I click “update primary group” the checkmark I placed just disappears.

    There are no related apache errors.

    When I set this manually via SQL, the checkbox does show up in the web GUI, so the bug is with making the change, not displaying the change.

    Here’s my workaround until a fix is released:

    mysql -D fog
    
    #Find the image ID of the image you need to set a primary for.
    select imageID, imageName from images;
    
    #Find the group ID of the group you want to set as primary:
    select * from nfsGroups;
    
    #Let's say the image ID is 15 and the storage group ID you want to be primary is 5. The SQL to set it would be:
    UPDATE `imageGroupAssoc` SET `igaPrimary` = '1' WHERE `igaImageID` = '15' AND `igaStorageGroupID` = '5';
    
    quit
    

    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!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 7, 2016, 1:54 PM

      I’m not able to replicate.

      Please check if you have an 0 id’s in either the storage group id or image id fields?

      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
      • W
        Wayne Workman
        last edited by Nov 7, 2016, 2:24 PM

        I just checked, I have no zeros in those tables or the image group assoc table.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Nov 7, 2016, 2:38 PM

          What’s the SVN version you’re running?

          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

          W 1 Reply Last reply Nov 7, 2016, 2:38 PM Reply Quote 0
          • W
            Wayne Workman @Tom Elliott
            last edited by Nov 7, 2016, 2:38 PM

            @Tom-Elliott 6009

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Nov 7, 2016, 3:22 PM

              Cross-linking similar threads:
              https://forums.fogproject.org/topic/8911/can-t-set-image-s-primary-group
              https://forums.fogproject.org/topic/8899/image-doesn-t-replicate-after-updating-to-rc19

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Nov 7, 2016, 4:07 PM

                Fixed will be released for RC-21.

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

                155

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project