After upgrading from 8.12 to 8.14 (or higher), the Build and Version numbers are not updated
search cancel

After upgrading from 8.12 to 8.14 (or higher), the Build and Version numbers are not updated

book

Article ID: 337199

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:

  • After upgrading Aria Lifecycle to 8.14 or higher, under the  Lifecycle Operations > Settings > System Details page and the About section of the UI, the build number and version is not updated.
  • Product Support Pack shows 8.14.0.4 version (or higher current version), but all other places show older version.
  • Error "Upgrade not available" when upgrading using CDROM (ISO) option
  • Not vCF aware
  • The /var/log/vmware/capengine/cap-non-lvm-update/workflow.log file displays Starting task ext-post-install but not  Task ext-post-install completed.



Environment

vRealize Lifecycle Manager (vRLCM) 8.x

Cause

The issue occurs when a number of post upgrade scripts fail to execute.

Resolution

Resolved in 8.12 Patch 2.

See VMware Aria Suite Lifecycle 8.12 Patch 2 Release Notes for additional information.

Note: To avoid encountering this issue when upgrading to 8.14 or higher, it is recommended to first apply 8.12 Patch 2, otherwise, see the Workaround below for additional information.

Workaround:

The available workarounds depend upon whether or not a pre-upgrade snapshot is available.

Note: Snapshots should always be taken before any significant change or upgrade.

If a pre-upgrade snapshot exists

  1. Revert to pre-upgrade snapshot.
  2. Create a file titled /var/log/bootstrap/fips_disable:
    touch /var/log/bootstrap/fips_disable
  3. Set the permissions on the file:
    chmod 644 /var/log/bootstrap/fips_disable
  4. Retry the upgrade.

Note: You may run these steps before any upgrade attempt to prevent this issue from occurring.

If a pre-upgrade snapshot does not exist follow these steps

In such cases when after the upgrade the UI shows no details of the upgraded version, these are the steps to fix the appliance.

  1. Take a snapshot of VMware Aria Suite Lifecycle appliance. 
  2. SSH to VMware Aria Suite Lifecycle appliance using root credentials. 
  3. Run the following commands.
    /etc/bootstrap/postupdate.d/26-cleanup-pspak-db-backups && /etc/bootstrap/postupdate.d/27-fill-cap-product-info && /etc/bootstrap/postupdate.d/60-update-upgrade-status && /etc/bootstrap/postupdate.d/70-blackstone-upgrade.sh && /etc/bootstrap/postupdate.d/80-cleanup-patch-history && /etc/bootstrap/postupdate.d/90-enable-fips-mode && /etc/bootstrap/postupdate.d/91-create-cap-update-settings && /etc/bootstrap/postupdate.d/92-disable-vami-lighttpd
  4. Restart the cap service.
    systemctl restart cap-workflow-engine.service
  5. Edit the file /etc/vmware/cap/cap_am/update_status.json to reflect the values in the JSON below:
    {"state":"UP_TO_DATE","version":"","latest_query_time":"<do-not-change-the-value>","instance_id":"<do-not-change-the-value>","current_workflow":"cap-non-lvm-update","progress":"100%","message":"Completed","status":"Completed"}
  6. Edit the file /etc/upgradeinfo

Note: The entry should look similar to one of the following:

Upgrade Completed Successfully from 8.2.0.23 to 8.10.0.6 on 1665243746
Upgrade Completed Successfully from 8.10.0.6 to 8.12.0.7 on 1687777307
Upgrade Completed Successfully from  to  on 1697732933
Update the file to reflect the actual version upgraded from and to.
Upgrade Completed Successfully from 8.12.0.7 to 8.14.0.4 on 1697732933
Note: Do not change the timestamp of the last entry, only update the file correct the versions.
  1. Edit the file /etc/vmware/cap/product.info, it may have the version missing. Update the version similar to:
    {     "product_name": "VMware Aria Suite Lifecycle Appliance",     "version": "8.14.0.4",     "build_number": "22630472" }
  2. Run the following command and wait for the UI to restart.
    /etc/bootstrap/postupdate.d/99-reboot-va
  3. Validate that the build version is now visible in Lifecycle Operations > Settings > System Details page and About section of the UI.

Note: For a VCF aware vRSLCM environment, additional steps may be needed to reflect the build number in SDDC Manager database. Please follow SDDC Manager do not show any upgrade bundles for Workload Domain or Bundles are marked as "Future" in SDDC Manager Bundle Management to fix the issue in SDDC Manager inventory.

Additional Information

Impact/Risks:
Upgrade remains incomplete if not resolved.