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

Unpredictable fleetctl load following fleetctl destroy #1073

Closed
phuongnd08 opened this issue Dec 21, 2014 · 13 comments
Closed

Unpredictable fleetctl load following fleetctl destroy #1073

phuongnd08 opened this issue Dec 21, 2014 · 13 comments

Comments

@phuongnd08
Copy link

So I have a service file, loaded with fleet and then modified it, then reload it with:

fleetctl stop redisrep.service
fleetctl destroy redisrep.service
fleetctl load services/replication-instances/redisrep.service

I then cat the file from systemd perspective:
cat /run/systemd/system/redisrep.service

The content is then the old unchanged one.
If I run these commands one by one with small delay in the middle, then the content is updated.
What's going on?

@jonboulle
Copy link
Contributor

What version of fleet is this? It sounds like you are describing the issue in #866, but that was resolved some time ago.

@phuongnd08
Copy link
Author

$ fleetctl --version
fleetctl version 0.8.3

@jonboulle
Copy link
Contributor

@phuongnd08 That is the client; can you confirm that the fleet agents in your cluster are running the same version? e.g. fleetd --version

@jonboulle
Copy link
Contributor

@phuongnd08 Hrm, actually it looks like the fix didn't make it in until 0.9.0, which is in the CoreOS alpha and should make it into the next beta release - are you able to upgrade by any chance?

@phuongnd08
Copy link
Author

fleetd --version return 0.8.3 as well. I'm trying to upgrade to alpha now. Thanks

@phuongnd08
Copy link
Author

Btw, when will the next beta be released? Our team is a bit concerning regarding the alpha label.

@phuongnd08
Copy link
Author

Also I'm running coreos-alpha on Digital Ocean and still see fleetctl --version is reporitng 0.8.3

@jonboulle
Copy link
Contributor

Btw, when will the next beta be released?

@marineam @crawford any idea?

@jonboulle
Copy link
Contributor

Also I'm running coreos-alpha on Digital Ocean and still see fleetctl --version is reporitng 0.8.3

Weird, what does /etc/os-release say?

@phuongnd08
Copy link
Author

NAME=CoreOS
ID=coreos
VERSION=540.0.0
VERSION_ID=540.0.0
BUILD_ID=
PRETTY_NAME="CoreOS 540.0.0"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

@bcwaldon
Copy link
Contributor

@phuongnd08 Given that two days passed between you checking fleetd --version and cat /etc/os-release, could you please re-check the output of fleetd --version again? I think you may have checked just before 540.0.0 was released.

@phuongnd08
Copy link
Author

Okay, just checked, I got fleet 0.9.0 now.

@phuongnd08
Copy link
Author

Awesome, I just retried and can see that fleetctl is loading the changed service file properly. Thank you!

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

No branches or pull requests

3 participants