Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-106802

Unable to delete certificates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: User Configuration Error
    • Affects Version/s: Master - FreeNAS Nightlies
    • Fix Version/s: N/A
    • Component/s: Certificates
    • Labels:
      None

      Description

      When trying to delete old lets encrypt certificate you are presented with the following error. The same applies when trying to delete freenas_default

      Error: Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
      await self.future
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body
      rv = await self.middleware.run_in_thread(self.method, *([self] + args))
      File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
      return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
      File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
      result = self.fn(*self.args, **self.kwargs)
      File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
      return f(*args, **kwargs)
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/crypto.py", line 2028, in do_delete
      self.middleware.call_sync('certificate.check_dependencies', id)
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1245, in call_sync
      return self.run_coroutine(methodobj(*prepared_call.args))
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1285, in run_coroutine
      return fut.result()
      File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 432, in result
      return self.__get_result()
      File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
      raise self._exception
      File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 555, in check_dependencies
      raise CallError('This object is being used by other objects', errno.EBUSY,
      middlewared.service_exception.CallError: [EBUSY] This object is being used by other objects

        Attachments

        1. 2020-07-15 00_54_29-Window.png
          2020-07-15 00_54_29-Window.png
          39 kB
        2. 2020-07-15 00_54_41-Window.png
          2020-07-15 00_54_41-Window.png
          14 kB
        3. 2020-07-15 00_54_53-Window.png
          2020-07-15 00_54_53-Window.png
          85 kB
        4. debug-TrueNAS-20200715005511.txz
          802 kB
        5. freenas-v1.db
          1.09 MB
        6. iWACS (PROD).url.png
          iWACS (PROD).url.png
          33 kB

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                nathantheone94 nathan kirkpatrick
                Watchers:
                Joe Maloney, nathan kirkpatrick, Waqar Ahmed
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: