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

Use saslHostName for mongos hostname when specified

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Cluster Scalability

    Description

      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().

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            stephen.jamieson@mongodb.com Stephen Jamieson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: