I can not gets past the initial set up

Found the problem/solution. For whatever reason the portion of /opt/rockstor/src/rockstor/system/osi.py at the end that tried to get a system UUID dies if there is not one set at “/sys/class/dmi/id/product_uuid”, instead of getting it from hostid as intended, this seems to break the rest of the setup process.

HOSTID = '/usr/bin/hostid’
def hostid():
""“Get the system’s uuid from /sys/class/dmi/id/product_uuid. If the file
doesn’t exist for any reason, generate a uuid like we used to prior to this
change.
”"“
try:
with open(”/sys/class/dmi/id/product_uuid") as fo:
return fo.readline().strip()
except:
return ‘%s-%s’ % (run_command(HOSTID)[0][0], str(uuid.uuid4()))

Fix for me was to set the system UUID value in the DMItable of my BIOS. For supermicro boards that is dmicfg.exe available here: ftp://ftp.supermicro.com/utility/DMI/AWARD/ (needs a DOS bootable USB/CD). I just set it to an arbitrary number and then re-installed. Permanent fix is for someone that knows python to figure out why that doesn’t work.

4 Likes