Search Engine: Elastic

Article ID: 130646, created on Apr 14, 2017, last review on Jul 22, 2017

  • Applies to:
  • Operations Automation 7.0

Symptoms

An OACI-related hotfix or update installation is stuck:

2017-07-22 13:55:33.690 [INFO] Installing/upgrading packages.
2017-07-22 14:05:23.222 [ERROR] <Fault -1: 'javax.ejb.EJBException: Failed to process executeUpdateSequence at xpath tail HOOKS/HOOK[@when=\'prepost\' and @upgrade=\'yes\']/child::* for pkgId: 4687, ex message is: Failed to process EXECPYTHON command for package paci_aps of type service having pkgId: 4687, exception message: Retries exceeded, couldn\'t reconnect to 10.10.20.10:8380 input xml: <EXECPYTHON file="vps_endpoint" function="undeployEndpoint" group="root" path="${pythonPath}" user="root" workdir="${pleskd.rootpath}/u">\n                        <PARAM>${pleskd.rootpath}</PARAM>\n                        <PARAM>vps-war.war</PARAM>\n                    </EXECPYTHON>'>
An error has occurred, please select next action:
(r)etry/abort/ignore/(c)onsole:

In /var/log/pa/update.log the last action looks like:

2017-04-14 14:05:49.429 [DEBUG] [pre-pkg] --> Installing/upgrading packages on management node
2017-04-14 14:05:49.429 [DEBUG] installMetaPackage to host 1: None [1293]
2017-04-14 14:05:49.429 [DEBUG] SQL: SELECT 1 (())
2017-04-14 14:05:49.429 [DEBUG] call method pem.packaging.installPackageSync({'host_id': 1, 'properties': [], 'package_list': [1293]})

There are active processes on the Management Node:

[root@osscore ~]# ps aux | grep undeploy
root      3998  0.0  0.0  60772  6420 ?        S    14:05   0:00 /usr/bin/python -c import vps_endpoint; vps_endpoint.undeployEndpoint('/usr/local/pem','vps-war.war')
root     32694  0.0  0.0  11592  1444 ?        S    14:05   0:00 sh /usr/local/pem/wildfly-8.2.0.Final/bin/jboss-cli.sh --timeout=30000 -c undeploy vps-war.war --keep-content

In /var/log/pa/vps.aps.log the following errors can be observed:

2017-04-14 14:05:46,243 start-handler ERROR JmsServiceActivator [ActiveMQ Session Task-1] - Can not activate service

Cause

Software-related issue CCU-14165.

Resolution

  1. Do not abort the updates installation.
  2. Restart pa-agent and pau services.

  3. In case host #1 got into unrechable hosts table, remove it:

    oss=> delete from unreachable_hosts where host_id = 1;
    
  4. Retry the update action.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF