Can't image any systems after IP change



  • I have recently moved my fog server to a new subnet. It will run through registration of Hosts fine however when you get to trying to image it just keeps freezing at Mounting File System this is .32 on Ubuntu. I have went through the setup again and changed the IP as well as under the Fog Setting in the web console to reflect the new address however it continues to have the issue. When I look under the log viewer under web console it looks like below. Any thoughts would be greatly appreciated.

    [06-06-12 11:15:49 am] * [06-06-12 11:15:49 am] Checking if I am the group manager.
    [06-06-12 11:15:49 am] * [06-06-12 11:15:49 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:15:59 am] * [06-06-12 11:15:59 am] Checking if I am the group manager.
    [06-06-12 11:15:59 am] * [06-06-12 11:15:59 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:09 am] * [06-06-12 11:16:09 am] Checking if I am the group manager.
    [06-06-12 11:16:09 am] * [06-06-12 11:16:09 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:19 am] * [06-06-12 11:16:19 am] Checking if I am the group manager.
    [06-06-12 11:16:19 am] * [06-06-12 11:16:19 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:29 am] * [06-06-12 11:16:29 am] Checking if I am the group manager.
    [06-06-12 11:16:29 am] * [06-06-12 11:16:29 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:39 am] * [06-06-12 11:16:39 am] Checking if I am the group manager.
    [06-06-12 11:16:39 am] * [06-06-12 11:16:39 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:49 am] * [06-06-12 11:16:49 am] Checking if I am the group manager.
    [06-06-12 11:16:49 am] * [06-06-12 11:16:49 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:16:59 am] * [06-06-12 11:16:59 am] Checking if I am the group manager.
    [06-06-12 11:16:59 am] * [06-06-12 11:16:59 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:17:09 am] * [06-06-12 11:17:09 am] Checking if I am the group manager.
    [06-06-12 11:17:09 am] * [06-06-12 11:17:09 am] I don’t appear to be the group manager, I will check back later.
    [06-06-12 11:17:19 am] * [06-06-12 11:17:19 am] Checking if I am the group manager.
    [06-06-12 11:17:19 am] * [06-06-12 11:17:19 am] I don’t appear to be the group manager, I will check back later.



  • I went through the same problem and found that the script service/common/functions.php use this function getIPAddress to get the correct IP address of my machine:
    function getIPAddress()
    {

    exec( “/sbin/ifconfig | grep ‘[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}’ | cut -d’:’ -f 2 | cut -d’ ’ -f1”, $arR, $retVal );

    }

    The problem is that my default installation language is PT-BR (Portuguese), so this command line does’t work because of character space added at the start of the line:

    ifconfig

    eth0 Link encap:Ethernet Endereço de HW e8:39:35:9b:b2:de
    inet end.: 172.17.10.106 Bcast:172.17.10.255 Masc:255.255.255.0
    endereço inet6: fe80::ea39:35ff:fe9b:b2de/64 Escopo:Link
    UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
    RX packets:5497666 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16486831 errors:0 dropped:0 overruns:0 carrier:0
    colisões:0 txqueuelen:1000
    RX bytes:360971401 (344.2 MiB) TX bytes:23808915837 (22.1 GiB)
    IRQ:18

    lo Link encap:Loopback Local
    inet end.: 127.0.0.1 Masc:255.0.0.0
    endereço inet6: ::1/128 Escopo:Máquina
    UP LOOPBACKRUNNING MTU:16436 Métrica:1
    RX packets:2294 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2294 errors:0 dropped:0 overruns:0 carrier:0
    colisões:0 txqueuelen:0
    RX bytes:678626 (662.7 KiB) TX bytes:678626 (662.7 KiB)

    /sbin/ifconfig | grep ‘[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}’ | cut -d’:’ -f 2

    172.17.10.106 Bcast
    127.0.0.1 Masc

    So you have to change this script line to represent your default language.



  • I thought I got them all thanks so much for your help sometimes it is good to get a second opinion working great now. :)



  • Web Console->Storage->All Storage Nodes and then edit the storage node in question, most likely Default.



  • Where do I need to look for that



  • There are multiple locations that need to be changed when migrating to a new IP. In this case I’d say check to make sure your storage node IP address in the web console.


Log in to reply
 

434
Online

38998
Users

10717
Topics

101752
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.