Search Engine: Elastic

Article ID: 131084, created on Jun 29, 2017, last review on Jun 29, 2017

  • Applies to:
  • Operations Automation 7.0

Symptoms

It is impossible to install a hotfix second time, if the first attempt failed:

# /usr/local/pem/bin/pa_updates_installer --install
2017-06-27 18:37:36.827 [ERROR] POA update failed. Check update log at /var/log/pa/update.log

The log file contains:

2017-06-27 18:37:36.827 [DEBUG] Traceback (most recent call last):
  File "/usr/local/pem/var/updates/oa-7.0-9781_update01_KB131024/update.py", line 1138, in main
    binfo = doPrepare(config, build_directories)
  File "/usr/local/pem/var/updates/oa-7.0-9781_update01_KB131024/update.py", line 655, in doPrepare
    builds = uFSReader.getBuildsFromFSOrCache(build_directories, config)
  File "/usr/local/pem/var/updates/oa-7.0-9781_update01_KB131024/poaupdater/uFSReader.py", line 160, in getBuildsFromFSOrCache
    os.makedirs(config.cache)
  File "/usr/lib64/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/usr/local/pem/var/tmp/paic_updates_oa-7.0-9781_update01_KB129864_oa-7.0-9781_update01_KB131024'

Cause

The first run of hotfixes installation left a cache directory that prevents the new run.

Resolution

Remove the cache files created previously:

# rm -rf /usr/local/pem/var/tmp/paic*

The issue is addressed in OAP 7.1.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF