Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3008

CreateDataPool Gatling test: INTERNAL SERVER ERROR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.2
    • Fix Version/s: None
    • Component/s: QA/Testing

      Description

      Ceph version: ceph version 12.2.2-356-gb87ca3c12e (b87ca3c12e27c5950edb7970044c318365dd91a8) luminous (stable)

      Failed test case:

      ERROR [0.000s]: setUpClass (rbd.test_rbd_create.RbdCreateDataPoolTestCase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-2/gatling/rbd/scenarios.py", line 31, in setUpClass
          cls.replicated_pool_1 = cls.create_test_pool('gatling_pool_replicated_1', 'replicated')
        File "/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-2/gatling/rbd/scenarios.py", line 64, in create_test_pool
          res = cls.send_ceph_request('POST', cls.fsid, 'pools', data=pool_data)
        File "/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-2/gatling/testcase.py", line 376, in send_ceph_request
          res = cls._do_request(method, url, headers, data=data)
        File "/home/jenkins/workspace/workspace/oa-test-gui-branch-sle-2/gatling/testcase.py", line 344, in _do_request
          request=e.request)
      requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://oa-host/openattic/api/ceph/9790dd3b-2051-3c7d-a024-2aaa9f9c27c1/pools content: {"detail": "Executing \"osd pool create pool_type=replicated pg_num=1 pool=gatling_pool_replicated_1 pgp_num=1\" failed: \" pg_num 1 size 3 would mean 10587 total pgs, which exceeds max 7800 (mon_max_pg_per_osd 200 * num_in_osds 39)\" code=ERANGE"}
      

      /var/log/openattic/openattic.log:

      2017-12-15 04:03:49,162 2798 mod_wsgi ERROR exception#custom_handler - Internal Server Error: None
      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/rest_framework/views.py", line 400, in dispatch
          response = handler(request, *args, **kwargs)
        File "/usr/lib/python2.7/site-packages/rest_framework/mixins.py", line 54, in create
          self.object = serializer.save(force_insert=True)
        File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py", line 599, in save
          self.save_object(self.object, **kwargs)
        File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py", line 1041, in save_object
          obj.save(**kwargs)
        File "/srv/openattic/backend/ceph/models.py", line 440, in save
          None)
        File "/srv/openattic/backend/ceph/librados.py", line 461, in wrapper
          ret = next(runner)
        File "/srv/openattic/backend/ceph/librados.py", line 641, in osd_pool_create
          output_format='string')
        File "/srv/openattic/backend/ceph/librados.py", line 1059, in _call_mon_command
          timeout)
        File "/srv/openattic/backend/ceph/librados.py", line 439, in call_librados
          return run_in_external_process(with_client, cmd_name, timeout)
        File "/srv/openattic/backend/utilities.py", line 163, in run_in_external_process
          raise res
      ExternalCommandError: Executing "osd pool create pool_type=replicated pg_num=1 pool=gatling_pool_replicated_1 pgp_num=1" failed: " pg_num 1 size 3 would mean 10587 total pgs, which exceeds max 7800 (mon_max_pg_per_osd 200 * num_in_osds 39)" code=ERANGE
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpaduano Paduano, Laura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: