Trying to create own rockon

Hi everyone,

I’m trying to create my own rockon were an environment variable is required for the container. I keep getting this error

Invalid environment variabled(MYSQL_ROOT_PASSWORD):
                Traceback (most recent call last):
  File "/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py", line 34, in run
    client, addr = self.socket.accept()
  File "/usr/lib64/python2.7/socket.py", line 202, in accept
    sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable

I’m not too sure what could cause this issue as I know that the variable is definitely valid at least for the container. This is how I have the container setup:

"db": {
                "image": "mariadb",
                "launch_order": 1,
                "volumes": {
                    "/var/lib/mysql": {
                        "description": "Choose a Share for mariadb. Eg: create a Share called mariadb-data for this purpose alone.",
                        "label": "DB Storage",
                        "min_size": 1073741824
                    }
                },
                "environment": {
                    "MYSQL_ROOT_PASSWORD": {
                        "description": "Enter a root password for the MariaDB server (minimum 4 characters).",
                        "label": "Root password.",
                        "index": 1
                    }
                }
            }

Any help would greatly be appreciated.

Thanks,

nic_k

1 Like

I ran into the same error as well and created a ticket on github: https://github.com/rockstor/rockstor-core/issues/1588