-
Notifications
You must be signed in to change notification settings - Fork 30
update-engine and locksmith configuration #1982
Comments
If you just want to disable updates, you can mask #cloud-config
coreos:
units:
- name: update-engine.service
mask: true
command: stop |
@crawford, I had tried this option too. But I tried once more here is the relevant logs:
and
Locksmith is looking for update engine. To my limited knowledge, a restart manager should not be stopped because of not getting status from update engine. I may need to restart cluster for another reason. Here is the log when I remove the part you suggested to add:
|
@crawford Don't you think that this is a bug? |
Ah, I forgot that Locksmith would do this. You'll want to stop and mask both of them. Otherwise, Locksmith will keep attempting to reconnect. Since Locksmith's primary use case is to facilitate automatic updates, it doesn't work well when update engine is stopped. We don't want to support cases where automatic updates are disabled (since that is the thesis of our security model), so I don't think we'll want to change this behavior. Can I ask why you want to disable automatic updates? |
@crawford please forgive my ignorance. I am on the side of immutable architectures. Instead of updating, I prefer firing a new cluster. I had some troubles with updates of CoreOS last month too. It was a real trouble for us. There are also legacy systems which are strictly bounded with a specific version of CoreOS. In these cases update-manager must not work. But since Locksmith is a reboot manager, It can still continue to benefit from it. What do you think? |
Locksmith only exists to facilitate automatic reboots. If you have the updates disabled, the machine won't ever reboot and therefore doesn't need to coordinate using Locksmith. What is your use case for Locksmith? |
Hi,
My facts:
cloud init
(since I can not download configuration files from private s3 buckets)AMI
's.locksmith
since restarts are safer. (A restart can be caused from another reason, not only because of updates)update-engine.service
since cloud init isbuggy
./usr/.noupdate
since file system is read only.Please provide me an easy way to disable update-engine without stopping other services. I just want to disable updates.
Thanks in advance
The text was updated successfully, but these errors were encountered: