Can not deploy using multicast - read image_hdr block_size error



  • @george1421 said in Can not deploy using multicast - read image_hdr block_size error:

    Are you using your fog server as a router too (between the 2 interfaces)? I see the masquerade module is being used.

    Well, first i configure server as a router with isc-dhcp server on it. This iptables configuration is for the internet sharing (i use NAT). Then i install fog. So yes i have router and fog server on the same network interface.

    @george1421 said in Can not deploy using multicast - read image_hdr block_size error:

    Which network interface is the multicast binding to? …
    Also what network interface is defined for the imaging network?

    For multicasting i will check tomorrow, for fog is the enp2s0 But i think is the same interface for both


  • Developer

    @rurap Are you aware of the NAT configuration on your system? Why do you seem to have two network interfaces on this machine?


  • Moderator

    @rurap Hmmm this is strange, I would have expected your iptables to look like this:

     iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    

    Are you using your fog server as a router too (between the 2 interfaces)? I see the masquerade module is being used.

    Which network interface is the multicast binding to? You can find out by starting a multicast on the FOG server and then issuing the following command from the linux command prompt on the fog server. sudo ps aux | grep udp-send That should give you the command line parameters that we need to know.

    Also what network interface is defined for the imaging network?



  • @george1421 said in Can not deploy using multicast - read image_hdr block_size error:

    So since you are using ubuntu, have you disabled the ubuntu firewall as the recommendation in the previous thread?

    iptables settings on my serverer:

    # Generated by iptables-save v1.6.0 on Tue Sep 17 17:40:43 2019
    *nat
    :PREROUTING ACCEPT [162493:21912723]
    :INPUT ACCEPT [4857:1000748]
    :OUTPUT ACCEPT [12916:875299]
    :POSTROUTING ACCEPT [9153:677268]
    -A POSTROUTING -o eno1 -j MASQUERADE
    COMMIT
    # Completed on Tue Sep 17 17:40:43 2019
    # Generated by iptables-save v1.6.0 on Tue Sep 17 17:40:43 2019
    *filter
    :INPUT ACCEPT [5476607:353434905]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [11575842:17208139981]
    -A FORWARD -i eno1 -o enp2s0 -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A FORWARD -i enp2s0 -o eno1 -j ACCEPT
    -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    COMMIT
    # Completed on Tue Sep 17 17:40:43 2019
    

    This is my only firewall i heave, ufw is disabled.

    @george1421 said in Can not deploy using multicast - read image_hdr block_size error:

    Imaging the group will move as fast as the slowest computer in the group. So if you have a group of 10 computers with 8 core cpus and nvme disks, and one 486 computer with a slow hard drive all 11 computers will image as fast as the 486 computer in the group.

    I have 16 Dell Optiplex 7010 all have the same configurations, i have simple switch witch no vlans.


  • Moderator

    moderator note: I forked your topic because your conditions may be different than the previous thread. For reference the original thread is here: https://forums.fogproject.org/topic/8743/can-not-deploy-using-multicast-read-image_hdr-block_size-error

    So since you are using ubuntu, have you disabled the ubuntu firewall as the recommendation in the previous thread?

    Since you have 2 network adapters in this computer, do you have the correct one referenced for multicast imaging?

    If I understood multicast correctly, this way the whole class should be restored around the same time as one computer. Is this correct?

    Imaging the group will move as fast as the slowest computer in the group. So if you have a group of 10 computers with 8 core cpus and nvme disks, and one 486 computer with a slow hard drive all 11 computers will image as fast as the 486 computer in the group.

    Successful Multicasting is more dependent on your network configuration than FOG imaging. Is the fog server and the target computers on the same IP Subnet/VLAN?


Log in to reply
 

257
Online

7.0k
Users

14.2k
Topics

134.3k
Posts