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

fix various issues in CtdbSharedVolumeService

    XMLWordPrintable

    Details

      Description

      [2021/03/15 12:35:51] (ERROR) middlewared.job.run():390 - Job <bound method CtdbSharedVolumeService.create of <middlewared.plugins.cluster_linux.ctdb_shared_volume.CtdbSharedVolumeService object at 0x7f1f182b8190>> failed
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/middlewared/job.py", line 378, in run
          await self.future
        File "/usr/lib/python3/dist-packages/middlewared/job.py", line 414, in __run_body
          rv = await self.method(*([self] + args))
        File "/usr/lib/python3/dist-packages/middlewared/plugins/cluster_linux/ctdb_shared_volume.py", line 83, in create
          await self.middleware.call('ctdb.shared.volume.validate')
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1239, in call
          return await self._call(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1196, in _call
          return await methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/cluster_linux/ctdb_shared_volume.py", line 31, in validate
          elif i['replicate'] < 3 or i['num_bricks'] < 3:
      KeyError: 'replicate'

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                caleb Caleb St. John
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: