Rock-on install fail: Invalid environment variable (PUID)

Brief description of the problem

Rock-on fails with ‘Invalid environment variable (PUID)’

Detailed step by step instructions to reproduce the problem

  1. Try to install this rockon.
  2. Fail.
    https://pastebin.com/zZW6LnkZ

Web-UI screenshot

56

Error Traceback provided on the Web-UI

Traceback (most recent call last): File "/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py", line 68, in run_for_one self.accept(listener) File "/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py", line 27, in accept client, addr = listener.accept() File "/usr/lib64/python2.7/socket.py", line 202, in accept sock, addr = self._sock.accept() error: [Errno 11] Resource temporarily unavailable

Hi @willwill2will54, and welcome to the forum!

I believe you are hitting a currently known limitation of the rock-ons framework related to the use of multiple-containers in a rock-on. See the post below for another mention of it in this forum:

As you will see in the post above, the issue has been well described and a fix has been worked on by several contributors in the past:
Issue:

Pull request

Unfortunately, its implementation has been delayed for several reasons (the openSUSE rebase being a recent major one) but I’m due for taking care of it and do intend on doing so very shortly after the new “Built on openSUSE” Rockstor is released. As this fix does change the background logic/parsing of rock-on definitions, I’d rather not insert changes to that before the rebase is complete to help limit complications.

Being able to correctly use rock-ons with multiple containers is a very important features of rock-ons (in my opinion) so that is definitively something I intend to help fix.

Now, to help with your situation, a workaround would be to move the definition of environment variables inside the opts object. This will not allow for customization in the webUI during the rock-on install, but you can define those two variables for yourself in the opts object and that should fix the problem. I know this is only a temporary solution but that should help you move forward at least.

Sorry I wasn’t able to provide a better help/solution at the moment, but I hope it still helps. Thanks for letting us know!

1 Like