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 #7975 (closed)

Opened 12 years ago

Closed 12 years ago

VM: Run renew dhcp script at boot if no IP address

Reported by: szwells Owned by: cmacleod-x
Priority: minor Milestone: OMERO-4.4
Component: Deployment Version: n.a.
Keywords: n.a. Cc: jburel, jamoore, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-07-03 (18)

Description (last modified by szwells)

Extends functionality of #6865 to automate the process of renewing the DHCP lease when VirtualBox? fails to allocate an IP address. This is especially important if you have launched the VM in headless mode because you then cannot access the VM to fix it.

If the VM is launched in console mode then you can log in and execute:

  $ dhclient -r
  $ dhclient eth0 

Script needs to be added to be copied to VM and added to init.d so that it is run during the boot process.

Therefore, when the VM has booted we should include a boot script that runs after everything else has been started which checks whether the VM has an IP address for the eth0 interface, if it does not then it should use the above commands to get a new IP address.

Change History (17)

comment:1 Changed 12 years ago by szwells

  • Description modified (diff)
  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Sprint set to 2012-02-14 (8)
  • Status changed from new to accepted

comment:2 Changed 12 years ago by jburel

  • Sprint changed from 2012-02-14 (8) to 2012-02-28 (9)

Moved from sprint 2012-02-14 (8)

comment:3 Changed 12 years ago by jburel

  • Sprint changed from 2012-02-28 (9) to 2012-03-13 (10)

Moved from sprint 2012-02-28 (9)

comment:4 Changed 12 years ago by jburel

  • Cc jburel jmoore cxallan added

comment:5 Changed 12 years ago by jburel

  • Owner szwells deleted

comment:6 Changed 12 years ago by jburel

  • Status changed from accepted to new

comment:7 Changed 12 years ago by jburel

  • Sprint changed from 2012-03-13 (10) to 2012-03-27 (11)

Moved from sprint 2012-03-13 (10)

comment:8 Changed 12 years ago by jburel

  • Owner set to cmacleod-x

comment:9 Changed 12 years ago by jburel

  • Sprint changed from 2012-03-27 (11) to 2012-04-10 (12)

comment:11 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-10 (12) to 2012-04-24 (13)

Moved from sprint 2012-04-10 (12)

comment:12 Changed 12 years ago by jburel

  • Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)

Moved from sprint 2012-04-24 (13)

comment:13 Changed 12 years ago by jburel

  • Sprint changed from 2012-05-08 (14) to 2012-05-22 (15)

Moved from sprint 2012-05-08 (14)

comment:14 Changed 12 years ago by jburel

  • Sprint changed from 2012-05-22 (15) to 2012-06-05 (16)

Moved from sprint 2012-05-22 (15)

comment:15 Changed 12 years ago by jburel

  • Sprint changed from 2012-06-05 (16) to 2012-06-19 (17)

Moved from sprint 2012-06-05 (16)

comment:16 Changed 12 years ago by jburel

  • Sprint changed from 2012-06-19 (17) to 2012-07-03 (18)

Moved from sprint 2012-06-19 (17)

comment:17 Changed 12 years ago by cmacleod-x

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from new to closed
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.77716 sec.)

We're Hiring!