Failed to create deploy task, Image is not valid
-
@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?
-
I haven’t uploaded yet, I am trying to…
-
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
-
@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?
-
It’s 1.2.0
-
@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).
-
@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?
-
If I want to upload my first image from the client to the fog server don’t I click upload here?
-
@Paul-Storic moving to chat.
-
@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.
-
Sure, sorry for the delay I had to leave for the day. I’ll be back at 8AM tomorrow and I’ll upload that.
-
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?
-
Thanks George, that was the answer!!!
-
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?
-
@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.
-
@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
-
@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
-
@Paul-Storic They can be separate or you can configure FOG to name the target computer what you have the device registered in fog. To do that you need to either enable early host name change or use the FOG client (must be installed on the reference image) to rename the host and connect it to AD.