Invalid Multicast session


  • Senior Developer

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



  • @Tom-Elliott

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


  • Senior Developer

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



  • @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)



  • @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


  • Senior Developer

    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?



  • @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)


  • Senior Developer

    @rbaldwin Do you have more than one node?



  • @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


  • Senior Developer

    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?


  • Senior Developer

    Well I’m testing a named session right now.

    I’ll follow right up with a group deploy session.

    I’m only using a single host to manage it at this point though (as it’s all I have readily available to test with at the moment).



  • @Tom-Elliott

    No, just an ordinary multi-cast to a group. At least I don’t think so, it never prompts me for a name for the task.
    I click Group Management, then I click click “List all Groups” then I click the Multi-cast button in the “Tasking” column.

    I can image the host individually with the Deploy button in the Tasking column, but Multi-cast fails.



  • This post is deleted!

  • Senior Developer

    I guess I’m not understanding.

    You’re trying to do what I call a “Named” session for multicast?


 

476
Online

41.8k
Users

12.4k
Topics

116.7k
Posts