Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5691

Connected to Atlas Cluster but it shows empty database

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.2
    • Affects Version/s: 1.29.6, 1.30.1, 1.31.1
    • Component/s: Data, Users
    • None
    • Environment:
      Windows 10
    • Not Needed
    • Iteration Yonkers

      Problem Statement/Rationale

      I have a customer on intercom who reported the incident:

      They were able establish connection using Compass to their M2 cluster carpediemxp-test-0000001, but it shows an empty DB content as per the first image.  However, checking their Atlas DE shows that there should be DB content, which is not reflected on Compass as shown in the second image.

      The current DB user role they have has the following permissions:

      • dbAdmin@carpediemxp-test-0000001
      • readWrite@carpediemxp-test-0000001

      I've attached the logs obtained from the version 1.31.1 Compass trial in text format.

      However, they are not encountering the same issue when connecting to a different cluster, in particular this M0 Cluster0 that's on a different Atlas Organization.  They can view it as per below:


      Similar incident reported on this slack thread under #compass channel.

      Steps to Reproduce

      Setting a DB user with only "specific privileges" and no role for the admin DB such as below:

      I don't see any DB content either for even the specific DB and collections allowed for the DB user above:

      Expected Results

      DB Content should be shown given the appropriate DB user role and permissions.

      Actual Results

      Compass is not showing the DB content for their M2 cluster.

      Additional Notes

      Asked the customer above to try Compass 1.29.6 and 1.31.0 and 1.30.1 and they mentioned they encounter the same errors.

        1. compass_624c29f94027f17e2a4807fb_log.txt
          206 kB
        2. compass-v1311-logs.txt
          77 kB
        3. image.png
          19 kB
        4. image-2022-04-05-11-06-27-760.png
          67 kB
        5. image-2022-04-05-11-07-11-575.png
          48 kB
        6. image-2022-04-05-11-34-33-601.png
          102 kB
        7. image-2022-04-05-11-51-01-407.png
          25 kB
        8. image-2022-04-05-12-15-02-161.png
          66 kB
        9. image-2022-04-05-12-15-36-887.png
          15 kB

            rhys.howell@mongodb.com Rhys Howell
            blaise.crisologo@mongodb.com Blaise Crisologo (Inactive)
            0 Vote for this issue
            9 Start watching this issue