NOTE: This is a pass for the ubuntu-advantage-tools script. The duplicate machine-id issue I had was traced back to the canonical-livepatch snap.
root@test4:~# dpkg -l ubuntu-advantage-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================================-=====================-=====================-=======================================================================
ii ubuntu-advantage-tools 10ubuntu0.14.04.2 all management tools for Ubuntu Advantage
root@test4:~# ubuntu-advantage enable-livepatch <redacted>
Installing missing dependency snapd... OK
Installing the canonical-livepatch snap.
This may take a few minutes depending on your bandwidth.
canonical-livepatch 7.24 from 'canonical' installed
Your currently running kernel (3.13.0-135-generic) is too old to
support snaps. Version 4.4.0 or higher is needed.
Please reboot your system into a supported kernel version
and run the following command one more time to complete the
installation:
sudo ubuntu-advantage enable-livepatch <redacted>
root@test4:~# ubuntu-advantage enable-fips chris-8k:<redacted>
Sorry, but Canonical FIPS 140-2 Modules is not supported on trusty
root@test4:~# ubuntu-advantage enable-livepatch <redacted>
Enabling Livepatch with the given token, stand by...
2017/11/07 19:16:15 Error executing enable?auth-token=<redacted>
This machine ID is already enabled with a different key or is non-unique. Either "sudo canonical-livepatch disable" on the other machine, or regenerate a unique /etc/machine-id on this machine with "sudo rm /etc/machine-id /var/lib/dbus/machine-id && sudo systemd-machine-id-setup" : {"error": "Conflicting machine-id"}
root@test4:~# ubuntu-advantage status
livepatch: disabled
esm: disabled (not available)
fips: disabled (not available)
root@test4:~# sudo rm /etc/machine-id /var/lib/dbus/machine-id && sudo systemd-machine-id-setup
Initializing machine ID from KVM UUID.
root@test4:~# ubuntu-advantage enable-livepatch <redacted>
Enabling Livepatch with the given token, stand by...
Successfully enabled device. Using machine-token: <redacted>
Use "canonical-livepatch status" to verify current patch status.
Trusty:
NOTE: This is a pass for the ubuntu- advantage- tools script. The duplicate machine-id issue I had was traced back to the canonical-livepatch snap.
root@test4:~# dpkg -l ubuntu- advantage- tools Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ==-==== ======= ======= ===-=== ======= ======= ====-== ======= ======= ======= ======= ======= ======= ======= ======= ======= ====== advantage- tools 10ubuntu0.14.04.2 all management tools for Ubuntu Advantage
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii ubuntu-
root@test4:~# ubuntu-advantage enable-livepatch <redacted>
Installing missing dependency snapd... OK
Installing the canonical-livepatch snap.
This may take a few minutes depending on your bandwidth.
canonical-livepatch 7.24 from 'canonical' installed
Your currently running kernel (3.13.0- 135-generic) is too old to
support snaps. Version 4.4.0 or higher is needed.
Please reboot your system into a supported kernel version
and run the following command one more time to complete the
installation:
sudo ubuntu-advantage enable-livepatch <redacted>
root@test4:~# ubuntu-advantage enable-fips chris-8k:<redacted>
Sorry, but Canonical FIPS 140-2 Modules is not supported on trusty
root@test4:~# ubuntu-advantage enable-livepatch <redacted> auth-token= <redacted> dbus/machine- id && sudo systemd- machine- id-setup" : {"error": "Conflicting machine-id"}
Enabling Livepatch with the given token, stand by...
2017/11/07 19:16:15 Error executing enable?
This machine ID is already enabled with a different key or is non-unique. Either "sudo canonical-livepatch disable" on the other machine, or regenerate a unique /etc/machine-id on this machine with "sudo rm /etc/machine-id /var/lib/
root@test4:~# ubuntu-advantage status
livepatch: disabled
esm: disabled (not available)
fips: disabled (not available)
root@test4:~# sudo rm /etc/machine-id /var/lib/ dbus/machine- id && sudo systemd- machine- id-setup
Initializing machine ID from KVM UUID.
root@test4:~# ubuntu-advantage enable-livepatch <redacted> livepatch status" to verify current patch status.
Enabling Livepatch with the given token, stand by...
Successfully enabled device. Using machine-token: <redacted>
Use "canonical-
root@test4:~# ubuntu-advantage status 07T19:17: 36.506320725Z 07T19:15: 15Z 123~14. 04.1-generic
livepatch: enabled
client-version: "7.23"
architecture: x86_64
cpu-model: Intel Core Processor (Haswell, no TSX)
last-check: 2017-11-
boot-time: 2017-11-
uptime: 2m58s
status:
- kernel: 4.4.0-100.
running: true
livepatch:
checkState: checked
patchState: nothing-to-apply
version: ""
fixes: ""
esm: disabled (not available)
fips: disabled (not available)