• 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.
    • J
      John Sartoris @Wayne Workman
      last edited by

      @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

        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 Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @John Sartoris
          last edited by

          @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

            @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
            
            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @John Sartoris
              last edited by

              @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 Reply Quote 0
              • J
                John Sartoris @Wayne Workman
                last edited by

                @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.

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

                  @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 Reply Quote 0
                  • J
                    John Sartoris @Wayne Workman
                    last edited by

                    @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.

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

                      @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 Reply Quote 0
                      • george1421G
                        george1421 Moderator
                        last edited by george1421

                        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 Reply Quote 0
                        • J
                          John Sartoris @george1421
                          last edited by

                          @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

                            @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.

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

                              @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 Reply Quote 0
                              • J
                                John Sartoris @Wayne Workman
                                last edited by

                                @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.

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

                                  @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/

                                  george1421G 1 Reply Last reply Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @Wayne Workman
                                    last edited by george1421

                                    @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 Reply Quote 0
                                    • J
                                      John Sartoris @george1421
                                      last edited by

                                      @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.

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

                                        @John-Sartoris said:

                                        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.

                                        That’s just the thing though. you’ve disabled UFW, and NFS has no protections. Ubuntu does not come pre-loaded with Security Enhanced Linux, either, like other distributions do https://wiki.ubuntu.com/SELinux

                                        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 Reply Quote 0
                                        • J
                                          John Sartoris @Wayne Workman
                                          last edited by

                                          @Wayne-Workman

                                          Do NFS connections get logged on the server? I’ve tried several suggestions I’ve found but I don’t see any messages for successful or failed connections. I’m sure I’ve seen connection attempts in a log before when testing VMWare ESXi at home, just can’t recall where.

                                          Looks like the export option “no_acl” deals with the file system ACLs not anything network related. And the export is to * so in theory anyone should be able to connect.

                                          1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator
                                            last edited by

                                            Just out of curiosity, do the /etc/export files match between the master fog server and the storage node? Can you post the export files here?

                                            Other random thoughts:

                                            Are you running NFSv4 on either of your server? NFSv4 has additional security requirements.

                                            Does the FOG user ID have the same group and user IDs on all fog servers? (this may not be mandatory)

                                            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 Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            215

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project