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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.