Brief description of the problem
Problem after uninstalling a rock-on, the GUI believes that it is still uninstalled or something like that and throws an error.
Detailed step by step instructions to reproduce the problem
Using my own made mldonkey rock-on,
1- unistalled it from rockstor gui
2- modified the .json file to change one port from 4001 to 4000
3- removed the docker images as the repo is just updated and wanted to pull it from it to test the whole cycle. The current image was locally created (with its own Dockerfiles et al)
4- Reloaded the available images list and then this error started to appear every time I hit update in both rockon screen, the one with the installed rockons and the one with the available ones. It’s not loading my new rockon either.
Web-UI screenshot
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 105, in post
self._create_update_meta(r, rockons[r])
File "/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 214, in _create_update_meta
handle_exception(Exception(e_msg), self.request)
File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 49, in handle_exception
raise RockStorAPIException(detail=e_msg, trace=traceback.format_exc())
RockStorAPIException: ['Cannot add/remove port definitions of the container(mldonkey) as it belongs to an installed Rock-on(MLDonkey). Uninstall it first and try again.', 'Traceback (most recent call last):\n File "/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py", line 34, in run\n client, addr = self.socket.accept()\n File "/usr/lib64/python2.7/socket.py", line 202, in accept\n sock, addr = self._sock.accept()\nerror: [Errno 11] Resource temporarily unavailable\n']