• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Add new storage node with problems

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    19
    4.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rintintin76R
      rintintin76
      last edited by Wayne Workman

      Hello,
      i’m sorry for my English… i’m french!
      I’ve a fog server at school, i’m system administrator.
      i’ve ubuntu 14.04.02 LTS with fog 1.2.0 and about 500go of images (school’s computers)
      I’ve added a new storage node:

      • the same IP of the server
      • but on another disk that it is mounted without problems
        When i try to upload image, i can see the files on /images-test/dev/MACADDRESS but at the end of upload the image is not moved to the correct folder!
        I’ve checked permission (777), owner (i tried fog:root and root:root) with no solution!
        fog doesn’t display any error… so I’ve not idea!
        can someone help me?

      -mod edited /spelling-

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Please try this:
        https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • rintintin76R
          rintintin76
          last edited by

          Thank you for your reply.
          i’ve found a mismatch password on FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD

          now the username and the password are the same everywhere:

          • The local ‘fog’ user’s password on the Linux FOG server
          • list itemStorage Management -> Your storage node -> Management Username & Management Password
          • FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD

          but the files are not moved from /images-test/dev/MACADRESS to the correct folder!

          the all others test are ok (test ftp file download and delete, vsftpd restart)

          can you help me?
          best regards

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @rintintin76
            last edited by

            @rintintin76

            Moving from /images/dev to /images happens during image upload.

            Have you tried to upload again since you’ve set your credentials?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            rintintin76R 1 Reply Last reply Reply Quote 0
            • rintintin76R
              rintintin76 @Wayne Workman
              last edited by

              @Wayne-Workman

              yes, i have tried again, after change fog setting password, but the files are not moved…
              i don’t understand…

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                Can you check your free space on your FOG server, do you have enough?

                [CODE]df -h[/CODE]

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                rintintin76R 1 Reply Last reply Reply Quote 0
                • rintintin76R
                  rintintin76 @Wayne Workman
                  last edited by Wayne Workman

                  @Wayne-Workman
                  yes i’ve enough free space (63G on /images-test):

                  [CODE]root@fogserver:~# df -h
                  Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
                  /dev/sda1 145G 6,1G 132G 5% /
                  none 4,0K 0 4,0K 0% /sys/fs/cgroup
                  udev 1001M 4,0K 1001M 1% /dev
                  tmpfs 202M 396K 202M 1% /run
                  none 5,0M 0 5,0M 0% /run/lock
                  none 1010M 0 1010M 0% /run/shm
                  none 100M 0 100M 0% /run/user
                  /dev/sdb1 538G 422G 88G 83% /images
                  /dev/sdc1 67G 701M 63G 2% /images-test
                  root@fogserver:~#[/CODE]

                  -mod edited to use code box-

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    How many storage nodes do you have?

                    What is the output of this:
                    [CODE]cat /etc/vsftpd.conf
                    cat /etc/exports
                    ls -laR /images
                    ls -laR /images-test[/CODE]

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    rintintin76R 1 Reply Last reply Reply Quote 0
                    • rintintin76R
                      rintintin76 @Wayne Workman
                      last edited by

                      @Wayne-Workman
                      thank you for your answer.
                      this is teh output:

                      root@fogserver:~# cat /etc/vsftpd.conf
                      anonymous_enable=NO
                      local_enable=YES
                      write_enable=YES
                      local_umask=022
                      dirmessage_enable=YES
                      xferlog_enable=YES
                      connect_from_port_20=YES
                      xferlog_std_format=YES
                      listen=YES
                      pam_service_name=vsftpd
                      userlist_enable=NO
                      tcp_wrappers=YES
                      seccomp_sandbox=NO
                      
                      root@fogserver:~# cat /etc/exports
                      /images                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
                      /images/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
                      /images-test                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3)
                      /images-test/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4)
                      
                      root@fogserver:~# ls -laR /images-test/
                      /images-test/:
                      total 28
                      drwxrwxrwx  4 fog  root  4096 juin  15 16:37 .
                      drwxr-xr-x 27 root root  4096 juin  15 16:00 ..
                      drwxrwxrwx  3 fog  root  4096 juin  15 13:58 dev
                      drwxrwxrwx  2 fog  root 16384 juin   8 15:36 lost+found
                      -rwxrwxrwx  1 fog  root     0 juin   8 15:54 .mntcheck
                      
                      /images-test/dev:
                      total 12
                      drwxrwxrwx 3 fog root 4096 juin  15 13:58 .
                      drwxrwxrwx 4 fog root 4096 juin  15 16:37 ..
                      drwxrwxrwx 2 fog root 4096 juin  15 16:37 080027d7ce6d
                      -rwxrwxrwx 1 fog root    0 juin   8 16:05 .mntcheck
                      
                      /images-test/dev/080027d7ce6d:
                      total 1053940
                      drwxrwxrwx 2 fog root       4096 juin  15 16:37 .
                      drwxrwxrwx 3 fog root       4096 juin  15 13:58 ..
                      -rwxrwxrwx 1 fog root          0 juin  15 16:12 d1.has_grub
                      -rwxrwxrwx 1 fog root    1048576 juin  15 16:12 d1.mbr
                      -rwxrwxrwx 1 fog root   48207461 juin  15 16:12 d1p1.img
                      -rwxrwxrwx 1 fog root        126 juin  15 16:12 d1p2.img
                      -rwxrwxrwx 1 fog root 1029954830 juin  15 16:26 d1p5.img
                      -rwxrwxrwx 1 fog root        310 juin  15 16:12 d1.partitions
                      
                      /images-test/lost+found:
                      total 20
                      drwxrwxrwx 2 fog root 16384 juin   8 15:36 .
                      drwxrwxrwx 4 fog root  4096 juin  15 16:37 ..
                      
                      

                      I want to clarify that the new storage node is part of another group
                      so i’ve 2 groups with a node each one

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @rintintin76
                        last edited by

                        @rintintin76 said:

                        @Wayne-Workman
                        thank you for your answer.
                        this is teh output:

                        root@fogserver:~# cat /etc/vsftpd.conf
                        anonymous_enable=NO
                        local_enable=YES
                        write_enable=YES
                        local_umask=022
                        dirmessage_enable=YES
                        xferlog_enable=YES
                        connect_from_port_20=YES
                        xferlog_std_format=YES
                        listen=YES
                        pam_service_name=vsftpd
                        userlist_enable=NO
                        tcp_wrappers=YES
                        seccomp_sandbox=NO
                        
                        root@fogserver:~# cat /etc/exports
                        /images                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1)
                        /images/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)
                        /images-test                        *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=3)
                        /images-test/dev                    *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=4)
                        
                        root@fogserver:~# ls -laR /images-test/
                        /images-test/:
                        total 28
                        drwxrwxrwx  4 fog  root  4096 juin  15 16:37 .
                        drwxr-xr-x 27 root root  4096 juin  15 16:00 ..
                        drwxrwxrwx  3 fog  root  4096 juin  15 13:58 dev
                        drwxrwxrwx  2 fog  root 16384 juin   8 15:36 lost+found
                        -rwxrwxrwx  1 fog  root     0 juin   8 15:54 .mntcheck
                        
                        /images-test/dev:
                        total 12
                        drwxrwxrwx 3 fog root 4096 juin  15 13:58 .
                        drwxrwxrwx 4 fog root 4096 juin  15 16:37 ..
                        drwxrwxrwx 2 fog root 4096 juin  15 16:37 080027d7ce6d
                        -rwxrwxrwx 1 fog root    0 juin   8 16:05 .mntcheck
                        
                        /images-test/dev/080027d7ce6d:
                        total 1053940
                        drwxrwxrwx 2 fog root       4096 juin  15 16:37 .
                        drwxrwxrwx 3 fog root       4096 juin  15 13:58 ..
                        -rwxrwxrwx 1 fog root          0 juin  15 16:12 d1.has_grub
                        -rwxrwxrwx 1 fog root    1048576 juin  15 16:12 d1.mbr
                        -rwxrwxrwx 1 fog root   48207461 juin  15 16:12 d1p1.img
                        -rwxrwxrwx 1 fog root        126 juin  15 16:12 d1p2.img
                        -rwxrwxrwx 1 fog root 1029954830 juin  15 16:26 d1p5.img
                        -rwxrwxrwx 1 fog root        310 juin  15 16:12 d1.partitions
                        
                        /images-test/lost+found:
                        total 20
                        drwxrwxrwx 2 fog root 16384 juin   8 15:36 .
                        drwxrwxrwx 4 fog root  4096 juin  15 16:37 ..
                        
                        

                        I want to clarify that the new storage node is part of another group
                        so i’ve 2 groups with a node each one

                        @Wayne-Workman Another information, he can move these files via FTP using Filezilla.

                        rintintin76R 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          Just for troubleshooting purposes only,

                          Can you remove the two storage groups, and remove the two storage nodes, and just make one storage group, and one storage node?

                          please set it to your /images directory.

                          Then, set your permissions on the directory
                          [CODE]sudo chmod -R 777 /images[/CODE]

                          and try again?

                          This should be a quick and easy process.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          rintintin76R 1 Reply Last reply Reply Quote 0
                          • rintintin76R
                            rintintin76 @Wayne Workman
                            last edited by

                            @Wayne-Workman
                            thank you for your answer.
                            I’ve two storage groups with one node each one because i have added a disk to have more free space.
                            now the configuration is:

                            • one group with one node of about 600go (raid 5 sdb)
                            • another group with on node of about 70go (jbod sdc)

                            at the beginning the configuration was on group with one node (raid 5 600go sdb) and all worked fine. the problem began with the adding the second disk.
                            with these news, do you need that i do what you asked me?
                            best regards

                            1 Reply Last reply Reply Quote 0
                            • rintintin76R
                              rintintin76 @ch3i
                              last edited by

                              @ch3i
                              Je viens de tester un upload sur l’ancien nœud (le raid 5) et ça fonctionne correctement:
                              il a déplacé les fichiers du répertoire /images/dev/MACADRESS vers /images/nom_image.
                              C’est le deuxième nœud qu’il n’arrive pas à le faire!

                              @wayne-workman
                              I just tested an upload on the old node (raid 5) and it works properly:
                              it moved the files in the /images/dev/MACADRESS to /images/nom_image.
                              is the second node that it can not do it!

                              ch3iC Tom ElliottT 2 Replies Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @rintintin76
                                last edited by

                                @rintintin76 lol tu peux me répondre en Anglais aussi 😉 C’est juste qu’en PM ça va plus vite.

                                1 Reply Last reply Reply Quote 0
                                • ch3iC
                                  ch3i Moderator
                                  last edited by

                                  @Tom Elliot I try to solve his problem without any solution >> please help lol

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    @ch3i,

                                    To notify me, as I have a space in my username, Use the - symbol where the spaces are at. Also, I have 2 L’s and 2 T’s in my lastname.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @rintintin76
                                      last edited by

                                      @rintintin76 Can you hit me up on chat? I’m not a french speaker (sorry) but I’m pretty sure I can get this all working properly.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      ch3iC 1 Reply Last reply Reply Quote 1
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        This is solved through Teamviewer and @rintintin76.

                                        It was found that there were two nodes, and two groups.

                                        Remember, each group should have at least one master. The “Warning” that’s displayed is specific to changing the Master Node within a group, not adding a master node to a single group.

                                        So, the setting for the master node simply needed to be checked and all started working.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 1
                                        • ch3iC
                                          ch3i Moderator @Tom Elliott
                                          last edited by

                                          @Tom-Elliott said:

                                          @rintintin76 Can you hit me up on chat? I’m not a french speaker (sorry) but I’m pretty sure I can get this all working properly.

                                          Thank you !!!

                                          TomEliot is so fast than @Tom-Elliott lol

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          • First post
                                            Last post

                                          137

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project