* Updated Jobs->get_job_details() to use --job-uuid switch or, failing that, look for an incomplete on this host with the same command as the calling program.
ThistakesaC<<job_uuid>>andreturnsthejob's details. If the job is found, C<< 0 >> is returned. If it isn'tfound,C<<1>>isreturned.Ifitisfound,butC<<check>>wassetandtheprocessisstillalice,C<<2>>isreturned.
ThistakesaC<<job_uuid>>andreturnsthejob's details. If the job is found, C<< 0 >> is returned. If it isn'tfound,C<<1>>isreturned.Ifitisfound,butC<<check>>wassetandtheprocessisstillalive,C<<2>>isreturned.
@ -66,7 +66,7 @@ Author: Madison Kelly <mkelly@alteeve.ca>
<keyname="error_0029"><![CDATA[Failed to find the template: [<span class="code">#!variable!template!#</span>] in the template file: [<span class="code">#!variable!file!#</span>].]]></key>
<keyname="error_0029"><![CDATA[Failed to find the template: [<span class="code">#!variable!template!#</span>] in the template file: [<span class="code">#!variable!file!#</span>].]]></key>
<keyname="error_0030"><![CDATA[Failed to process the template: [<span class="code">#!variable!template!#</span>] in the template file: [<span class="code">#!variable!file!#</span>]. Details of the problem should be in: [<span class="code">#!data!path::log::main!#</span>].]]></key>
<keyname="error_0030"><![CDATA[Failed to process the template: [<span class="code">#!variable!template!#</span>] in the template file: [<span class="code">#!variable!file!#</span>]. Details of the problem should be in: [<span class="code">#!data!path::log::main!#</span>].]]></key>
<keyname="error_0031">The 'host-uuid': [#!variable!host_uuid!#] is not valid.</key>
<keyname="error_0031">The 'host-uuid': [#!variable!host_uuid!#] is not valid.</key>
<keyname="error_0032">The '#!variable!switch!#' switch is missing.</key>
<keyname="error_0032">The '#!variable!switch!#' switch is missing and no pending job was found.</key>
<keyname="error_0033">The job UUID was passed via '--job-uuid' but the passed in value: [#!variable!uuid!#] is not a valid UUID.</key>
<keyname="error_0033">The job UUID was passed via '--job-uuid' but the passed in value: [#!variable!uuid!#] is not a valid UUID.</key>
<keyname="error_0034">The job UUID was passed via '--job-uuid': [#!variable!uuid!#] doesn't match a job in the database.</key>
<keyname="error_0034">The job UUID was passed via '--job-uuid': [#!variable!uuid!#] doesn't match a job in the database.</key>
<keyname="error_0035">
<keyname="error_0035">
@ -129,7 +129,7 @@ Failed to generate an RSA public key for the user: [#!variable!user!#]. The outp
<keyname="error_0077">Unable to connect to the database, unable to read the details of the key to remove.</key>
<keyname="error_0077">Unable to connect to the database, unable to read the details of the key to remove.</key>
<keyname="error_0078">Did not find any offending keys on this host, exiting.</key>
<keyname="error_0078">Did not find any offending keys on this host, exiting.</key>
<keyname="error_0079">Job data not found for job_uuid: [#!variable!job_uuid!#].</key>
<keyname="error_0079">Job data not found for job_uuid: [#!variable!job_uuid!#].</key>
<keyname="error_0080">No job UUID was passwed .</key>
<keyname="error_0080">No job UUID was passed .</key>
<keyname="error_0081">The job_uuid: [#!variable!job_uuid!#] appears valid, but there was no job_data.</key>
<keyname="error_0081">The job_uuid: [#!variable!job_uuid!#] appears valid, but there was no job_data.</key>
<keyname="error_0082">The state UUID: [#!variable!state_uuid!#] does not appear to be a valid UUID.</key>
<keyname="error_0082">The state UUID: [#!variable!state_uuid!#] does not appear to be a valid UUID.</key>
<keyname="error_0083">No (good) state UUIDs found, unable to run this job.</key>
<keyname="error_0083">No (good) state UUIDs found, unable to run this job.</key>
@ -187,6 +187,7 @@ The error was:
<keyname="error_0126">The IP address: [#!variable!ip!#] does not appear to be in the network: [#!variable!network!#].</key>
<keyname="error_0126">The IP address: [#!variable!ip!#] does not appear to be in the network: [#!variable!network!#].</key>
<keyname="error_0127">I was asked to delete and entry from: [#!variable!table!#] but neither the name or UUID was passed.</key>
<keyname="error_0127">I was asked to delete and entry from: [#!variable!table!#] but neither the name or UUID was passed.</key>
<keyname="error_0128">The host UUID: [#!variable!uuid!#] was set as the value for: [#!variable!column!#], but that host doesn't appear to exist.</key>
<keyname="error_0128">The host UUID: [#!variable!uuid!#] was set as the value for: [#!variable!column!#], but that host doesn't appear to exist.</key>
<keyname="error_0129">Unable to connect to any database, unable to read the job details.</key>
<!-- Table headers -->
<!-- Table headers -->
<keyname="header_0001">Current Network Interfaces and States</key>
<keyname="header_0001">Current Network Interfaces and States</key>
@ -288,7 +289,7 @@ Failure! The return code: [#!variable!return_code!#] was received ('0' was expec
<keyname="job_0052">[ Error ] - There was a problem reading the known hosts file: [#!variable!file!#]. Skipping it.</key>
<keyname="job_0052">[ Error ] - There was a problem reading the known hosts file: [#!variable!file!#]. Skipping it.</key>
<keyname="job_0053">Found an entry for the target at line: [#!variable!line!#], removing it.</key>
<keyname="job_0053">Found an entry for the target at line: [#!variable!line!#], removing it.</key>
<keyname="job_0054">[ Error ] - The line number: [#!variable!line!#] in: [#!variable!file!#] does not appear to be for the target: [#!variable!target!#]. Has the file already been updated? Skipping it.</key>
<keyname="job_0054">[ Error ] - The line number: [#!variable!line!#] in: [#!variable!file!#] does not appear to be for the target: [#!variable!target!#]. Has the file already been updated? Skipping it.</key>
<keyname="job_0057">The selected bad key(s) will be removed from the specified files.</key>
<keyname="job_0057">The selected bad key(s) will be removed from the specified files.</key>
<keyname="job_0058">The state UUID: [#!variable!state_uuid!#] is for the machine with the host UUID: [#!variable!host_uuid!#], which is not us. This is probably a progrem error, skipping this.</key>
<keyname="job_0058">The state UUID: [#!variable!state_uuid!#] is for the machine with the host UUID: [#!variable!host_uuid!#], which is not us. This is probably a progrem error, skipping this.</key>
@ -307,6 +308,24 @@ Failure! The return code: [#!variable!return_code!#] was received ('0' was expec
<keyname="job_0071">The network configuration will be updated based on the variables stored in the database. When complete, the system will reboot.</key>
<keyname="job_0071">The network configuration will be updated based on the variables stored in the database. When complete, the system will reboot.</key>
<keyname="job_0072">Join this machine to an #!string!brand_0006!#.</key>
<keyname="job_0072">Join this machine to an #!string!brand_0006!#.</key>
<keyname="job_0073">This machine will join an #!string!brand_0006!# as a node or DR host. The role and #!string!brand_0006!# will be determined by the associated Install Manifest UUID.</key>
<keyname="job_0073">This machine will join an #!string!brand_0006!# as a node or DR host. The role and #!string!brand_0006!# will be determined by the associated Install Manifest UUID.</key>
<keyname="job_0086">Checking if the MTU needs to be updated on any interfaces.</key>
<keyname="job_0087">The MTU on the interface: [#!variable!interface!#] is already: [#!variable!mtu!#] bytes, no update needed.</key>
<keyname="job_0088">The MTU on the interface: [#!variable!interface!#] is currently: [#!variable!old_mtu!#] bytes, changing it to: [#!variable!mtu!#] bytes now.</key>
<keyname="job_0089">Adding NTP (network time protocol) servers, if needed.</key>
<keyname="job_0090">Adding the NTP server: [#!variable!server!#].</key>
<keyname="job_0091">Restarting the daemon: [#!variable!daemon!#].</key>