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

    Multicast issue: FOG specifying wrong interface when starting udp-sender

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    multicast
    3
    8
    3.9k
    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
      nengelhardt
      last edited by

      Hello. I’ve noticed an issue where FOG is not using the correct interface when starting udp-sender, which results in it quitting right away and not running the multicast task. My interface name, as specified in fog_udpcast_interface is “enp4s0” but FOG appears to keep trying to use “eth0”, as shown in the log below

      [09-08-15 11:37:49 pm]  * No tasks found!
      [09-08-15 11:37:59 pm]  | Sleeping for 10 seconds to ensure tasks are properly submitted
      [09-08-15 11:38:09 pm]  | Task (48) abc is new!
      [09-08-15 11:38:09 pm]  | Task (48) abc has been cleaned.
      [09-08-15 11:38:09 pm]  | Task (48) /images/OldAcer image file found.
      [09-08-15 11:38:09 pm]  | Task (48) 1 client(s) found.
      [09-08-15 11:38:09 pm]  | Task (48) abc sending on base port: 62188
      [09-08-15 11:38:09 pm]  | CMD: cat /images/OldAcer/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 660 --portbase 62188 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/OldAcer/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 660 --portbase 62188 --full-duplex --ttl 32 --nokbd --nopointopoint;
      [09-08-15 11:38:09 pm]  | Task (48) abc has started.
      [09-08-15 11:38:19 pm]  | Task (48) abc is no longer running.
      [09-08-15 11:38:19 pm]  | Task (48) abc has been cleaned as complete.
      [09-08-15 11:38:29 pm]  | Task (48) abc is new!
      [09-08-15 11:38:29 pm]  | Task (48) abc has been cleaned.
      [09-08-15 11:38:29 pm]  | Task (48) /images/OldAcer image file found.
      [09-08-15 11:38:29 pm]  | Task (48) 1 client(s) found.
      [09-08-15 11:38:29 pm]  | Task (48) abc sending on base port: 62188
      [09-08-15 11:38:29 pm]  | CMD: cat /images/OldAcer/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 120 --portbase 62188 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/OldAcer/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 120 --portbase 62188 --full-duplex --ttl 32 --nokbd --nopointopoint;
      [09-08-15 11:38:29 pm]  | Task (48) abc has started.
      [09-08-15 11:38:39 pm]  | Sleeping for 10 seconds to ensure tasks are properly submitted
      [09-08-15 11:38:49 pm]  | Task (48) abc is no longer running.
      [09-08-15 11:38:49 pm]  | Task (48) abc has been cleaned as complete.
      

      Additionally, the log file for that task “multicast.log.udpcast.48”

      Udp-sender 20120424
      No suitable network interface found
      The following interfaces are available:
              lo      127.0.0.1
              enp4s0  10.255.6.20
      cat: write error: Broken pipe
      Udp-sender 20120424
      No suitable network interface found
      The following interfaces are available:
              lo      127.0.0.1
              enp4s0  10.255.6.20
      cat: write error: Broken pipe
      
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        What version of FOG?

        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
          nengelhardt
          last edited by nengelhardt

          I forget. I’m not at work right now. Whatever the latest git version was at about 1800 UTC-6 yesterday.

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

            Seeing as you’re on trunk, the FOG_MULTICAST_INTERFACE setting you described that you set is not what is used. Seeing as Multicast is ultimately dependent upon the master node of a group, it only seemed appropriate to move the interface definitions to the node’s panel. Check your nodes and ensure they’re setup to point at the correct interface as well as anywhere else you think needs this definition specified. You may need to restart the fogmulitcastmanager service.

            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 Reply Quote 0
            • N
              nengelhardt @Tom Elliott
              last edited by

              @Tom-Elliott

              Where else is there besides that setting in the web interface that you just said is not used anymore, and in .fogsettings? Both of those are right.

              Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @nengelhardt
                last edited by

                @nengelhardt said:

                @Tom-Elliott

                Where else is there besides that setting in the web interface that you just said is not used anymore, and in .fogsettings? Both of those are right.

                The interface field in the .fogsettings file is only used when the installer is ran.

                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/

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

                  @nengelhardt Storage Management Page.

                  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
                    nengelhardt @Wayne Workman
                    last edited by

                    @Wayne-Workman I checked that, but I’ll check @tom-elliott’s suggestion next time I’m working with it.

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

                    165

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project