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

    Failed to create deploy task, Image is not valid

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    21
    5.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.
    • P
      Paul Storic
      last edited by Paul Storic

      Just made a new FOG server 1.2.0 on Ubuntu 14.04 from scratch and I was attempting to upload my first image. So far I’ve registered the Host and created an image but when I choose the Host under “task management” and clicked upload I get the following error. Any idea why that’s happening?

      "Failed to create deploy task

      Image is not valid"

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

        Lets just make sure I understand this.

        You created a new fog server, you were uploading your first image, but the error said failed to create deploy task? Without attempting to sound critical, wouldn’t you want to do a capture task to upload a valid image to the fog server, before you can’t deploy it?

        Basically the fog server said you can’t deploy an image that doesn’t exist on the fog server.

        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
        • P
          Paul Storic
          last edited by Paul Storic

          No I’m trying to upload (Capture) the first image, not deploy. I was following the steps on the wiki. After registering the client the next steps were to create the host on the mgmt page, step 2 was to create the image, and step 3 was to create an upload task that links to the host but immediately after I click the Upload arrow next to my host is when I get the error under task management0_1466455780831_Capture.JPG :

          Failed to create deploy task

          Image is not valid

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

            @Paul-Storic I think we have something going on here I don’t understand. The error doesn’t match the action. You are uploading but the error says deploy. And the error code matches a deploy. If you try to send a blank (null) image to the target computer.

            When you say you are on FOG 1.2.0 are you on fog 1.2.0 stable, or the trunk (dev) build of FOG 1.2.0 (I know its confusing). There should be numbers either on or near the cloud on the FOG management gui, what are those numbers?

            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
            • P
              Paul Storic
              last edited by

              I haven’t uploaded yet, I am trying to…

              george1421G 1 Reply Last reply Reply Quote 0
              • P
                Paul Storic
                last edited by

                1.2.0 stable.

                The wiki steps are to register the client, create an image object, then create the upload task. The upload task is where it’s giving that error.

                [https://wiki.fogproject.org/wiki/index.php/Booting_into_FOG_and_Uploading_your_first_Image

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

                  @Paul-Storic said in Failed to create deploy task, Image is not valid:

                  I haven’t uploaded yet, I am trying to…

                  I must not be explaining this very well. I understand you are trying to upload. I got that, but the error that fog is throwing says you are trying to download an image to the target computer. Not trying to be harsh, but either you are confused or there is something wrong with your fog install.

                  Now if you are running fog 1.2.0 stable the up and download commands were confusing so the developers change the names to capture and deploy.

                  What are the numbers from the FOG cloud (top left) of the FOG management GUI?

                  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
                  • P
                    Paul Storic
                    last edited by

                    It’s 1.2.0

                    0_1466456092902_Capture.JPG

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

                      @Paul-Storic Just for clarity, you need to create the Image definition first then go into the host and assign that host to the image. The wiki page appears to have it backwards (IMO).

                      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
                      • george1421G
                        george1421 Moderator @Paul Storic
                        last edited by

                        @Paul-Storic Gotcha, you are on 1.2.0 stable. So that sets the context for the discussion.

                        What does your host definition look like for this target system?

                        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
                        • P
                          Paul Storic
                          last edited by

                          If I want to upload my first image from the client to the fog server don’t I click upload here?

                          0_1466456157926_Capture.JPG

                          george1421G 2 Replies Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @Paul Storic
                            last edited by

                            @Paul-Storic moving to chat.

                            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
                            • george1421G
                              george1421 Moderator @Paul Storic
                              last edited by

                              @Paul-Storic {left me hanging in chat}

                              Can you post an image of the host definition, please? In the host definition it should indicate what image to use.

                              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 1
                              • P
                                Paul Storic
                                last edited by

                                Sure, sorry for the delay I had to leave for the day. I’ll be back at 8AM tomorrow and I’ll upload that.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Paul Storic
                                  last edited by

                                  Thanks George, that could have been the problem. There was no host image selected from the drop down menu. Once I have that selected all I need to do is PXE boot the PC that I want to capture and it will automatically pull the image?

                                  0_1466512562596_Capture.JPG

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    Paul Storic
                                    last edited by

                                    Thanks George, that was the answer!!!

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      Paul Storic
                                      last edited by

                                      Now that I have the image uploaded, can I simply boot any PC that I want to pull that image via PXE and select it or do I need to deploy it from the management console?

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

                                        @Paul-Storic The short answer is yes, kind of.

                                        For target #2 the standard step is to full register the machine. That will give you a chance to name the target #2 computer, select an image, and enter some other settings right from the target computer. At the end of registration it will ask you if you want to image the machine, answer yes and the target computer will reboot and deploy the image (all without touching the FOG management gui).

                                        If you don’t care about naming the computer, you can just select quick image, select the image and it will download to the target computer. But understand that fog will not remember systems that have been quick imaged. You must register the system for fog to know about them and to be able to manage them.

                                        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!

                                        P 2 Replies Last reply Reply Quote 0
                                        • P
                                          Paul Storic @george1421
                                          last edited by

                                          @george1421 Thanks so much, you’ve been very helpful! I’ve been using Acronis and a windows 7 VM to keep an up to date image and then storing it onto a NAS so I’ve been looking for alternative way to image and this looks promising. Just a bit of a learning curve like anything else

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            Paul Storic @george1421
                                            last edited by

                                            @george1421 When you say “name target #2”, the name I give it there is used within FOG only right? When I boot into windows and rename it they are seperate

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

                                            149

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project