Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2702 (closed)

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

Bug: bin/omero admin ports should not run on running server

Reported by: jamoore Owned by: cxallan
Priority: minor Milestone: OMERO-Beta4.3
Component: Deployment Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-03-10 (7)

Description

If icegridnode is running and a user runs bin/omero admin ports then the next attempt to contact icegridnode (including bin/omero admin stop will fail:

~/code/omero.git/dist $ bin/omero admin deploy
No descriptor given. Using etc/grid/default.xml
icegridadmin: could not contact the default locator:
Network.cpp:1220: Ice::ConnectionRefusedException:
connection refused: Connection refused
~/code/omero.git/dist $ bin/omero admin stop
Server not running
~/code/omero.git/dist $ killall icegridnode
~/code/omero.git/dist $ 

Workaround

  • Change the ports back and then stop the server.

Change History (13)

comment:1 Changed 9 years ago by cxallan

  • Milestone changed from Unscheduled to OMERO-Beta4.3
  • Owner set to cxallan
  • Remaining Time set to 0.25
  • Sprint set to 2011-02-24 (6)

comment:2 Changed 8 years ago by jburel

  • Sprint changed from 2011-02-24 (6) to 2011-03-10 (7)

Moved from sprint 2011-02-24 (6)

comment:3 Changed 8 years ago by cxallan

  • Status changed from new to accepted

comment:4 Changed 8 years ago by Chris Allan <callan@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [0a25290a6722052bf3a1fcd10c4a4d30fa108030/ome.git] on branch develop) Added check for server status before port change. (Fixes #2702)

comment:5 Changed 8 years ago by Chris Allan <callan@…>

(In [66f293202f4b6a0e11c444356af52fe63dd66585/ome.git] on branch dev_4_2) Added check for server status before port change. (Fixes #2702)

comment:6 Changed 8 years ago by jmoore <josh@…>

(In [efa1f3fedc29bf9474d1756b05216235067b7ef1/ome.git] on branch develop) Resetting ctx.rv after call to status for omero admin ports (See #2702)

comment:7 Changed 8 years ago by jmoore <josh@…>

(In [e1e1854f7327f084184742696cb56c16bce0cc85/ome.git] on branch develop) Adding --skipcheck to omero admin ports (See #2702)

During hudson testing, a server is assumed to be already running.
There's no way with the check added in #2702 to change the ports
for a new install, and then stop the server. This would happen on
any user upgrade.

comment:8 Changed 8 years ago by jmoore <josh@…>

(In [0c9f334610f57f870a93ab372e584e42460cd538/ome.git] on branch dev_4_2) Resetting ctx.rv after call to status for omero admin ports (See #2702)

comment:9 Changed 8 years ago by jmoore <josh@…>

(In [e469aa53d59a20cd25ab9ca4d1d10092a7e6be58/ome.git] on branch dev_4_2) Adding --skipcheck to omero admin ports (See #2702)

During hudson testing, a server is assumed to be already running.
There's no way with the check added in #2702 to change the ports
for a new install, and then stop the server. This would happen on
any user upgrade.

comment:10 Changed 8 years ago by jmoore <josh@…>

(In [1c740d4c5a974e8fdd471b9044d137c4f2a7157a/ome.git] on branch dev_4_2) Adding --skipcheck to QUICKSTART.bat (See #2702)

comment:11 Changed 8 years ago by jmoore <josh@…>

(In [fc242db094b58a35f1c3f022b8d2dd5359e17bfb/ome.git] on branch develop) Adding --skipcheck to QUICKSTART.bat (See #2702)

comment:12 Changed 8 years ago by jmoore <josh@…>

(In [de5cbc47c5adc13043db8c27a9454b02437cb4d0/ome.git] on branch dev_4_2) Reversing logic for --skipcheck (See #2702)

comment:13 Changed 8 years ago by jmoore <josh@…>

(In [d9181878f1bfd5859aca22f8bb78f4695e974dc7/ome.git] on branch develop) Reversing logic for --skipcheck (See #2702)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.76950 sec.)

We're Hiring!