Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-102043

Fix traceback when creating large pool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: 11.2-U4
    • Fix Version/s: 11.2-U5
    • Component/s: Middleware
    • Labels:
      None

      JEditor

        Description

        In 11.2 INTERNAL 14, creating one large pool using all available disks on M50:

        108 SAS HDD, 24 SAS SSD, 4 NVMe, 1 NVDIMM

        At 1 hour and 3 minutes and 30 seconds got the following traceback:

        Request Method: POST
        Request URL: http://tn11.lab.ixsystems.com/legacy/storage/volumemanager/
        Software Version: TrueNAS-11.2-INTERNAL-14 (e6842b1b5)
        Exception Type: ClientException
        Exception Value:
        'NoneType' object has no attribute 'source_name'
        Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 454
        Server time: Fri, 7 Jun 2019 08:05:24 -0700

        Environment:

        Software Version: TrueNAS-11.2-INTERNAL-14 (e6842b1b5)
        Request Method: POST
        Request URL: http://tn11.lab.ixsystems.com/legacy/storage/volumemanager/


        Traceback:
        File "./freenasUI/storage/forms.py" in save
          303.                         notifier().create_volume(volume, groups=grouped, init_rand=init_rand)
        File "./freenasUI/middleware/notifier.py" in create_volume
          763.             vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
        File "./freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
          698.                                  sync=False)
        File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
          341.             c.call('disk.wipe', devname, 'QUICK', False, job=True)
        File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
          341.             c.call('disk.wipe', devname, 'QUICK', False, job=True)
        File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
          477.                 raise ClientException(job['error'], trace=job['exception'])
        File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
          42.             response = get_response(request)
        File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
          249.             response = self._get_response(request)
        File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
          178.             response = middleware_method(request, callback, callback_args, callback_kwargs)
        File "./freenasUI/freeadmin/middleware.py" in process_view
          163.         return login_required(view_func)(request, *view_args, **view_kwargs)

        File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
          23.                 return view_func(request, *args, **kwargs)
        File "./freenasUI/storage/views.py" in volumemanager
          148.             if form.is_valid() and form.save():
        File "./freenasUI/storage/forms.py" in save
          316.             raise e
        File "./freenasUI/storage/forms.py" in save
          310.                     c.call("alert.unblock_source", lock)
        File "./freenasUI/storage/forms.py" in save
          310.                     c.call("alert.unblock_source", lock)
        File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
          454.             raise ClientException(c.error, c.errno, c.trace, c.extra)

        Exception Type: ClientException at /legacy/storage/volumemanager/
        Exception Value: 'NoneType' object has no attribute 'source_name'

          Attachments

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  themylogin Vladimir Vinogradenko
                  Reporter:
                  rmckenzie Ryan McKenzie
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Summary Panel