Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-3159

Problem with enabling RDS instance

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.15.0, 1.16.0
    • Fix Version/s: 1.16.0
    • Component/s: None
    • Labels:
      None

      Description

      For some RDS instances I see the next error, when I'm trying to enable it , for example I tried to enable rds-aurora57 instance (credentials in PMM-1060) and nothing happens, but there is an error in JS console :

      polyfills.249329f1cb8068037100.js:1 POST http://10.10.11.52:8888/managed/v0/rds 504 (Gateway Time-out)
      y @ polyfills.249329f1cb8068037100.js:1
      t.scheduleTask @ polyfills.249329f1cb8068037100.js:1
      onScheduleTask @ polyfills.249329f1cb8068037100.js:1
      t.scheduleTask @ polyfills.249329f1cb8068037100.js:1
      e.scheduleTask @ polyfills.249329f1cb8068037100.js:1
      e.scheduleMacroTask @ polyfills.249329f1cb8068037100.js:1
      h @ polyfills.249329f1cb8068037100.js:1
      (anonymous) @ polyfills.249329f1cb8068037100.js:1
      D.i.(anonymous function) @ polyfills.249329f1cb8068037100.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      e._trySubscribe @ main.6424b071968b57a5874a.js:1
      e.subscribe @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      t @ polyfills.249329f1cb8068037100.js:1
      e.toPromise @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      t @ polyfills.249329f1cb8068037100.js:1
      $k @ main.6424b071968b57a5874a.js:1
      e.enable @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      t @ polyfills.249329f1cb8068037100.js:1
      Xk @ main.6424b071968b57a5874a.js:1
      e.onConnect @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      handleEvent @ main.6424b071968b57a5874a.js:1
      Ka @ main.6424b071968b57a5874a.js:1
      Fa @ main.6424b071968b57a5874a.js:1
      ii @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      t.object.i @ main.6424b071968b57a5874a.js:1
      t.__tryOrUnsub @ main.6424b071968b57a5874a.js:1
      t.next @ main.6424b071968b57a5874a.js:1
      t._next @ main.6424b071968b57a5874a.js:1
      t.next @ main.6424b071968b57a5874a.js:1
      t.next @ main.6424b071968b57a5874a.js:1
      t.emit @ main.6424b071968b57a5874a.js:1
      t.onSubmit @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      handleEvent @ main.6424b071968b57a5874a.js:1
      Ka @ main.6424b071968b57a5874a.js:1
      Fa @ main.6424b071968b57a5874a.js:1
      ii @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      (anonymous) @ main.6424b071968b57a5874a.js:1
      t.invokeTask @ polyfills.249329f1cb8068037100.js:1
      onInvokeTask @ main.6424b071968b57a5874a.js:1
      t.invokeTask @ polyfills.249329f1cb8068037100.js:1
      e.runTask @ polyfills.249329f1cb8068037100.js:1
      e.invokeTask @ polyfills.249329f1cb8068037100.js:1
      m @ polyfills.249329f1cb8068037100.js:1
      b @ polyfills.249329f1cb8068037100.js:1
      main.6424b071968b57a5874a.js:1 ERROR Error: Uncaught (in promise): SyntaxError: Unexpected token < in JSON at position 0
      SyntaxError: Unexpected token < in JSON at position 0
          at JSON.parse (<anonymous>)

      ANd the next error appeared in pmm-managed.log in a few minutes:

      time="2018-10-25T08:13:09Z" level=error msg="dial tcp 10.77.2.16:3306: connect: connection timed out\ngithub.com/percona/pmm-managed/services/rds.(*Service).addMySQLdExporter\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/services/rds/rds.go:419\ngithub.com/percona/pmm-managed/services/rds.(*Service).Add.func1\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/services/rds/rds.go:678\ngithub.com/percona/pmm-managed/vendor/gopkg.in/reform%2ev1.(*DB).InTransaction\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/vendor/gopkg.in/reform.v1/db.go:73\ngithub.com/percona/pmm-managed/services/rds.(*Service).Add\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/services/rds/rds.go:644\ngithub.com/percona/pmm-managed/handlers.(*RDSServer).Add\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/handlers/rds.go:86\ngithub.com/percona/pmm-managed/api._RDS_Add_Handler.func1\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/api/rds.pb.go:685\ngithub.com/percona/pmm-managed/vendor/github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).UnaryServerInterceptor.func1\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server_metrics.go:107\ngithub.com/percona/pmm-managed/utils/interceptors.Unary\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/utils/interceptors/interceptors.go:31\ngithub.com/percona/pmm-managed/api._RDS_Add_Handler\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/api/rds.pb.go:687\ngithub.com/percona/pmm-managed/vendor/google.golang.org/grpc.(*Server).processUnaryRPC\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/vendor/google.golang.org/grpc/server.go:982\ngithub.com/percona/pmm-managed/vendor/google.golang.org/grpc.(*Server).handleStream\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/vendor/google.golang.org/grpc/server.go:1208\ngithub.com/percona/pmm-managed/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/home/builder/rpm/BUILD/pmm-managed-a9633ca109431f724c1a69427194c1117a83aca5/src/github.com/percona/pmm-managed/vendor/google.golang.org/grpc/server.go:686\nruntime.goexit\n\t/usr/lib/golang/src/runtime/asm_amd64.s:2361" request=1560cbb772447852
      

      Maybe we should increase timeout?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nailya.kutlubaeva Nailya Kutlubaeva
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 9 minutes
                3h 9m