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

Problem adding hosts to a group

Scheduled Pinned Locked Moved Solved
Bug Reports
2
10
2.2k
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.
  • N
    networkguy
    last edited by May 25, 2016, 1:11 PM

    When I try to add multiple hosts to a new group only one host is added. If I add hosts after the group is created it also seems to only keep one of the hosts in the group. I’m running git version 7659. I don’t see any errors in the apache error logs.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 25, 2016, 3:53 PM

      Update to the latest, I’m pretty sure the issue is addressed.

      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
      • N
        networkguy
        last edited by May 25, 2016, 4:05 PM

        I just updated to git version 7849 and am able to reproduce the problem. If there are any logs/screenshots that you would like me to include please let me know. Thanks!

        T 1 Reply Last reply May 25, 2016, 4:11 PM Reply Quote 0
        • T
          Tom Elliott @networkguy
          last edited by May 25, 2016, 4:11 PM

          @networkguy https://forums.fogproject.org/topic/7360/only-one-computer-in-group/15

          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
          • T
            Tom Elliott
            last edited by May 25, 2016, 4:11 PM

            It may require you editing a little bit manually then. I did add code to make the changes, but my guess it didn’t take.

            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

            N 1 Reply Last reply May 25, 2016, 4:28 PM Reply Quote 0
            • N
              networkguy @Tom Elliott
              last edited by networkguy May 25, 2016, 10:28 AM May 25, 2016, 4:28 PM

              @Tom-Elliott

              drop table groupMembers;
              CREATE TABLE `groupMembers` (
                `gmID` int(11) NOT NULL AUTO_INCREMENT,
                `gmHostID` int(11) NOT NULL,
                `gmGroupID` int(11) NOT NULL,
                PRIMARY KEY (`gmID`),
                UNIQUE KEY `gmHostID` (`gmHostID`,`gmGroupID`),
                UNIQUE KEY `gmHostID_2` (`gmHostID`,`gmGroupID`),
                KEY `new_index` (`gmHostID`),
                KEY `new_index1` (`gmGroupID`)
              ) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
              ;
              

              All is well now. Thanks again!

              T 1 Reply Last reply May 25, 2016, 4:28 PM Reply Quote 0
              • T
                Tom Elliott @networkguy
                last edited by May 25, 2016, 4:28 PM

                @networkguy Did you create a backup table first?

                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

                N 1 Reply Last reply May 25, 2016, 4:30 PM Reply Quote 0
                • N
                  networkguy @Tom Elliott
                  last edited by networkguy May 25, 2016, 10:39 AM May 25, 2016, 4:30 PM

                  @Tom-Elliott

                  I didn’t really have anything in there worth saving I don’t think. With deleting that table, might I run into key relationship issues with other tables? I have a full DB backup taken just before the upgrade about 30 minutes ago.

                  select statements taken moments before dropping the table.

                  mysql> select * from groupMembers;
                  +------+----------+-----------+
                  | gmID | gmHostID | gmGroupID |
                  +------+----------+-----------+
                  |    3 |        5 |         3 |
                  |    5 |       25 |         4 |
                  +------+----------+-----------+
                  2 rows in set (0.00 sec)
                  mysql> select * from groupMembers \G
                  *************************** 1. row ***************************
                       gmID: 3
                   gmHostID: 5
                  gmGroupID: 3
                  *************************** 2. row ***************************
                       gmID: 5
                   gmHostID: 25
                  gmGroupID: 4
                  2 rows in set (0.00 sec)
                  
                  T 1 Reply Last reply May 25, 2016, 4:42 PM Reply Quote 0
                  • T
                    Tom Elliott @networkguy
                    last edited by May 25, 2016, 4:42 PM

                    @networkguy Awesome that it worked.

                    I have now added more adjustment to basically recreate the group members table but backup the data that is already there.

                    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

                    N 1 Reply Last reply May 25, 2016, 4:44 PM Reply Quote 0
                    • N
                      networkguy @Tom Elliott
                      last edited by May 25, 2016, 4:44 PM

                      @Tom-Elliott Sounds good. I seem to have lost the ability to close the bug threads I’ve created. Call this one closed and thanks again!

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

                      170

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project