Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Issue with --replace #1691

Closed
troyfontaine opened this issue Oct 19, 2016 · 1 comment
Closed

Issue with --replace #1691

troyfontaine opened this issue Oct 19, 2016 · 1 comment

Comments

@troyfontaine
Copy link

troyfontaine commented Oct 19, 2016

Hi Devs,

I'm trying to replace a unit file on a cluster with a new one using fleetctl start --replace myservice@1 and it is simply not updating. Even after destroying myservice@1 it still uses the previous unit file template.

I'm using

fleetctl stop myservice@1
fleetctl destroy myservice@1
fleetctl start --replace myservice@1

My version details are:

NAME=CoreOS
ID=coreos
VERSION=1122.2.0
VERSION_ID=1122.2.0
BUILD_ID=2016-09-06-1449
PRETTY_NAME="CoreOS 1122.2.0 (MoreOS)"

I've inserted a 30 second to 1 minute wait after stopping the service and destroying it to try and see if that will get the new unit file to submit correctly-but no banana. That delay has worked previously, but not in this attempt.

Any ideas on how to get it to actually submit?

@troyfontaine
Copy link
Author

Figured out I had to destroy the template specifically then submit again. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant