• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gn_ro
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 26
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by gn_ro

    • RE: Storage Node showing no info on Fog Dashboard

      @dante The master node connects via http and ftp to the storage node.
      Check the firewall on both, test with telnet from master to the storage node, you should be able to connect to port 21 and 80 tcp.

      Edit:
      http on all nodes is easier to maintain…

      posted in FOG Problems
      G
      gn_ro
    • RE: Storage Node showing no info on Fog Dashboard

      Hi,

      maybe this will help:

      https://forums.fogproject.org/topic/14785/storage-node-disk-not-showing/2

      posted in FOG Problems
      G
      gn_ro
    • RE: Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php

      @sebastian-roth @george1421 Solved! Thank you for your time!
      There is no firewall between the host and storage node. There is a firewall between the storage node and the master but is correctly configured.

      The problem was that the storage node is registered at the master with his dns name and this was somehow deleted from the domain.

      I have restored the dns record for the storage node and now all is functions correctly except “Storage Node Disk Usage” from the dashboard (it shows nothing), but this is not a big problem.

      posted in General
      G
      gn_ro
    • RE: Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php

      @george1421

      After FOS finished cloning with debug:

      telnet storagenode 21
      Connected to storagenode
      220 (vsFTPd 3.0.3)
      user fogproject
      331 Please specify the password.
      pass xxxxxxxxxxxxxx
      230 Login successful.
      rnfr /images/dev/18dbf21b59d1
      350 Ready for RNTO.
      rnto /images/to-del
      250 Rename successful.
      

      On the storage node:

      root@st:/# ls -la /images | grep del
      drwxrwxrwx  2 fogproject root   11 Mar 26 11:25 to-del
      root@st:/# ls -la /images/dev
      total 10
      drwxrwxrwx  7 fogproject root  8 Apr  2 00:05 .
      drwxrwxrwx 33 fogproject root 35 Apr  2 00:05 ..
      drwxrwxrwx  2 fogproject root  6 Apr  1 22:58 0019999f5919
      drwxrwxrwx  2 fogproject root 11 Mar 26 11:35 18dbf24c71c8
      drwxrwxrwx  2 fogproject root  6 Apr  1 23:47 704d7bbf8ebe
      drwxrwxrwx  2 fogproject root  6 Apr  1 23:52 704d7bbf8ef9
      -rwxrwxrwx  1 fogproject root  0 Oct 30 12:14 .mntcheck
      drwxrwxrwx  2 fogproject root  3 Oct 30 12:14 postinitscripts
      root@st:/#
      

      It’s clear that I can rename the cloned files to the ‘to-del’ folder, so FOS should be able to do this, but it’s not (the rename is not made after the cloning is done).
      I’ve rechecked the passwords on the fog master and on this storage node. I’ve also used a backup of this node from 3 weeks ago (before the issue appeared) The FOS does not appear to be initiating the ftp connection at all, I’ve checked with tcpdump and no packet comes to the storage node from FOS.
      I’m out of ideeas for now…

      posted in General
      G
      gn_ro
    • RE: Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php

      @gn_ro said in Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php:

      Updating Database…Failed

      What does fog means by updating database?
      I can move files using a telnet session from FOS to the storage node:

      [Thu Mar 31 root@fogclient ~]# telnet storagenode 21
      Connected to storagenode
      220 (vsFTPd 3.0.3)
      user fogproject
      331 Please specify the password.
      pass xxxxxxxxxxxxx
      230 Login successful.
      rnfr /images/dev/testftp
      350 Ready for RNTO.
      rnto /images/ftp-tested
      250 Rename successful.
      

      But fog does not move the image after cloning succesfully.

      posted in General
      G
      gn_ro
    • RE: Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php

      @george1421 Thanks, I did that before posting… same error.

      posted in General
      G
      gn_ro
    • Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php

      Hi,

      It’s the second week and I can’t seem to find where the error is. I have activated debug mode on FOS but still:

       * Stopping FOG Status Reporter......................Done
       * Press [Enter] key to continue
      
       * Task Complete
       * Updating Database.................................Failed
       * Press [Enter] key to continue
      
       * Error returned: Type: 1024, File: /var/www/fog/lib/fog/fogftp.class.php, Line
      : 219, Message: FTP connection failed, Host: xx.xxxxxx.xxx, Username: fogprojec
      t
       * Press [Enter] key to continue
      

      I have checked everything as in the wiki
      I am able to connect with telnet on port 21 from FOS and also from another host with same credentials. I can move, add, rename, etc. files and folders from /images with ftp user fogproject.
      We have multiple storage nodes, this is the only one with this problem. All others work fine.
      I checked the logs on the master and on this storage node and I can’t seem to find anything.

      Any ideeas or hints where to look for?

      posted in General
      G
      gn_ro
    • Raw image dd deploy error

      @Sebastian-Roth Sorry for the long wait but it is a 18 hours long deploy process and it is hard to catch.
      This is after the post from Raw image dd fail - BUG? I do not know if there is a connection, but the deploy should not need the partition check or anything else other than dd succes exit I think.

      The error is:
      Run lists overlap. Cannot merge: Numerical result out of range. / failed to load $MFT
      fog-dd-deply-error.jpg
      This is after the deploy completes and the task is not deleted from the server as it should and is taken from start all over again.

      The deploy is successful, all is identical with the source, so it should delete the task…

      /dev/sda2 is a corrupted NTFS partition which is running just fine in Windows, you can copy all the files (over 450000) with only 8 of them corrupted, but after a single run chkdsk deletes a few thousand files and crashes Windows so badly that is not recognized as Windows…

      posted in Bug Reports
      G
      gn_ro
    • RE: Raw image dd fail - BUG?

      @sebastian-roth Thank you! I hope will help others too.

      posted in Bug Reports
      G
      gn_ro
    • RE: Nouveau dossier partagé pour ghosts.

      @tallier Vous devez rechercher des messages d’erreur plus détaillés sur le serveur et le client.
      Vérifiez que /images est correctement monté sur le serveur.
      Vérifiez si vous pouvez monter /images à partir d’un autre ordinateur.
      Assurez-vous que les services NFS sont démarrés avec toutes les dépendances.

      posted in FOG Problems
      G
      gn_ro
    • RE: Web interface SSL

      @astrugatch We are booting and imaging over the internet.

      posted in Feature Request
      G
      gn_ro
    • RE: Nouveau dossier partagé pour ghosts.

      @tallier

      • Tout d’abord déplacer de /images vers //IPWindows/partage
      • alors il faut être root
      • maintenant /images doivent être un dossier vide.
      • Puis
      mount -o bind /home /pointdemontage /images
      
      • à la fin vous pouvez redémarrer les services nfs
      • si cela fonctionne correctement, ajoutez toutes les commandes, dans le même ordre au démarrage
      posted in FOG Problems
      G
      gn_ro
    • RE: Web interface SSL

      @astrugatch We’re using a fog server reachable over the internet with all internet blocked and with permission to all services only from our sites. It’s not easy to update when a site changes it’s ip addresses but it’s working good so far. We have other services running this way using ssl from let’s encrypt (they have about 4 ip’s if I remember correctly).

      posted in Feature Request
      G
      gn_ro
    • RE: Raw image dd fail - BUG?

      @sebastian-roth Thank you!
      Hope you checked the deployment too, as I imaged a computer with a corrupt ntfs partition (still working, windows is booting fine from it) and the imaging works but the deploy completes fine until the end where it throws an error about the “problem” partition then reboots after 1 min.

      posted in Bug Reports
      G
      gn_ro
    • RE: Nouveau dossier partagé pour ghosts.

      @tallier Il faut monter le partage Windows, puis avec bind /images par exemple:

       mount \\10.10.10.10\share /share
      mount -o bind /share /images
      

      où 10.10.10.10 est l’adresse IP de Windows

      posted in FOG Problems
      G
      gn_ro
    • RE: Error when i try to capture

      @LittleTux I have the exact same error when using thin provisioned drives on some heavy used storages.
      The solutions are:

      • use a thick provisioned drive (almost always works for me)
      • retry the capture on a less busy storage or a time when the storage is not so used
      • check the hypervisor settings as the capture may have been limited to a lower speed
      • use a network card for the vm without gigabit speed, the capture will be much slower but will be complete

      Hope this will help you.

      posted in FOG Problems
      G
      gn_ro
    • RE: Nouveau dossier partagé pour ghosts.

      @tallier I also agree with @george1421
      My answer is not recommended in production and will also use more bandwidth sending data to the share using the fog server.

      posted in FOG Problems
      G
      gn_ro
    • RE: Nouveau dossier partagé pour ghosts.

      Salut,
      vous pouvez monter le partage Windows en tant que dossier d’image pour fog.
      C’est possible, mais il peut y avoir des problèmes avec le service NFS. S’il y a des problèmes, je pense qu’ils peuvent être résolus avec mount -o bind /images

      posted in FOG Problems
      G
      gn_ro
    • RE: Will deleting an image imapact clients using it?

      @coxm If the image in question is not in any active task, you can safely delete the image. Then you can create a new image and add it to your hosts.
      This will not impact the running hosts in any way.
      No host will auto image if fog is not configured so.

      posted in FOG Problems
      G
      gn_ro
    • RE: Will deleting an image imapact clients using it?

      Hi,

      The best steps to move your hosts to new image are:

      • create the new image
      • assign the image to a good working host
      • capture the image from the working host
      • assign the new image to needed hosts
      • delete the old image, which now is not assigned to any host
      posted in FOG Problems
      G
      gn_ro
    • 1 / 1