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

Image won't deploy to systems already imaged

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
16
5.0k
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.
  • S
    sarge_212
    last edited by Jul 9, 2015, 10:11 PM

    Hey Gents!

    I’m seeing an issue here where after imaging, I can’t deploy an image to that machine. Here is the sequence I take to re-image:

    FOG >> Host Management >> List all hosts >> select host >> basic tasks >> Download >> Create download task for host <host>

    fogsnip.PNG

    It seems on the older version of FOG, you wouldn’t have to upload the image to deploy, you could just deploy the image after having imaged it once. Am I correct in this thinking? Am I going about this the right way?

    Let me know what to look at, thanks all!

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Jul 9, 2015, 10:14 PM

      I think that you are suffering from a common FTP credentials issue.

      Here is the guide on how to solve it:

      https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Credentials_.2F_Passwords

      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
      • S
        sarge_212
        last edited by Jul 9, 2015, 10:39 PM

        Wayne,

        I looked at all of those, and I tried to change the FOG password on the Linux server. However, I don’t know the current password so I get locked out of changing the FOG user’s password. Any quick way around that?

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jul 9, 2015, 10:53 PM

          Sign in with another user with sudo permissions.

          Once signed into the terminal/console gain root, typically with: sudo -i.
          You can reset the FOG user password with: passwd fog.

          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
          • S
            sarge_212
            last edited by Jul 9, 2015, 10:57 PM

            Weird,

            I tried changing the password for fog in ssh and I keep getting authentication failures. So I check /etc/passwd and /etc/shadow and there is no fog in either of those. ???

            W 1 Reply Last reply Jul 9, 2015, 11:05 PM Reply Quote 0
            • W
              Wayne Workman @sarge_212
              last edited by Jul 9, 2015, 11:05 PM

              @sarge_212 very weird indeed…

              What user do you have set inside Storage Management -> Your storage node -> 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/

              1 Reply Last reply Reply Quote 0
              • S
                sarge_212
                last edited by Jul 9, 2015, 11:08 PM

                AHHH!!! there is no password there…let me throw one in and see what happens. That’s probably it. I somehow neglected to get to this menu before. ./headslap

                1 Reply Last reply Reply Quote 0
                • S
                  sarge_212
                  last edited by Jul 9, 2015, 11:10 PM

                  Further, I guess, now I get this:

                  fogsnip2.PNG

                  I’m not using a NAS or anything, just another partition, /images where I’m storing the image. We’re only using one or two images in our environment.

                  W 1 Reply Last reply Jul 9, 2015, 11:25 PM Reply Quote 0
                  • W
                    Wayne Workman @sarge_212
                    last edited by Wayne Workman Jul 9, 2015, 8:35 PM Jul 9, 2015, 11:25 PM

                    @sarge_212 Never seen that one before… But it’s still related to FTP.

                    Go through the credentials part of that article I posted again… see if that clears it up.

                    Also try some of the test statements at the beginning of that article, just to verify if FTP is working or not with the credentials you set.

                    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
                    • S
                      sarge_212
                      last edited by Jul 13, 2015, 5:08 PM

                      Wayne,

                      Should users be created in /etc/shadow and /etc/passwd that are fog UI users? Just curious because none of those users I have created are in those files. I checked the log for vsftpd and it mentions that the user is unknown. I’m pretty sure it’s something in the environment where the user isn’t being recognized. Thoughts?

                      W 1 Reply Last reply Jul 14, 2015, 1:05 AM Reply Quote 0
                      • W
                        Wayne Workman @sarge_212
                        last edited by Jul 14, 2015, 1:05 AM

                        @sarge_212 Strange… can you just manually create a user called fog and assign it the correct password, the one inside /opt/fog/.fogsettings and the other areas?

                        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
                        • S
                          sarge_212
                          last edited by Jul 14, 2015, 7:07 PM

                          I am attempting to do that, but I keep getting a (current password) prompt. After entering in all sorts and variations of passwords, I get authentication failure. I’ve tried userdel -uf fog to force remove the fog user and then add it again. It just doesn’t seem to be working. Also, I noticed in /var/www/html/fog/lib/fog/Config.class.php, that the STORAGE_FTP_PASSWORD wasn’t in this file. I added it there but still getting the error about Undefined index, optimal storage node.

                          W 1 Reply Last reply Jul 14, 2015, 10:14 PM Reply Quote 0
                          • W
                            Wayne Workman @sarge_212
                            last edited by Jul 14, 2015, 10:14 PM

                            @sarge_212 I will continue to offer my assistance with your issue, But at this point, I’m just being honest when I say that it may be faster to rebuild the FOG server. And, in most cases, it’s not a big deal either. I can build a FOG server in under 3 hours by myself and most of that is twiddling my thumbs waiting on installation and OS updates. Add another hour or two for transferring your images - mostly thumb twiddling.

                            Also, you might want to reach out to someone like @cml or @Tom-Elliott or @ch3i for assistance. Because what I would suggest at this point is trying to delete and recreate the fog user but you’ve already done that… and I’m not totally sure where to go from here.

                            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
                            • S
                              sarge_212
                              last edited by Jul 24, 2015, 9:42 PM

                              No problem Wayne. This forum is awesome and you guys are all way responsive and helpful. Thanks!

                              1 Reply Last reply Reply Quote 0
                              • S
                                sarge_212
                                last edited by Sep 17, 2015, 6:12 PM

                                Hey all,

                                I think this is a bug.

                                If I go to Task Management > List all hosts > click the Download arrow for that host, it downloads an image. However, if I go to host management > select the host > basic tasks > download > schedule the download, I get the error about optimal storage node. Just wanted to let you know after much hair pulling. Thanks.

                                T 1 Reply Last reply Sep 17, 2015, 6:59 PM Reply Quote 0
                                • T
                                  Tom Elliott @sarge_212
                                  last edited by Sep 17, 2015, 6:59 PM

                                  @sarge_212 What version?

                                  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
                                  • 1 / 1
                                  • First post
                                    Last post

                                  201

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project