Bug #55839 ndb_config --configinfo --xml does not expose HostName1/2 for TCP sections
Submitted: 9 Aug 2010 14:28 Modified: 12 Aug 2010 6:59
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-cluster-7.1.4 OS:Linux
Assigned to: Magnus Blåudd CPU Architecture:Any

[9 Aug 2010 14:28] Hartmut Holzgraefe
Description:
As [TCP] HostName1 and HostName2 are marked as CI_INTERNAL they do not show in 

  ndb_config --configinfo --xml 

output, and so e.g. MySQL Cluster Manager is not aware of them

How to repeat:
Check output of ndb_config:

  ndb_config --configinfo --xml | grep -i Hostname1

Suggested fix:
Change HostName1 and HostName2 from CI_INTERNAL to CI_USED in their definitions in storage/ndb/src/mgmsrv/ConfigInfo.cpp
[11 Aug 2010 7:15] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/115451
[11 Aug 2010 7:34] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.47-ndb-7.0.17 (revid:magnus.blaudd@sun.com-20100811071528-437u2n225g5b1i1d) (version source revid:magnus.blaudd@sun.com-20100811071528-437u2n225g5b1i1d) (merge vers: 5.1.47-ndb-7.0.17) (pib:20)
[11 Aug 2010 8:09] Magnus Blåudd
Pushed to 7.0.17 and 7.1.6
[12 Aug 2010 6:59] Jon Stephens
Documented as follows, in the NDB-7.0.17 and 7.1.6 changelogs:

      The TCP configuration parameters HostName1 and HostName2 were 
      not displayed in the output of ndb_config --configinfo.

Closed.