removepyramids on 5.4.4
Posted: Thu Mar 08, 2018 5:31 am
Hi team,
I just upgraded to 5.4.4 and wanted to check how many corrupted pyramids I might have.
First attempt fails because it clearly needs a wait:
But 2nd attempt with a 5000 wait also fails because it loses connection:
Should I set the Ice connection to be much longer? If so, how?
Thanks,
- Damir
I just upgraded to 5.4.4 and wanted to check how many corrupted pyramids I might have.
First attempt fails because it clearly needs a wait:
- Code: Select all
omero_user@omero:~$ omero admin removepyramids --endian=little --dry-run
Using session c6eefcb8-82f6-4136-8e72-11998383bbce (dsudar@localhost:4064). Idle timeout: 10 min. Current group: Sandbox
No more than 500 pyramids will be removed
Traceback (most recent call last):
File "/usr/local/bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1620, in argv
cli.invoke(args[1:])
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1095, in invoke
stop = self.onecmd(line, previous_args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1172, in onecmd
self.execute(line, previous_args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1254, in execute
args.func(args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 644, in _check_admin
return func(*args, **kwargs)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/plugins/admin.py", line 1016, in removepyramids
limit=limit, wait=wait)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/cleanse.py", line 360, in removepyramids
failontimeout=True)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/clients.py", line 899, in submit
closehandle=True)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/clients.py", line 918, in waitOnCmd
callback.loop(loops, ms) # Throw LockTimeout
File "/usr/local/OMERO/OMERO.server/lib/python/omero/callbacks.py", line 256, in loop
5000L, int(waited))
omero.LockTimeout: exception ::omero::LockTimeout
{
serverStackTrace = None
serverExceptionClass = None
message = Command unfinished after 25.0 seconds
backOff = 5000
seconds = 25
}
But 2nd attempt with a 5000 wait also fails because it loses connection:
- Code: Select all
omero_user@omero:~$ omero admin removepyramids --endian=little --dry-run --wait=5000
Using session c6eefcb8-82f6-4136-8e72-11998383bbce (dsudar@localhost:4064). Idle timeout: 10 min. Current group: Sandbox
No more than 500 pyramids will be removed
-! 03/07/18 18:58:15.461 warning: Proxy keep alive failed.
Traceback (most recent call last):
File "/usr/local/bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1620, in argv
cli.invoke(args[1:])
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1095, in invoke
stop = self.onecmd(line, previous_args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1172, in onecmd
self.execute(line, previous_args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 1254, in execute
args.func(args)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/cli.py", line 644, in _check_admin
return func(*args, **kwargs)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/plugins/admin.py", line 1016, in removepyramids
limit=limit, wait=wait)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/cleanse.py", line 360, in removepyramids
failontimeout=True)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/clients.py", line 899, in submit
closehandle=True)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/clients.py", line 921, in waitOnCmd
callback.close(closehandle)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/callbacks.py", line 316, in close
self.handle.close()
File "/usr/local/OMERO/OMERO.server/lib/python/omero_cmd_API_ice.py", line 860, in close
return _M_omero.cmd.Handle._op_close.invoke(self, ((), _ctx))
Ice.ConnectionLostException: Ice.ConnectionLostException:
recv() returned zero
Should I set the Ice connection to be much longer? If so, how?
Thanks,
- Damir