Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #6368 (closed)

Opened 13 years ago

Closed 8 years ago

Make/ensure that the VM Scripts are idempotent

Reported by: szwells Owned by:
Priority: minor Milestone: Unscheduled
Component: General Version: OMERO-5.2.0
Keywords: n.a. Cc: jamoore, cmacleod-x, khgillen, rleigh, bpindelski, pwalczycko
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The scripts rely on external repositories, for example, to get updates to the OS & external prerequisite software. These represent potential points of failure in the scripts. If the scripts fail then you should be able to rerun them in place. Currently there are a number of points where rerunning the scripts does not yield idempotent behaviour:

  • In omerovm.sh the VM will be deleted if it already exists and a new one created
  • The environment variables are added to .bashrc without checking whether they already exist
  • There are no checks to ensure that a postgres user or omero DB does not already exist

Change History (2)

comment:1 Changed 11 years ago by jmoore

  • Cc cmacleod-x khgillen rleigh bpindelski pwalczycko added
  • Owner szwells deleted

comment:2 Changed 8 years ago by sbesson

  • Resolution set to invalid
  • Status changed from new to closed
  • Version set to OMERO-5.2.0

VM is deprecated as of 5.2.2

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.67755 sec.)

We're Hiring!