Created
October 25, 2016 20:59
-
-
Save kbrwn/854088700951cb684a9e9fba8a1f1ee0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo systemctl disable locksmithd.service | |
$ sudo vi /etc/coreos/update.conf | |
$ cat /etc/os-release | |
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)" | |
ANSI_COLOR="1;32" | |
HOME_URL="https://coreos.com/" | |
BUG_REPORT_URL="https://github.com/coreos/bugs/issues" | |
$ sudo cgpt show /dev/vda | |
start size part contents | |
0 1 Hybrid MBR | |
1 1 Pri GPT header | |
2 32 Pri GPT table | |
4096 262144 1 Label: "EFI-SYSTEM" | |
Type: EFI System Partition | |
UUID: 7FCB3879-C45B-4765-A426-B8180E8FF3D6 | |
Attr: Legacy BIOS Bootable | |
266240 4096 2 Label: "BIOS-BOOT" | |
Type: BIOS Boot Partition | |
UUID: BBACE4B5-3ABC-4643-888C-692CA362AAC5 | |
270336 2097152 3 Label: "USR-A" | |
Type: Alias for coreos-rootfs | |
UUID: 7130C94A-213A-4E5A-8E26-6CCE9662F132 | |
Attr: priority=1 tries=0 successful=1 | |
2367488 2097152 4 Label: "USR-B" | |
Type: Alias for coreos-rootfs | |
UUID: E03DD35C-7C2D-4A47-B3FE-27F15780A57C | |
Attr: priority=0 tries=0 successful=0 | |
4464640 262144 6 Label: "OEM" | |
Type: Alias for linux-data | |
UUID: C370DE9E-1322-4EEF-A930-FE50CD1450AE | |
4726784 131072 7 Label: "OEM-CONFIG" | |
Type: CoreOS reserved | |
UUID: ECA499A2-BB51-4FDD-B311-0F1DC8177891 | |
4857856 12943360 9 Label: "ROOT" | |
Type: CoreOS auto-resize | |
UUID: AF378A1A-1128-42D4-88E7-5E8907E1F4C4 | |
17805279 32 Sec GPT table | |
17805311 1 Sec GPT header | |
$ sudo update_engine_client -update | |
[1025/205045:INFO:update_engine_client.cc(243)] Initiating update check and install. | |
[1025/205045:INFO:update_engine_client.cc(248)] Waiting for update to complete. | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.000000 | |
CURRENT_OP=UPDATE_STATUS_UPDATE_AVAILABLE | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.060378 | |
CURRENT_OP=UPDATE_STATUS_DOWNLOADING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.211434 | |
CURRENT_OP=UPDATE_STATUS_DOWNLOADING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.372560 | |
CURRENT_OP=UPDATE_STATUS_DOWNLOADING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.634391 | |
CURRENT_OP=UPDATE_STATUS_DOWNLOADING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.855941 | |
CURRENT_OP=UPDATE_STATUS_DOWNLOADING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.000000 | |
CURRENT_OP=UPDATE_STATUS_FINALIZING | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
LAST_CHECKED_TIME=1477428646 | |
PROGRESS=0.000000 | |
CURRENT_OP=UPDATE_STATUS_UPDATED_NEED_REBOOT | |
NEW_VERSION=0.0.0.0 | |
NEW_SIZE=213129575 | |
[1025/205125:INFO:update_engine_client.cc(193)] Update succeeded -- reboot needed. | |
$ sudo cgpt show /dev/vda | |
start size part contents | |
0 1 Hybrid MBR | |
1 1 Pri GPT header | |
2 32 Pri GPT table | |
4096 262144 1 Label: "EFI-SYSTEM" | |
Type: EFI System Partition | |
UUID: 7FCB3879-C45B-4765-A426-B8180E8FF3D6 | |
Attr: Legacy BIOS Bootable | |
266240 4096 2 Label: "BIOS-BOOT" | |
Type: BIOS Boot Partition | |
UUID: BBACE4B5-3ABC-4643-888C-692CA362AAC5 | |
270336 2097152 3 Label: "USR-A" | |
Type: Alias for coreos-rootfs | |
UUID: 7130C94A-213A-4E5A-8E26-6CCE9662F132 | |
Attr: priority=1 tries=0 successful=1 | |
2367488 2097152 4 Label: "USR-B" | |
Type: Alias for coreos-rootfs | |
UUID: E03DD35C-7C2D-4A47-B3FE-27F15780A57C | |
Attr: priority=2 tries=1 successful=0 | |
4464640 262144 6 Label: "OEM" | |
Type: Alias for linux-data | |
UUID: C370DE9E-1322-4EEF-A930-FE50CD1450AE | |
4726784 131072 7 Label: "OEM-CONFIG" | |
Type: CoreOS reserved | |
UUID: ECA499A2-BB51-4FDD-B311-0F1DC8177891 | |
4857856 12943360 9 Label: "ROOT" | |
Type: CoreOS auto-resize | |
UUID: AF378A1A-1128-42D4-88E7-5E8907E1F4C4 | |
17805279 32 Sec GPT table | |
17805311 1 Sec GPT header | |
$ sudo systemctl restart update-engine.service | |
$ journalctl -u update-engine.service -f | |
-- Logs begin at Tue 2016-10-25 20:48:33 UTC. -- | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: <action event="postinstall" ChromeOSVersion="" sha256="aYnn+P/Z4jioLp7i24Eah77r0Ns6s7z/0Y9tP0712Oc=" needsadmin="false" IsDelta="false" DisablePayloadBackoff="true"></action> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: </actions> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: </manifest> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: </updatecheck> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: </app> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: </response> | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: [1025/205125:INFO:action_processor.cc(65)] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: [1025/205125:INFO:action_processor.cc(73)] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: [1025/205125:INFO:update_attempter.cc(283)] Processing Done. | |
Oct 25 20:51:25 coreos_production_qemu-1122-3-0 update_engine[1431]: [1025/205125:INFO:update_attempter.cc(309)] Update successfully applied, waiting to reboot. | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: Stopping Update Engine... | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: update-engine.service: Main process exited, code=exited, status=1/FAILURE | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: Stopped Update Engine. | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: update-engine.service: Unit entered failed state. | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: update-engine.service: Failed with result 'exit-code'. | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: Starting Update Engine... | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:main.cc(155)] CoreOS Update Engine starting | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:payload_state.cc(356)] Current Response Signature = | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: NumURLs = 1 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Url0 = https://update.release.core-os.net/amd64-usr/1122.3.0/update.gz | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Payload Size = 213129575 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Payload Sha256 Hash = aYnn+P/Z4jioLp7i24Eah77r0Ns6s7z/0Y9tP0712Oc= | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Is Delta Payload = 0 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Max Failure Count Per Url = 10 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: Disable Payload Backoff = 1 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:payload_state.cc(377)] Payload Attempt Number = 1 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:payload_state.cc(400)] Current URL Index = 0 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:payload_state.cc(421)] Current URL (Url0)'s Failure Count = 0 | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:payload_state.cc(448)] Backoff Expiry Time = 1/1/1601 0:00:00 GMT | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 systemd[1]: Started Update Engine. | |
Oct 25 20:53:44 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205344:INFO:update_check_scheduler.cc(82)] Next update check in 7m33s | |
Oct 25 20:54:29 coreos_production_qemu-1122-3-0 update_engine[1814]: [1025/205429:INFO:update_attempter.cc(485)] Updating boot flags... | |
$ sudo cgpt show /dev/vda | |
start size part contents | |
0 1 Hybrid MBR | |
1 1 Pri GPT header | |
2 32 Pri GPT table | |
4096 262144 1 Label: "EFI-SYSTEM" | |
Type: EFI System Partition | |
UUID: 7FCB3879-C45B-4765-A426-B8180E8FF3D6 | |
Attr: Legacy BIOS Bootable | |
266240 4096 2 Label: "BIOS-BOOT" | |
Type: BIOS Boot Partition | |
UUID: BBACE4B5-3ABC-4643-888C-692CA362AAC5 | |
270336 2097152 3 Label: "USR-A" | |
Type: Alias for coreos-rootfs | |
UUID: 7130C94A-213A-4E5A-8E26-6CCE9662F132 | |
Attr: priority=2 tries=0 successful=1 | |
2367488 2097152 4 Label: "USR-B" | |
Type: Alias for coreos-rootfs | |
UUID: E03DD35C-7C2D-4A47-B3FE-27F15780A57C | |
Attr: priority=1 tries=1 successful=0 | |
4464640 262144 6 Label: "OEM" | |
Type: Alias for linux-data | |
UUID: C370DE9E-1322-4EEF-A930-FE50CD1450AE | |
4726784 131072 7 Label: "OEM-CONFIG" | |
Type: CoreOS reserved | |
UUID: ECA499A2-BB51-4FDD-B311-0F1DC8177891 | |
4857856 12943360 9 Label: "ROOT" | |
Type: CoreOS auto-resize | |
UUID: AF378A1A-1128-42D4-88E7-5E8907E1F4C4 | |
17805279 32 Sec GPT table | |
17805311 1 Sec GPT header |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment