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

    Can not create task

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    12
    1.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.
    • S
      Snaggel
      last edited by

      I’m current unable to create a task. capture or deploy an image. I have registered my device (client) and when i try to start the task im getting the below error.
      0_1530115534247_e10811b6-8dde-4266-9f90-fbb3e600b2f3-image.png

      DE is the client i named. using centOS 7 fog version is 1.5.4 any suggestions?

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

        lets get some screen shots of your storage groups and your image definition for this target system. Basically the error says that the storage group assigned to the image definition is not valid, maybe the storage group was change or the storage group doesn’t have a master node??

        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!

        S 1 Reply Last reply Reply Quote 0
        • S
          Snaggel @george1421
          last edited by

          @george1421 I removed my storage groups and made nothing the master node. I had a group but i was getting the same error so i removed them and the master node. we will eventually have multiple sites with fog if i get it working correctly been having some issues with PXE but got that resolved, but now this error.
          0_1530119448845_f8d30b8e-4a11-4a9e-af79-851d49b4d0e4-image.png
          0_1530119510975_fc387dba-616c-4587-b59a-bbb373b2d26d-image.png

          Let me know. Right now we have just 2 fog servers. we would like to replicate so all of them will have the same image. I heard this was not possible as we would need each one to use the boot feature so a storage node would not work. We were using SCP to transfer the images over to the fog server.

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

            @snaggel Well you have a few facts wrong here. No problem we can get you on the right path.

            Lets start with some guides:

            1. Each storage group MUST have a master node, even if its the only node.
            2. Images can only be captured to master nodes.
            3. Storage nodes also support pxe booting
            4. The location plugin directs clients to the proper storage node (storage node or master node).
            5. (enabled) Images will replicate from the master node to all storage nodes in the same storage group.
            6. Its possible to have 2 full FOG servers in the same storage group, as long as one is mark the master and the others are marked as storage nodes. (this opens up some interesting features).
            7. All images must be assigned to a specific storage group.

            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!

            S 1 Reply Last reply Reply Quote 0
            • S
              Snaggel @george1421
              last edited by

              @george1421 ok i will test this out and let you know. lets say i caputre an image from the non master device. will it sync to the master node from the non master node?

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

                @snaggel Replication only flows one way Storage group master to storage group node. Image replication will never go from the storage node to the master. If you did this, you can manually move the image files with scp or rsync and then update the meta data on the image configuration page.

                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!

                S 1 Reply Last reply Reply Quote 0
                • S
                  Snaggel @george1421
                  last edited by

                  @george1421 ok that makes since. as of now we only have 2 which are not storage nodes. they are normal installs. will that matter?

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

                    @snaggel In fog terms the only difference between a storage node and a normal mode, is the normal mode install has the fog database. Otherwise the rest of the system is the same.

                    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!

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Snaggel @george1421
                      last edited by

                      @george1421 ok getting frustrated now. I created a group. made my node the master. when i try to capture an image im getting this.
                      0_1530123721258_903090a8-8ddf-4bc4-bbad-d0152c9de189-image.png
                      Here is the images
                      0_1530123783167_6f890993-2653-425f-a2ad-d73928a85fb1-image.png
                      Here is the storage node and Group
                      0_1530123849956_fd21390e-018c-4b7e-8216-f6b4696ce434-image.png
                      Not sure what im missing here

                      Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Snaggel
                        last edited by

                        @snaggel What is “DEXTER”? Can you ensure the image is assigned to the appropriate group implicitly? (I know it shows that it’s correct, but make sure to set the storage group for the image in the image definition, as well as define the “primary” group as needed.)

                        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

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

                          @snaggel OK I see what’s missing in your setup. Note that you have no storage group defined. Below is the default settings of a new installed fog server. Note that it says the “default” storage group.

                          0_1530128062413_All Storage Nodes.png

                          Now if you step into the image definition, below is the default for a new image.
                          0_1530128115299_New Image.png

                          Note that in the image definition it points to a storage group, not a storage node.

                          This is where your disconnect is happening. When fog goes to image either the storage group is missing, or there is not a master node associated with the storage group.

                          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
                          • S
                            Snaggel @Tom Elliott
                            last edited by

                            @tom-elliott DEXTER is the storage group i created. Well after looking in the storage group it was not added in the storage group field, after adding it their it appears to be gathering. I appreciate and thank you sir. I’m sure i will have more coming soon 🙂

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            157

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project