Fog 1.1.0 multicast sits at "Starting to restore image (-) to device (/dev/sda1)



  • No, I started fresh. I wiped and reinstalled Unbuntu 13.10 and then Installed Fog v 1.1.1. Then Uploaded an image. Test pushed the image to a single machine and then tried a Multicast of 2 Machines. It’s still hanging at the “Starting to restore image” part.


  • Senior Developer

    If all restarts and returns properly, you’ll most likely have to restart the clients as the udp-sender commands will start, but there was no communication between the clients and the server before. Just restart the clients and all should start properly.


  • Senior Developer

    If you had to “restart” mysql because it “killed mysql” you’ll most likely need to restart the services.

    Here’s the process I imagine:
    [code]sudo service mysql restart &&
    sudo service apache2 restart &&
    sudo service FOGMulticastManager restart &&
    sudo service FOGImageReplicator restart &&
    sudo service FOGScheduler restart[/code]

    The \ just allows you to keep adding to the current command. The && only starts the next command if the previous command completes successfully. If it doesn’t complete successfully it will not run the next, or any other of the commands in sequence. This can help you find out an issue.



  • Ok, Reinstall Unbuntu 13.10 and installed Fog v1.1.1 and still hangs at the same place on multicast.



  • Hmm… That did’t work… but it killed mysql…


  • Senior Developer

    Login to the mysql instance and use the database fog
    [code]mysql -u root [-p IF YOU SET PASSWORD] fog
    truncate table mutlicastSessions;
    truncate table multicastSessionsAssoc;
    exit[/code]



  • excuse me for my ignorance, but it gives a error saying that i need to give a size when i try to truncate.


  • Senior Developer

    [quote=“Michael Mullins, post: 30162, member: 17924”]Restart MySql. I got this a bunch until I removed the root MySql password.[/quote]

    I’d say cancel the tasks and clear your tables.

    [code]truncate table multicastSessions;
    truncate table multicastSessionsAssociations;[/code]

    Recreate your multicast task and restart those clients
    all should work.



  • [quote=“Flavalf, post: 30153, member: 24625”]I uploaded svn 1817 and then try to update, but I’m stuck in the database update/install process.
    When I click on update, I’ve got a blank screen( no error ) with the tittle

    [CENTER][SIZE=6][FONT=Ubuntu][B][SIZE=32px][COLOR=#666666][SIZE=4]Database Schema Installer / Updater[/SIZE][/COLOR][/SIZE][/B][/FONT][/SIZE][/CENTER]

    . Did I miss something ?[/quote]

    Restart MySql. I got this a bunch until I removed the root MySql password.



  • I updated to 1818 and It’s still sitting at the “Starting to restore image (-) to device (/dev/sda1)” screen

    I’m using Ubuntu 13.10

    Any guess on things to try?



  • [quote=“Tom Elliott, post: 30139, member: 7271”]Please update to 1817. I figured out a WHOLE lot of things last night and really do need a GOOD test from real world environments. I tested at home two a two client group and all worked properly, but a realworld test would be best.

    The message “Already running PID” is accurate though.
    Thank you,[/quote]

    I had the problem described above and just updated to 1817 - all seems to be working fine here on 20 PCs 🙂

    Many Thanks!



  • I uploaded svn 1817 and then try to update, but I’m stuck in the database update/install process.
    When I click on update, I’ve got a blank screen( no error ) with the tittle
    [SIZE=6][B][FONT=Ubuntu][CENTER][SIZE=32px][COLOR=#666666][SIZE=4]Database Schema Installer / Updater[/SIZE][/COLOR][/SIZE][/CENTER][/FONT][/B][/SIZE]

    . Did I miss something ?


  • Senior Developer

    Please update to 1817. I figured out a WHOLE lot of things last night and really do need a GOOD test from real world environments. I tested at home two a two client group and all worked properly, but a realworld test would be best.

    The message “Already running PID” is accurate though.
    Thank you,



  • Hi, first of all I’d like to say I’m a new but happy user of Fog.
    I’ve got the same Multicast problem with both of my networks :

    • the test one with a VMWare Debian 7 machine
    • the real physical one with a FOGserver on Debian 7 too.

    [CODE][06-13-14 1:51:09 pm] | Task (4) VMxp is new!
    [06-13-14 1:51:09 pm] | Task (4) VMxp image file found.
    [06-13-14 1:51:09 pm] | Task (4) VMxp client(s) found.
    [06-13-14 1:51:09 pm] | Task (4) VMxp sending on base port: 64916
    [06-13-14 1:51:09 pm] CMD: cat “/images/test”|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 64916 --interface eth0 --full-duplex --ttl 32 --nokbd;
    [06-13-14 1:51:09 pm] | Task (4) VMxp has started.
    [06-13-14 1:51:19 pm] | Task (4) VMxp is already running PID 6647
    [06-13-14 1:51:29 pm] | Task (4) VMxp is already running PID 6647
    [06-13-14 1:51:39 pm] | Task (4) VMxp is already running PID 6647
    [/CODE]

    I hope we’ll find the answer

    Best regards to the developpers



  • ok i went to SVN 1813 but i still had same problem.

    i will do a full reinstall of ubuntu server and then go to the latest svn and see if that fixes it



  • I have SVN 1808 and my faulty Multicast started workin… had the same problem as snoopsean stated at beginnig of this thread


  • Senior Developer

    This issue is because it’s not finding the right association of multicastsessions, I’ll see if I can take a look more at it tomorrow. I am looking tonight but can’t see it.



  • ok updated to the svn and have same results. no go on the group multicast.

    Its almost like the server doesnt know that it needs to start, like the clients need to tell the server they are ready to multicast. Maybe they are telling the server that, but the server isnt processing that signal correctly.

    Im guessing its either a problem with udp-sender (for some reason the min -receivers isnt being read correctly), or the client isnt using the --nokbd option (or that option isnt working correctly).

    ill keep trying over here to see if i can find any way to make it work. ill also report back if i can get fogmulticastmanager to start on its own (hopefully its a just a problem with ubuntu and i can do a fresh install to make that work).


  • Senior Developer

    I’m testing as well and have the same results as you, just don’t know why. Single multicast works perfectly, why not group multicast?



  • ok ill do that and let you know


Log in to reply
 

394
Online

7.4k
Users

14.5k
Topics

136.4k
Posts