Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
provider/local: avoid spurious errors in Destroy #2888
Conversation
|
|
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
"bzr: ERROR: $$merge$$ On Mon, Aug 10, 2015 at 12:41 PM Juju bot notifications@github.com wrote:
|
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
axw commentedJul 28, 2015
The local provider's Destroy method will sometimes
emit an ugly ERROR log message, but keep on destroying,
if the upstart/systemd service cannot be stopped and
removed. This will often occur because the agent
also stops/removes its service during teardown. To
avoid the ugly error, we attempt the operation twice,
and only log the error on the second attempt.
Fixes https://bugs.launchpad.net/juju-core/+bug/1477263