Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-16120 Fix type causing regression in init_thor script #9028

Merged

Conversation

Michael-Gardner
Copy link
Contributor

The section of code for kill_slaves relies on the uslaves file
being present. Yet in the frunssh call we use the slaves file
for our ip list, unlike every other frunssh call where we rely on
the uslaves file. This was causing issues where the uslaves file
would be present, but a previous failure to connect to the slave
machines would erase the slaves file (as was intended), and cause
the startup to always fail.

The fix is to use the uslaves file, as was originally intended.
If there is a failure to connect to the slave machines to stop the
slaves, we want the uslaves file to remain in the instancedir so
we can try again on the next startup attempt.

Signed-off-by: Michael Gardner michael.gardner@lexisnexis.com

The section of code for kill_slaves relies on the uslaves file
being present.  Yet in the frunssh call we use the slaves file
for our ip list, unlike every other frunssh call where we rely on
the uslaves file.  This was causing issues where the uslaves file
would be present, but a previous failure to connect to the slave
machines would erase the slaves file (as was intended), and cause
the startup to always fail.

The fix is to use the uslaves file, as was originally intended.
If there is a failure to connect to the slave machines to stop the
slaves, we want the uslaves file to remain in the instancedir so
we can try again on the next startup attempt.

Signed-off-by: Michael Gardner <michael.gardner@lexisnexis.com>
@hpcc-jirabot
Copy link

@Michael-Gardner
Copy link
Contributor Author

@jakesmith please review

@HPCCSmoketest
Copy link
Contributor

Automated Smoketest
Sha: badc387
Build: success
Install hpccsystems-platform-community_6.0.6-rc1.el6.x86_64.rpm
HPCC Start: OK
Unittest result: total:81 passed:81 failed:0

HPCC Stop: OK
HPCC Uninstall: OK

@jakesmith
Copy link
Member

Looks good.

@richardkchapman - ready to merge.

@richardkchapman richardkchapman merged commit fe6b0db into hpcc-systems:candidate-6.0.6 Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants