Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

self-test is failing #339

Closed
dmcassel opened this issue Jan 15, 2015 · 5 comments
Closed

self-test is failing #339

dmcassel opened this issue Jan 15, 2015 · 5 comments

Comments

@dmcassel
Copy link
Collaborator

Error:

<error:message>Depending tasks on host or group.</error:message>
<error:format-string>ADMIN-DEPENDINGSCHEDULEDTASKS: (err:FOER0000) There are depend tasks on the host or the associated group. Delete those first before moving host 15806429371048342259 to a new group.</error:format-string>

Seems to be related to the tests involving groups.

@grtjn
Copy link
Contributor

grtjn commented Jan 15, 2015

You should self-test against a clean environment. If you test against your local box, and you have some schedules from whichever project running, then it fails..

@grtjn
Copy link
Contributor

grtjn commented Jan 16, 2015

I couldn't think of a workaround back then, still can't really think of one now. I think it is because there could be scheduled tasks in the Default group, and if you move all hosts to a different group, that will cause schedules of Default group to stop running. I can only suggest doing a self-test against an empty environment from now on.. :-S

@grtjn grtjn modified the milestone: 1.7.2 Feb 20, 2015
@grtjn
Copy link
Contributor

grtjn commented Mar 31, 2015

I was thinking of improving self-test to a) wipe better at failure, and b) detect cluster and skip group stuff if not found. Not entirely sure how to do that technically yet, though..

@dmcassel
Copy link
Collaborator Author

I think your original idea of just testing against a clean box makes sense. If tests pass that way, I'm fine with closing this one.

@paxtonhare
Copy link
Contributor

it tests on a clean box. closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants