From 7ffb84f9a3a2941825b20206377616474481e48e Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 28 May 2021 18:40:28 -0400 Subject: [PATCH] fix(cgi-bin): set join and leave cluster jobs to run on target host --- cgi-bin/set_membership | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgi-bin/set_membership b/cgi-bin/set_membership index 2fa60a23..76a2f165 100755 --- a/cgi-bin/set_membership +++ b/cgi-bin/set_membership @@ -118,6 +118,7 @@ sub join_cluster { $anvil->Database->insert_or_update_jobs({ job_command => $anvil->data->{path}{exe}{'anvil-safe-start'}, + job_host_uuid => $host_uuid, job_description => "job_0337", job_name => "cgi-bin::set_membership::join", job_progress => 0, @@ -145,6 +146,7 @@ sub leave_cluster { $anvil->Database->insert_or_update_jobs({ job_command => $anvil->data->{path}{exe}{'anvil-safe-stop'}, + job_host_uuid => $host_uuid, job_description => "job_0339", job_name => "cgi-bin::set_membership::leave", job_progress => 0,