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

Invalid Multicast session

Scheduled Pinned Locked Moved Solved
FOG Problems
4
34
7.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.
  • T
    Tom Elliott
    last edited by Oct 26, 2016, 2:04 PM

    I’m not seeing a problem in all three situations so far.

    Three being:

    1. single host multicast from list/search deploy multicast
    2. group multicast
    3. Named session multicast.

    Can you provide the multicast logs for say the last 500 lines?

    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

    R 1 Reply Last reply Oct 26, 2016, 2:09 PM Reply Quote 0
    • R
      rbaldwin @Tom Elliott
      last edited by Oct 26, 2016, 2:09 PM

      @Tom-Elliott

      [10-26-16 1:42:32 pm] Interface Ready with IP Address: 10.67.16.19
      [10-26-16 1:42:32 pm] Interface Ready with IP Address: 10.67.55.10
      [10-26-16 1:42:32 pm] * Starting MulticastManager Service
      [10-26-16 1:42:32 pm] * Checking for new items every 10 seconds
      [10-26-16 1:42:32 pm] * Starting service loop
      [10-26-16 1:42:32 pm] * No tasks found!

      The last line repeating 156 times. repeating every 10 seconds

      T 1 Reply Last reply Oct 26, 2016, 2:29 PM Reply Quote 0
      • T
        Tom Elliott @rbaldwin
        last edited by Oct 26, 2016, 2:29 PM

        @rbaldwin Do you have more than one node?

        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

        R 1 Reply Last reply Oct 26, 2016, 2:33 PM Reply Quote 0
        • R
          rbaldwin @Tom Elliott
          last edited by rbaldwin Oct 26, 2016, 8:35 AM Oct 26, 2016, 2:33 PM

          @Tom-Elliott

          no, this is a single server installation.

          Here is some information that you might find handy:

          When I create a multi-cast task. I see a new entry added to multicastSessionsAssoc table in the DB

          For example the below is me trying to create a single host multicast session(as a test)
          select * from multicastSessionsAssoc;
          ±------±-----±----+
          | msaID | msID | tID |
          ±------±-----±----+
          | 43 | 0 | 70 |
          ±------±-----±----+
          1 row in set (0.00 sec)

          I see an entry added to tasks table in the DB

          mysql> select * from tasks where taskid=70;
          ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
          | taskID | taskName | taskCreateTime | taskCheckIn | taskHostID | taskImageID | taskStateID | taskIsDebug | taskCreateBy | taskForce | taskScheduledStartTime | taskTypeID | taskPCT | taskBPM | taskTimeElapsed | taskTimeRemaining | taskDataCopied | taskPercentText | taskDataTotal | taskNFSGroupID | taskNFSMemberID | taskNFSFailures | taskLastMemberID | taskWOL | taskPassreset | taskShutdown |
          ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
          | 70 | Multi-Cast Task | 2016-10-26 14:27:54 | 0000-00-00 00:00:00 | 5 | 3 | 1 | 0 | fog | 0 | 0000-00-00 00:00:00 | 8 | 0000000000 | | | | | | | 1 | 1 | | 0 | 1 | | |
          ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
          1 row in set (0.00 sec)

          Nothing is added to the multicastSessions table

          select * from multicastSessions;
          Empty set (0.00 sec)

          R 1 Reply Last reply Oct 26, 2016, 5:12 PM Reply Quote 0
          • T
            Tom Elliott
            last edited by Oct 26, 2016, 2:37 PM

            Can you try:

            rm -rf /var/www/{html/},fog

            Rerun the installer.

            From within mysql run:

            truncate table multicastSessions;
            truncate table multicastSessionsAssoc;
            delete from tasks where taskTypeID=8;
            

            Then retry?

            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 Oct 26, 2016, 3:03 PM Reply Quote 1
            • W
              Wayne Workman @Tom Elliott
              last edited by Wayne Workman Oct 26, 2016, 9:04 AM Oct 26, 2016, 3:03 PM

              @Tom-Elliott I’d suggest doing the MySQL commands before deleting the web directory and reinstalling. That way when the multicast service restarts there’s literally nothing in the db about multicast from the git-go.

              Also, there is this:
              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast

              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
              • R
                rbaldwin @rbaldwin
                last edited by Oct 26, 2016, 5:12 PM

                @Wayne-Workman
                Thanks, I’ve looked at that, that’s what got me looking at the DB and what changes when I create a task. I assume when I create a multicast task, it should be added to the multicastSessions table and the task should show up in the WEB interface under Task Manager > “Active Multicast Tasks”

                @Tom-Elliott
                Okay, I did that. Same result.

                So next I dropped the fog database entirly in mysql with “drop database fog;”

                Removed the /var/www/html/fog folder with “rm -rf /var/www/{html/},fog”

                and re-ran the installer.

                Same result… When I create any multicast task, no multicast task is shown in Task Manager > Active Multicast task and if I boot the host it complains “Invalid Multicast session”

                mysql> select * from multicastSessions
                -> ;
                Empty set (0.00 sec)

                mysql> select * from multicastSessionsAssoc
                -> ;
                ±------±-----±----+
                | msaID | msID | tID |
                ±------±-----±----+
                | 1 | 0 | 1 |
                ±------±-----±----+
                1 row in set (0.00 sec)

                mysql> select * from tasks;
                ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
                | taskID | taskName | taskCreateTime | taskCheckIn | taskHostID | taskImageID | taskStateID | taskIsDebug | taskCreateBy | taskForce | taskScheduledStartTime | taskTypeID | taskPCT | taskBPM | taskTimeElapsed | taskTimeRemaining | taskDataCopied | taskPercentText | taskDataTotal | taskNFSGroupID | taskNFSMemberID | taskNFSFailures | taskLastMemberID | taskWOL | taskPassreset | taskShutdown |
                ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
                | 1 | Multi-Cast Task | 2016-10-26 12:00:25 | 0000-00-00 00:00:00 | 1 | 1 | 1 | 0 | fog | 0 | 0000-00-00 00:00:00 | 8 | 0000000000 | | | | | | | 0 | 0 | | 0 | 1 | | |
                ±-------±----------------±--------------------±--------------------±-----------±------------±------------±------------±-------------±----------±-----------------------±-----------±-----------±--------±----------------±------------------±---------------±----------------±--------------±---------------±----------------±----------------±-----------------±--------±--------------±-------------+
                1 row in set (0.00 sec)

                T 1 Reply Last reply Oct 26, 2016, 5:35 PM Reply Quote 0
                • T
                  Tom Elliott @rbaldwin
                  last edited by Oct 26, 2016, 5:35 PM

                  @rbaldwin is the multicast task actually being started? From what it sounds like no

                  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

                  R 1 Reply Last reply Oct 26, 2016, 5:50 PM Reply Quote 0
                  • R
                    rbaldwin @Tom Elliott
                    last edited by Oct 26, 2016, 5:50 PM

                    @Tom-Elliott

                    I don’t think it is starting a multicast session. That the issue I’m attempting to resolve.

                    T 1 Reply Last reply Oct 26, 2016, 5:51 PM Reply Quote 0
                    • T
                      Tom Elliott @rbaldwin
                      last edited by Oct 26, 2016, 5:51 PM

                      @rbaldwin WHat I mean, the log is refreshed showing a current timestamp?

                      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

                      R 1 Reply Last reply Oct 26, 2016, 6:52 PM Reply Quote 0
                      • R
                        rbaldwin @Tom Elliott
                        last edited by Oct 26, 2016, 6:52 PM

                        @Tom-Elliott

                        yes, if I put a tail on the log file I see new entries for “* No tasks found!”

                        1 Reply Last reply Reply Quote 0
                        • R
                          rbaldwin
                          last edited by rbaldwin Oct 27, 2016, 9:07 AM Oct 27, 2016, 3:05 PM

                          I uninstalled FOG as described here:
                          https://wiki.fogproject.org/wiki/?title=Uninstall_FOG

                          Reinstalled a Fresh install of:

                          Running Version 1.3.0-RC-16
                          SVN Revision: 5983

                          Still not Multicast task is created when I create a multicast task and when the host boot they complain: “Invalid Multicast session”

                          I can multicast in troubleshooting with udp-sender/udp-receiver as described in the “Testing Multicast” section of https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast

                          T 1 Reply Last reply Oct 27, 2016, 3:09 PM Reply Quote 0
                          • T
                            Tom Elliott @rbaldwin
                            last edited by Oct 27, 2016, 3:09 PM

                            @rbaldwin Do the hosts in question have an image assigned to them?

                            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 R 2 Replies Last reply Oct 27, 2016, 3:11 PM Reply Quote 1
                            • W
                              Wayne Workman @Tom Elliott
                              last edited by Oct 27, 2016, 3:11 PM

                              @Tom-Elliott said in Invalid Multicast session:

                              @rbaldwin Do the hosts in question have an image assigned to them?

                              I can test this at home tonight.

                              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
                              • R
                                rbaldwin @Tom Elliott
                                last edited by rbaldwin Oct 27, 2016, 12:11 PM Oct 27, 2016, 3:28 PM

                                @Tom-Elliott

                                yes, as I said earlier. I can image just fine if I use the deploy button. The issue is FOG isn’t starting udp-sender.

                                #grep udp-sender * -R
                                lib/fog/config.class.php: define(‘UDPSENDERPATH’, ‘/usr/local/sbin/udp-sender’);

                                #ls -lah /usr/local/sbin/udp-sender
                                -rwxr-xr-x 1 root root 65K Oct 27 12:14 /usr/local/sbin/udp-sender

                                ps -ef | grep udp-sender
                                root 28532 28390 0 13:11 pts/4 00:00:00 grep --color=auto udp-sender

                                Here are some pictures of the process.
                                http://imgur.com/a/1ZuuO

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rbaldwin @rbaldwin
                                  last edited by rbaldwin Oct 28, 2016, 10:08 AM Oct 28, 2016, 4:08 PM

                                  Okay, I’m able to multicast with FOG using the version of the FOG software(1.3 RC 13) a colleague who could multicast has.

                                  All the following were done as root, by first using the command “sudo -i” to become root.

                                  1. I stopped all the FOG services.

                                  Find the FOG services:
                                  ls -lah /etc/init.d/FOG*

                                  Stop Them:
                                  service FOGImageReplicator stop
                                  service FOGMulticastManager stop
                                  service FOGPingHosts stop
                                  service FOGScheduler stop
                                  service FOGSnapinReplicator stop

                                  1. I deleted the fog user
                                    deluser fog

                                  Uninstalled FOG using these instructions:
                                  https://wiki.fogproject.org/wiki/?title=Uninstall_FOG

                                  1. Finally I removed the /opt/fog folders and /etc/fog and /var/www/html/fog
                                    rm -f -r /opt/fog
                                    rm -f -r /etc/fog
                                    rm -f -r /var/www/html/fog

                                  2. Then I went to my git checkout path, where I have FOG git repo and checked out the commit a college has that can multicast.
                                    cd /root/fogproject
                                    git checkout 249cda491927fff27967cf9c5b8cb371b49837d0

                                  3. Finally I reinstalled FOG
                                    cd /root/fogproject/bin
                                    ./installfog.sh

                                  When installation finished I now had FOG 1.3 RC13, I was able to create a multicast task. When the task was started it showed up on the Task Scheduler> Active Mutlicast task screen and as a process.

                                  ps -ef | grep udp-sender

                                  Output:
                                  root 21694 18671 0 11:04 ? 00:00:00 sh -c cat /images/baseW5xxwin764vmw12Aug2016/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopoint;
                                  root 21696 21694 0 11:04 ? 00:00:00 /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopoint

                                  I then booted a host and the multicast session started without any issues.

                                  T 1 Reply Last reply Oct 28, 2016, 4:09 PM Reply Quote 0
                                  • T
                                    Tom Elliott @rbaldwin
                                    last edited by Oct 28, 2016, 4:09 PM

                                    @rbaldwin Now can you try upgrading?

                                    I’m thinking older remnants (unbeknownst to all of us at this point) were causing the issues you were seeing to begin with.

                                    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

                                    R 1 Reply Last reply Oct 28, 2016, 5:52 PM Reply Quote 0
                                    • R
                                      rbaldwin @Tom Elliott
                                      last edited by rbaldwin Oct 28, 2016, 12:45 PM Oct 28, 2016, 5:52 PM

                                      @Tom-Elliott

                                      I’m hesitant to upgrade now that it’s working. Maybe Monday. I did try fresh installs of both 1.3.0-RC-15 and1.3.0-RC-16 during this process without any luck resolving the issue. Only a fresh install of RC13 resolved the issue.

                                      T 1 Reply Last reply Oct 28, 2016, 6:57 PM Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by Oct 28, 2016, 6:36 PM

                                        I’ve just confirmed that Multicast works fine in RC-17.

                                        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/

                                        R 2 Replies Last reply Oct 28, 2016, 6:37 PM Reply Quote 0
                                        • R
                                          rbaldwin @Wayne Workman
                                          last edited by rbaldwin Oct 28, 2016, 12:38 PM Oct 28, 2016, 6:37 PM

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            15/34
                                            Last post

                                          142

                                          Online

                                          12.2k

                                          Users

                                          17.3k

                                          Topics

                                          155.5k

                                          Posts
                                          Copyright © 2012-2024 FOG Project