DELETE FROM `fog`.`snapinAssoc` WHERE `saHostID` NOT IN (SELECT `hostID` FROM `fog`.`hosts`) OR `sSnapinID` NOT IN (SELECT `saSnapinID` FROM `fog`.`sID`);
Returns #1146 - Table ‘fog.sID’ doesn’t exist
DELETE FROM `fog`.`snapinAssoc` WHERE `saHostID` NOT IN (SELECT `hostID` FROM `fog`.`hosts`) OR `sSnapinID` NOT IN (SELECT `saSnapinID` FROM `fog`.`sID`);
Returns #1146 - Table ‘fog.sID’ doesn’t exist
@Tom-Elliott Does this also delete the Active Snapin Jobs in the queue or just the history?
@Tom-Elliott Image name sounds logical and is not so necessary. I only prefer to see the active snapin tasks and I wonder why they execute but I can’t see them under “Active Snapin Tasks”.
@Tom-Elliott I did some more tests. All snapins deploy to the host, but they are not correctly displayed under “Active Tasks” or incomplete under “Active Snapin Tasks” (The Image name is missing, when submitting a single snapin task to a group".
@Tom-Elliott I upgraded to
Running Version 1.4.0
SVN Revision: 6069
but the problem is still there. The second time I submit a single snapin to the same group, there is no Task visible under “Active Snapin Tasks”. Only the first time I submit a single snapin, the Tasks are created.
Looking for the missing tasks, I found out, that there are tasks visible under “Active Tasks”, but the Image field is empty.
@Tom-Elliott Thanks, I’ll give dev-branch a try next week.
@Tom-Elliott It’s maybe two weeks ago since. Should I give it another try?
@Tom-Elliott I pulled and updated my installation again. Now I do no longer reproduce the blank page on Active Tasks page.
The first problem I have still exists. I can submit a Single Snapin to a group. The Snapin Tasks are showed on the Active Tasks page. I can submit another Single Snapin to the same group. There are no error messages, but the second Single Snapin does not show up under Active Tasks page. I only see the Tasks for the first submit.
@Tom-Elliott Thanks. I moved to 1.4.0-RC-3. I now can submit several Single Snapins to a group. There’s just some strange behaviour. The first time i submit a single snapin to a group with 100 clients, I can see 100 Snapin Task under Task Managment…Active Snapin Tasks. The second time I submit a Single Snapin to 100 clients, there are only 2 Snapin Tasks created. When I repeat the last step, aprox. 20 Snain Tasks are created. I somehow also expect 100 Single Snapin Tasks under Task Managment…Active Snapin Task. When I click Task Management…Active Tasks… I only get a white page.
@Tom-Elliott Thank you very much for effort!
I moved to the working branch and installed it. After the update I was no longer able to login. I reset the password, but this didn’t help. So unfortunatly I couldn’t test your changes.
I really would like to see this in action, because deploying different snapins to groups is one of my main workflows.
Any chance you can help me testing this?
@Junkhacker I have no imaging tasks running during the creation of snapin tasks. Scheduled tasks can be sumitted, but never run.
@Tom-Elliott said in Deploying Single Snapins to Group All:
ns are “Tasks” in and of themselves. So deploying a snapin, and “redepoying” immediately after there SHOULD be this error. Groups are not hosts and have no nice means to know about hosts in the same manner as an individual host.
I was used to deploy different snapins to the “all” group in 1.2.0 like this. How do you deploy, lets say ugly Flash or Java, every month to all hosts without clicking like hell?
@Wayne-Workman I upgraded to 1.3.5 and have still the same error.
I create a group, add one host into the group and deploy a single snapin to the group. The second time i want to deploy a single snapin to this group, I always get the error:
Failed to create tasking to some or all
All Failed to start tasking type Single Snapin
There is a host in a tasking
@Wayne-Workman Yes, all of them. Can you reproduce the error?
I cleaned the stale jobs, without success. Is it a bug? Can someone reproduce?
Anyone with a hint? I truncated snapinTask, snapinJobs, tasks table with no success. I only added one host to the group, with no success. After I try to deploy a second single snapin I always get the error
Failed to create tasking to some or all All Failed to start tasking type Single Snapin There is a host in a tasking
I have problems deploying several snapins to all hosts.
I deleted all active tasks, active snapin tasks and scheduled task. I created a group called “All” and added all hosts as members.
I select the group “All”, Advanced, Basic Task, Single Snapin and deploy a snapin (.exe) with Schedule Instant (.exe). That works fine.
I select athe group “All”, Advanced, Basic Task, Single Snapin (.exe) and deploy another snapin with Schedule Instant.
The error message:
Failed to create tasking to some or all All Failed to start tasking type Single Snapin There is a host in a tasking
A way to avoid this message, is to choose “Schedule Delayed”, choose a date in the future and deploy. The problem is, that this task get stuck in the “Scheduled Tasks” forever and never deploys the snapin.
I also can deploy the same snapin via manage hosts, choose a host, basic tasks, advanced, single snapin. That works. But repeating this for 180 hosts is not so funny.
This process worked in version 1.2.0
@george1421 Thanks for clarifying. The ftp server was the problem. The “Updating Database” confused me into thinking, the fog database fails to update.
@george1421 The nfs server is not the problem, it works. The problem is, that the IP for the database server (fog server?) changes, when I change the IP of the DefaultStorageNode.