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

Error in upgrading-deis.rst #3155

Closed
aledbf opened this issue Feb 26, 2015 · 1 comment · Fixed by #3762
Closed

Error in upgrading-deis.rst #3155

aledbf opened this issue Feb 26, 2015 · 1 comment · Fixed by #3762
Assignees
Labels
Milestone

Comments

@aledbf
Copy link
Contributor

aledbf commented Feb 26, 2015

In the docs this is the procedure to do a manual update:

$ ssh core@
$ sudo su
$ echo GROUP=stable > /etc/coreos/update.conf
$ systemctl unmask update-engine.service
$ systemctl start update-engine.service
$ update_engine_client -update
$ systemctl stop update-engine.service
$ systemctl mask update-engine.service
$ reboot

this is wrong (at least now).
Why? coreos/bugs#262

the boot partition is updated after the reboot so if the update-engine service is disabled it will not run and update the boot flags.
Only after this output from journalctl -u update-engine.service
[0226/232543:INFO:update_attempter.cc(674)] Updating boot flags...
is safe to disable the update-engine service. (after the next update it will use the updated version)

This means that https://github.com/deis/deis/blob/master/contrib/coreos/user-data.example#L25 must be remove so after the reboot with the update update-engine.service will start automatically

reference coreos/bugs#262

@aledbf aledbf changed the title Error following upgrading-deis.rst Error in upgrading-deis.rst Feb 26, 2015
@carmstrong carmstrong added the docs label Mar 3, 2015
@carmstrong
Copy link
Contributor

Thanks @aledbf. So we have to somehow allow it to run once after a reboot before disabling it? That sounds difficult :(

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

Successfully merging a pull request may close this issue.

2 participants