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

Remind user that their Mongo process is controlled by Cloud/Ops Manager Automation via the mongo shell

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Admin, Shell
    • Labels:
      None
    • Fully Compatible
    • Build 9 (09/18/15), Build A (10/09/15), Platforms 15 (06/03/16), Platforms 16 (06/24/16), Platforms 17 (07/15/16)

      When a MongoDB process is controlled by Cloud Manager or Ops Manager Automation, some actions that can be performed by the user in the shell will be reverted by Automation if they are in conflict with the configuration entered into Cloud/Ops Manager.

      Examples:

      • Changing the replica set configuration
      • Adding, editing or removing a custom role
      • Adding/removing a shard
      • Using setParameter to change the sslMode or clusterAuthMode

      To enhance the user experience and prevent confusion, it would be helpful if the mongo shell could contain a message along the lines of: "Note - this process is controlled by Cloud Manager, GroupID XYZ. Please login to cloud.mongodb.com to make configuration changes."

      Presumably:

      • This message would be stored inside an internal MongoDB structure somewhere
      • The Automation Agents would call a command to record this message
      • The mongo shell would look for messages of this type and display it

      Please note that startupWarnings would not be an ideal solution. There are many systems (including Cloud Manager itself) which assume that startupWarnings have a negative connotation. This is informational, not a warning.

      To be consistent, this message would need to appear for both mongod and mongos processes.

      Additionally, it would be nice to also include this sort of message in the header of the log files.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            cailin.nelson@mongodb.com Cailin Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: