I have just finished building the installer for Rockstor on OpenSuse 15.3 and have gotten everything installed and working. The only issue I have had thus far is getting my old pool imported into the new OS.
I have not done anything to the OS apart from completing the installer and signing in through the web GUI.
#uname -a
Linux Mnemosyne 5.3.18-59.19-default #1 SMP Tue Aug 3 14:11:23 UTC 2021 (055c4fd) x86_64 x86_64 x86_64 GNU/Linux
#btrfs version
btrfs-progs v4.19.1
On the initial import attempt there is a pause while the system appears to load and then I am presented with the following error.
Traceback (most recent call last):
File ā/opt/rockstor/src/rockstor/storageadmin/views/disk.pyā, line 850, in _btrfs_disk_import
do.save()
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.pyā, line 734, in save
force_update=force_update, update_fields=update_fields)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.pyā, line 762, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.pyā, line 827, in _save_table
forced_update)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.pyā, line 877, in _do_update
return filtered._update(values) > 0
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/query.pyā, line 580, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/sql/compiler.pyā, line 1062, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/sql/compiler.pyā, line 840, in execute_sql
cursor.execute(sql, params)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/utils.pyā, line 64, in execute
return self.cursor.execute(sql, params)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/utils.pyā, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File ā/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/utils.pyā, line 64, in execute
return self.cursor.execute(sql, params)
OperationalError: deadlock detected
DETAIL: Process 14386 waits for ShareLock on transaction 1807; blocked by process 14438.
Process 14438 waits for ShareLock on transaction 1805; blocked by process 14386.
HINT: See server log for query details.
CONTEXT: while updating tuple (1,86) in relation āstorageadmin_diskā
On any subsequent attempts I receive this error:
Traceback (most recent call last):
File ā/opt/rockstor/src/rockstor/storageadmin/views/disk.pyā, line 856, in _btrfs_disk_import
import_shares(po, request)
File ā/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.pyā, line 239, in import_shares
mount_share(nso, ā{}{}ā.format(settings.MNT_PT, s_in_pool))
File ā/opt/rockstor/src/rockstor/fs/btrfs.pyā, line 667, in mount_share
return run_command(mnt_cmd)
File ā/opt/rockstor/src/rockstor/system/osi.pyā, line 201, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/mount -t btrfs -o subvolid=22240 /dev/disk/by-id/ata-WDC_WD80EFAX-68LHPN0_7SGJSA4C /mnt2/test-config. rc = 32. stdout = [āā]. stderr = [āmount: /mnt2/test-config: wrong fs type, bad option, bad superblock on /dev/sdl, missing codepage or helper program, or other error.ā, āā]
After the initial failure the array has been mounted and is accessible under the original mount point, but it does not appear in the web panel.
Any advice would be appreciated.