~themue/juju-core/050-prepare-openstack

  • Committer: Tarmac
  • Author(s): Tim Penhey
  • Date: 2013-10-02 01:17:07 UTC
  • mfrom: (1910.4.6 upstart-system)
  • Revision ID: tarmac-20131002011707-z9ofwwxn0ra5xh9t
[r=thumper] Really fix the local provider startup.

sudo -E causes upstart on saucy to default to use
the user bus. --system was added to start and stop,
but status was missed. Race conditions during startup
masked this before.

I've added another check in start so if the actual
start fails, check to see if it is started. When the
file is written to disk, upstart may start it before
we do, particularly, upstart may start it between when
we checked it wasn't running, and when we try to start it.

A drive by fix to the livetests was added as version.Current
was being used to source information from test metadata,
and there weren't saucy images defined. The tests pass wtih
the version specified with no other alterations.

https://codereview.appspot.com/14243043/
Filename Latest Rev Last Changed Committer Comment Size
..
syslog 1059.1.1 11 years ago Ian Booth Generate rsyslog config for unit log file Diff
log.go 1260.1.1 10 years ago Tim Penhey Changes needed for latest (as yet unpushed) loggo. 1 KB Diff Download File
log_test.go 1657.1.7 10 years ago Roger Peppe gocheck imports - e-r 1.8 KB Diff Download File