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

Image hosting on NFS server, process uncompleted?

Scheduled Pinned Locked Moved Solved
FOG Problems
5
45
13.9k
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.
  • A
    arnaudrigole
    last edited by May 17, 2016, 8:28 AM

    Hi Fog Community,

    Again an NFS issue… 😕
    I try to upload an image on a external NFS share, the process starts, upload the image on mounted /images/dev directory, the two “diskclones” process work and create /dev/mac@ddr_of_master/d1.mbr , d1p1.img, d1p2.img, d1p3.img.
    At the end, i think it has to create in /images a directory named by image name defined on webui, and transfer that files into it. But it won’t … the .img keep in /dev and the upload process finish without errors 😕

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by May 17, 2016, 9:51 AM

      It sounds like the ftp user ID/Password combination is incorrect. FOG uses ftp to transfer the image from the /images/dev to the /images folder after its uploaded. I would navigate to the ftp section in the fog configuration page. Note the password there and then login to the FOG server as root. Change the ftp user’s password to match what is configured in the web gui. Then confirm you can login to the linux console with the ftp user id and password.

      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!

      1 Reply Last reply Reply Quote 0
      • A
        arnaudrigole
        last edited by arnaudrigole May 17, 2016, 4:19 AM May 17, 2016, 10:06 AM

        Hi @george1421

        Oh ok so i think you’re right; but

        You wanna say FTP or TFTP?
        I don’t see any “ftp configuration” in the fog web gui ?

        i set the same password on
        fog tftp user,
        fog unix user ,
        fog filezilla server user,
        fog management username on storage node,

        still don’t work 😕

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by george1421 May 17, 2016, 4:16 AM May 17, 2016, 10:15 AM

          No its the ftp password. Maybe I’m thinking of the older version of the trunk under fog configurations. Please look instead under the storage node configuration for the ftp password. I know its there and it IS the ftp user. Sorry its early here and I haven’t quite finished my first cup of coffee.

          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!

          A 1 Reply Last reply May 17, 2016, 10:51 AM Reply Quote 0
          • A
            arnaudrigole @george1421
            last edited by arnaudrigole May 17, 2016, 5:05 AM May 17, 2016, 10:51 AM

            @george1421
            Ahah, no problem.
            I run version 1.2 of FOG, and there is the node configuration:
            alt text

            The “management username” and “management password” are the same as the filezilla user.

            Look at what’s displayed on filezilla , it can’t copy files because the script looks can’t create the directory in /images :
            alt text

            I verified the rights on fog ftp user, it has full RW rights (+create directories), i tested to create a directory in /images with filezilla, logged with “fog” user and it worked…

            Do you think the problem could come with the fog script?
            for the test, i created manually the directory in /images and launched another upload task, actually loading, we will see … !

            1 Reply Last reply Reply Quote 0
            • A
              arnaudrigole
              last edited by May 17, 2016, 11:21 AM

              The transfer of *.img files doesn’t work after i’ve manually created the correspondant /images directory

              G 1 Reply Last reply May 17, 2016, 11:58 AM Reply Quote 0
              • G
                george1421 Moderator @arnaudrigole
                last edited by george1421 May 17, 2016, 6:00 AM May 17, 2016, 11:58 AM

                @arnaudrigole Hmmm interesting.

                The images are created in the /images/dev folder but not moved. You should not have to pre-create the directory in /images for the target upload.

                What are your linux permissions on the /images directory? Are they 777 or something else? Right, wrong, or otherwise, on my production server I have images set to 777. Not sure if the installer script did that or I did when I relocated the actual image files.

                You said you are running 1.2.0, is this a fresh install? If so, I wonder why you are not using the trunk version to get better hardware and win10 support?

                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!

                A 1 Reply Last reply May 17, 2016, 12:40 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by May 17, 2016, 12:02 PM

                  @arnaudrigole The image name in the logs is looking a bit weird. Is it really named P7510Win7prox64CAOEXT?

                  Run ls -al /images/ | grep P7510Win7 on your FOG server and show us the output.

                  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
                  • A
                    arnaudrigole @george1421
                    last edited by arnaudrigole May 17, 2016, 7:04 AM May 17, 2016, 12:40 PM

                    @george1421
                    the permissions on /images are set to full RW rights to “anonymous” and “everyone” (Windows NFS server)

                    This is a fresh install in production in my company, can’t use trunk now, need to test it and i’ve already encountered other issues with it, actually i need to make a stable environment to simply upload/deploy images with unicast&multicast

                    @Sebastian-Roth
                    Nothing returned by the cmd, because the img is not stored on the local fog server, this is an external NFS storage i created on a Windows server 2008r2 :

                    alt text

                    G W 2 Replies Last reply May 17, 2016, 1:02 PM Reply Quote 0
                    • G
                      george1421 Moderator @arnaudrigole
                      last edited by May 17, 2016, 1:02 PM

                      @arnaudrigole You may need to explain how you have this setup because you configuration is surely not standard.

                      Is the 2008 server setup as a storage node, or do you have the fog server NFS mounting the share?

                      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!

                      A 1 Reply Last reply May 17, 2016, 2:29 PM Reply Quote 1
                      • A
                        arnaudrigole @george1421
                        last edited by May 17, 2016, 2:29 PM

                        @george1421
                        The 2008 server is the storage node, which is defined directly with its @ip on a fog storage node/group

                        This is not standard because the only storage location i have in my company (for IT service only) is a dell disk bay managed by Windows 2008r2. We have a netapp managed by unix too but no NFS licence, and no IT datas on it so, i’m forced to use this configuration ! 😕

                        G 1 Reply Last reply May 17, 2016, 2:43 PM Reply Quote 0
                        • J
                          Junkhacker Developer
                          last edited by May 17, 2016, 2:33 PM

                          it looks to me like maybe your ftp root isn’t right

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 1
                          • W
                            Wayne Workman @arnaudrigole
                            last edited by May 17, 2016, 2:40 PM

                            @arnaudrigole on the FileZilla server thing, at the CLI, go to your images directory and issue the pwd command. What does it say?

                            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/

                            A 2 Replies Last reply May 17, 2016, 4:19 PM Reply Quote 0
                            • G
                              george1421 Moderator @arnaudrigole
                              last edited by May 17, 2016, 2:43 PM

                              @arnaudrigole said:

                              @george1421
                              The 2008 server is the storage node, which is defined directly with its @ip on a fog storage node/group

                              Ok that explains why things are not working!! I started setting up how to do this with Server 2012, but ran out of time. The root of your issue is that you need to install FTP on the Windows storage node to move the files. This guide should get you started: https://forums.fogproject.org/topic/6941/windows-server-as-fog-storage-node-reboot Understand this is for 2012 but 2008 is very similar. I used powershell for the copy and paste reasons.

                              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!

                              W 1 Reply Last reply May 17, 2016, 4:08 PM Reply Quote 2
                              • W
                                Wayne Workman @george1421
                                last edited by Wayne Workman May 17, 2016, 10:09 AM May 17, 2016, 4:08 PM

                                @george1421 Yup. You’re exactly correct. It’s also worth noting here that FileZilla is un-necessary. Windows Server has all the necessary components available already.

                                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
                                • A
                                  arnaudrigole @Wayne Workman
                                  last edited by arnaudrigole May 17, 2016, 10:21 AM May 17, 2016, 4:19 PM

                                  @Wayne-Workman @george1421
                                  I’m sorry, i don’t understand what you try to say me … 😞
                                  Wayne, what is the CLI? whats the pwd command on a 2008 server?

                                  George, i followed this guide to setup the nfs server, but the powershell commands aren’t the same on 2008 and 2012, i adapted it by search on microsoft an equivalent.(i stopped to follow the guide on that step, because i use FILEZILLA SERVER for ftp)

                                  I don’t understand my problem ; i need to install FTP on my Windows storage node more than filezilla server ?..

                                  It look very complicated, it works just with filezilla + nfs role , but it just can’t create the directory on /images…

                                  W 1 Reply Last reply May 17, 2016, 4:22 PM Reply Quote 0
                                  • W
                                    Wayne Workman @arnaudrigole
                                    last edited by May 17, 2016, 4:22 PM

                                    @arnaudrigole I thought your node was a linux node… You can disreguard. FYI the acronym for CLI is Command Line Interface.

                                    Also - I’m a purist. I will not install third party anything if the base-OS can do it natively. This solves a lot of maintenance issues, update issues, and reduces complexity overall.

                                    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
                                    • A
                                      arnaudrigole @Wayne Workman
                                      last edited by May 17, 2016, 4:28 PM

                                      @Wayne-Workman
                                      i hope this is why you ask me:
                                      i just opened a cmd, when type the following cmds:

                                      c:\windows\system32> ftp 10.1.11.64 <-- windows storage node
                                      ftp> use fog
                                      331 password required for fog
                                      ftp> fogpassword
                                      230 Logged on
                                      ftp> cd /informatique/Service_info/FOG/images
                                      250 CWD successful. “/informatique/Service_info/FOG/images” is current directory
                                      ftp> pwd
                                      257 “/informatique/Service_info/FOG/images” is current directory

                                      W 1 Reply Last reply May 17, 2016, 4:29 PM Reply Quote 0
                                      • W
                                        Wayne Workman @arnaudrigole
                                        last edited by Wayne Workman May 17, 2016, 10:29 AM May 17, 2016, 4:29 PM

                                        @arnaudrigole said in Image hosting on NFS server, process uncompleted?:

                                        /informatique/Service_info/FOG/images

                                        That’s your FTP path.

                                        FOG Trunk supports independent FTP paths, which you need.

                                        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/

                                        A 1 Reply Last reply May 17, 2016, 4:32 PM Reply Quote 1
                                        • A
                                          arnaudrigole @Wayne Workman
                                          last edited by May 17, 2016, 4:32 PM

                                          @Wayne-Workman
                                          OK so … what i’ve to do ?..
                                          If i upgrade to trunk, I’ll need to redo all my images, and get pxe boot problems what i’ve already encountered in test environment…

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            17/45
                                            Last post

                                          155

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project