Bug #58631 MCM "list hosts" incorrectly reports agent version (Unknown);
Submitted: 1 Dec 2010 13:10 Modified: 8 Dec 2010 9:07
Reporter: Rene' Cannao' Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster Manager: Agent Severity:S3 (Non-critical)
Version:1.0 , 1.1 OS:Any
Assigned to: Thomas Nielsen CPU Architecture:Any
Tags: mcm

[1 Dec 2010 13:10] Rene' Cannao'
Description:
When a site is created specifying hostnames, "list hosts" return "Unknown" version if IP to hostname lookup fails.

How to repeat:
Create a site with:
create site --hosts=hostA,hostB mysite;

If IP to hostname lookup fails, run:
list hosts mysite

Output:
mcm> list hosts mysite;
+----------+-----------+---------+
| Host | Status | Version |
+----------+-----------+---------+
| 10.0.0.2 | Available | Unknown |
| 10.0.0.3 | Available | Unknown |
| 10.0.0.4 | Available | Unknown |
+-------------+-----------+---------+

Suggested fix:
Provide the correct version even if reverse DNS lookup fails.