Search the VMware Knowledge Base (KB)
View by Article ID

Upgrading Operating System hangs in VMware vRealize Operations Manager (2145138)

  • 0 Ratings

Symptoms

When upgrading the VMware vRealize Operations Manager Operating System, the upgrade hangs at step 5 of 9.

Cause

This issue occurs when analytics service is unable to start, after the reboot step in one or more vRealize Operations Manager nodes.

Resolution

To resolve the issue, complete the installation manually.

Perform these steps to complete the installation:

  1. Run this command to query for installed pak files to get the correct name of the pak that needs to be completed.

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --action query_pak_files

  2. Run this command to initialize the cluster for upgrade

    $VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsClusterManager.py init-cluster

  3. Run this command to retrieve the upgrade/install status (replace the pakID with the name of the pak thats has failed)

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak pakID --action query_pak_status

  4. Once the failure or stopped action name is determined, run this script to continue the installation.

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak pakID --action action_name

  5. Run the cleanup query to finish the process.

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak pakID --action cleanup

    NoteYou must run the cleanup query to see the upgrade status as complete in the Admin UI.

For example:

Upgrade hanging due to restart failed on one node.

Resolve the cluster issues and manually completed install.
  1. Run this command to query for installed pak files to get the correct name of the pak that needs to be completed

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --action query_pak_files

    {

    "pak": "ep-ops-ad-103031471"
    },

    {

    "pak": "vRealizeHyperic-602470875"

    },

    {

    "pak": "vRealizeOperationsManagerEnterpriseVAOS-6105115569"

    }


  2. Run this command to initialize the cluster for upgrade

    /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsClusterManager.py init-cluster

  3. Run this command to retrieve the upgrade/install status (replace the pakID with the name of the pak that failed)

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak vRealizeOperationsManagerEnterpriseVAOS-6105115569 --action query_pak_status

    Action - Status
    stage - Completed successfully
    validate - Completed successfully
    apply_system_update - Completed successfully
    apply_adapter_pre_script - Failed to apply script
    apply_adapter - Failed to install adapters
    apply_adapter_post_script - no results
    cleanup - no results
    apply_adapter_pre_uninstall_script - no results
    uninstall_adapter - no results
    apply_adapter_post_uninstall_script - no results

    Note: This upgrade failed on apply_adapter_pre_script step, next steps needs to be run after resolving the failure issue determined by logs.

  4. Once the failure or stopped action name is determined, run the script to continue the installation.

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak vRealizeOperationsManagerEnterpriseVAOS-6105115569 --action apply_adapter_pre_script

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak vRealizeOperationsManagerEnterpriseVAOS-6105115569 --action apply_adapter

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak vRealizeOperationsManagerEnterpriseVAOS-6105115569 --action apply_adapter_post_script



  5. Run the cleanup query to finish the process and the status to reflect as completed in the Admin UI.

    $VMWARE_PYTHON_BIN $ALIVE_BASE/../vmware-vcopssuite/utilities/pakManager/bin/vcopsPakManager.py --pak vRealizeOperationsManagerEnterpriseVAOS-6105115569 --action cleanup

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: