• 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.6k
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.
  • 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
                                    • W
                                      Wayne Workman @John Sartoris
                                      last edited by Feb 8, 2016, 8:28 PM

                                      @John-Sartoris can you quickly throw together a CentOS 7 VM and install fog trunk to test?

                                      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/

                                      G 1 Reply Last reply Feb 8, 2016, 8:34 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @Wayne Workman
                                        last edited by george1421 Feb 8, 2016, 2:41 PM Feb 8, 2016, 8:34 PM

                                        @Wayne-Workman I’m in a meeting right now (yeah its a bit boring) so I can’t test. But from a debug (boot) session, is the showmount command installed in FOS? It would be interesting to know from the client perspective if the FOG server is showing its mount information.

                                        [edit] The other thing would be to try to do a manual nfs mount from the FOS client to the FOG server. If it maps then there is a parameter setup incorrectly (somewhere) in the FOG GUI. The mount command would be something like mount <fog_server_ip>:/images /img (or what ever the local directory is called on the FOG client) [/edit]

                                        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:59 PM Reply Quote 0
                                        • J
                                          John Sartoris @george1421
                                          last edited by Feb 8, 2016, 8:59 PM

                                          @george1421

                                          I’m trying to manually mount from the FOG Client now, and I’m receiving a connection refused.

                                          @Wayne-Workman
                                          Configuring another VM would be possible, but quite a heavy bit of work for what sure seems to be a firewall config or NFS ACL issue that happen during OS or Fog upgrade.

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

                                          165

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project