5 Checking System Upgrade History
Information about all component upgrades and patches is stored in upgrade jobs, which can be consulted in the Service Web UI and Service CLI. Over time, as the system goes through multiple upgrades, the large number of entries might make the list difficult to interpret. The upgrade history provides a clear way to drill down into the details of the upgrade and patching activity on your appliance.
The upgrade history presents the information from all upgrade and patch jobs in a categorized way so you can see which version upgrades have been performed, which jobs have been run for each of those upgrades, and from which source (ISO upgrade or ULN patch). Details include build versions, component versions before and after, job completion, success or failure, time stamps, and duration.
Appliance software builds are installed onto the appliance either through upgrade from an ISO image or patching from ULN. Display the build history by running the following command.
PCA-ADMIN> GetUpgradeHistory Data: id From Build To Build Type Status Start Time End Time Actual Upgrade Time(min) Total Upgrade Time(min) -- ----- ------- ----- -------- ---------- -------- -------------- ------------ pca-upgrade-history-3.0.2-b951413 3.0.2-b868711 3.0.2-b951413 ISO Incomplete 2023-06-14T10:32:14 2023-06-14T15:32:14 300 600 pca-upgrade-history-3.0.2-b868711 3.0.2-b854356 3.0.2-b868711 ULN Completed 2023-01-01T15:10:07 2023-01-01T19:10:07 250 500 pca-upgrade-history-3.0.2-b854356 3.0.2-b790137 3.0.2-b854356 ISO Completed 2022-12-14T06:01:00 2022-12-14T12:01:00 350 700
If necessary, you can filter results by type.
PCA-ADMIN> GetUpgradeHistory type=uln Data: id From Build To Build Type Status Start Time End Time Actual Upgrade Time(min) Total Upgrade Time(min) -- ----- ------- ----- -------- ---------- -------- -------------- ------------ pca-upgrade-history-3.0.2-b868711 3.0.2-b854356 3.0.2-b868711 ULN Completed 2023-01-01T15:10:07 2023-01-01T19:10:07 250 500
To display the upgrade job list related to a particular build, copy the build ID and run this command:
PCA-ADMIN> GetUpgradeHistoryDetails id=pca-upgrade-history-3.0.2-b951413 Data: id component Timestamp From Version To Version Status Job ID Time Taken(min) -- --------- --------- ------------ ---------- ------- ------- ---------- spine cisco 2023-06-14T10:32:14 9.3.2 10.2.3 Failed 1686766376945-cisco-1509 50 mgmt cisco 2023-06-14T10:22:14 9.3.2 10.2.3 Passed 1686762287214-cisco-31252 60 leaf cisco 2023-06-14T10:12:14 9.3.2 10.2.3 Passed 1686758831077-cisco-35671 45 generic zfssa 2023-06-14T09:52:14 2013.06.05.8.40.1-2.40.4958.31 2013.06.05.8.48.1-2.48.5222.1 Passed 1686768921264-zfssa-19292 30 100.96.0.66 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19293 55 100.96.0.65 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19292 50 100.96.0.64 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19294 60 100.96.0.35 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19295 35 100.96.0.34 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19296 30 100.96.0.33 ilom 2023-06-14T09:22:14 5.0.2.23 5.1.1.21 Passed 1686768921264-ilom-19297 65 generic platform 2023-06-14T09:12:14 None None Passed 1686552138506-platform-48794 100 generic kubernetes 2023-06-14T09:12:14 1.20.6-1 1.25.7-1 Passed 1685379294807-kubernetes-72808 40 generic vault 2023-06-14T09:12:14 v1.7.1-3 v1.7.1-3 Passed 1685614045193-vault-47652 63 generic etcd 2023-06-14T09:02:14 3.3.10 3.3.10 Passed 1685613743232-etcd-83924 50 generic mysql 2023-06-14T08:52:14 8.0.28-1.1 8.0.30-1.1 Passed 1685378389035-mysql-90009 45 100.96.2.35 host 2023-06-14T08:42:14 oraclelinux-release-7.9-1.0.9 oraclelinux-release-7.9-1.0.9 Passed 1686726229799-host-68919 20 100.96.2.34 host 2023-06-14T08:32:14 oraclelinux-release-7.9-1.0.9 oraclelinux-release-7.9-1.0.9 Passed 1686726229799-host-68919 30 100.96.2.33 host 2023-06-14T08:22:14 oraclelinux-release-7.9-1.0.9 oraclelinux-release-7.9-1.0.9 Passed 1686726229799-host-68919 25 100.96.2.66 compute 2023-06-14T07:52:14 3.0.2-502 3.0.2-630 Passed 1685607717395-compute-53331 50 100.96.2.65 compute 2023-06-14T07:42:14 3.0.2-502 3.0.2-630 Passed 1685606912300-compute-91673 66 100.96.2.64 compute 2023-06-14T07:32:14 3.0.2-502 3.0.2-630 Passed 1685372050358-compute-50568 30 100.96.2.64 compute 2023-06-14T07:22:14 3.0.2-502 3.0.2-630 Failed 1685372050358-compute-50560 45 generic preupgrade 2023-06-14T06:32:14 3.0.2-b868711 3.0.2-b951413 N/A N/A N/A