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

MongoDB MMS monitoring automation agent failure on Amazon Linux 2

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux version 5.10.205-195.807.amzn2.x86_64 (mockbuild@ip-10-0-51-64) (gcc10-gcc (GCC) 10.5.0 20230707 (Red Hat 10.5.0-1), GNU ld version 2.35.2-9.amzn2.0.1) #1 SMP Tue Jan 16 18:28:59 UTC 2024
    • ALL
    • Hide

      1. Create x86_64 Amazon Linux 2 instance in AWS (e.g. using t3a.small)

      2. Download and install monitoring agent:

       

      curl -OL https://cloud.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager-13.12.0.8691-1.x86_64.rhel7.rpm
      
      sudo rpm -U mongodb-mms-automation-agent-manager-13.12.0.8691-1.x86_64.rhel7.rpm 

      3. Configure and start agent

       

      Show
      1. Create x86_64 Amazon Linux 2 instance in AWS (e.g. using t3a.small) 2. Download and install monitoring agent:   curl -OL https: //cloud.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager-13.12.0.8691-1.x86_64.rhel7.rpm sudo rpm -U mongodb-mms-automation-agent-manager-13.12.0.8691-1.x86_64.rhel7.rpm 3. Configure and start agent  

      I am trying to use the MongoDB MMS monitoring automation agent on Amazon Linux 2 with no luck. On all instances in the replica set, it fails with the following records in the logs:

       

      Failed to download new version (13.12.0.8691) of Automation : [05:09:14.684] Error checking enterprise distro on this machine : [05:09:14.684] Error determing linux flavor and version : [05:09:14.684] Error determining version of amazon linux that we're running on : [05:09:14.684] Could not find version in from release reader for linux flavor amazon
      
      Failed to change automation version. : [05:09:14.684] Failed to download new version (13.12.0.8691) of Automation : [05:09:14.684] Error checking enterprise distro on this machine : [05:09:14.684] Error determing linux flavor and version : [05:09:14.684] Error determining version of amazon linux that we're running on : [05:09:14.684] Could not find version in from release reader for linux flavor amazon
      
      Error determing linux flavor and version : [05:09:14.684] Error determining version of amazon linux that we're running on : [05:09:14.684] Could not find version in from release reader for linux flavor amazon
      
      Error checking enterprise distro on this machine : [05:09:14.684] Error determing linux flavor and version : [05:09:14.684] Error determining version of amazon linux that we're running on : [05:09:14.684] Could not find version in from release reader for linux flavor amazon
      
      Error determining version of amazon linux that we're running on : [05:09:14.684] Could not find version in from release reader for linux flavor amazon 

       


      /proc/version output

      Linux version 5.10.205-195.807.amzn2.x86_64 (mockbuild@ip-10-0-51-64) (gcc10-gcc (GCC) 10.5.0 20230707 (Red Hat 10.5.0-1), GNU ld version 2.35.2-9.amzn2.0.1) #1 SMP Tue Jan 16 18:28:59 UTC 2024 

       


      uname -a output 

      Linux ip-172-31-59-26.us-west-2.compute.internal 5.10.205-195.807.amzn2.x86_64 #1 SMP Tue Jan 16 18:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 

       

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            krassx@gmail.com Alexey Karimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: