* Fixed a bug in Cluster->parse_cib() when a server that is off wasn't setting 'status'.
* Renamed 'server::location::<server>::host' to '...::host_name' in several places.
* Got more work done on anvil-delete-server, up to the point where it calls the new Cluster->delete_server() method.
* Updated fence_pacemaker to call 'drbdadm adjust all' to dampen an issue where in-memory fence configs seem to change, preventing reconnection of the peer after it reboots from the fence. More testing needed on this issue.
Signed-off-by: Digimer <digimer@alteeve.ca>
<keyname="error_0213">Failed to add the server: [#!variable!server_name!#] because it appears to already exist in the cluster.</key>
<keyname="error_0213">Failed to add the server: [#!variable!server_name!#] because it appears to already exist in the cluster.</key>
<keyname="error_0214">Failed to add the server: [#!variable!server_name!#]. After the commands to add it ran, it was still not found in the cluster.</key>
<keyname="error_0214">Failed to add the server: [#!variable!server_name!#]. After the commands to add it ran, it was still not found in the cluster.</key>
<keyname="error_0215">It looks like something went wrong while adding the server to the cluster. There should be more information in the logs.</key>
<keyname="error_0215">It looks like something went wrong while adding the server to the cluster. There should be more information in the logs.</key>
<keyname="error_0216">It looks like something went wrong while removing the server from the cluster. There should be more information in the logs.</key>
<keyname="error_0217">This host is not an Anvil! node or DR host, unable to delete servers.</key>
<keyname="error_0218">Unable to connect to any databases, unable to continue.</key>
<keyname="error_0219">Unable to find the server uuid to delete from the job UUID: [#!variable!job_uuid!#].</key>
<keyname="error_0220">Unable to find a server name to match the server UUID: [#!variable!server_uuid!#].</key>
<keyname="error_0221">The server: [#!variable!server_name!#] is already marked as DELETED.</key>
<keyname="error_0222">The cluster does not appear to be running, unable to delete a server at this time. We'll sleep for a bit and then exit, and the try again.</key>
<keyname="error_0223">The server: [#!variable!server_name!#] appears to have failed to stop.</key>
<keyname="error_0224">Unable to delete the server resource: [#!variable!server_name!#] as the cluster isn't running or there was a problem parsing the cluster CIB.</key>
<keyname="error_0225">Unable to delete the server resource: [#!variable!server_name!#] as this node is not (yet) a full member of the cluster.</key>
<keyname="error_0226">It looks like to removal of the server resource: [#!variable!server_name!#] failed. The return code should have been '0', but: [#!variable!return_code!#] was returned. The 'pcs' command output, if any, was: [#!variable!output!#].</key>
<keyname="error_0227">It looks like to removal of the server resource: [#!variable!server_name!#] failed. Unsafe to proceed with the removal of the server. Please check the logs for more information.</key>
<!-- Files templates -->
<!-- Files templates -->
<!-- NOTE: Translating these files requires an understanding of which likes are translatable -->
<!-- NOTE: Translating these files requires an understanding of which likes are translatable -->
@ -623,6 +635,10 @@ It should be provisioned in the next minute or two.</key>
<keyname="job_0205">As we're the peer, we're now going to wait for the new server definition to be added to the database, then write it out to disk.</key>
<keyname="job_0205">As we're the peer, we're now going to wait for the new server definition to be added to the database, then write it out to disk.</key>
<keyname="job_0206">The definition file: [#!variable!file!#] has been saved.</key>
<keyname="job_0206">The definition file: [#!variable!file!#] has been saved.</key>
<keyname="job_0207">Preparing to add the server to the central cluster manager.</key>
<keyname="job_0207">Preparing to add the server to the central cluster manager.</key>
<keyname="job_0208">Deleting a server</key>
<keyname="job_0209">This deletes a server from an Anvil! system.</key>
<keyname="job_0210">Asking pacemaker to stop the server: [#!variable!server_name!#].</key>
<keyname="job_0211">The server: [#!variable!server_name!#] is now stopped in pacemaker.</key>
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { answer => $answer }});
if ($answer =~ /\D/)
{
# Did the user type the name?
if ((exists $anvil->data->{servers}{anvil_uuid}{$anvil_uuid}{server_name}{$answer}) && ($anvil->data->{servers}{anvil_uuid}{$anvil_uuid}{server_name}{$answer}{server_uuid}))