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

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • OSSM 2.1.0
    • Maistra
    • None
    • False
    • False
    • devel_ack, qa_ack
    • Sprint 10, Sprint 11, Sprint 12

       

      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 ~]$

        1. ratings-v2-86488994ff-vwrhz-ratings.log
          1 kB
          Swapnali Pawar
        2. mongodb-v1-56c77d96f7-ctkh7-mongodb.log
          11 kB
          Swapnali Pawar
        3. mongodb and ratings logs.txt
          31 kB
          Swapnali Pawar

              cfilleke@redhat.com Cheryl Fillekes (Inactive)
              cfilleke@redhat.com Cheryl Fillekes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: