Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-606

mongodb takes a long time to come up in bookinfo tests on Z & P

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened (View Workflow)
    • Major
    • Resolution: Unresolved
    • OSSM 2.1.0
    • None
    • Maistra
    • None
    • devel_ack, qa_ack
    • Sprint 10, Sprint 11, Sprint 12

    Description

       

      Running Maistra-Test-tool using bookinfo sample on Z & P mongodb containers that works fine in 2.0.x takes a very long time to come up, and throws multiple failures. 

       

      On P it eventually comes up; not so on Z.

       
      [danshaik@bosz15_l21 ~]$ oc logs -n mesh2-bookinfo deploy/ratings-v2 -f
      Server listening on:
      http://0.0.0.0:9080
      GET /ratings/0
      (node:1) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
      /opt/microservices/node_modules/mongodb/lib/utils.js:113
      throw err;
      ^

      TypeError: Cannot read property 'rating' of undefined
      at /opt/microservices/ratings.js:155:37
      at /opt/microservices/node_modules/mongodb/lib/utils.js:704:5
      at handleCallback (/opt/microservices/node_modules/mongodb/lib/utils.js:109:55)
      at /opt/microservices/node_modules/mongodb/lib/cursor.js:850:66
      at /opt/microservices/node_modules/mongodb/lib/utils.js:704:5
      at /opt/microservices/node_modules/mongodb/lib/cursor.js:935:9
      at Cursor._endSession (/opt/microservices/node_modules/mongodb/lib/core/cursor.js:404:7)
      at /opt/microservices/node_modules/mongodb/lib/cursor.js:933:12
      at maybePromise (/opt/microservices/node_modules/mongodb/lib/utils.js:692:3)
      at Cursor.close (/opt/microservices/node_modules/mongodb/lib/cursor.js:926:12)
      [danshaik@bosz15_l21 ~]$

      Attachments

        Activity

          People

            cfilleke@redhat.com Cheryl Fillekes
            cfilleke@redhat.com Cheryl Fillekes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: