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

Cannot iocage list due to dataset not found

    XMLWordPrintable

Details

    Description

      I did install the Zoneminder plugin.

      It was not working at some point (mysql auth error in the jail), so I wanted to delete it. It was running for ages, then I got disconnected.

       

      Now when I want to 'iocage list', I have the following error due to the dataset not present.
       

      % sudo iocage list
      Traceback (most recent call last):
        File "/usr/local/bin/iocage", line 10, in <module>
          sys.exit(cli())
        File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
          return self.main(*args, **kwargs)
        File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
          rv = self.invoke(ctx)
        File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
          return ctx.invoke(self.callback, **ctx.params)
        File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
          return callback(*args, **kwargs)
        File "/usr/local/lib/python3.6/site-packages/iocage_cli/list.py", line 81, in cli
          dataset_type, header, _long, _sort, plugin=plugins, quick=quick)
        File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1169, in list
          quick=quick
        File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_list.py", line 75, in list_datasets
          _all = self.list_all(ds)
        File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_list.py", line 270, in list_all
          jail_root = self.zfs.get_dataset(f"{jail.name}/root")
        File "libzfs.pyx", line 597, in libzfs.ZFS.get_dataset
      libzfs.ZFSException: Dataset Storage/iocage/jails/zoneminder/root not found

       

      Attachments

        Attachments

          JEditor

            Activity

              People

                releng Triage Team
                kifeo Thomas Le Gentil
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: