Troubleshoot the Service Manager Service Portal installation

This section provides troubleshooting information that can assist you in installing Service Manager Service Portal.

HPE Operations Orchestration installation failed

Symptom:

HPE OO re-install is not successful when re-running the Ansible playbook.

Cause:

HPE OO installation failed and residual files and the central service are present on the Service Manager Service Portal host.

Fix:

  1. Try running the HPE OO uninstaller:

    # cd /opt/hp/oo
    # ./uninstall --silent central
    # cd opt/hp/
    # rm -rf oo/
  2. The central service might still be present:

    # systemctl status central
    # systemctl disable central
    # systemctl reset-failed central
    # rm -rf /etc/rc.d/init.d/central

OO configuration tasks fail due to proxy settings

Add the following lines to ansible_content/roles/oo/main.yml for each of the tasks that require to perform an HTTPS request:

environment:
no_proxy: <myVM.domain>

These tasks include:

  • name: "Setup the admin user in OO"
  • name: "Enable authentication in OO"

  • name: "Create deployment number in OO"
  • name: "Upload the base content pack to OO"

  • name: "Deploy base content pack in OO"

The following is an example:

- name: "Deploy base content pack in OO"
  # This takes a while (in the background)
  uri:
    url: https://{{ ansible_fqdn }}:8443/oo/rest/latest/deployments/{{ deployment.json.deploymentProcessId }}?force=false
    method: PUT
    body_format: json
    validate_certs: no
    user: admin
    password: changeit
    force_basic_auth: yes
    use_proxy: no
status_code: "200,204"
 environment:
    no_proxy: <myVM.domain>

Installer fails if offline repository is not properly enabled

Symptom:

Cannot install required packages for the Service Manager Service Portal installer.

Cause:

The Service Manager Service Portal installer failed when using an offline repository that is not enabled properly.

Fix:

To add and enable an offline repository, follow these steps:

# yum repolist all
# yum-config-manager --add-repo http://<Repo_IP>/downloads/RHEL70/media.repo
# yum repolist all
repo id repo name status
MediaRepo MediaRepo disabled
# yum-config-manager --enable InstallMedia

Note This step might not enable the repo, and thus the next step is to manually edit the repo file.

# vi /etc/yum.repos.d/media.repo
[InstallMedia]
name=Red Hat Enterprise Linux 7.2
mediaid=1424360759.989
metadata_expire=-1
baseurl=http://<Repo_IP>/downloads/RHEL70/
enabled=1
cost=500
gpgcheck=0
# yum repolist all
repo id repo name status
MediaRepo MediaRepo enabled

Analytics service fails to start

Symptom:

The following error occurs:

Failed to start analytics.service: Unit analytics.service failed to load: No such file or directory.

Cause:

The analytics service failed to start.

Fix:

Run the following commands to solve this problem:

#cd /etc/init.d
#rm –f analytics
# cat /opt/hp/propel/etc/services.d/analytics.daemon.sh >analytics
#chmod 777 analytics
#service analytics start

Installing Service Manager Service Portal on a different disk partition fails to create hardlinks for services

Symptom:

When installing Service Manager Service Portal services, if the /opt/hp directory points to a system on a different disk partition than /etc, the setup.sh setup utility will fail to install Service Manager Service Portal services.

Cause:

The Service Manager Service Portal setup utility tries to create hardlinks between systemd services under /etc/systemd/system and Service Manager Service Portal service definition files under /opt/hp/propel/etc/system/system. However, Red Hat Enterprise Linux only supports hardlinks for files under the same disk partition (because they share inodes), hence, the failure to install Service Manager Service Portal services.

Fix:

  1. Copy the files physically from /opt/hp/propel/etc/systemd/system to /etc/systemd/system:

    #cp -a /opt/hp/propel/etc/systemd/system/* /etc/systemd/system/
  2. Reload the systemctl daemon:

    # systemctl daemon-reload
  3. Enable the HPE Propel services:

    # systemctl enable <Services_Names>