Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32000

Use saslHostName for mongos hostname when specified

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Cluster Scalability

      Currently, when a mongos is added to the config server mongos collection, it is added with the hostname().

      However it is possible to set a specific saslHostName,

      --setParameter saslHostName=myHostName
      

      which will be used for Kerberos authentication.

      If the mongos collection is relied upon for discovery in conjunction with Kerberos authentication (and a keytab that only includes the saslHostName), authentication will fail.

      This issue affects MongoDB's Monitoring Agents, as the discovered hostnames cannot be used. Kerberos in this case, does not have any knowledge regarding the local hostname, only the saslHostName.

      Ideally, the mongos should (optionally?) upsert the saslHostName if specified instead of the hostname().

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            stephen.jamieson@mongodb.com Stephen Jamieson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: