* Started work on Get->available_resources() that will take an 'anvil_uuid' and figure out what resources are still available for use by new servers or that can be added to existing servers.
* Fixed a bug in ScanCore->agent_startup() where tables weren't being generated properly from the agent's SQL file.
* Made Storage->change_mode() return silently if it's called without a mode being passed. This happens frequently and is harmless so it's not worth filling the logs with errors.
* Renamed the 'start_time' key to 'at_start' when recording files' MD5 sums in Storage->record_md5sums and ->check_md5sums.
* When we moved the directory scan logic out of the 'scancore' daemon and into 'Storage->scan_directory', the logic to record scan agent names in 'scancore::agent::<file>' was removed. This broke a few things and, so, it was restored when it was found that a file starts with 'scan-' and the directory matches the scancore agent directory.
* Moved the 'scancore' daemon's 'load_agent_strings' to 'Words'
* Updated Words->parse_banged_string() to look for variables in the format 'value=X:units=Y' and translate it properly.
* Fixed a bug in scan-ipmitool where discovered sensor INSERT SQL queries were queued, but not committed.
* Fixed a bug in scan-storcli where a while loop was broken, preventing execution.
* Fixed a bug in the 'scancore' daemon where it wouldn't exit if sums changed. Fixed a bug where alerts weren't being sent between loops. Fixed a bug where command-line log level wasn't surviving inside the main loop.
Signed-off-by: Digimer <digimer@alteeve.ca>
<keyname="error_0166">The resource: [#!variable!resource!#] in the config file: [#!variable!file!#] was found, but does not appear to be a valid UUID: [#!variable!uuid!#].</key>
<keyname="error_0166">The resource: [#!variable!resource!#] in the config file: [#!variable!file!#] was found, but does not appear to be a valid UUID: [#!variable!uuid!#].</key>
<keyname="error_0167">The resource: [#!variable!resource!#] in the config file: [#!variable!file!#] was found, and we were asked to replace the 'scan_drbd_resource_uuid' but the new UUID: [#!variable!uuid!#] is not a valud UUID.</key>
<keyname="error_0167">The resource: [#!variable!resource!#] in the config file: [#!variable!file!#] was found, and we were asked to replace the 'scan_drbd_resource_uuid' but the new UUID: [#!variable!uuid!#] is not a valud UUID.</key>
<keyname="error_0168">The 'fence_ipmilan' command: [#!variable!command!#] does not appear to be valid.</key>
<keyname="error_0168">The 'fence_ipmilan' command: [#!variable!command!#] does not appear to be valid.</key>
<keyname="error_0169">The Anvil! UUID: [#!variable!anvil_uuid!#] doesn't appear to exist in the database.</key>
<!-- Table headers -->
<!-- Table headers -->
<keyname="header_0001">Current Network Interfaces and States</key>
<keyname="header_0001">Current Network Interfaces and States</key>
@ -1035,9 +1036,9 @@ The file: [#!variable!file!#] needs to be updated. The difference is:
<keyname="log_0522">The 'libvirtd' daemon is not running. It may be starting up, will wait: [#!variable!wait_time!#] seconds...</key>
<keyname="log_0522">The 'libvirtd' daemon is not running. It may be starting up, will wait: [#!variable!wait_time!#] seconds...</key>
<keyname="log_0523">Found the server to be running using it's PID. The state of the server can't be determined, however. Please start the 'libvirtd' daemon!</key>
<keyname="log_0523">Found the server to be running using it's PID. The state of the server can't be determined, however. Please start the 'libvirtd' daemon!</key>
<keyname="log_0524">No PID for the server was found. It is not running on this host.</key>
<keyname="log_0524">No PID for the server was found. It is not running on this host.</key>
<keyname="log_0525">The server is shutting down. Will wait for it to finish...</key>
<keyname="log_0525">The server: [#!variable!server_name!#] is shutting down. Will wait for it to finish...</key>
<keyname="log_0526">The server is off.</key>
<keyname="log_0526">The server: [#!variable!server_name!#] is off.</key>
<keyname="log_0527">The server is running (state is: [#!variable!state!#]).</key>
<keyname="log_0527">The server: [#!variable!server_name!#] is running (state is: [#!variable!state!#]).</key>
<keyname="log_0528">We've been asked to migrating the server: [#!variable!server!#] to: [#!variable!target_host!#].</key>
<keyname="log_0528">We've been asked to migrating the server: [#!variable!server!#] to: [#!variable!target_host!#].</key>
<keyname="log_0529">Checking server state after: [#!variable!server!#] was migrated to this host.</key>
<keyname="log_0529">Checking server state after: [#!variable!server!#] was migrated to this host.</key>
<keyname="log_0530">Updating the postfix relay password file: [#!data!path::configs::postfix_relay_password!#].</key>
<keyname="log_0530">Updating the postfix relay password file: [#!data!path::configs::postfix_relay_password!#].</key>
@ -1071,7 +1072,7 @@ The file: [#!variable!file!#] needs to be updated. The difference is:
#!variable!difference!#
#!variable!difference!#
====
====
</key>
</key>
<keyname="log_0557">Scan agent: [#!variable!agent_name!#] exited after: [#!variable!runtime!#] seconds with the return code: [#!variable!return_code!#].</key>
<keyname="log_0557">- Scan agent: [#!variable!agent_name!#] exited after: [#!variable!runtime!#] seconds with the return code: [#!variable!return_code!#].</key>
<keyname="log_0558">I'm not on the same network as: [#!variable!host_name!#]. Unable to check the power state.</key>
<keyname="log_0558">I'm not on the same network as: [#!variable!host_name!#]. Unable to check the power state.</key>
<keyname="log_0559">The host: [#!variable!host_name!#] appears to be off, but there's no IPMI information, so unable to check the power state or power on the machine.</key>
<keyname="log_0559">The host: [#!variable!host_name!#] appears to be off, but there's no IPMI information, so unable to check the power state or power on the machine.</key>
<keyname="log_0560">The host: [#!variable!host_name!#] has no IPMI information. Wouldn't be able to boot it, even if it's off, so skipping it.</key>
<keyname="log_0560">The host: [#!variable!host_name!#] has no IPMI information. Wouldn't be able to boot it, even if it's off, so skipping it.</key>
@ -1802,6 +1803,13 @@ Here we will inject 't_0006', which injects 't_0001' which has a variable: [#!st
<keyname="unit_0030">Down</key>
<keyname="unit_0030">Down</key>
<keyname="unit_0031">Mbps</key>
<keyname="unit_0031">Mbps</key>
<keyname="unit_0032">waiting for job output...</key>
<keyname="unit_0032">waiting for job output...</key>
<keyname="unit_0033">Volts</key>
<keyname="unit_0034">Watts</key>
<keyname="unit_0035">RPM</key>
<keyname="unit_0036">Celsius</key>
<keyname="unit_0037">Fahrenheit</key>
<keyname="unit_0038">%</key>
<keyname="unit_0039">Amps</key>
<!-- These are special. These are used to describe the UPSes that ScanCore supports. These
<!-- These are special. These are used to describe the UPSes that ScanCore supports. These
are used when adding UPSes to the system for use in Install Manifests.
are used when adding UPSes to the system for use in Install Manifests.