Can anyone confirm this:
-
I uninstall a rockon (“Gogs” in my case)
-
I try to reinstall it and the GUI says it’s progressing, BUT
-
The logs show it fails removing a docker container:
==> /opt/rockstor/var/log/ztask.log <==
2016-07-29 01:20:17,448 - ztaskd - INFO - Calling storageadmin.views.rockon_helpers.install==> /opt/rockstor/var/log/rockstor.log <==
[29/Jul/2016 01:20:17] DEBUG [storageadmin.views.rockon_helpers:70] Attempted to remove a container(gogs). out: [’’] err: [‘Error response from daemon: no such id: gogs’, ‘Error: failed to remove containers: [gogs]’, ‘’] rc: 1.==> /opt/rockstor/var/log/rockstor.log <==
[29/Jul/2016 01:20:17] DEBUG [storageadmin.views.rockon_helpers:127] exception while installing the Rockon(17)
[29/Jul/2016 01:20:17] ERROR [storageadmin.views.rockon_helpers:128] Error running a command. cmd = [’/usr/bin/docker’, ‘run’, ‘–log-driver=syslog’, ‘-d’, ‘–restart=unless-stopped’, ‘–name’, ‘gogs’, ‘-v’, ‘/mnt2/gogs_conf:/data’, ‘-v’, ‘/mnt2/gogs_repos:/data/git/gogs-repositories’, ‘-v’, ‘/etc/localtime:/etc/localtime:ro’, ‘-p’, ‘10080:3000/tcp’, ‘-p’, ‘10022:22/tcp’, ‘-p’, ‘10022:22/udp’, ‘gogs/gogs’]. rc = 1. stdout = [’’]. stderr = [‘Error response from daemon: could not find image: no such id: 4da869a290d97db040ec5f19d8faf14bf875aa0b84448f94ee3c42bcda27f370’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 125, in install
globals().get(’%s_install’ % rockon.name.lower(), generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 216, in generic_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 104, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = [’/usr/bin/docker’, ‘run’, ‘–log-driver=syslog’, ‘-d’, ‘–restart=unless-stopped’, ‘–name’, ‘gogs’, ‘-v’, ‘/mnt2/gogs_conf:/data’, ‘-v’, ‘/mnt2/gogs_repos:/data/git/gogs-repositories’, ‘-v’, ‘/etc/localtime:/etc/localtime:ro’, ‘-p’, ‘10080:3000/tcp’, ‘-p’, ‘10022:22/tcp’, ‘-p’, ‘10022:22/udp’, ‘gogs/gogs’]. rc = 1. stdout = [’’]. stderr = [‘Error response from daemon: could not find image: no such id: 4da869a290d97db040ec5f19d8faf14bf875aa0b84448f94ee3c42bcda27f370’, ‘’]==> /opt/rockstor/var/log/ztask.log <==
2016-07-29 01:20:17,909 - ztaskd - INFO - Called storageadmin.views.rockon_helpers.install successfully