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

NFS problems after upgrade to trunk

Scheduled Pinned Locked Moved Solved
FOG Problems
4
42
12.5k
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.
  • J
    John Sartoris @Wayne Workman
    last edited by Feb 8, 2016, 5:38 PM

    @Wayne-Workman

    Ok, I’ve tested mounting the master node exports on the storage node in a temp folder and received a timeout. I repeated in reverse mounting the storage node on the master node in a temp folder without issue. Different mount location of course.

    Tried mounting from masternode to masternode, still got the timeout, so it’s not a firewall issues, and it shouldn’t be because I disabled ufw as per the troubleshooting wiki.

    showmount shows the exports, any suggestions? I don’t work with NFS much.

    # showmount -e 10.2.yyy.xxx
    Export list for 10.2.yyy.xxx:
    /images/dev *
    /images     *
    # mount 10.2.xxx.yyy:/images masterimages
    mount.nfs: Connection timed out
    
    
    W 1 Reply Last reply Feb 8, 2016, 5:44 PM Reply Quote 0
    • W
      Wayne Workman @John Sartoris
      last edited by Feb 8, 2016, 5:44 PM

      @John-Sartoris It does sound a lot like a firewall issue though. Re-disable UFW again just to see? It will only take moments.

      Also, I suppose we should compare the master and the storage node now. What OS is the node using? What version of FOG? Are both updated to the same position (i.e. updates run at the same time) ?

      Finally, just to back up a bit, try some simple network troubleshooting. from the storage node, try pinging the master. Try FTP-ing into the master, try ssh-ing into the master. And - check for IP conflicts for the master.

      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/

      J 1 Reply Last reply Feb 8, 2016, 6:37 PM Reply Quote 0
      • J
        John Sartoris @Wayne Workman
        last edited by Feb 8, 2016, 6:37 PM

        @Wayne-Workman

        I’ve redisabled ufw, added allow rules for good measure. ping works, ssh works, ftp works. Both are running “Ubuntu 12.04.5 LTS”. Storage was installed with 12.04, 6+ months ago after a HD failure. Master was upgraded Friday from 10.04. Ran “apt-get update” and “apt-get upgrade” on both after the 12.04 upgrade. However just tried it again on the master and the 1 package it has an update for is “nfs-kernel-server”.

        Master had “1.2.0-4ubuntu4.2” while storage had “1.2.5-3ubuntu3.2” , both now have “1.2.5-3ubuntu3.2”. Problem still existed, after 5 minutes and a manual “sudo service nfs-kernel-server restart” post upgrade , nfs seems to be better, I can now mount the master from storage.

        Fog deploy still however still has the same issue when trying to use the local master node. If I point to the cross wan storage node deployment works.

        W 2 Replies Last reply Feb 8, 2016, 6:50 PM Reply Quote 0
        • W
          Wayne Workman @John Sartoris
          last edited by Feb 8, 2016, 6:50 PM

          @John-Sartoris Ok. I guess the next thing to check is probably the most simple, but I just didn’t think about it. Check permissions.

          ls -lahRt /images

          Do that on both the master and storage node. Compare results.

          to set permissions on the images directory recursively, it’s just:

          chmod -R 777 /images

          We recommend 777 for troubleshooting.

          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/

          J 1 Reply Last reply Feb 8, 2016, 6:56 PM Reply Quote 0
          • J
            John Sartoris @Wayne Workman
            last edited by Feb 8, 2016, 6:56 PM

            @Wayne-Workman

            Ok, I didn’t expect that considering Thursday both sites were working fine. I’ll try making the master match storage and see what happens.

            Storage - working

            /images/Win10BaseR1:
            total 18G
            -rwxr-xr-x  1 fog  fog   18G Feb  4 15:06 sys.img.000
            drwxr-xr-x  2 fog  fog  4.0K Feb  4 15:03 .
            -rwxr-xr-x  1 fog  fog  299M Feb  4 15:03 rec.img.000
            -rwxr-xr-x  1 fog  fog     0 Feb  4 14:33 d1.original.swapuuids
            -rwxr-xr-x  1 fog  fog   259 Feb  4 14:33 d1.original.partitions
            -rwxr-xr-x  1 fog  fog    15 Feb  4 14:33 d1.original.fstypes
            -rwxr-xr-x  1 fog  fog     2 Feb  4 14:33 d1.fixed_size_partitions
            drwxrwxrwx 18 root root 4.0K Feb  4 12:22 ..
            
            

            Master - not working

            /images/Win10BaseR1:
            total 18G
            drwxrwxrwx 18 fog  root 4.0K Feb  4 15:02 ..
            -rwxrwxrwx  1 root root  18G Feb  4 15:02 sys.img.000
            drwxrwxrwx  2 root root 4.0K Feb  4 14:33 .
            -rwxrwxrwx  1 root root 299M Feb  4 14:33 rec.img.000
            -rwxrwxrwx  1 root root   15 Feb  4 14:32 d1.original.fstypes
            -rwxrwxrwx  1 root root    0 Feb  4 14:32 d1.original.swapuuids
            -rwxrwxrwx  1 root root  259 Feb  4 14:32 d1.original.partitions
            -rwxrwxrwx  1 root root    2 Feb  4 14:32 d1.fixed_size_partitions
            
            W 1 Reply Last reply Feb 8, 2016, 6:57 PM Reply Quote 0
            • W
              Wayne Workman @John Sartoris
              last edited by Wayne Workman Feb 8, 2016, 12:57 PM Feb 8, 2016, 6:57 PM

              @John-Sartoris also, chown -R fog:root /images may help as well. But you still need 777 perms from the earlier command.

              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/

              J 1 Reply Last reply Feb 8, 2016, 7:09 PM Reply Quote 0
              • J
                John Sartoris @Wayne Workman
                last edited by Feb 8, 2016, 7:09 PM

                @Wayne-Workman

                I was already at 777 on the master but after resetting own:group and perms for good measure, and restarting nfs-kernel-server, still no luck on the deploy.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Feb 8, 2016, 7:17 PM

                  You mentioned creating .mntcheck files. Are you sure they are properly in place?

                  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

                  J 1 Reply Last reply Feb 8, 2016, 7:19 PM Reply Quote 0
                  • W
                    Wayne Workman @John Sartoris
                    last edited by Feb 8, 2016, 7:17 PM

                    @John-Sartoris said:

                    I can now mount the master from storage.

                    Fog deploy still however still has the same issue when trying to use the local master node. If I point to the cross wan storage node deployment works.

                    make sure you have the right IP for the main server. Make sure the image path and FTP path are correct inside storage management. If all looks good, click save anyways just to push the settings. Sometimes the auto-fill feature in web browsers really screw with this area.

                    It’s just not typical for NFS to break in this manner, that’s why I ask you to check these things.

                    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/

                    1 Reply Last reply Reply Quote 0
                    • J
                      John Sartoris @Sebastian Roth
                      last edited by Feb 8, 2016, 7:19 PM

                      @Sebastian-Roth

                      Same places as the working node.

                      /images:
                      total 72
                      drwxrwxrwx 18 root root 4096 Feb  4 12:22 .
                      drwxr-xr-x 26 root root 4096 Feb  8 09:01 ..
                      -rwxrwxrwx  1 root root    0 Jul 29  2014 .mntcheck
                      
                      /images/dev:
                      total 8
                      drwxrwxrwx  2 root root 4096 Jul 29  2014 .
                      drwxrwxrwx 18 root root 4096 Feb  4 12:22 ..
                      -rwxrwxrwx  1 root root    0 Jul 29  2014 .mntcheck
                      
                      W 1 Reply Last reply Feb 8, 2016, 7:26 PM Reply Quote 0
                      • W
                        Wayne Workman @John Sartoris
                        last edited by Feb 8, 2016, 7:26 PM

                        @John-Sartoris Are you using the location plugin?

                        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/

                        J 1 Reply Last reply Feb 8, 2016, 7:36 PM Reply Quote 0
                        • J
                          John Sartoris @Wayne Workman
                          last edited by Feb 8, 2016, 7:36 PM

                          @Wayne-Workman said:

                          @John-Sartoris Are you using the location plugin?

                          Yes, I am using the location plugin. Is there a known issue?

                          I completely understand. When it doesn’t make sense double check things the wouldn’t make sense…

                          IP addresses and Paths are correct. Re-saved, I also double checked and re-saved the node choice in the location plugin.

                          Still no luck. Is there anyway I can get more detail on the client machine to see exactly what is erroring? It just says “An error has been detected!”, it doesn’t specify.

                          W 1 Reply Last reply Feb 8, 2016, 7:44 PM Reply Quote 0
                          • W
                            Wayne Workman @John Sartoris
                            last edited by Wayne Workman Feb 8, 2016, 1:45 PM Feb 8, 2016, 7:44 PM

                            @John-Sartoris Do a debug download. on the task confirmation page, the debug option is a checkbox. This boots the target host into a shell. On the target host, there is a variable dump initially on the screen, it can be quite valuable to see what it says.

                            Additionally, I would recommend removing the location plugin entirely (via plugin management) and then reinstalling it and re-setting it up for your various locations.

                            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/

                            J 1 Reply Last reply Feb 8, 2016, 8:05 PM Reply Quote 0
                            • J
                              John Sartoris @Wayne Workman
                              last edited by Feb 8, 2016, 8:05 PM

                              @Wayne-Workman

                              From the client in debug…

                              mount: mounting 10.2.yyy.xxx:/images on images failed: Connection refused
                              

                              sounds to me like it’s still a permissions or acl type issue.

                              W 1 Reply Last reply Feb 8, 2016, 8:07 PM Reply Quote 0
                              • W
                                Wayne Workman @John Sartoris
                                last edited by Feb 8, 2016, 8:07 PM

                                @John-Sartoris refused is different than denied… Have you checked for IP conflicts?

                                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/

                                J 1 Reply Last reply Feb 8, 2016, 8:15 PM Reply Quote 0
                                • G
                                  george1421 Moderator
                                  last edited by george1421 Feb 8, 2016, 2:08 PM Feb 8, 2016, 8:08 PM

                                  I didn’t read all of the posts here, but could you do a showmount -e 127.0.0.1 This will show us what you have NFS shared on your FOG server. You could then do the same command but use your FOG servers external IP address instead of the loopback interface. It could be a firewall issue.

                                  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!

                                  J 1 Reply Last reply Feb 8, 2016, 8:10 PM Reply Quote 0
                                  • J
                                    John Sartoris @george1421
                                    last edited by Feb 8, 2016, 8:10 PM

                                    @george1421 said:

                                    I didn’t read all of the posts here, but could you do a showmount -e 127.0.0.1 This will show us what you have NFS shared on your FOG server.

                                    That’s shows that the exports are proper and they do actually work from the storage node cross site, but a client on the local site can’t connect.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      John Sartoris @Wayne Workman
                                      last edited by Feb 8, 2016, 8:15 PM

                                      @Wayne-Workman said:

                                      @John-Sartoris refused is different than denied… Have you checked for IP conflicts?

                                      I haven’t specifically checked, but this server is configured in the same way as the rest in our environment. DHCP with a reservation. This is the only server that should get this address. Access ports are not configured in this vlan. I have not had any issues connecting to the server expect via NFS. Ping and SSH work from debug client.

                                      W 1 Reply Last reply Feb 8, 2016, 8:18 PM Reply Quote 0
                                      • W
                                        Wayne Workman @John Sartoris
                                        last edited by Feb 8, 2016, 8:18 PM

                                        @John-Sartoris I’m thinking it is probably something network related.

                                        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/

                                        J 1 Reply Last reply Feb 8, 2016, 8:28 PM Reply Quote 0
                                        • J
                                          John Sartoris @Wayne Workman
                                          last edited by Feb 8, 2016, 8:28 PM

                                          @Wayne-Workman

                                          I understand and agree with the assessment, but nothing has changed on the LAN in weeks other that the fog server updates. Firewalls are disabled and allowed for good measure. I even just tried added iptables rules without success.

                                          W 1 Reply Last reply Feb 8, 2016, 8:28 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            14/42
                                            Last post

                                          149

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project